civil:style-remove-symbolstyle


(civil:style-remove-symbolstyle  nameOrEname)

Removes the Civil Symbol Style object specified by nameOrEname.

Arguments

nameOrEname  (string | ename)  specifies the Symbol Style object, as string name or ename of the style object

Return

T or NIL;
either case, the Civil Symbol style specified by nameOrEname will no longer exist in the drawing, after calling (civil:style-remove-symbolstyle)

Example

(vl-load-civil)  T
(setq symbolStyleNames (civil:style-get-symbolstyles T))  ("Default Point XXX" "Default" "Default Point2" "Default Point3")

(setq styleId (civil:style-remove-symbolstyle "Default Point"))  NIL
(setq styleId (civil:style-remove-symbolstyle "Default Point2"))  T

(setq symbolStyleNames (civil:style-get-symbolstyles T))  ("Default Point XXX" "Default" "Default Point3")

Remarks




©  Bricsys NV. All rights reserved.