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

LineColor for No Override

3 REPLIES 3
Reply
Message 1 of 4
dhorger
386 Views, 3 Replies

LineColor for No Override

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

3 REPLIES 3
Message 2 of 4
ollikat
in reply to: dhorger

Hi

 

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

Message 3 of 4
dhorger
in reply to: ollikat

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.

Message 4 of 4
ollikat
in reply to: dhorger

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.

 

 

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community