© 2012 autodesk scripting components for autocad plant 3d david wolfe process and power specialist

10
© 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

Upload: adela-walton

Post on 29-Dec-2015

228 views

Category:

Documents


10 download

TRANSCRIPT

Page 1: © 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

© 2012 Autodesk

Scripting Components for AutoCAD Plant 3D

David WolfeProcess and Power Specialist

Page 2: © 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

© 2012 Autodesk

Class Summary

In this class, we will introduce you to the programming language Python. You will learn how to set up a simple development environment and create a few basic scripts. Next, you will learn to install and test the scripts with AutoCAD Plant 3D software. Come and learn how to use scripting to create custom objects for use in AutoCAD Plant 3D.

Page 3: © 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

© 2012 Autodesk

Learning Objectives

At the end of this class, you will be able to: Explain what Python is and how you can use it Draw Components using Python Scripting Test and Use Python Components in AutoCAD Plant 3D Describe steps for creating scripts

Page 4: © 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

© 2012 Autodesk

What is Python?

Page 5: © 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

© 2012 Autodesk

What is Python?

Setting up a Development Environment Types of Python Scripts Script Locations Equipment Script Format

Page 6: © 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

© 2012 Autodesk

Drawing Components with Python

Page 7: © 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

© 2012 Autodesk

Test and Use scripts with Plant 3D

Page 8: © 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

© 2012 Autodesk

Test and Use scripts with Plant 3D

Setting up a Testing Environment Modify the Script Create the Equipment Package Add Parameter Information Create Help Images Deploying Content

Page 10: © 2012 Autodesk Scripting Components for AutoCAD Plant 3D David Wolfe Process and Power Specialist

© 2012 Autodesk

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 graphical errors that may appear in this document. © 2012 Autodesk, Inc. All rights reserved.