POINTGROUPS — Point groups
Defines groups of survey points by code, number and elevation, and shows, hides, moves to a layer or exports them.
- Command:
POINTGROUPS· Global name:_POINTGROUPS· Alias:PGROUPS - Ribbon: Topography › Points
Defines point groups of survey points with filters (code, number and elevation, with exclusions) and works with them: see their points, hide or show them, move them to a layer or apply a label style, export them and use them in the surface or in any command that selects points. Groups are saved in the DWG and are updated by themselves when points are created or changed.
Usage
- Enter POINTGROUPS or click Point groups in the Points panel of the Survey tab.
- Click New and type the group name.
- Fill in the filters: the group points are those that meet all the non-empty filters in Include points with and none of Exclude points with. With no filters, the group holds every point in the drawing.
- The group points (number, X, Y, Z, code and description) are listed below while the filters change.
- Click OK or Apply to save the groups in the drawing.
Filters
- Codes: code patterns separated by commas, with the AutoCAD wildcards:
*(any text),?(one character),#(one digit) and a leading~(all but that). For exampleBOR*, ARB. The code is the first word of the CODIGO attribute of the point; the rest is the description (inARB pine, code ARB and description «pine»). - Numbers: ranges (
1-100) and numbers or patterns (205,E*) separated by commas; it is also the explicit list of points (7, 12, 31). A range only matches numbers without a prefix. - Minimum elevation and Maximum elevation: elevation range, ends included (unchecked, no limit).
- Exclude points with: codes and numbers in the same form; a point matching any of them is left out.
Actions
- Hide the group points: the group points are not shown (in AutoCAD too) until it is unchecked. A new point that meets the filter of a hidden group is created hidden.
- Change layer: moves the group points to the layer typed (created if missing).
- Apply style: applies a POINTLABELSTYLE style to the group points.
- Export…: saves the changes and asks for the file; by its extension, CSV, stakeout ASCII or Leica GSI (as EXPORTPOINTS) or LandXML with the points as CgPoints (as LANDXMLOUT).
Using a group in other commands
Each group is also an AutoCAD group with the same name (not selectable: picking one point does not pick the rest). At any «Select objects» prompt, type G and the group name to select its points: this is how a SURFACE surface is built from a group, or the points are used in COORDTABLE, PROCESSLINEWORK, RENUMBERPOINTS, EXPORTPOINTS or LANDXMLOUT.
Command line
In scripts and on the command line:
Point groups [Define/List/Points/Erase/Show/Hide/LAyer/STyle/eXport] <Done>:
- Define: creates or changes a group; asks for the filters one by one. Enter keeps the value shown and a full stop (
.) clears it.
Codes to include, comma separated (. for none) <…>:
- List (or
?): the groups with their filters and number of points. - Points: the point database of the given groups (Enter: every point in the drawing), one line per point with number, X, Y, Z, code and description. At most 1000 are shown; for more, eXport.
- Erase, Show, Hide, LAyer, STyle and eXport: the dialog actions on the groups whose name matches the pattern (
*,?). Erase removes the group, not its points.
Notes
- The definition is saved in the
LINCE_GRUPOS_PUNTOSdictionary (one XRECORD per group) and the members in the GROUP with the same name. AutoCAD 2027 audits the DWG 2018 and 2000 files with groups without errors. - Members are updated after every command that creates or changes survey points; if the points are changed in another program, they are updated when a point is touched or the group is saved again.
- Only survey points (with a number) are included, not the plain point objects of a cloud.
See also
IMPORTPOINTS · EXPORTPOINTS · SURFACE · GROUP · POINTLABELSTYLE