Are you calling PPG.Refresh somewhere, like from OnInit?
-----Original Message-----
From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf
Of Bernard Lebel
Sent: May 4, 2006 4:56 PM
To: XSI(at)Softimage.COM
Subject: Re: [script] Self-installed property global names defined
multiple times?
No, it's called in the top level, before the LoadPlugin call.
Bernard
On 5/4/06, Stephen Blair <Stephen_Blair(at)softimage.com> wrote:
> Is the custom command that populates the list called from OnInit?
>
> -----Original Message-----
> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM]On
> Behalf Of Bernard Lebel
> Sent: Thursday, May 04, 2006 4:16 PM
> To: XSI(at)Softimage.COM
> Subject: [script] Self-installed property global names defined
> multiple times?
>
>
> Hello,
>
> I'm creating a self-installed property. In the top of the file, I
> define a bunch of globals that I want to use at various points during
> the PPG inspection.
>
> One of these names is a list that gets populated by calling a custom
> command. I noticed that every time the PPG gets inspected, the command
> is called twice. The command is also called twice when I update the
> plugin.
>
> I would prefer not the two calls happen.
>
>
> Any suggestion?
>
>
> Thanks
> Bernard
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
> unsubscribe xsi
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
> unsubscribe xsi
>
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi