Instructions
Method and Properties Introduced:
The method
pfcDetailSymbolInstInstructions.Create() creates a data object that contains information about the placement of a symbol instance.
|
|
Changes to the values of a pfcDetailSymbolInstInstructions object do not take effect until that instructions object is used to modify the instance using pfcDetailSymbolInstItem.Modify().
|
The property
pfcDetailSymbolInstInstructions.IsDisplayed returns a value that specifies whether the instance of the symbol is displayed.
The property
pfcDetailSymbolInstInstructions.Color returns the color of the detail symbol instance. A null value indicates that the default drawing color is used.
The property
pfcDetailSymbolInstInstructions.SymbolDef returns the symbol definition used for the instance.
The property
pfcDetailSymbolInstInstructions.AttachOnDefType returns the attachment type of the instance. The property returns a null value if the attachment represents a free attachment. The attachment options are as follows:
• SYMDEFATTACH_FREE—Attachment on a free point.
• SYMDEFATTACH_LEFT_LEADER—Attachment via a leader on the left side of the symbol.
• SYMDEFATTACH_RIGHT_LEADER— Attachment via a leader on the right side of the symbol.
• SYMDEFATTACH_RADIAL_LEADER—Attachment via a leader at a radial location.
• SYMDEFATTACH_ON_ITEM—Attachment on an item in the symbol definition.
• SYMDEFATTACH_NORMAL_TO_ITEM—Attachment normal to an item in the symbol definition.
The property
pfcDetailSymbolInstInstructions.DefAttachment returns the value that represents the way in which the instance is attached to the symbol definition.
The property
pfcDetailSymbolInstInstructions.InstAttachment returns the value of the attachment of the instance that includes location and leader information.
The property
pfcDetailSymbolInstInstructions.Angle returns the value of the angle at which the instance is placed. The property returns a null value if the value of the angle is 0 degrees.
The property
pfcDetailSymbolInstInstructions.ScaledHeight returns the height of the symbol instance in the owner drawing or model coordinates. This value is consistent with the height value shown for a symbol instance in the
Properties dialog box in the
Creo Parametric User Interface.
|
|
The scaled height obtained using the above property is partially based on the properties of the symbol definition assigned using the property pfcDetailSymbolInstInstructions.SymbolDef. Changing the symbol definition may change the calculated value for the scaled height.
|
The property
pfcDetailSymbolInstInstructions.TextValues returns the array of variant text values used while placing the symbol instance.
The property
pfcDetailSymbolInstInstructions.CurrentTransform returns the coordinate transformation matrix to place the symbol instance.
• DETAIL_SYMBOL_GROUP_INTERACTIVE—Symbol groups are interactively selected for display. This is the default value in the GRAPHICS mode.
• DETAIL_SYMBOL_GROUP_ALL—All non-exclusive symbol groups are included for display.
• DETAIL_SYMBOL_GROUP_NONE—None of the non-exclusive symbol groups are included for display.
• DETAIL_SYMBOL_GROUP_CUSTOM—Symbol groups specified by the application are displayed.
Refer to the section
Detail Symbol Groups for more information on detail symbol groups.