Sketch Automation Objects

Multiple Object Diagrams


GeometricElement Object Diagram




Legend

Collection
Abstract object
Object

right arrow Click arrow to expand chart
Click arrow to return to previous chart

The Sketch object contains 2D geometric elements that define the sketch. These elements are created using the Factory2D object and contained in a GeometricElements collection aggregrated by the sketch. To create 2D geometric elements, you need first to "open the sketch edition" using the OpenEdition method that returns the Factory2D object which supplies the appropriate methods to create 2D geometric elements. Once you have finished creating 2D geometric elements, "close the sketch edition" using the CloseEdition method. These two methods correspond to the commands that let you interactively enter and leave the sketch. You can set constraints to the 2D geometric elements using the methods supplied by the Constraints collection aggregated to the sketch.


Copyright © 1994-2003, Dassault Systèmes. All rights reserved.