Chris, I may be wrong, but you might try #IFSTR
Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, August 14, 2000 12:47 PM To: [EMAIL PROTECTED] Subject: [mfg-smartcam] Posting conditional output Hi all, I'm a little rusty in my post work, and don't have a lot of spare time right now to dig deeper, so I'm hoping for a quick hit answer from the forum. I want to test which workplane is active and output specific code for axis rotation. I've tried a few variations on the following with no luck: #IF(#WKPLN=G54) G68 X#XHOME Y#YHOME R#507 #IF(#WKPLN=G55) G68 X#XHOME Y#YHOME R#508 I get both lines output instead of one or the other needed for the active workplane. Any help will be greatly appreciated. Thanks, Chris ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
