|
thanks Kim but is spat out this line
'ERROR : 2000 - Argument 2 (ConnectionSet) is invalid
'ERROR : 2001-EDIT-ApplyGenOp - Argument 2 is invalid
ApplyGenOp "BooleanGenUnion", , "polymsh(15);low17", siUnspecified,
siPersistentOperation, siKeepGenOpInputs
'ERROR : Invalid procedure call or argument: 'ApplyGenOp' - [line 3]
i ran it from 15 to 90
It looked like it's was trying to do the right thing so I took out the
brackets after polymsh... That crashed the scene.. i think i should ad a
delete previous boolean thing in there
something like this
for i = 2 to 60
ApplyGenOp "BooleanGenUnion", , "polymsh" & i & ";low" & (i + 2),3,
siPersistentOperation, siKeepGenOpInputs
FreezeObj
DeleteObj "polymsh" & (i - 1)
Next
That seems to work
Thanks
Gerbrand
kim aldis wrote:
for i = 0 to 90
ApplyGenOp "BooleanGenUnion", , "polymsh(" & i & ");low" & (i + 2),
3, siPersistentOperation, siKeepGenOpInputs
FreezeObj
Next
(Without testing).
-----Original Message-----
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM] On Behalf Of Gerbrand Nel
Sent: 07-March-2006 12:25
To: XSI(at)Softimage.COM
Subject: simple scripting question.... yes I have no idea
when it comes to scripts
This should be easy but i have no idea...
how would i automate the following
*******ApplyGenOp "BooleanGenUnion", , "polymsh1;low4", 3,
siPersistentOperation, siKeepGenOpInputs *******FreezeObj
*******ApplyGenOp "BooleanGenUnion", , "polymsh2;low5", 3,
siPersistentOperation, siKeepGenOpInputs *******FreezeObj
*******ApplyGenOp "BooleanGenUnion", , "polymsh3;low6", 3,
siPersistentOperation, siKeepGenOpInputs *******FreezeObj
*******ApplyGenOp "BooleanGenUnion", , "polymsh4;low7", 3,
siPersistentOperation, siKeepGenOpInputs *******FreezeObj
I tried this, but like i said... no clue whatsoever
***for i = 1 to 90
***ApplyGenOp "BooleanGenUnion", , "polymsh(i);low(i + 2)",
3, siPersistentOperation, siKeepGenOpInputs ***FreezeObj ***next
Thanks
Gerbrand
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following
text in body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
__________ NOD32 1.1432 (20060306) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi
|