Create a child node when creating the parent [message #1054905] |
Wed, 08 May 2013 09:51 |
|
Hi all,
I was wondering if it is possible to make a createCommand function create a createCommand?
The thing is in my GMF editor I have made a node called Attribute and a child node Attribute-Data. What I want to do is when I create an Attribute it will also create an Attribute-Data node inside the Attribute. I was recommended to look in the createCommand for my Attribute but so far I have had no luck with generating a child node so wanted to see if anyone here had an idea?
If there is a better way to do it I am all ears (or eyes since it will be posted in text ), but I tried to generate a create command for my Attribute-Data since I guess if I can make that command it will work as if I had added it form the palette but if I am looking in the wrong place just let me know .
Thanks for any help
Write you later / Mårten
|
|
|
|
Powered by
FUDForum. Page generated in 0.03373 seconds