Creating BIM objects from Python

Thanks Izzy, that fully clears it up!
The commits you added are very helpful.

Indeed there was some confusion, I was sort of thinking that both options were equivalent. Now I see that they are just different ways to store the data, which can result in (more or less) the same beam in Revit.

I now can indeed receive the RevitBeam myself, after adding the units to the Points.
One strange I noticed here is that when I don’t set the units attribute myself explicitly, it is not being sent to the server, while a default value units = 'm' is always set by the Base class. This is quite peculiar and also impractical, as this would require to manually set the units for each object that we create in Python. Do you have any idea what is causing this, and is this expected behaviour?

image

3 Likes