Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
maciej.wiankowski
518 Views, 2 Replies

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

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?

mcgyvr
in reply to: maciej.wiankowski

@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
maciej.wiankowski
in reply to: mcgyvr

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.