Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DrawingCurves

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
241 Views, 1 Reply

DrawingCurves

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.

1 REPLY 1
Message 2 of 2
johnsonshiue
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report