Speakers Introduction

Download Report

Transcript Speakers Introduction

AutoCAD ® Plant3D Catalog Builder - Hands-on Lab

Speaker S. R. Rajasekaran Product Manager, AEC C&P Co-Speaker Kenneth Fauver Sales Development Executive, AEC North America Sales © 2011 Autodesk 1

Speakers Introduction

S. R. Rajasekaran, Product Manager, AEC C&P    Heading the Plant content team in Singapore and Shanghai.

He has more than a decade of experience in AutoCAD and Plant piping design, and joined Autodesk in 2007.

Responsible for Content Scoping, Authoring & Delivering content through “inthebox (DVD)” and “Plant Exchange” Ken Picture Kenneth Fauver, Sales Development Executive, AEC     North America Sales AEC Sales Development for Plant Solutions He has over 25 years experience in the Oil and Gas industry as a Piping Drafter/Designer and CAD Administrator. Responsible for the creation of the ACIPCO and Victaulic content on Plant Exchange. He was also instrumental in the creation of the Resistoflex content.

© 2011 Autodesk 2

Class Summary

This hands-on lab is designed for people who want to create their own custom content/standard content/geo-specific piping catalog’s for their AutoCAD Plant 3D piping projects. The AutoCAD Plant 3D Catalog Builder is an application that enables users to create new piping catalog’s in a simpler and more efficient way.

© 2011 Autodesk 3

Learning Objectives

At the end of this class, you will be able to: 

Build your own pipes and fittings Catalog using AutoCAD Plant 3D Catalog Builder

Describe the functionality of the AutoCAD Plant 3D Catalog Builder interface

Author both imperial and metric content

Manipulate dimension and port properties parameters using a Microsoft® Excel® spread sheet

© 2011 Autodesk 4

Agenda

4 5 1 2 3 10:00 –10:10 10:10 –10:30 10:30 –10:45 10:45 –11:15 11:15 –11:30

Introduction Content Authoring – Through Parametric templates Content Authoring – Through Custom Script Hands-on Lab Q&A

© 2011 Autodesk 5

Agenda

1 10:00 –10:10

Introduction

 System Requirements  Piping Components  AutoCAD Plant 3D Catalog Builder  Workflow process © 2011 Autodesk 6

System Requirements

 32/64-bit windows machine with minimum configuration (XP, Vista or Windows 7)  AutoCAD Plant 3D® 2012  AutoCAD Plant 3D Specs and Catalog Editor 2012  AutoCAD Plant 3D Catalog Builder  Microsoft Excel® © 2011 Autodesk 7

Piping Components

Cross Valve Check Valve R&L Coupling Cross Plug Angle Valve 90 ° Elbow 45 ° Globe Valve Elbow Globe Valve Elbow Tee Street tee Lateral Union Reducer Cap Gate Valve © 2011 Autodesk 8

AutoCAD Plant 3D Catalog Builder AutoCAD Plant 3D Catalog Builder is AutoCAD Plant 3D Catalog Builder is not

     Capable of parametric script based content. E.g. Pipes, Fittings, valves, boltset etc.

Capable of supporting custom python scripts Capable of supporting custom block based DWG content.

Capable of adding to and combining with a Catalog that is already authored.

Capable of creating content packs (Pack & go).

   A complete replacement for the Specs and Catalog editor. A complete replacement for the Power tool-kit (Generation 1 Catalog builder) A tool for authoring Equipment, Nozzles, Structural and Pipe supports Catalogs © 2011 Autodesk 9

Workflow Process

Create Template Exporting Excel Input Dimension Import Excel Validate Excel Build Catalog © 2011 Autodesk 10

Identify General Content for Template Items

 Pictorial representation  Nominal diameter  Material/Material code  Port properties  Pressure class/Schedule/Number Grey Iron Class 125 THRD – ASME B16.4-2006 NPS 4 5 6 8 10 12 A 3.79

4.50

5.13

6.56

8.08

9.50

B 1.08

1.18

1.28

1.47

1.68

1.88

Inside Diameter of Fitting, F Min 4.50

5.56

6.62

8.62

10.75

12.85

Max 4.60

5.66

6.72

8.72

10.85

12.85

G 0.31

0.38

0.43

0.55

0.69

0.8

© 2011 Autodesk 11

Identify General Content for Template Items

 Pictorial representation  Nominal diameter  Material/Material code  Port properties  Pressure class/Schedule/Number Grey Iron Class 125 THRD – ASME B16.4-2006 NPS 4 5 6 8 10 12 A 3.79

4.50

5.13

6.56

8.08

9.50

B 1.08

1.18

1.28

1.47

1.68

1.88

Inside Diameter of Fitting, F Min 4.50

5.56

6.62

8.62

10.75

12.85

Max 4.60

5.66

6.72

8.72

10.85

12.85

G 0.31

0.38

0.43

0.55

0.69

0.8

© 2011 Autodesk 12

Identify General Content for Template Items

 Pictorial representation  Nominal diameter  Material/Material code  Port properties  Pressure class/Schedule/Number Grey Iron Class 125 THRD – ASME B16.4-2006 NPS 4 5 6 8 10 12 A 3.79

4.50

5.13

6.56

8.08

9.50

B 1.08

1.18

1.28

1.47

1.68

1.88

Inside Diameter of Fitting, F Min 4.50

5.56

6.62

8.62

10.75

12.85

Max 4.60

5.66

6.72

8.72

10.85

12.85

G 0.31

0.38

0.43

0.55

0.69

0.8

© 2011 Autodesk 13

Identify General Content for Template Items

 Pictorial representation  Nominal diameter  Material/Material code  Port properties  Pressure class/Schedule/Number Grey Iron Class 125 THRD – ASME B16.4-2006 NPS 4 5 6 8 10 12 A 3.79

4.50

5.13

6.56

8.08

9.50

B 1.08

1.18

1.28

1.47

1.68

1.88

Inside Diameter of Fitting, F Min 4.50

5.56

6.62

8.62

10.75

12.85

Max 4.60

5.66

6.72

8.72

10.85

12.85

G 0.31

0.38

0.43

0.55

0.69

0.8

© 2011 Autodesk 14

Identify General Content for Template Items

 Pictorial representation  Nominal diameter  Material/Material code  Port properties  Pressure class/Schedule/Number Grey Iron Class 125 THRD – ASME B16.4-2006 NPS 4 5 6 8 10 12 A 3.79

4.50

5.13

6.56

8.08

9.50

B 1.08

1.18

1.28

1.47

1.68

1.88

Inside Diameter of Fitting, F Min 4.50

5.56

6.62

8.62

10.75

12.85

Max 4.60

5.66

6.72

8.72

10.85

12.85

G 0.31

0.38

0.43

0.55

0.69

0.8

© 2011 Autodesk 15

Identify General Content for Template Items

 Pictorial representation  Nominal diameter  Material/Material code  Port properties  Pressure class/Schedule/Number Grey Iron Class 125 THRD – ASME B16.4-2006 NPS 4 5 6 8 10 12 A 3.79

4.50

5.13

6.56

8.08

9.50

B 1.08

1.18

1.28

1.47

1.68

1.88

Inside Diameter of Fitting, F Min 4.50

5.56

6.62

8.62

10.75

12.85

Max 4.60

5.66

6.72

8.72

10.85

12.85

G 0.31

0.38

0.43

0.55

0.69

0.8

© 2011 Autodesk 16

Agenda

1 2 10:00–10:10 10:10–10:30

Introduction

Content Authoring – Through Parametric templates

 Creating Template  Exporting Excel  Inputting Dimensions  Building Catalog © 2011 Autodesk 17

DEMO-1

Creating a new template and altering global settings Catalog template defaults Long description styles Engagement Length/Wall thickness Custom sizes © 2011 Autodesk 18

Agenda

1 2 10:00–10:10 10:10–10:30

Introduction

Content Authoring – Through Parametric templates

 Creating Template  Exporting Excel  Inputting Dimensions  Building Catalog © 2011 Autodesk 19

DEMO- 2

Creating template – new part families Creating template – specifying general content properties Exporting to Excel file © 2011 Autodesk 20

Agenda

1 2 10:00–10:15 10:15–10:30

Introduction

Content Authoring – Through Parametric templates

 Creating Template  Exporting Excel  Inputting Dimensions  Building Catalog © 2011 Autodesk 21

DEMO- 3

Identifying dimensions Understand excel catalog template Editing excel file © 2011 Autodesk 22

Agenda

1 2 10:00–10:15 10:15–10:30

Introduction

Content Authoring – Through Parametric templates

 Creating Template  Exporting Excel  Inputting Dimensions  Building Catalog © 2011 Autodesk 23

DEMO- 4

Building catalogs – Importing Excel file Building catalogs – Validation Building Catalogs © 2011 Autodesk 24

Validating Built Catalog

Open AutoCAD specs and catalog editor.

Choose newly built catalog and open.

© 2011 Autodesk 25

Validating Built Catalog – General Properties

General Properties of fitting List of part families created in catalog © 2011 Autodesk 26

Validating Built Catalog - Sizes

