|
Dear Salu, Thanks for your assistance. I am trying to add a python plug-in to Dia. Following is the test scenario in the Dia python console. obj = dia.active_display().diagram.data.selected[0] props = obj.properties props.keys() //this is to show all available attributes of the selected obj. But objId = obj.id OR objId = props["id"].value Neither of above is available. The problem is that, objId = obj.id does not exist. I need to get the DiaObject Id. How can I get it If the id is available, I will use it to select the record where id = the DiaObject Id. Please further advise. Thanks again. NJ. Nycko wrote: On Mon, Nov 23, 2009 at 1:45 PM, Nathakorn J. <nathakorn softoo co th> wrote: |