「Civil:style-set-labelstyle-param」の版間の差分
(ページの作成:「{{BCAD_LISP_CIVIL}} ; 構文 : (civil:style-get-labelstyle-params ''nameOrEname'' ''styleCategory'' ''property'' ''value'' ) ; 機能 : styleCategory カテゴリ内の 名前または Ename で指定された Civil ラベルスタイルオブジェクトのすべての 'Dragged State' スタイル パラメータの DottedPair リストを返す。 ; 引数 :* nameOrEname: ラベルスタイルオブジェクト名の文字列または ename。 :* styleCate…」) |
(相違点なし)
|
2025年4月24日 (木) 08:08時点における版
- 構文
- (civil:style-get-labelstyle-params nameOrEname styleCategory property value )
- 機能
- styleCategory カテゴリ内の 名前または Ename で指定された Civil ラベルスタイルオブジェクトのすべての 'Dragged State' スタイル パラメータの DottedPair リストを返す。
- 引数
-
- nameOrEname: ラベルスタイルオブジェクト名の文字列または ename。
- styleCategory: ECivil3dLabelStyleCategory の値の組み合わせ
- property : 新しい値を取得するためのラベルスタイルパラメータの文字列。
- value : property に割り当てる新しい値。(integer | double | string | ename)
- 戻り値
- (キー . 値)のドットペアリスト、または 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"))
関連事項