|
Hi Kris,
For a self installing pluggin I use something like this : var oCustomProperty = PPG.Inspected.Item(0);
var oModel = oCustomProperty.owners.item(0);
Then your command or function with oModel here.
Cheers
-- Guillaume Laforge freelance TD | cg Artist my blog !
http://vol2blog.blogspot.com/
On 11/1/06, Kris Rivel <
kris(at)krisrivel.com> wrote:
What is the proper syntax in Jscript to run commands within a custom PPG under a model so that they still function if the model name changes? I guess I'm looking for something like "ActiveSceneRoot" but for the
active model or whatever model the PPG is under.
Kris
--- Unsubscribe? Mail Majordomo(at)Softimage.COM
with the following text in body: unsubscribe xsi
|