Edit

Geometry types in command parameters

Some commands accept a parameter containing letters. Each letter specifies a geometry type affected by the command: for example, ON_TYPE=020101 LP enables lines and points with code 020101.

Uppercase and lowercase letters are equivalent. The command ignores unrecognized characters.

Letters

All commands assign the same meaning to each letter:

Letter Geometry type
L Lines
P Points and point-based complex entities
C Lines, points, and point-based complex entities
T Text
H Polygons
G Complex entities
B Images (bitmaps)
* All types in the table

C groups lines and points because classic .bin files store both types with the same C=código header: an entity with one vertex is a point, and one with more vertices is a line.

A point-based complex entity has an insertion point, such as those created by INS_COMPLEX or cells in DGN files. Commands treat it as a point: P includes it and G does not.

A command that cannot handle a geometry type ignores its letter. The "Command-specific behavior" section lists these cases and letters specific to individual commands.

Parameter formats

Depending on the command, enter letters in one of these ways:

  • Letter string in a single parameter. Example: RENAMCOD=020101 020102 LP.
  • Letters in one or more parameters. Example: COPY=L P is equivalent to COPY=LP.
  • Code/type pairs. The first item in a pair is a code and the second is a letter string. Example: DELETE_COD=020101 L 030201 PT. A code starting with # represents all code table codes with that tag. If the last code has no type, the command ignores it.

Command-specific behavior

SNAP

  • * does not select all types: it restricts the search to geometries in the active drawing file.
  • @: if GOTO_SNAP is enabled, move the view to the snap point.
  • -: deleted geometries only. DELETED must also be enabled.
  • Geometries of other types, such as multipoints, are not filtered by letter.

Many interactive commands run SNAP internally with a fixed string, such as L*@ to select only lines in the active drawing file.

PROJECT_COD, PROJECT_COD_TAG, and PROJECT_BY_CONDITION

  • B has no effect.
  • For point-based complex entities, the command projects the contained entities and the insertion point.

RENAMCOD

* includes all geometry types, including types without a letter, such as OLE objects.

DELETE_COD, RECOVER_COD, ON_TYPE, OFF_TYPE, ONS_TYPE, OFFS_TYPE, OND_TYPE, and OFFD_TYPE

  • P also includes oriented points and multipoints.
  • * includes all geometry types, including types without a letter, such as circles and OLE objects.
  • DELETE_COD deletes the specified types and RECOVER_COD restores them.
  • ON_TYPE, ONS_TYPE, and OND_TYPE show the specified types. OFF_TYPE, OFFS_TYPE, and OFFD_TYPE hide them. Geometries of other types retain their state.

COPY, COPYP, COPY_R, DUP, DUPLICATE, MOVE, and MOVE_Z

If no parameter contains a recognized letter, the command does not allow selection of entities of any type in the table.

Without parameters, each command allows these types:

Command Types selectable without parameters
COPY, COPYP, COPY_R Lines, points, text, images, polygons, and complex entities
DUP Lines, points, text, and polygons
DUPLICATE Lines, points, and text
MOVE, MOVE_Z Lines, points, text, images, polygons, and complex entities, from the active drawing file only

MOVE_Z_W

  • B has no effect: the command does not handle images.
  • A point-based complex entity is modified if its insertion point lies inside the boundary.

SELECT_LAST

  • The command reads only the first character of each parameter. To specify multiple types, enter one letter per parameter: SELECT_LAST=L P.
  • O specifies OLE objects. * also includes OLE objects.

Without parameters, the command searches for all types in the list.

CHNG_AA

Only points and text have an angle. P and C specify points, T specifies text, and * specifies points and text. Other letters have no effect.

P does not include point-based complex entities: changing their angle does not rotate their contents.

Commands using these letters

Command Parameter form Effective letters
SNAP Letter string L P C T H G B * @ -
DELETE_COD Code/type pairs L P C T H G B *
RECOVER_COD Code/type pairs L P C T H G B *
ON_TYPE Code/type pairs L P C T H G B *
OFF_TYPE Code/type pairs L P C T H G B *
ONS_TYPE Code/type pairs L P C T H G B *
OFFS_TYPE Code/type pairs L P C T H G B *
OND_TYPE Code/type pairs L P C T H G B *
OFFD_TYPE Code/type pairs L P C T H G B *
PROJECT_COD Code/type pairs L P C T H G *
PROJECT_COD_TAG Code/type pairs starting at the second parameter L P C T H G *
PROJECT_BY_CONDITION Code/type pairs starting at the third parameter L P C T H G *
RENAMCOD Letter string in the third parameter L P C T H G B *
COPY Letters in one or more parameters L P C T H G B *
COPYP Letters in one or more parameters L P C T H G B *
COPY_R Letters in one or more parameters L P C T H G B *
DUP Letters in one or more parameters L P C T H G B *
DUPLICATE Letters in one or more parameters L P C T H G B *
MOVE Letters in one or more parameters L P C T H G B *
MOVE_Z Letters in one or more parameters L P C T H G B *
MOVE_Z_W Letter string L P C T H G *
SELECT_LAST One letter per parameter L P C T H G B O *
CHNG_AA Letter string in the second parameter P C T *