Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
lesson_12 [2019/10/07 12:45]
britaldo
lesson_12 [2019/10/07 12:52]
britaldo
Line 22: Line 22:
 \\ \\
 Below you can see two examples of updating the inputs and output ports of a local submodel. ​ Below you can see two examples of updating the inputs and output ports of a local submodel. ​
 +\\
 \\ \\
 ===Example 1=== ===Example 1===
Line 40: Line 41:
 {{ youtube>​wDtyrRbUNo4?​size=853x480&​rel=0 |Updating local submodels }} {{ youtube>​wDtyrRbUNo4?​size=853x480&​rel=0 |Updating local submodels }}
 \\ \\
-  * Removing ports from a local submodel is also similar to updating the exported ports. You can remove the ports using the "export functor inputs and outputs" ​option on the [[model_presentation#​functor_action_bar|functor action bar]] and unchecking the corresponding port on the "Exported Ports" ​dialog or using the "Apply Changes / Edit Submodel Properties" ​dialog. Changing the order of the inputs or output ports can only be done by editing the port list on the "Apply Changes / Edit Submodel Properties" ​dialog.+  * Removing ports from a local submodel is also similar to updating the exported ports. You can remove the ports using the **export functor inputs and outputs** option on the [[model_presentation#​functor_action_bar|functor action bar]] and unchecking the corresponding port on the **Exported Ports** dialog or using the **Apply Changes / Edit Submodel Properties** dialog. Changing the order of the inputs or output ports can only be done by editing the port list on the **Apply Changes / Edit Submodel Properties** dialog.
 \\ \\
 {{ youtube>​zx6moYBS3YU?​size=853x480&​rel=0 |Removing portos and changing port order }} {{ youtube>​zx6moYBS3YU?​size=853x480&​rel=0 |Removing portos and changing port order }}
Line 52: Line 53:
 {{ youtube>​v8OKfyWsYoM?​size=853x480&​rel=0 |Importing local submodels }} {{ youtube>​v8OKfyWsYoM?​size=853x480&​rel=0 |Importing local submodels }}
 \\ \\
-It is also possible to copy the submodel definition by clicking on the "Import submodel definition" ​button on the [[functor_library#​functor_library_bar|functor library bar]] of the local submodel tab of the [[functor library]]. The definition of system submodel and system submodels can also be imported using the corresponding "​Import submodel definition"​ button on the [[functor_library#​functor_library_bar|functor library bar]] of the submodel tab of the [[functor library]].+It is also possible to copy the submodel definition by clicking on the **Import submodel definition** button on the [[functor_library#​functor_library_bar|functor library bar]] of the local submodel tab of the [[functor library]]. The definition of system submodel and system submodels can also be imported using the corresponding "​Import submodel definition"​ button on the [[functor_library#​functor_library_bar|functor library bar]] of the submodel tab of the [[functor library]].
 \\ \\
 \\ \\
Line 61: Line 62:
 To publish a local submodel into a user submodel, click on the "​Publish Submodel"​ button on the submodel "​Submodel Options"​ drop down menu located on the model toolbar. ​ To publish a local submodel into a user submodel, click on the "​Publish Submodel"​ button on the submodel "​Submodel Options"​ drop down menu located on the model toolbar. ​
 \\ \\
-Turning a local submodel into a user submodel makes reusing a submodel easier, the submodel will always be available to be used on your next models, but it have some drawbacks as well. You are fully responsible for the consequences of updating a user submodel. Unlike local submodels, your models will not carry a copy of a user submodel as part of their definition. So, if you change a user submodel in a way that breaks compatibility with the model using its definition, your models will not work anymore.+Turning a local submodel into a user submodel makes reusing a submodel easier, the submodel will always be available to be used on your next models, but that implies in some drawbacks as well. You are fully responsible for the consequences of updating a user submodel. Unlike local submodels, your models will not carry a copy of a user submodel as part of their definition. So, if you change a user submodel in a way that breaks compatibility with the model using its definition, your models will not work anymore.
 \\ \\
 \\ \\