Hi all,
I've got a little problem with the code: ElementSetParameterByName
I can modify the parameter "h_triangle" in the revit file manualy, but in the meantime, Dynamo tells me that is an only-read parameter.
Do you know why is it hapenning?
(you have the print-screen from dynamo and the revit and dynamos files in attached.
Thanks in advance!
Gelöst! Gehe zur Lösung
Gelöst von gregoriosaura. Gehe zur Lösung
If you look at your project then you see this for the triangle family
You see that the parameter h_triangle is grayed out in the properties window, meaning that you can not modify it. Thus it has nothing to do with Dynamo.
As a standard rule you could say, if you can not do it in the Revit GUI you can not do it with code.
Louis
Please mention Revit version, especially when uploading Revit files.
Thanks Louis!, Indeed, I just tried to do the same thing not in a *.rvt file, but in a *.rfa file, and it did work! In a *.rvt file, you can modify the parameter only if you are into the modification dialogue of the conceptual mass family. So , the script worked!
Kind regards
Greg
Привет
я столкнулся с той же проблемой. Как вам удалось изменить параметр экземпляра ?
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.