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
Sure
JumpingFam.dyn (37.3 KB)
and the family is:
TurningCircle.rfa (400 KB)
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
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? :\