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.
If you are using a variable as your X-coordinate, the hits/row won't update? It should use whatever value you have in V1 for hits/row, you won't see it as a number in the edit window but it should use 16...
If you are using a variable as your X-coordinate, the hits/row won't update? It should use whatever value you have in V1 for hits/row, you won't see it as a number in the edit window but it should use 16...