Revit API

Reply
Active Contributor
dhorger
Posts: 46
Registered: ‎06-18-2003
Message 1 of 4 (137 Views)

LineColor for No Override

137 Views, 3 Replies
04-05-2013 09:21 AM

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

Distinguished Contributor
ollikat
Posts: 148
Registered: ‎04-01-2011
Message 2 of 4 (120 Views)

Re: LineColor for No Override

04-07-2013 10:08 PM in reply to: dhorger

Hi

 

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

Active Contributor
dhorger
Posts: 46
Registered: ‎06-18-2003
Message 3 of 4 (103 Views)

Re: LineColor for No Override

04-08-2013 02:06 PM 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.

Distinguished Contributor
ollikat
Posts: 148
Registered: ‎04-01-2011
Message 4 of 4 (100 Views)

Re: LineColor for No Override

04-08-2013 10:04 PM 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.

 

 

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Revit Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Revit helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Revit

Twitter

Facebook

Blogs

Youtube