How to place a Rhino.inside family at correct geolocation?

Hello, intelligent Rhino people, I am having some issues to place the rhino.inside family to the desired location

I have created a test family through Rhino. Inside and the geometry (hexagon extrusion) which is inside the family is located at the correct spot. I would like to maintain this distance from the origin to the geometry in the project environment.

When I use "Add Component (Location), it seems like it is not using the origin of the family as a reference point but rather using the center point of the hexagon bottom face as a reference.

Am I doing something wrong in the first place ?, should I create the hexagon in the family at its family origin, then move to the desired location in the project environment ? or is there a way to maintain this location relationship? Thanks you!

Creating a new family mass and placing either by WorkPlane or Location is working as expected.

I add some of additional elements you have your script and see what i can replicate.

1 Like

Its forcing the mass to the Level (work plane), which could actually be a good thing if you want to control by Level.

Uncheck workplane based and use New Component Location instead.

2 Likes

Thank you again Japhy!