Editing the Design – Further Commands
|
Case Sensitivity and Slashes |
|
|
|
The following commands are case sensitive. Use forward slashes to indicate pathes. |
|
Parameter Notation Syntax |
|
|
|
The notation used below for describing the parameters of individual commands is based on the Wirth Syntax Notation (WSN) :
|
|
Command |
Parameters |
Description |
|---|---|---|
|
|
FullModuleName [HierNodeName] PosX PosY |
Command for re-positioning a module, an H-Box node, a comment box, or a simulation module to a new position within the design window. Use parameter [HierNodeName] only for selecting an H-Box node. Nodes within hierarchical boxes are identified via the prefix "INBOUND#" or "OUTBOUND#"(like you do when using command ConnectModules), for example, "INBOUND#I000". |
|
|
FullModuleName [PortName] |
Command for selecting a module, a simulation module, a comment box, or a link. Use parameter PortName only for selecting a link (the link is identified via the port that connectes the link with the addressed module). |
|
|
[ParentHierarchy]
|
Command for deleting a selection of elements (modules, H-Box nodes, links, comment boxes, or simulation modules). Use the optional parameter ParentHierarchy to deselect all elements on the hierarchical level ParentHierarchy. If you don’t use ParentHierarchy, element selection is deleted globally, and after carrying out the command no elements within the design are selected. |
|
|
[ParentHierarchy]
|
Command for copying the selected elements on hierarchical level ParentHierarchy. If you don’t use the optional parameter ParentHierarchy, the selected elements on the hierarchical level of the currently active design window are copied. |
|
|
[ParentHierarchy]
|
Command for deleting the selected elements on hierarchical level ParentHierarchy. Only the selected modules of the hierarchical level you specify under ParentHierarchy are deleted, the selected modules on other levels remain. If you don’t use the optional parameter ParentHierarchy, the selected elements on the hierarchial level of the currently active design window are deleted. |
|
|
[ParentHierarchy]
|
Command for cutting out the selected elements on hierarchical level ParentHierarchy. If you don’t use the optional parameter ParentHierarchy, the selected elements on the hierarchial level of the currently active design window are cut out. |
|
|
Scope [ParentHierarchy]
|
Returns a list of selected elements on the hierarchical level ParentHierarchy. Via Scope you define if you want to get a list of selected modules (Modules), of selected links (Links), of selected simulation modules (SimModules), or of selected comment boxes (CommentBoxes). If you don’t use the optional parameter ParentHierarchy, the selected elements on the hierarchial level of the currently active design window are returned. If you use Scope = Modules/SimModules/CommentBoxes, a list of FullModuleNames (hierarchical pathes to the respective modules including the module names) is returned. If you use Scope = Links you get a list of link-identifying tuples consisting of FullModuleName and PortName (the port the link is connected to). |
|
|
[ParentHierarchy] [ xPos yPos]
|
Command for pasting elements from the clipboard into the hierarchical level ParentHierarchy. (i.e., pasting elements that have been previously copied or cut out). If you don’t use the optional parameter ParentHierarchy, the elements are pasted to the hierarchial level of the currently active design window. Use optional parameters xPos and yPos for defining the top left position of the inserted content in the design window. |
|
|
FullModuleName PortName [Where]
|
Command for inserting a new module port next to port PortName. Attention: You can only insert those ports that you can specify a multiplicity for in command CreateModule. Where offers the following options:
If you don’t use the optional parameter Where, the new port is inserted directly after port PortName.
|
|
|
FullModuleName PortName
|
Command for deleting a module port. Attention: You can only delete those ports that you can specify a multiplicity for in command CreateModule. The minimum number of a given kind of port will always remain. If you try minimize further below the minimum, you will get an according error message. Example: While you can delete the third output port of operator Branch (port name: O002), the two minimum output ports (O001 and O000) cannot be deleted:
|
|
|
FullHierBoxName Direction |
Command for adding an input port or an output port to a hierarchical box. FullHierBoxName has the same syntax as FullModuleName. Direction=input: an input port is created. Direction=output: an output port is created. |
|
|
FullModuleName NewName
|
Command for renaming a module or simulation box. In NewName you specify the new individual name of the instance without the hierarchical path. Example:
|
|
Hierarchy |
Command for opening (and setting active) the design window of hierarchy Hierarchy in VisualApplets. |
|
|
Returns information about the hierarchical level of the design window that is currently open and active in VisualApplets. |