script question....enumelements 2004-05-24 - By Jabbar Raisani
Back There may be a cleaner way to do it, but I think this should do the trick:
set myobj = selection(0)
set par = myobj.Parent
while par.type <> "#model"
set myobj = par
set par = myobj.Parent
Wend
logmessage par.name
-Jabbar
-- -- Original Message -- -- From: "Ahmidou" <xmass13@(protected)> To: <XSI@(protected)> Sent: Monday, May 24, 2004 5:37 PM 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
|
|