Subject: Selecting Clusters 2005-06-24 - By kim aldis
Back If it happens again, post here or ping me. I'll take a look. Always interested in ways of breaking things. ;-)
> -- --Original Message-- -- > From: owner-xsi@(protected) > [mailto:owner-xsi@(protected)] On Behalf Of Dan Yargici > Sent: 24 June 2005 09:44 > To: XSI@(protected) > Subject: Re: Selecting Clusters > > Hi Kim, yeah, I'm familiar with the syntax (i've been using > these tricks since v1). Just I remember trying to do this a > few times a couple of weeks ago and was experiencing some > weirdness, where I'd switch to VBScript and it would work > fine. Obviously I was using the relevant language syntax, > but perhaps I'd missed something simple... > > I guess the conclusion is "must try harder".... ;-) > > DAN > > > kim aldis wrote: > > >I'm not sure why you'd want to switch languages. What works in vbs > >generally works in jscript. For interactive scripting like > this I don't > >see that there's anything that couldn't work in any > language. In fact, > >as you switch languages the history pane is translated for you. > > > >To take Sandy's example, the command that he uses as a base is > >registered in the current language so there shouldn't be any > need to switch languages. > > > >The more general way to do this - amy language - is thus: > > > >Select your object(s) and run: > > > >deleteobj(".polymsh.cls.*" ); > > > >Note that the name of the object is missing from the string > argument. > >If you do this then it deletes polymsh.cls.* on all selected objects. > > > > > > > > > > > > > >>-- --Original Message-- -- > >>From: owner-xsi@(protected) > >>[mailto:owner-xsi@(protected)] On Behalf Of Dan Yargici > >>Sent: 24 June 2005 09:10 > >>To: XSI@(protected) > >>Subject: Re: Selecting Clusters > >> > >>Quick question - it there a way to get this functionality with > >>Jscript? > >> > >>Sometimes it's the quickest way to do these things, but I > find myself > >>having to switch to VBscript, run it, then switch back to > Jscript.... > >> > >>Cheers, > >> > >>DAN > >> > >>Sandy Sutherland wrote: > >> > >> > >> > >>>Delete 1 cluster - open the script editor, copy paste the > >>> > >>> > >>delete line, > >> > >> > >>>remove the front part of the name, insert a * in it's place > >>> > >>> > >>- hit run > >> > >> > >>>- boom! > >>> > >>>S. > >>> > >>>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- > >>>Sandy Sutherland Digital Doodeller - TD The Refinery (Cape) > >>>http://www.refinery.co.za mailto:sandy@(protected) > >>>(P) (+27 21) 480 3132 (F) (+27 21) 480 3101 > >>>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- > >>> > >>> -- -- Original Message -- -- > >>> *From:* Lawrence Chandler <mailto:lmchandler@(protected)> > >>> *To:* XSI@(protected) <mailto:XSI@(protected)> > >>> *Sent:* Friday, June 24, 2005 8:26 AM > >>> *Subject:* Selecting Clusters > >>> > >>> Is there a way to select all the clusters of a > >>> > >>> > >>heirachy? I have an > >> > >> > >>> imported 3ds model with a gazillion clusters I'd like > to delete. > >>> > >>> Thanx in advance > >>> Larry Chandler > >>> > >>> > >>> > >>--- > >>Unsubscribe? Mail Majordomo@(protected) with the > following text in > >>body: > >>unsubscribe xsi > >> > >> > >> > >> > > > >--- > >Unsubscribe? Mail Majordomo@(protected) with the following > text in body: > >unsubscribe xsi > > > > > > > --- > Unsubscribe? Mail Majordomo@(protected) with the following > text in body: > unsubscribe xsi > >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|