returning distance between points in ilogic

returning distance between points in ilogic

Anonymous
Not applicable
881 Views
1 Reply
Message 1 of 2

returning distance between points in ilogic

Anonymous
Not applicable

I want to create an ipart which derives its length and width from pairs of snapped points in the assembly. These can be any two points not necessarily existing properties of any part.

 

My new part would then calculate its actual dims from these measurements.

 

Can this be done in ilogic and how?

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

Vladimir.Ananyev
Alumni
Alumni

Please search this forum for "MinimumDistance" iLogic method.: 

Measure.MinimumDistance("entityName1", "entityName2")

 or

Measure.MinimumDistance( _

     "componentName1", "entityName1", _

     "componentName2", "entityName2")

 

iLogic - Measure.PNG

 

For more detailes please refer MeasureTools object in the Inventor API Help.


Vladimir Ananyev
Developer Technical Services
Autodesk Developer Network

0 Likes