iFeature X & Y Location

iFeature X & Y Location

Anonymous
Not applicable
468 Views
1 Reply
Message 1 of 2

iFeature X & Y Location

Anonymous
Not applicable

Is there any way to obtain the X and Y location of an iFeature that is placed on a center point?  I cannot find a way to relate the iFeature to the point or vice versa with VBA.  Holes are easy to relate but I am stuck on relating iFeatures.

 

My goal is to obtain the X and Y location of several iFeatures placed a piece of steel channel.

0 Likes
469 Views
1 Reply
Reply (1)
Message 2 of 2

ekinsb
Alumni
Alumni

iFeatures don't have an origin, so there isn't a simple x,y location.  When placing an iFeature the user interface makes it appear like there's an origin because you can position it with the mouse, but it's just using the center of the first sketch in the iFeature.  To do what you want, you'll need to fake an origin by placing an extra point in the sketch of the iFeature that you'll be able to identify it later.  Possibly it's the only hole center point in the sketch.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes