|
|
|
|
|
Re: Creating a node for a specific container [message #1821212 is a reply to message #1821057] |
Fri, 07 February 2020 04:20  |
Eclipse User |
|
|
|
Burak Karaduman wrote on Tue, 04 February 2020 23:50So, related to the above discussion, Is there any way to create a new C, without using any existing B?
*Creating* a new C can be done without a B, but for the new instance to be part of your model you will need to attach it to an existing element. Anything which a type-compatible containment feature can be used, you just have to make sure your "Create Instance" operation is executed in the context of such an compatible container element (which itself is attached to the rest of the model) and indicate in the "Create Instance" operation the name of the containment feature (of the parent) to which the newly created C instance should be attached.
|
|
|
Powered by
FUDForum. Page generated in 0.26254 seconds