civil:pgroups-rename


(civil:pgroups-rename  oldname  newname)

Renames the existing C3D PointGroup oldname to newname.

Arguments

oldname  (string)  the name of the PointGroup to be renamed
newname  (string)  the new name for the PointGroup

Return

T or NIL, if oldname group does not exist, or if newname group is already existing

Example

(vl-load-civil)  T
(setq res (civil:pgroups-create "NewGroup"))  <Entity name: d992c490>
(setq res (civil:pgroups-rename "NewGroup" "BelowZero"))  T

Remarks

For a drawing containing Civil entities, there is always a PointGroup named "_All points" containing all C3D Point objects



©  Bricsys NV. All rights reserved.