|Split programmatically the main representation into several representations [message #1630970]
||Mon, 23 February 2015 14:09
| Adel Ziani
Registered: June 2014
Is it possible to split programmatically the main representation "representations.aird" into several representations files in the same project ? |
use case scenario:
1. create a new ModelingProject with "models" folder
2. create a new model "model1.myextesion" and extract its representation from "representations.aird" to "model1.aird"
| |-- model1.myextesion
| |-- model1.aird
I succeeded to reproduce this scenario using UI Sirius menu "Extract to .aird file ..."
Programmatically, I'm using SiriusControlCommand but without any success. The command is not executed because my semanticRoot object doesn't have a container (Not controllable) !
Why it works when I'm using the UI ? How this command can be used programmatically ?
[Updated on: Mon, 23 February 2015 14:09]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01762 seconds