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

Re: How to read all parameters including Omni Class, Assembly Description and ot

$
0
0

Thanks, , I used the following code, that helped me to read OmniClass and other relevant family parameter data as well.

 

Family familyowner = doc.OwnerFamily;
var parameters = from par in (Enum.GetValues(typeof(BuiltInParameter)) .OfType<BuiltInParameter>() .Select(param => familyowner.get_Parameter(param)) .Where(param => param != null) .Where(param => param.AsString() != null)).Distinct().ToList() select new {  Name = par.Definition.Name,  Value = par.AsString(),  Def = par.Definition };

So far, I can read all parameter information. But there's a concern with the familyparameter data that I've posted here. Hope you'll light it up with some explanation. Thank you

 


Viewing all articles
Browse latest Browse all 66799

Trending Articles



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