Re: Scripting : Referenced Model owner

Date : Fri, 1 Jun 2007 19:21:15 +0200
To : XSI(at)Softimage.COM
From : "Christopher Crouzet" <christopher.crouzet(at)gmail.com>
Subject : Re: Scripting : Referenced Model owner
In the ProjectItem class (and all its childs like SceneItem, X3DObject, ...), you can find the 'Model' property.

The code in VBScript :
set topModel = oObject.Model


Christopher.

On 6/1/07, Adam Seeley <adam.seeley(at)clearpost.co.uk> wrote:
Hi,
 
Does anyone know how to find out which Referenced Model an Object belongs to or is within?
 
I guess it's something along the lines of oObject.Parent but more like to be oObject.ReferenceModelOwner
 
Looking at the docs, but still finding the navigation a bit tough when looking for specifics.
 
Many thanks,
 
Adam.
 
 

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.5/826 - Release Date: 31/05/2007 16:51



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.