Re: Scripting : How to know the Class ID

Date : Tue, 4 Apr 2006 16:32:00 +0200
To : XSI(at)Softimage.COM
From : "guillaume laforge" <guillaume.laforge.3d(at)gmail.com>
Subject : Re: Scripting : How to know the Class ID
This is !

Thanks for the fast reply :-)

Guillaume

On 4/4/06, Andy Nicholas <andy(at)andynicholas.com> wrote:
Is this what you're after?

var obj = Selection(0);
var datarep = XSIUtils.DataRepository;
logmessage(datarep.GetIdentifier(obj,3));


Andy


> I can't find how to return the class ID from a scene item ( like with the
> sdk explorer). I remember Bernard wrote something for this kind of stuff
> but
> I can't find it anymore !
>
> Help !
>
> Guillaume Laforge
> freelance Technical Director | Cg artist
>

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.