civil:style-get-labelstyles


(civil:style-get-labelstyles  styleCategory  asNames)

This function returns the all available Civil Label styles from label style category styleCategory as list of strings or list of enames as specified by asNames.

Arguments

styleCategory  (integer bit flag)  combination of ECivil3dLabelStyleCategory values
asNames  (T/NIL) T returns the names (strings), NIL returns the entity names (enames)

Return

list of strings, or list of enames; NIL is returned if no style exists

Example

(vl-load-civil)  T
(setq labelStyleNames (civil:style-get-labelstyles bcCivilPointLabel T))  ("Default" "pointstyle1" "pointstyle2")
(setq labelStyleIds (civil:style-get-labelstyles bcCivilPointLabel NIL))  (<Entity name: 320044d0> <Entity name: 32004110> <Entity name: 32004b50>)

Remarks

styleCategory : see ECivil3dLabelStyleCategory bit values



©  Bricsys NV. All rights reserved.