Re: problems generating code from dia 0.96 to 0.97
- From: Hans Breuer <hans breuer org>
- To: dia-list gnome org
- Subject: Re: problems generating code from dia 0.96 to 0.97
- Date: Fri, 10 Feb 2012 23:38:09 +0100
At 08.02.2012 11:40, Ottavio Campana wrote:
I wrote a plugin based on codegen.py that takes an UML diagram and
generates code. The diagram consists only of classes and aggregations.
What I'm trying to do is extracting some informations from the
aggregations that connect couples of classes. The code is
[code snippet deleted]
It works perfectly on dia 0.96 . But when I try to run it in dia 0.97
c.connected is always empty.
I know there were changes in 0.97,
Really? Which changes?
I'm not aware of any changes regarding connections between 0.96 and 0.98 -
or even current master. But if you want help debugging your script posting
the full version might help.
how am I supposed to do scan all the aggregations?
I also have another question: suppose I want to make my python plugin
work both with dia 0.96 and 0.97. Is there a way to get the version of
dia in the plugin?
Not the version of Dia, but every ObjectType has a read-only version member.
-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it. -- Dilbert
] [Thread Prev