The script command arranges port positions and dimensions of compound or scripted elements automatically. Equivalently it can also be done by pressing ‘Arrange’ on the element port editor tab.
Syntax |
Description |
---|---|
autoarrange (name); |
Arrange port positions and dimensions of compound or scripted elements automatically. This command does not return anything. |
Example
If a compound named "COMPOUND_1" is created,using this command
autoarrange("COMPOUND_1");
will arrange the positions.
See Also