home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Global Amiga Experience
/
globalamigaexperience.iso
/
graphic
/
cad
/
xcad3000
/
xcdoc
/
chgsym
< prev
next >
Wrap
Text File
|
1995-07-10
|
5KB
|
144 lines
5.12.3 CHANGE SYMBOL
The CHANGE SYMBOL command can be used either selectively or globally to
change symbol names or to change symbol parameters.
COMMAND FORMAT
#CHANGE SYMBOL NAME modifiers :Ent ( or return )
or
#CHANGE SYMBOL PARAMETERS modifiers :Ent x1 x2 ... xn
When the NAME option is used, a further set of modifiers are entered to
define symbol name or directory changes. If the command is terminated with
a colon, IDENTS is used to identify symbols to process, if the command is
terminated with a return, the complete drawing database is scanned.
When the PARAMETERS modifier is used, all symbols identified via IDENTS are
processed.
The command does not act upon exploded symbols.
MODIFIERS
NAME The NAME modifier is used to enter a further family of
modifiers used to define a symbol name or directory change.
This option can be used to change individual symbol names
or complete directories.
Changing a symbol directory can be useful in cases where
standard drawings are created containing symbols that conform
to a particular company standard. If the same drawing is
required with symbols that conform to a different standard,
an alternative library can be set up using the same symbol
names but under a different directory. The CHANGE SYMBOL
command can then be used to change the existing symbols to
the new directory.
When the name of a symbol is changed, the existing graphics
for the symbol are replaced by the graphics of the new
symbol. The change does not affect any external symbol
entities such as tnodes or cpoints.
.FROM The FROM modifier is used to indicate that only symbols
under a given directory or name will be changed.
..DIRECTORY Requires the name of an AmigaDos directory. Only symbols
found in this directory will be changed.
...TO Requires an alternative directory name. Identified symbols
will be changed to this directory.
Example:
#CHANGE SYMBOL NAME FROM DIRECTORY sym1 TO sym2
If this command finds the symbols "sym1/a" and "sym1/b",
the symbols will be changed to "sym2/a" and "sym2/b". If
the appropriate symbols are not found in directory "sym2",
an error message will be displayed and the symbol will
remain unchanged.
..NAME Requires the name of a symbol. Only identified symbols with
this name will be changed.
...TO Requires an alternative symbol name. Valid symbols will be
changed to this name.
Example:
#CHANGE SYMBOL NAME FROM NAME sym/a TO sym/a_2
Will change all located occurances of the symbol "sym/a" to
the symbol "sym/a_2".
.TO The TO modifier can be used to indicate that any located
symbol, regardless of its current directory or name will be
changed.
..DIRECTORY Requires an alternative AmigaDos directory name. All located
symbols will be changed to this directory.
Example:
#CHANGE SYMBOL NAME TO DIRECTORY sym2
Will change any located symbol to the directory "sym2". If
the appropriate symbols are not found in directory "sym2",
an error message will be displayed and the symbol will
remain unchanged.
..NAME Requires a symbol name. All located symbols will be changed
to this name.
Example:
#CHANGE SYMBOL NAME TO NAME sym/a
Will change any located symbol to the symbol "sym/a".
PARAMETERS The PARAMETERS modifier is used to enter a family of
modifiers which may be used to alter any symbol parameters.
Only the parameters that are entered are changed, the rest
remain as they are.
.SCALE Requires a real value defining the symbol scale. The default
scale is 1.0 if this modifier is omitted. ( See fig. 5.104 ).
.ANGLE Requires a real value defining the symbol alignment angle in
degrees. ( See fig. 5.105 ).
.MIRRORX If the MIRRORX modifier is entered, the symbol will be
mirrored about its origin in the x-axis. ( See fig. 5.106 ).
.MIRRORY If the MIRRORY modifier is entered, the symbol will be
mirrored about its origin in the y-axis.
.NOMIRROR The NOMIRROR modifier can be used to undo any mirror that
has been applied to a symbol.
.UNITSCONVERT This modifier is used to toggle between units or no units
conversion.
The following three modifiers can be used to inhibit certain
transformation being applied to text entities that belong to
the symbol graphics. External symbol cpoints, tnodes and
associated text will not be affected.
.TEXTROTATE Can be used to toggle text rotation on or off.
.TEXTSCALE Can be used to toggle text scaling on or off.
.TEXTMIRROR Can be used to toggle text mirroring on or off.