Home
Reply
Regular Contributor
bheld
Posts: 41

api_unhook_faces and orientation/position of resulting face

Hi,

 

I'm using api_unhook_faces to unhook 1 face (not using api_unhook_face because I want copy = TRUE).  I've discovered that the resulting body is located such that the centroid of it is at 0,0,0 even though the center of the original face is not at 0,0,0.  I assume this because of some coord system change.  I need to restore the location of the unhooked body to the original location.

 

How?

 

Ben

Spatial Moderator
ybiyani
Posts: 223

Re: api_unhook_faces and orientation/position of resulting face

Hello Ben,

 

Can you please journal the api and upload the samples here so that we can review your concern?  Please journal both the unhook face and the mass props api.

 

Regards,

Yogesh

Regular Contributor
bheld
Posts: 41

Re: api_unhook_faces and orientation/position of resulting face

Yogesh,

 

Creating a sample application pointed out the issue in our code.  It's fixed.

 

Ben