civil:style-get-displaysettings


(civil:style-get-displaysettings  styleId  orientation)

Returns a list of available DisplaySetting object names, provided by the styleId Civil Style object.

Arguments

styleId  (ename)  specifies the (Label or Symbol) style to query
orientation  (string)  one of the "Style Orientation" values (see Remarks)

Return

list of 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 styleId (civil:point-get-symbolid pointename)) <Entity name: 32003d50>

(setq settings (civil:style-get-displaysettings styleId "Plan"))  ("Symbol")
(setq settings (civil:style-get-displaysettings styleId "Model"))  ("Symbol")
(setq settings (civil:style-get-displaysettings styleId "Profile"))  nil
(setq settings (civil:style-get-displaysettings styleId "Section"))  nil

Remarks

orientation can be one of the "Plan" "Model" "Profile" "Section" strings;
supported Style objects : Label Style + Symbol Style for "Civil3D Point"; will be extended in future BricsCAD versions;



©  Bricsys NV. All rights reserved.