Hi all.
I'm pretty new to iLogic and coding within Inventor and I'm looking for some guidance on how to "Show" the minimum distance line that I call for.
The first image shows the current box I've got to pop up, that gives me some information on what the crane is doing, but more importantly 3 Minimum Distance dimensions between objects that I require.
What I'd like it to do when I run the rule, and bring up the box above, is to also show the Minimum Distance line as shown below when you manually do a minimum distance measurement
Please find below my very simple basic code.
MPTOLEG = Measure.MinimumDistance("Monopile - A:1", "LEG_Simplify_1:1")
MPTOBOOMWINCH = Measure.MinimumDistance("Monopile - A:1", "CraneMeasure_001:1")
MPTOBOOM = Measure.MinimumDistance("Monopile - A:1", "CraneMeasure_002:1")
MessageBox.Show("CRANE SLEW = " & CRANESLEW & vbLf & "CRANE RADIUS = " & CRANERADIUS & vbLf & "MP TO DECK = " & MPTODECK & vbLf & "MP TO BOOM = " & MPTOBOOMANGLE & vbLf & vbLf & "MP TO LEG = " & MPTOLEG.ToString & vbLf & "MP TO BOOM WINCH = " & MPTOBOOMWINCH.ToString & vbLf & "MP TO BOOM = " & MPTOBOOM.ToString(), "STEP - " & CURRENTSTEP)
Thanks for taking the time to read the above.