I have been tasked to GET all lighting fixtures on a level and then SET that level name to a new parameter, but have it renamed to L3. I created a new script put nothing happened. By the way some of the light fixtures do not have host level. They were copied monitored. I might have to approach this task as Element.GetLocation and then use Point.Z but did not know how to filter in-between levels.
I figured it out. The C Garage levels were using the survey point values and not matching the element level values. Once I changed the C garage level to match the elements it worked for hosted elements, but some non-hosted elements did not change for some reason.
The C Garage levels were using the survey point values and not matching the element level values.
level has a property called “ProjectElevation” which is relative to rvt internal origin. and iirc, most of the rvt elements report their locations relative to internal origin by default, whereas level uses settings on its own (survey in ur case), hence the confusion.