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?
 
FindObjects in JScript

FindObjects in JScript

2004-05-24       - By Bernard Lebel

 Back
Reply:     1     2     3     4     5     6     7     8  

Got the answer:
var oShader = findobjects( null, "{8993CE15-2D6D-4A5E-8308-61690E59F415}" );

Cheers
Bernard


-- -- Original Message -- --
From: "Bernard Lebel" <atyss4si@(protected)>
To: <XSI@(protected)>
Sent: Monday, May 24, 2004 11:11 AM
Subject: [Script] FindObjects in JScript


> Hello,
>
> I'm trying to convert a VBScript in JScript but I have problems. The
script
> is using an undocumented feature called FindObjects.
>
> I'd like to know if there is an equivalent in JScript, or even a better
way
> to do that. I'm trying to collect all the instances of a specific shader
in
> a scene.
>
>
> VBScript:
> Dim assurf : assurf = "{0B46C13F-9610-4022-8162-6A8F3B496265}"
> set oAsSrf = FindObjects(,assurf)
>
> JScript (throws a synthax error at the second line):
> var oShader = "{8993CE15-2D6D-4A5E-8308-61690E59F415}";
> var oDT = FindObjects( , oShader );
>
>
>
> Thanks
> Bernard
>
---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi