Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Jscript question....

Jscript question....

2004-03-19       - By Graham D Clark

 Back
Reply:     1     2     3     4  

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