DrawingCurves

This widget could not be displayed.

DrawingCurves

Anonymous
Not applicable

So I have some code that loops through the drawing views and changes the drawingcurve segments to different layers according to the sheet format.  So I have a Layer called "detail" with a continuous line type.  My code changes the segment from its layer to the "detail" layer and I need it to change the segments line type from bylayer to "dashed".  I cannot seem to figure this one out.

So I am using drawingview.DrawingCurves.segments.item(1) but there seems to be no way to change linetype for a single segment.

0 Likes
Reply
Accepted solutions (1)
255 Views
1 Reply
Reply (1)

johnsonshiue
Community Manager
Community Manager
Accepted solution

Hi! If I understood your request correctly, it is indeed a limitation. In drawing, the line type of  sketch geometry is controlled by the designated layer (Object Defaults). The only exception is Draft View. If you create a Draft View (sketch-based view), you can use line format to drive the line type individually.

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes