[Ma...] Posted Wednesday at 09:15 AM Share Posted Wednesday at 09:15 AM I'm currently programming a job which requires a loop of multiple single points using the RTG +X clearance group and then a move to RTCP +X clearance group so a rotary table move can be made without colliding with anything. How is this done using the formula function as this doesn't seem to want to work? The below is the code I have included: Presettings: Clearance = "RTG +X" if LOOP1 == 10 then Clearance = "RTCP +X" endif The variable "Clearance" is then put into formula under Clearance Group. This is not working as Calypso comes up with the error: Invalid parameter name! Clearance) -> "RTCP +X" Can anybody point me in the right direction for this please? Link to comment Share on other sites More sharing options...
[Ma...] Posted Wednesday at 09:31 AM Author Share Posted Wednesday at 09:31 AM UPDATE: The error may have been due to a typo, where a close bracket was left the code after the variable name. However a new error message appears: "Undefined Clearance Plane: RTCP +X" Link to comment Share on other sites More sharing options...
[Ma...] Posted Wednesday at 09:57 AM Author Share Posted Wednesday at 09:57 AM Sorted it out now. For anyone else who is having this issue, they need to use the internal name of the Clearance group required for the variable. 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in