civil:style-remove-labelstyle
(civil:style-remove-labelstyle
nameOrEname styleCategory)
Removes the Civil Label Style object specified
by nameOrEname from category styleCategory.
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;
either case, the Civil Label style specified
by nameOrEname will no longer exist in the drawing, after calling
(civil:style-remove-labelstyle)
|
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>)
(setq labelId
(civil:style-create-labelstyle "NewLabelStyle"
bcCivilPointLabel)) <Entity name: 54d58f40>
(setq labelStyleNames
(civil:style-get-labelstyles bcCivilPointLabel T)) ("Default"
"pointstyle1" "pointstyle2" "NewLabelStyle")
(civil:style-remove-labelstyle "NewLabelStyle"
bcCivilPointLabel) T
(setq labelStyleNames
(civil:style-get-labelstyles bcCivilPointLabel T)) ("Default"
"pointstyle1" "pointstyle2")
(civil:style-remove-labelstyle "Default"
bcCivilPointLabel) T
(setq labelStyleNames
(civil:style-get-labelstyles bcCivilPointLabel T))
("pointstyle1" "pointstyle2")
|
Remarks
|
styleCategory
: see ECivil3dLabelStyleCategory bit values
|