Topic: Getting error 2722: Unknown work plane name with v13.5+Technote 226 Problem: Due to work done on the variable system, the workplane referencing now, as it should have always been, uses a name or string value instead of a number. Looking ahead at many projects and proposals in SmartCAM requires tightening the rules of the use of variables in SmartCAM, and in particular the macro system. Solution: In the past this would work:
The WP parameter expects a name or string but the PLN() function returns an integer number. This will now fail. Instead use this:
The WKPLN() function returns the workplane name. Please be aware the the WP parameter is used in other commands, for example:
|
Copyright © 2024 SmartCAMcnc. All Rights Reserved