[gme-users] GME Add-ON
Naiser, Samuel L
samuel.l.naiser at lmco.com
Tue Nov 22 13:50:53 CST 2005
Thanks, that should do what I want for now. I missed to Event Mask def.
Thanks again,
Sam
_____
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Zoltan
Molnar
Sent: Tuesday, November 22, 2005 1:18 PM
To: gme-users
Subject: RE: [gme-users] GME Add-ON
Hi,
First thing to check is that the Event Mask in the componentconfig.h is
something like:
ADDON_EVENTMASK 0xFFFFFFFF
This makes sure every event is captured (actually: no event code is
filtered out).
In the objectEventPerformed method:
if( event & OBJEVENT_CREATED)
{
// ...
}
will let you know about every object creation.
br, Zoli
-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Naiser,
Samuel L
Sent: Tuesday, November 22, 2005 12:39 PM
To: gme-users
Subject: [gme-users] GME Add-ON
Are there any tutorials describing how to create a GME Add-on
that will
capture events for particular objects in a model (a Model). I
have created
an add-on that I attached to my GME Model at it captures the
global
event when I open the model and close the model. What has to
happen
to cause events objectEventPerformed method to fire. I
would like to be able to know when a particular oject
is created so that I can establish links to other
objects in the add-on.
Any help will be appreciated.
Thank you,
Sam Naiser
Samuel L Naiser
Lockheed Martin Aeronautics
samuel.l.naiser at lmco.com
Office: 817-935-3839
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20051122/315d225b/attachment.htm
More information about the gme-users
mailing list