Drawing Edges
The methods described in this section provide access to the display properties such as color, line font, and thickness of model edges in drawing views. Model edges can be regular edges, silhouette edges, or non-analytical silhouette edges.
|
|
You can select model edges from detailed views for modification, but no change will be applied. To modify the display of a model edge in a detailed view, you must select the edge in the parent view.
|
Methods Introduced:
The methods
wfcDrawing.WDrawing.GetEdgeDisplay and
wfcDrawing.WDrawing.SetEdgeDisplay retrieve and set the display properties of a specified model edge in a drawing view as a
wfcGeometry.EdgeDisplay object. After assigning the properties, you must repaint the drawing view to update the display.
The method
wfcGeometry.wfcGeometry.EdgeDisplay_Create creates a data object that contains information about the display properties of an edge in a drawing view.
The methods
wfcGeometry.EdgeDisplay.GetColor and
wfcGeometry.EdgeDisplay.SetColor retrieve and set the color to be used for the display of a specified model edge.
The methods
wfcGeometry.EdgeDisplay.GetFont and
wfcGeometry.EdgeDisplay.SetFont retrieve and set the line font to be used for the display of a specified model edge.
The methods
wfcGeometry.EdgeDisplay.GetWidth and
wfcGeometry.EdgeDisplay.SetWidth retrieve and set the width to be used for the display of a specified model edge. You must pass a value less than zero to use the default width.
The method
wfcDrawing.WDrawing.IsEdgeDisplayGlobal checks if the model edge display properties such as color, line font, and width have been applied globally to all the drawing views in the drawing sheet.
The method
wfcDrawing.WDrawing.SetEdgeDisplayGlobal sets the flag that assigns the model edge display properties such as color, line font, and width globally to all the drawing views in the drawing sheet.