Skip to main content

This should be pretty simple to do but I can’t figure it out.  In a .ZPL I am trying to set the value of the Tilt about Z for Coordinate Break surface #12.  It seems that this is PARAMETER 5.

 

So I use the command:

SETSURFACEPROPERTY  12, 5 123.456

 

nothing happens,

 

 

It is so simple in CodeV.

CDE S12 123.456

So archaic that Optic Studio uses “parameter number” instead of a simple keyword like ADE, BDE, CDE for tilt. CDE is tilt about Z axis (rotation)

 

Hey Harvey,

For someone coming from CodeV, I can see how this can be challenging, but you also needed to learn what ADE, BDE, CDE was for CodeV when you first started...this is no different.

  • For the ZPL, you can use either SETSURFACEPROPERTIES or SURP
  • To change an extra data parameter (anything to the right of the TCE column), you need to use the PARM (10) code
  • To set the new number, the Value1 should be 123.456
  • To change the Tilt About Z, the Value2 should be 5

So the final code should be:

SURP 12, 10, 123.456, 5


Reply