civil:style-get-name


(civil:style-get-name  styleId)

Returns the Style Name of the styleId Civil Style object.

Arguments

styleId  (ename) specifies the (Label or Symbol) style to query

Return

name of the style as STRING, or NIL

Example

(vl-load-civil)  T
(setq points (civil:pgroup-get-allpoints "_All points"))
(<Entity name: 6c1e30c0> <Entity name: 6c1e2940> <Entity name: 6c1e2980> <Entity name: 6c1e2ac0> <Entity name: 6c1e2a00> <Entity name: 6c1e2b00> <Entity name: 6c1e2700> <Entity name: 6c1e2b40> <Entity name: 6c1e2b80> <Entity name: 6c1e2c40>)
(setq pointename (nth 2 points))  <Entity name: 6c1e2980>

(setq labelId (civil:point-get-labelid pointename))  <Entity name: 6c1e24c0>
(setq styleId (civil:point-get-symbolid pointename))  <Entity name: 6c1e2a80>

(civil:style-get-name labelId)  : "Default"
(civil:style-get-name styleId)  "Default Point"

Remarks

supported Style objects : Label Style + Symbol Style for "Civil3D Point"; will be extended in future BricsCAD versions



©  Bricsys NV. All rights reserved.