mirror-string ("smm")
See this command in the command table.
To access this command:
-
Digitize ribbon > Transform > Mirror String.
-
Using the command line, enter "mirror-string" and press ENTER.
-
Use the quick key combination "smm".
-
Display the Find Command screen, locate
mirror-stringand click Run.
Command Overview
Draws a mirror image of a string or multiple strings, reflected about a defined mirror plane. The attributes of the original string data are transferred to the mirrored string data.
Command steps (string selection during command):
-
Run the command, and follow the prompts in the Status Bar.
-
Select the string to be mirrored.
-
Select the start point for the mirror plane.
-
Select the end point for the mirror plane - the selected string is mirrored about the defined plane.
Tip: Multiple strings can be mirrored using this command by preselecting them in a 3D window, then running the mirror-string command.
Command Automation
You can automate by passing this command and parameters into oDmApp.ParseCommand(), using any COM-aware scripting language.
Note: For more information on scripting in Studio NPVS+, please refer to your Scripting Tutorial (Help > Scripting Tutorial).
Example Parameter String (JS):
Where:
-
@point=100.0,200.0,0.0,1is thefirst ParsePointArguments: X,Y,Z,nButton to pick input string/first mirror point. -
@point=120.0,220.0,0.0,1is thesecond ParsePointArguments: X,Y,Z,nButton to define mirror reference.
Parameters Table
| Parameter | Description | Reqd? | Example Syntax |
|---|---|---|---|
first ParsePointArguments
|
X,Y,Z,nButton to pick input string/first mirror point. |
Y | @point=100.0,200.0,0.0,1
|
second ParsePointArguments
|
X,Y,Z,nButton to define mirror reference.
|
Y | @point=120.0,220.0,0.0,1
|
Related topics and activities