List of sizes authored Parametric values of specific size within part family © 2011 Autodesk 27

Agenda

1 2 3 10:00 –10:10 10:10 –10:30 10:30 –10:45

Introduction Content Authoring – Through Parametric templates Content Authoring – Through Custom Script

    What is a Component Script?

How does python work with Plant 3D?

Primitives Functions © 2011 Autodesk 28

What is a Component Script?

Plant 3D delivers a large catalog of predefined components.

 To get 3D representations of these components into 3D drawings “Scripts" are used.  A “Script" is a small (Python) subroutine that takes the dimensions of a specific part as input and creates a 3D representation (typically a solid within a block) as output.

 Approximately 20,000 different scripts are part of Plant 3D, and additional ones can easily be added.  The available scripts cover nearly all types of components commonly used in plant design: pipes, elbows, flanges, tees, crosses, nozzles, olets, different types of valves and many more.

© 2011 Autodesk 29

What is Python?

Python is an interpreted, interactive, object-oriented programming language. It incorporates modules, exceptions, dynamic typing, very high level dynamic data types and classes.

Python combines remarkable power with very clear syntax. It has interfaces to many system calls and libraries, as well as to various window systems, and is extensible in C or C++.

It is also usable as an extension language for applications that need a programmable interface.

Finally, Python is portable: it runs on many Unix variants, on the Mac, and on PCs under MS-DOS, Windows, Windows NT, and OS/2.

Python website: http://www.python.org/ Python FAQ: http://docs.python.org/faq/general.html#what-is-python © 2011 Autodesk 30

How Does Python Work with Plant 3D?

In Plant 3D, AutoCAD and Python work together by embedding the Python interpreter in our application and providing a few C++/Python bindings as a Python extension module.

We define a Python module that exposes some modeler functionality (i.e. the primitives like BOX, CYLINDER, …) and some common operations along with a few calls to define the port data.

This Python module is then used in the various content scripts. These scripts are evaluated with a set of parameters by a component that is called a content adapter to produce the geometry.

© 2011 Autodesk 31

A Typical Component Script?

This one creates a simple lapped flange with two connection points (ports). Connection points have a position and a direction vector that allows for automatic alignment of connected components.

© 2011 Autodesk 32

Primitives

ARC3D defines a 'normal' elbow s=ARC3D(s, D, R, A) The parameters means: s main object D 1/2 nominal diameter R bend radius A bend angle © 2011 Autodesk 33

Modifier Functions

Plant 3D offers some member modifier functions to modify objects (primitives) like rotate,

move,...

 obj

.uniteWith

unites 2 objects  obj

.subtractFrom

subtracts 1 object from another 1  obj

.intersectWith

creates an intersection of 2.

© 2011 Autodesk 34

Request Functions

There are also some member request functions to get additional information from the object.

 obj

.parameters

return the object's construction parameters  obj

.transformationMatrix

return the object's current transformation matrix  obj

.numberOfPoints

return number of (connection) points © 2011 Autodesk 35

Additional Functions

The scripts need and offer some functions to link to Plant 3D or for testing:

activate()

activate the variant and defines the needed database fields

TESTACPSCRIPT

an AutoLISP® function to see and test the variant parameters

demand loader

Loader for the variants on demand © 2011 Autodesk 36

How to add a Custom Script and its Metadata

Refer to Handout.

© 2011 Autodesk 37

Agenda

4 5 1 2 3 10:00 –10:10 10:10 –10:30 10:30 –10:45 10:45 –11:15 11:15 –11:30

Introduction Content Authoring – Through Parametric templates Content Authoring – Through Custom Script Hands-on Lab Q&A

© 2011 Autodesk 38

Resources

1.

Online Product Help ( www.autodesk.com/autocadplant3d-help ) 2.

AutoCAD Plant Exchange ( www.autodesk.com/plantexchange ) i.

ii.

Plant Videos Ask the Expert iii.

Download a Content pack iv.

Request a Content Pack  Email  [email protected]

[email protected]

[email protected]

© 2011 Autodesk 39

Agenda

4 5 1 2 3 10:00 –10:10 10:10 –10:30 10:30 –10:45 10:45 –11:15 11:15 –11:30

Introduction Content Authoring – Through Parametric templates Content Authoring – Through Custom Script Hands-on Lab Q&A

© 2011 Autodesk 40

Question & Answer

© 2011 Autodesk 41

Autodesk, AutoCAD* [*if/when mentioned in the pertinent material, followed by an alphabetical list of all other trademarks mentioned in the material] are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graph ical errors that may appear in this document. © 2011 Autodesk, Inc. All rights reserved. © 2011 Autodesk 42