Create a model where modelling is not possibleCreate a model where modelling is not possibleRE: Create a model where modelling is not possibleMateusz Dziedzichttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=15841172019-05-29T09:05:34Z2019-05-29T09:03:54ZIf you add a mode with the attribute “no-modeling” to a model type, then this mode will not be shown in View→Mode menu in the ADOxx Modelling Toolkit. Therefore it is not possible to manually switch a model of the specified model type to the “no-modeling” mode. To my knowledge it is also not possible to switch a model to a “no-modeling” modi using AdoScript. However, as your purpose is to “Create a model where modelling is not possible” then you can f.e. do the following: Write an AdoScript code to create your model and then to open it “write-protected”. Here you have a short example code:<br /><br /><div class="code"><span class="code-lines"> 1</span>CC "CoreUI" MODEL_SELECT_BOX mgroup-sel without-models<br /><span class="code-lines"> 2</span>#--> RESULT ecode:intValue mgroupids:idList<br /><span class="code-lines"> 3</span><br /><span class="code-lines"> 4</span>CC "Core" CREATE_MODEL modeltype: ("Sample")<br /><span class="code-lines"> 5</span> modelname: ("TestModel22")<br /><span class="code-lines"> 6</span> version: ("0.1")<br /><span class="code-lines"> 7</span> mgroups: (mgroupids)<br /><span class="code-lines"> 8</span><br /><span class="code-lines"> 9</span>#--> RESULT ecode:intValue modelid:id threadid:id refids:strValue<br /><span class="code-lines">10</span><br /><span class="code-lines">11</span>CC "Core" DISCARD_MODEL modelid: (modelid)<br /><span class="code-lines">12</span>CC "Modeling" OPEN modelids: (STR modelid) write-protected<br /></div><br />In the above code a new model of a specified model type is created within a selected model group. Next, the created model is opened “write-protected”, which disables changes in the model.Mateusz Dziedzic2019-05-29T09:03:54ZCreate a model where modelling is not possiblehttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=15841022019-05-29T08:16:38Z2019-05-29T08:16:21ZMy purpose is to create a model of a modeltype, where modelling is not possible. I saw that it is possible to add a mode to a model type with a property „no-modeling“. Doing this it says that the defined mode will not be applicable for modeling and will not be shown in the menu entry "Mode" of the modeling component (https://www.adoxx.org/live/model-types). Now my Question: How can I switch the mode for a model to a „no-modelling“ mode respectively can I specify during the creation of a model that it should be created in the „no-modelling“ mode?2019-05-29T08:16:21Z