I have a property line (red) and a family.
The family is made up of a grey filled region and a circle.
I select them in dynamo and this happens:
Anyone know why the position of the detail family has moved?
I have a property line (red) and a family.
The family is made up of a grey filled region and a circle.
I select them in dynamo and this happens:
Anyone know why the position of the detail family has moved?
can you share your graph?
maybe it has someting to do with the coordinate system
The location you are getting is from within the family. use Element.GetLocation in combination with Geometry.Translate to get the square in the right position.
ps. you should make sure the origin defining refplanes are not changed in the family, as they should be on the Internal Origin. Rebuild the family if you realy need the bottom left corner to be the insertion point.
pss. forgot the rotation…
good luck with your generative design script
Wow, that’s a faff!!
Thank you, I’d have taken forever to work that one out!
Any idea why it doesn’t just read its location and rotation in Revit?
Oh I’ve just realised it reads the ‘base’ size of the family too… Not the resized Revit version.
Erm, How do I fix that? :\
Well it works for this instance but I am seriously doubting it’ll hold up for many instances…
Surely there should be a better interaction with families placed in Revit and Dynamo?!