Options
In the TwinCAT UML options (Tools > Options >TwinCAT > PLC Environment > UML) you can configure the settings relating to the UML editors for the entire project. Modified options take effect when the dialog is closed, even in UML editors that are already open.
General
- Gridspace: enter a whole number that will be used as the gridspace in pixels. Default: 10
- Snap To Grid: activate this option in order to align all the elements in the UML editors to the grid.
- Display grid points: activate this option in order to display the grid points in the UML editors.
Statechart
- Position Condition and Action of a relation together:
Activate the option to synchronously move a guard condition and an action belonging to the same transition in the statechart.
Class diagram
- Show prompt when deleting objects from diagram:
Objects can be deleted either from the diagram only or from the diagram and from the project. There are two possible procedures for this: - If an object is marked in the class diagram, two command symbols appear above the object in order to delete the object from the diagram only or from both the diagram and the project.
- Alternatively a marked object can be deleted by pressing the [Del] key. If the option to display a selection window is disabled, the object is deleted by default only from the diagram. If the setting is activated, a selection window appears when deleting with which you can configure whether the object should be deleted only from the diagram or also from the project.
- Skip Refactoring Preview:
If this option is activated and refactoring is initiated in the diagram, the project-wide change is carried out without first opening the Refactoring dialog with a preview of all change points.
Hide variables
Available from TC3.1 Build 4026 |
To reduce the amount of information within the class diagram to the desired focus, the following options are available.
- Hide internal variables:
If this option is enabled, internal variables are not displayed in the class diagram. These include VAR, VAR_TEMP, VAR_STAT and VAR_INST. - Hide signature variables:
If this option is enabled, signature or interface variables are not displayed in the class diagram. These include VAR_INPUT, VAR_OUTPUT and VAR_IN_OUT.