dia python on win32



hello the dia list
other than not being able to invoke the pthon console (GTK+ problem?)(dia from dia-setup-0.96.1-9.exe) have been successful in creating a simple uml document (uml class and 'link arrow', a Generalization)

       umlGeneralizationType = dia.get_object_type ("UML - Generalization")
       lineObject, h1, h2 = umlGeneralizationType.create (3, 4)
       lineObject.move_handle (h2, object.handles[1].pos, 0, 0)
       lineObject.move_handle (h1, parentObject.handles[6].pos, 0, 0)


the above (where object, and parentObject are "UML - Class")
would like to know how to create a DiaConnectionPoint, or how to connect the line to the class so that when i move object or parentObject, the lineObject is updated



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]