User's Guide > Drawings > Detail Items
Detail Items
 
The functions described in this section operate on detail items. Detail items are those drawing items that you create in in the drawings.
In , you have the ability to create, delete, and modify detail items, control their display, and examine what detail items are present in the drawing.
There types of detail items available in are:
Draft entities—Contain the graphical items created in using the options under the Sketch tab, in the Sketching group. Some of the items are as follows:
Arc
Ellipse
Line
Point
Polygon
Spline
Notes—Textual annotations created in using the command Annotate > Note. They can also contain special symbols.
Symbol definitions—Named groups of other detail items that the user can save to disk. You create them in using the options in the Annotate > Symbol command.
Symbol instances—Instances of a symbol.
Draft groups—Groups of detail items such as draft entities, notes, symbol instances, and drawing dimensions. You create them in using the command Sketch > Draft Group.
OLE objects—Object Linking and Embedding (OLE) objects embedded in the drawing file from the Insert Object dialog box that opens when you click Layout > Object.
All detail items are identified by DHandles which are equivalent to ProModelitem, and inherit from ProModelitem. This implies that functions such as ProSelectionModelitemGet(), ProSelectionAlloc(), and ProModelitemInit(), can be used for detail items. The values of the type field for the types of detail item are:
PRO_DRAFT_ENTITY—This type is used for draft entities and OLE objects. Special functions exist to distinguish OLE objects from other detail entities.
PRO_NOTE
PRO_SYMBOL_DEFINITION
PRO_SYMBOL_INSTANCE
PRO_DRAFT_GROUP
There is generic detail object called ProDtlitem, whose type field can take any of these values, and is used for arguments to functions that can represent any detail item. The following object handles are used in the more specific cases:
ProDtlentity
ProDtlnote
ProDtlsymdef
ProDtlsyminst
ProDtlgroup
Est-ce que cela a été utile ?