1
Automation Interface, Add-Ins and Tools / Composite element ?
« on: August 27, 2008, 04:55:43 pm »
Hello,
I got a problem. I don't know how to make composite element throught API.
Here is algorythme how I do it:
1. create package aaa
2. add class bbb to package aaa
3. add diagram ccc to class bbb
4. bbb.setSubtype(
5. add diagram aaa to package aaa
6. add class bbb to package aaa
After this I'm getting something like this:


In advanced menu element is set as composite:

But I cannot do double click and go to subdiagram.
I can do that when I uncheck Make composite in advanced menu
and after check it again.
After this action small icon is showing in right bottom corner
and now I can go to ccc diagram after double click.

I cannot solve what is changing after checking Make composite
action. I was even comparing binary files.
Can You help me ?
I got a problem. I don't know how to make composite element throught API.
Here is algorythme how I do it:
1. create package aaa
2. add class bbb to package aaa
3. add diagram ccc to class bbb
4. bbb.setSubtype(

5. add diagram aaa to package aaa
6. add class bbb to package aaa
After this I'm getting something like this:


In advanced menu element is set as composite:

But I cannot do double click and go to subdiagram.
I can do that when I uncheck Make composite in advanced menu
and after check it again.
After this action small icon is showing in right bottom corner
and now I can go to ccc diagram after double click.

I cannot solve what is changing after checking Make composite
action. I was even comparing binary files.
Can You help me ?


