Changing Line Color in Draft API

Valued Contributor
Valued Contributor

 

All,

Does anyone know how to change line colors on the fly in a draft drawing view?  I have all of the dvline2d objects in my model members as I use them to make dimensions, but there does not seem to be a straight forward way to change colors.  Any ideas?

Thanks,

~Matt

 

Posted by: Matthew Daniel
Post date: 11/13/2007 8:18:26 AM

2 REPLIES

RE: Changing Line Color in Draft API

Valued Contributor
Valued Contributor

Matt,

 

I can look into it for you but I'm not quite sure what lines you're talking about. Can you reply with an example draft attachment and maybe some comments on which exact lines you're wanting to change.

 

Posted by: Jason Newell
Post date: 11/18/2007 8:46:01 PM

RE: Changing Line Color in Draft API

Valued Contributor
Valued Contributor

 

Jason,

Don't worry about it.  I figured out a method.  My solution was to create custom line styles for each color that I want to use and I change the line style on the fly at the model member object.  Seems to work well becasue I can change style at the assembly level.

Thanks,

~Matt

 

Posted by: Matthew Daniel
Post date: 11/19/2007 5:21:31 AM