[gme-users] Question about pasting and GME add-ons
Zoltan Molnar
zolmol at isis.vanderbilt.edu
Fri Jan 12 15:07:04 CST 2007
Not yet.
GME currently sends only a few GUI related messages like: Closemodel,
Import XML, object selected.
Zoli
> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf
> Of James Hill
> Sent: Wednesday, January 10, 2007 6:56 PM
> To: gme-users
> Subject: [gme-users] Question about pasting and GME add-ons
>
>
> Hey Folks,
>
> Is there a way to determine in an add-on when objects are
> being created as a result of a paste operation (i.e.,
> GLOBALEVENT_PASTE_BEGIN and GLOBALEVENT_PASTE_END)?
> Currently, when pasting elements in GME, it triggers the
> ObjectEvent method passing the OBJEVENT_CREATED as the event
> flag. I have a GME addon that handles this mehtod (of course)
> and generates elements when a specific element is created.
> The problem is the add-on does not know the new elements are
> the result of a paste operation and its trying to generate
> and connect elements that violate constraints.
>
> Thanks,
>
> James
>
> --------------------------------------------
>
> James H. Hill - Ph.D. Student
> Research Assistant - ISIS / DOC Group
>
> Department of EECS / Computer Science Program
> Vanderbilt University, Nashville, TN
>
> Email: j.hill at vanderbilt.edu
>
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
More information about the gme-users
mailing list