IFC Parameters

IFC Parameters

alicia2S8RB
Observer Observer
213 Views
1 Reply
Message 1 of 2

IFC Parameters

alicia2S8RB
Observer
Observer

Hi

I would like to know if it is possible export the following situation:

I want a property, for example, "4.8 Concrete class", to have its value set to the "Standard" parameter, except if the "concrete quality" parameter is filled in.

If it is possible, and if someone can explain it to me, I would appreciate it.

0 Likes
214 Views
1 Reply
Reply (1)
Message 2 of 2

TripleM-Dev.net
Advisor
Advisor

By property you mean Parameter?

Sure you can eval the parameters HasValue, if False it has no value and fill in a default value of you're choice.

If it's a Text parameter you have to make a choice if it is a empty text, does it then also get a default value.

 

See: https://www.revitapidocs.com/2023/2761a43b-3199-bbbb-6e6d-8ffd82febdec.htm 

 

If you don't know how to retrieve a parameter, i suggest to search this forum or download the SDK. lots of samples

 

- Michel

0 Likes