Reply

Find the functions of a line in drawing

[ Edited ]

 

I would like to find the type of function that is drawing in a drawingview to automatically change the color of these lines

 

I have search in the drawing property but no result

 

Thanks

 

Posted by: BONNAUDET eric
Post date: 10/5/2010 3:10:44 AM

4 REPLIES

RE: Find the functions of a line in drawing

[ Edited ]

You mean colour for one line or all lines in the same style? If you need re-coloured all lines, you can change whole line style.

Set objDoc = objApp.ActiveDocument

Set ObjLinearStyles = objDoc.LinearStyles

ObjLinearStyles("Normal").Color = 0              '0=RGB value

 

Posted by: Jiri Marek
Post date: 10/11/2010 2:50:29 AM

RE: Find the functions of a line in drawing

[ Edited ]

no, I want to change only the color of a function (extrusion)

 

Thanks

 

Posted by: BONNAUDET eric
Post date: 10/11/2010 2:56:08 AM

RE: Find the functions of a line in drawing

[ Edited ]

Bonnaudet,

If you are trying to show the lines corresponding to a extrusion in the part file in a deretermined colour, you simply can't do that by programming or by hand.

The relation between a 3d operation and the corresponding drawing lines is simply not exposed.

I think that this is becasue you can't relate those in all situations, because some edges could result from intersections, projections, etc.

The only thing you can do is "Paint Faces" in 3D and obtain shaded drawing views in 2D.

regards,

Julian

 

Posted by: Julian Guillo
Post date: 10/13/2010 2:29:20 AM

RE: Find the functions of a line in drawing

[ Edited ]

Thanks Julian

 

Posted by: BONNAUDET eric
Post date: 10/25/2010 9:10:28 PM