User's Guide > Drawings > Drawing Edges
Drawing Edges
 
The functions 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.
The opaque handle ProDrawingEdgeDisplay provides access to the display properties of model 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.
Functions Introduced:
The function ProDrawingEdgeDisplayGet() obtains the display properties of a specified model edge in a drawing view. It allocates the ProDrawingEdgeDisplay object for storing the display properties.
The function ProDrawingEdgeDisplaySet() assigns the display properties of a specified model edge in a drawing view. After assigning the properties, you must repaint the drawing view to update the display.
The function ProDrawingedgedisplayFree() frees the memory allocated for the ProDrawingEdgeDisplay object.
The functions ProDrawingedgedisplayColorGet() and ProDrawingedgedisplayColorSet() obtain and assign the color to be used for the display of a specified model edge.
The functions ProDrawingedgedisplayFontGet() and ProDrawingedgedisplayFontSet() obtain and assign the line font to be used for the display of a specified model edge.
The functions ProDrawingedgedisplayWidthGet() and ProDrawingedgedisplayWidthSet() obtain and assign 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 width obtained is in screen coordinates. To convert the width value into drawing coordinates, use the sheet transformation matrix obtained using ProDrawingSheetTrfGet().
The function ProDrawingedgedisplayIsGlobal() determines 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 function ProDrawingedgedisplayGlobalSet() 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.
Was this helpful?