Civil:style-set-labelstyle-param
- 構文
- (civil:style-get-labelstyle-params nameOrEname styleCategory property value )
- 機能
- styleCategory カテゴリ内の 名前または Ename で指定された Civil ラベルスタイルオブジェクトの style パラメータプロパティに新しい値を割り当てる。
- 引数
-
- nameOrEname: ラベルスタイルオブジェクト名の文字列または ename。
- styleCategory: ECivil3dLabelStyleCategory の値の組み合わせ
- property : 新しい値をセットするラベルスタイルのパラメータ名文字列。
- value : property に割り当てる新しい値。(integer | double | string | ename)
- 戻り値
- 成功なら T、それ以外は nil
メモ
- styleCategoryは、Civil3d Type 定数 ECivil3dLabelStyleCategory のビット値を参照。
- サンプル
(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")) (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"))
関連事項