- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I’m trying to make an API able to get different instance parameters of an element in a family. In my case, I want to catch the value of « hauteur » , « Epaisseur » and « longueur » parameters of the element « mur de front » wich is a genreic model. After that i would like to store thoses parameters into variables to make a calcul.
I succeeded to make a code to store the parameters value for a classic wall with thoses commands
Parameter l = e.get_Parameter(BuiltInParameter.FAMILY_HEIGHT_PARAM);
Parameter h = e.get_Parameter(BuiltInParameter.WALL_USER_HEIGHT_PARAM);
but i can’t find the solution for a generic model element … I found some codes on differents forums but i’m not able to compil them correctly in my program. Obvoiusly i’m a beginner...
If anyone can give me suggestions or a sample code to catch thoses parameters it would be nice and helpfull for me to understand😊.
Solved! Go to Solution.