  | | | Jscript question.... | Jscript question.... 2004-03-19 - By Graham D Clark
Back I presume you want something more complex than this but the basic setup is
//selection2xsicollection direct js //(but with fullname issues rather then eg. index value for components array) var oColl = new ActiveXObject("XSI.Collection"); oColl.AddItems(application.selection); logmessage(oColl);
'//selection2xsicollection loop vbs Set oColl = CreateObject("XSI.Collection") for each selected in selection oColl.Add selected next logmessage oColl.getastext -- ---- ---- ---- ---- ---- -- http://www.grahamdclark.com
> -- --Original Message-- -- > From: owner-xsi@(protected) > [mailto:owner-xsi@(protected)] On Behalf Of Raffaele Scaduto-Medola > Sent: March 19, 2004 6:19 AM > To: XSI@(protected) > Subject: Jscript question.... > > > Does anyone have some sample code to put selected elements in > a scene in a > XSI.collection objects. > > I'm looking for some information in the sdk docs, but having > a hard time > finding it. > I basically am trying find out (in my script) the names of > selected object > in my scene. > > Any pointers would be greatly appreciated. > > THX > RSM > > __ ____ ____ ____ ____ ____ ____ ____ ____ ____ _____ > Raffaele Scaduto-Mendola - www.turbolinea.com > raffaele@(protected) > --- > Unsubscribe? Mail Majordomo@(protected) with the following > text in body: > unsubscribe xsi > > >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|
 |