Plane feature changed at runtime

Hi guys,

a few of my waypoints are defined in respect to a plane feature which i teach via installation wizard. At runtime i want to change my original plane feature for an offset. First, i would save the original plane values to a new variable (p_original = Plane_1)
Then, create an offset:
Plane_1 = pose_trans(p_original, p[0,0,0.05,0,0,0])
After successful movement, i’d change the Plane_1 to original value.

Question is, what if i stop the program before the Plane_1 is set back to original? Is Plane_1 reset back to the values thought by the wizard or does it stay messed up by the offset, set inside the program?

There are 2 versions of every Feature you create. A Pose Feature, and a Variable Feature. This is denoted by the _const suffix at the end of the variable name. The _const version is ONLY changed via the Wizard and cannot be modified at runtime. The variable version of the Feature is free to be adjusted. In this way, if you’re concerned about resetting the plane, you can always start with the line: myPlane = myPlane_const.

It’s worth noting here that you MUST pick the const version out of the dropdown. This is not a recognized variable name, so typing it in manually will not work.

image