Geometry scale factor make a wrong family dimensions

Dear everyone,
I have a problem with scaling my geometry to import it into revit using the FamilyType.ByGeometry node.
I am using a metric template and I would like to create a family of renaissance door.
I created a family by generic model wall based and I used an old note to get and set parameter values of the door void using dynamo in revit.



Then I made my geometry and when I scaled it before to create the family


but in the end I still have a problem of scale because my family is bigger than I wanted and doesn’t fit the void perimeter.


Do you have any suggestion to solve it?
Maybe I miss the correct scale value.
Thank you for your time!
Best
Elisabetta

@Elisabetta_Caterina maybe an imperial/ metric units conversion? Share your script if possible.

Hi, I’m facing the same issue. Did you get the solution to it?