Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

returning distance between points in ilogic

1 REPLY 1
Reply
Message 1 of 2
Anonymous
750 Views, 1 Reply

returning distance between points in ilogic

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?

1 REPLY 1
Message 2 of 2
Vladimir.Ananyev
in reply to: Anonymous

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report