Instructions
Methods and Properties Introduced:
The method pfcDetailEntityInstructions.Create() creates an instructions object that describes how to construct a detail entity, for use in the methods pfcDetailItemOwner.CreateDetailItem(), pfcDetailSymbolDefItem.CreateDetailItem(), and pfcDetailEntityItem.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 pfcModel2D.List2DViews() or a drawing sheet background view returned by the method pfcSheetOwner.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 pfcDetailEntityInstructions object do not take effect until that instructions object is used to modify the entity using pfcDetailEntityItem.Modify().
The property pfcDetailEntityInstructions.Geometry returns the geometry of the detail entity item.
The property pfcDetailEntityInstructions.IsConstruction returns a value that specifies whether the entity is a construction entity.
The property pfcDetailEntityInstructions.Color returns the color of the detail entity item.
The property pfcDetailEntityInstructions.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 pfcDetailEntityInstructions.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 pfcDetailEntityInstructions.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?