#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]
======================================================================