  | | | script question....enumelements | script question....enumelements 2004-05-25 - By Ahmidou
Back So cool!!!! merci. so do you like Marseille? say Hi to william for me! Ahmidou.
Bernard Lebel wrote:
>Do the following. An object has a "model" property, wich returns the >immediate model it is parented to. >(JScript) > > > >// Get model selected object >var oModel = Selection(0).model; > >logmessage( "Model parent of selection: " + oModel ); > > > >Cheers >Bernard > > > >-- -- Original Message -- -- >From: "Ahmidou" <xmass13@(protected)> >To: <XSI@(protected)> >Sent: Tuesday, May 25, 2004 12:37 AM >Subject: script question....enumelements > > > > >>hello >>can someone explain me this? i m trying to get the model which my >>current selection is in. >>so i should use "enumelements " but i can t specify the type like in >>the findchild command >>and it return me something like the group inside which it is or the layer >>how should i do?? >>thank you! >>Ahmidou >> >>--- >>Unsubscribe? Mail Majordomo@(protected) with the following text in body: >>unsubscribe xsi >> >> >> >--- >Unsubscribe? Mail Majordomo@(protected) with the following text in body: >unsubscribe xsi > > >
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|
 |