API - Get the Y-axis location of a surfacebody

API - Get the Y-axis location of a surfacebody

Jef_E
Collaborator Collaborator
249 Views
0 Replies
Message 1 of 1

API - Get the Y-axis location of a surfacebody

Jef_E
Collaborator
Collaborator

Hi,

 

I would like to know the location along the Y-axis of a specified surfacebody within the part document object.

 

For example I have a surfacebody in the part located at +100 from centerpoint along the Y-Axis, the surfacebody height is +10 along the Y-axis.

 

I would like to retrieve via code the lowest point of the surface body along the Y-axis ( in this case +100 ) and the highest point ( in this case +110 ).

 

I was looking into the rangebox but cannot figure it out, but maybe this is not the object I should be looking at.

 

Any guidance would be greatly appreciated!



Please kudo if this post was helpfull
Please accept as solution if your problem was solved

Inventor 2014 SP2
0 Likes
250 Views
0 Replies
Replies (0)