LineColor for No Override

LineColor for No Override

Anonymous
Not applicable
665 Views
3 Replies
Message 1 of 4

LineColor for No Override

Anonymous
Not applicable

I'm trying to use the API to set the LineColor property of PipingSystemTypes to No Override, but I can't quite figure out the value to use for that. Setting a specific color is easy; turning it off not so much. Anybody know the answer?

 

Thanks,

Dave Horger

0 Likes
666 Views
3 Replies
Replies (3)
Message 2 of 4

ollikat
Collaborator
Collaborator

Hi

 

Have you tried the Color class static "InvalidColorValue" property?

0 Likes
Message 3 of 4

Anonymous
Not applicable

No, I haven't tried that. In fact, I don't even see that in Intellisense. Where do I find that? I'm using VB.Net 2010 and Revit MEP 2013.

0 Likes
Message 4 of 4

ollikat
Collaborator
Collaborator

Hmp...unfortunate. Seems that this property is new in 2014 API.

 

So maybe it is so that you just need to store old color and restore it rather than "disabling" an override.

 

 

0 Likes