I've made a pretty simple VB script when measuring flat bars (click a button and send back an y-coordinate, hits/row and name). But can't get one thing to work:
Let's say I assign V1=16 and use V1 for hits/row on an Auto-Plane, it won't update until I change something manually. I can see the number 16 is there - both in the editing window and in F5 - but the plane won't use 16 hits/row. Why is that?
I have tried both .RefreshPart and .Redraw but nothing changed. Those were the only 2 commands I found in the manual that looked like they could work.
Wow, been trying to figure this thing out for hours and exactly 20 seconds after my post I found out what was wrong - I use a variable for the first hit (X-coordinate to avoid fixture) and as long as this variable is there the hits/row won't update.
Wow, been trying to figure this thing out for hours and exactly 20 seconds after my post I found out what was wrong - I use a variable for the first hit (X-coordinate to avoid fixture) and as long as this variable is there the hits/row won't update.