Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66666

Clear family type parameter value

$
0
0

Hello. I know, that Revit Api allows me to create custom parameters in .rfa files and set their values. For example:

 

 

foreach (var type in neededFamTypes)
{
    familyManager.CurrentType = type;
    familyManager.Set(myStringParameter, "myValue");             
}

 

 

Of course if I call type.HasValue(myStringParameter)  it will return true. But how can I delete paramter from type (not from whole family)? Something like  familyManager.Unset(myStringParameter) , and type.HasValue(myStringParameter) should return false then?


Viewing all articles
Browse latest Browse all 66666

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>