210 likes | 646 Views
Practical Examples of Customizing AutoCAD Entity Behavior. Stephen Preston Autodesk Developer Network. Class Objective. To give you ideas Useful applications for Overrules What Overrules can do A few tips and tricks It will not Teach you how to program in .NET
E N D
Practical Examples of Customizing AutoCAD Entity Behavior Stephen Preston Autodesk Developer Network
Class Objective To give you ideas • Useful applications for Overrules • What Overrules can do • A few tips and tricks It will not • Teach you how to program in .NET • Teach you how to create ObjectARX Custom Entities • Provide complete of coverage of all API functions All the code shown will be in VB.NET • API concepts are common to all .NET languages
About the Presenter Stephen Preston Americas Manager Developer Technical Services Autodesk, Inc. Stephen has been a member of the Autodesk Developer Technical Services team since 2000, first as a support engineer and then as manager of the EMEA (Europe, Middle East, and Africa) Team. In those roles, his responsibilities included support for the AutoCAD APIs, including ObjectARX and AutoCAD .NET, as well as AutoCAD OEM and RealDWG technologies. Currently, he manages the Developer Technical Services team in the Americas and serves as Workgroup Lead, working closely with the AutoCAD engineering team on future improvements in the AutoCAD APIs. Stephen started his career as a scientist, and has a D.Phil. in Atomic and Laser Physics from the University of Oxford.
Agenda • What is an Overrule? • Demos • My First Overrule • DrawingStuff revisited • DimensionPatrol • CustomLeader • DigSigStamp • Network • Call to action
Choose your weapons • We have nine overrule classes to play with • ObjectOverrule • PropertiesOverrule • DrawableOverrule • OsnapOverrule • TransformOverrule • GripOverrule • SubentityOverrule • HighlightOverrule • GeometryOverrule
Drawing stuff • Most common use of Overrules • Three ways to draw custom graphics in your overrule • GraphicsInterface primitives • Embedded entities (Geometry.Draw) • Embedded entities (WorldDraw) • Using embedded entities is very similar to adding an entity to the drawing • Simpler than GraphicsInterface primitives • Less flexible
Demo – Drawing Stuff • Three ways to draw your graphics
Demo - DimensionPatrol • Custom filters
Demo – CustomLeader • Xdata and jigging
Demo - DigSigStamp • Customizing BlockReferences
Demo - Network • Inter-object relationships
Call to action You’ve see what Overrules can do Now go and use them in your own applications
Learning more • See handout
This presentation was brought to you by … Autodesk Developer Network • Access to almost all Autodesk software and SDK’s • Including early access to Beta software • Members-only website with 1000s of technical articles • Unlimited technical support • Product direction through conferences • Marketing benefits • Exposure on autodesk.com • Promotional opportunities www.autodesk.com/joinadn