civil:style-has-labelstyle


(civil:style-has-labelstyle  nameOrEname  styleCategory)

Verifies whether the Civil Label Style object as specified by nameOrEname in category styleCategory exists.

Arguments

nameOrEname  (string | ename)  specifies the Label Style object, as string name or ename of the style object
styleCategory  (integer bit flag)  combination of ECivil3dLabelStyleCategory values

Return

T or NIL

Example

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

(civil:style-has-labelstyle style bcCivilPointLabel)  T
(civil:style-has-labelstyle "Default" bcCivilPointLabel)  T

Remarks

styleCategory : see ECivil3dLabelStyleCategory bit values



©  Bricsys NV. All rights reserved.