04-07-2020
11:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-07-2020
11:44 AM
Hello @GoranBe you can try to use this iLogic code to populate a measured distance to a parameter, but that is manually selected:
Using the Measure.MinimumDistance command
I was thinking you could define Faces or WorkPoints and then bring access NamedEntities to pull the distance between the two into the assembly as a User Parameter. Here are a few links that may help:
iLogic - Get NamedEntity of Part from Assembly level
Assigned Names for faces Change Color using Ilogic or API
Please select the Accept Solution button if a post solves your issue or answers your question.

Kelly Young
* Ideas * Help * AKN * Updates * Pack & Go * Reset Utility * Repair Install * Customization * iLogic Examples * Autodesk University *