Re: Scripting : How to know the Class ID

Date : Tue, 4 Apr 2006 15:24:56 +0100 (BST)
To : XSI(at)Softimage.COM
From : "Andy Nicholas" <andy(at)andynicholas.com>
Subject : Re: Scripting : How to know the Class ID
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.