Instructions
Methods and Properties Introduced:
The method CCpfcDetailEntityInstructions.Create() creates an instructions object that describes how to construct a detail entity, for use in the methods IpfcDetailItemOwner.CreateDetailItem(), IpfcDetailSymbolDefItem.CreateDetailItem(), and IpfcDetailEntityItem.Modify().
The instructions object is created based on the curve geometry and the drawing view associated with the entity. The curve geometry describes the trajectory of the detail entity in world units. The drawing view can be a model view returned by the method IpfcModel2D.List2DViews() or a drawing sheet background view returned by the method IpfcSheetOwner.GetSheetBackgroundView(). The background view indicates that the entity is not associated with a particular model view.
The method returns the created instructions object.
* 
Changes to the values of a IpfcDetailEntityInstructions object do not take effect until that instructions object is used to modify the entity using IpfcDetailEntityItem.Modify().
The property IpfcDetailEntityInstructions.Geometry returns the geometry of the detail entity item.
The property IpfcDetailEntityInstructions.IsConstruction returns a value that specifies whether the entity is a construction entity.
The property IpfcDetailEntityInstructions.Color returns the color of the detail entity item.
The property IpfcDetailEntityInstructions.FontName returns the line style used to draw the entity. The method returns a null value if the default line style is used.
The property IpfcDetailEntityInstructions.Width returns the value of the width of the entity line. The method returns a null value if the default line width is used.
The property IpfcDetailEntityInstructions.View returns the drawing view associated with the entity. The view can either be a model view or a drawing sheet background view.
Was this helpful?