Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Measure minimum distance between parts in assembly and fetch XYZ, iLogic/VB code

maciej.wiankowski
Explorer

Measure minimum distance between parts in assembly and fetch XYZ, iLogic/VB code

maciej.wiankowski
Explorer
Explorer

Hi everyone. 
I am looking for a solution to my problem:

I want to measure minimum distance between parts in a subassembly at multiple levels and optionally create in places where the measurement takes place. Then I need to fetch coordinates or those points (I don't need them to be shown) and pass them to parameters (XYZ, X'Y'Z') and draw a line between those points so it can be shown later in the drawing. All that can be hard-coded as the assembly won't change. The only thing that changes are distances between parts/subassemblies.

Can anyone help me with it. please?

0 Likes
Reply
519 Views
2 Replies
Replies (2)

mcgyvr
Consultant
Consultant

@maciej.wiankowski  Can you post your assembly and ipt files and describe specifically where you want this to happen on that model?

 



-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570

Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
0 Likes

maciej.wiankowski
Explorer
Explorer

The original files is very complex and massive. I made a simple "proof of concept" assembly for quickness. I would like to examine both scenarios - 1 part from the main assembly to 1 part from the subassebmly and between p2 parts in the same assembly. I coloured them - bascially red to red and green to green part.

Thank you for your interest.

0 Likes