It's like not being able to see the forest for the trees syndrome. E1 was not an arc. And to think I caused this error filling out the Split Panel boxes inside SmartCAM wouldn't have clued me in the right direction. Works fine. Thanks.
-----Original Message----- From: Lauzus, Frederick [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 12:49 PM To: Michael Senack; '[EMAIL PROTECTED]' Subject: RE: [mfg-smartcam] Mcl help The following syntax generated no errors for me as long as the element named "E1" was an arc. #Count=1 STRING:#Name #Name=STRTMP("E%Count") ELMT_SEQ[BA=1, EL=#Name, ME=1] SPLIT[EL="SEQEL()", XS=CEX(#Name), YS=CEY(#Name), LC=0, GW=0.0, LN=.5, DS=.05, FR=1] The syntax is good, but I'm not sure what you intended to accomplish. The example shown is trying to split an arc at it's closest point to its own center. Since this distance is uniform, no elements are split as a result. The command "ELMT_SEQ[BA=1, EL=#Name, ME=1]" establishes the element identified by #Name as the current sequence insertion element identified by the SEQEL() function. Hence in this instance SEQEL() and #Name identify the same element. ============================================= Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ============================================= -----Original Message----- From: Michael Senack [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 12:20 PM To: 'Lauzus, Frederick'; Michael Senack; '[EMAIL PROTECTED]' Subject: RE: [mfg-smartcam] Mcl help #Count=1 #Next=2 STRING:#Name #Name=STRTMP("E%Count") ELMT_SEQ[BA=1, EL=#Name, ME=1] SPLIT[EL="SEQEL()", XS=CEX(Name), YS=CEY(Name), LC=0, GW=0.0, LN=.5, DS=.05, FR=1] This is what I've tried so far CEX(#Name) CEX("#Name") CEX(Name) and still no luck. I even tried ElName instead of Name as the variable name and I steill get error 2753: Unknown idenifier in exoression 'cex(ElName)'. Is what I'm trying to do possible? -----Original Message----- From: Lauzus, Frederick [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 8:07 AM To: Michael Senack; '[EMAIL PROTECTED]' Subject: RE: [mfg-smartcam] Mcl help Michael, First of all make sure that the element names do exist. I think your macro fails when you use the string template function, STRTMP(), within a snap function, CEX(), CEY(), etc... // Concatenate the string and assign it to a string variable first. STRING:#ElName #ElName=STRTMP("E%Next") // Then use the string variable in the snap functions. SPLIT[EL="SEQEL()", XS=CEX(#ElName), YS=CEY(#ElName), LC=0, GW=0.0, LN=.5, DS=.05, FR=1] ============================================= Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ============================================= -----Original Message----- From: Michael Senack [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 02, 2001 10:41 AM To: '[EMAIL PROTECTED]' Subject: [mfg-smartcam] Mcl help I'm trying to use named elements ( E1,E3,E5 etc ) in a While/Endw loop. This is the split command inside the loop that I recorded... SPLIT[EL="SEQEL()", XS=CEX(E2), YS=CEY(E2), LC=0, GW=0.0, LN=.5, DS=.05, FR=1] and what I'm trying to do is take the E and concatinate (haven't got a clue how to spell that word) to the INTEGER:#Next which is 1,3,5,7 etc like so... SPLIT[EL="SEQEL()", XS=CEX(STRTMP("E%Next")), YS=CEY(STRTMP("E%Next")), LC=0, GW=0.0, LN=.5, DS=.05, FR=1] but all I get is error 2753: unknown identifier in expression Why? Regards, Michael Senack, CNC Programmer Blount Canada Ltd 505 Edinburgh Road North Guelph Ontario N1H 6L4 519 822 6870 X354 FAX 519 822 1450 http://www.blount.com/ ====================================================================== 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] ======================================================================
