Hello peoples! I’m having a problem with the level parameter of my floors.
When I assign a new level to the level parameter of my floors a couple of the level parameters of a couple floors become read-only. I can’t understand why some do work and other don’t. I made a screencast, demonstrating my problem. Am I doing something wrong, bug, anything specifiek I need to add? Screencast video, Link to script
and/or
I found 3 other topics touching on this subject. Here@T_Pover seems to solve this by using python. Unfortunately when I copy the python-code, it gives me a nonetype error on line 27. I’m using the code with a list of placed floors, not a total list of [all elements of category]. Im not familiar with revit api nor c# (c# right?) to solve this unfortunately.
There is something strange happening. Here you can see the output of the element.GetparameterValue… is empty. Resulting in the walls not being adjusted to to the bottom of the floors.Incorrect
It does the same the other way arround, so I dont think it’s a problem with the python script. Once switched, I can switch back again and it works again…
I tried to write directly to built-in parameter. No luck with that. Any ideas?