Instructions
Methods 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 method pfcDetailEntityInstructions::GetGeometry returns the geometry of the detail entity item.
The method pfcDetailEntityInstructions::SetGeometry sets the geometry of the detail entity item. For more information refer to Curve Descriptors.
The method pfcDetailEntityInstructions::GetIsConstruction returns a value that specifies whether the entity is a construction entity.
The method pfcDetailEntityInstructions::SetIsConstruction specifies if the detail entity is a construction entity.
The method pfcDetailEntityInstructions::GetColor returns the color of the detail entity item.
The method pfcDetailEntityInstructions::SetColor sets the color of the detail entity item. Pass null to use the default drawing color.
The method pfcDetailEntityInstructions::GetFontName returns the line style used to draw the entity. The method returns a null value if the default line style is used.
The method pfcDetailEntityInstructions::SetFontName sets the line style for the detail entity item. Pass null to use the default line style.
The method pfcDetailEntityInstructions::GetWidth returns the value of the width of the entity line. The method returns a null value if the default line width is used.
The method pfcDetailEntityInstructions::SetWidth specifies the width of the entity line. Pass null to use the default line width.
The method pfcDetailEntityInstructions::GetView returns the drawing view associated with the entity. The view can either be a model view or a drawing sheet background view.
The method pfcDetailEntityInstructions::SetView sets the drawing view associated with the entity. The view can either be a model view or a drawing sheet background view.
Was this helpful?