civil:style-set-labelstyle-param
(civil:style-set-labelstyle-param
nameOrEname styleCategory property
value)
Assigns a new value for the style
parameter property of the nameOrEname
Civil Label Style object in
styleCategory category.
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
property (string) specifies the Label Style parameter
to get the new value
value (integer | double | string | ename) the new
value to be assigned
|
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>
(setq params
(civil:style-get-labelstyle-params "Default"
bcCivilPointLabel))
(("TextStyle" . "Standard") ("Visible" . "On")
("Layer" . "") ("OrientationReference" . 0) ("ForcedInsertion" . 0)
("ReadabilityBias" . 1.91986217719376) ("PlanReadable" . "On")
("FlipAnchorsWithText" . "Off") ("forceInsideCurve" .
"Off"))
(civil:style-set-labelstyle-param "Default"
bcCivilPointLabel "Visible" "OFF") T
(setq params
(civil:style-get-labelstyle-params "Default"
bcCivilPointLabel))
(("TextStyle" . "Standard") ("Visible" .
"Off") ("Layer" . "") ("OrientationReference" . 0)
("ForcedInsertion" . 0) ("ReadabilityBias" . 1.91986217719376)
("PlanReadable" . "On") ("FlipAnchorsWithText" . "Off")
("forceInsideCurve" . "Off"))
|
Remarks
|
styleCategory
: see ECivil3dLabelStyleCategory bit values
|