[gme-users] Position attribute from BON2

Zoltan Molnar zolmol at isis.vanderbilt.edu
Mon Oct 24 11:15:58 CDT 2005


You have to access the object's registry, using the Aspect name you are interested in as a parameter, like:
 
BON::Point p = BON::Atom( m_ptr)->getRegistry()->getLocation("TheAspectName");

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 Gábor Bátori (IJ/ETH)
Sent: Monday, October 24, 2005 6:40 AM
To: gme-users
Subject: [gme-users] Position attribute from BON2


Hi,
 
Can I get the graphical position of an object in an aspect via BON2? I know that this position attribute is stored in the exported XML file, but I haven't seen a corresponding get function in the BON2 interface.
 
Thanks,
 
Gabor

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20051024/9a7a064b/attachment.htm


More information about the gme-users mailing list