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) :

  • Parameter names in curly brackets denote that you can specify no value, one value, or multiple values for this parameter in the command line.
  • Parameter names in square brackets denote optional parameters.
   

Command

Parameters

Description

Move

 

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".

Select

 

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).

ClearSelection

 

[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.

CopySelected

 

[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.

DeleteSelected

 

[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.

CutSelected

 

[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.

GetSelected

 

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).

Paste

 

[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.

InsertModulePort

 

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:

  • before or above: new port is inserted directly before port PortName.
  • after or below: new port is inserted directly after port PortName (default).

If you don’t use the optional parameter Where, the new port is inserted directly after port PortName.

 

RemoveModulePort

 

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:

AppendModulePort

 

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.

Rename

 

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:

Rename Process0/module1 DMA

 

SetActiveWindow

Hierarchy

Command for opening (and setting active) the design window of hierarchy Hierarchy in VisualApplets.

GetActiveWindow

 

Returns information about the hierarchical level of the design window that is currently open and active in VisualApplets.