Civil:style-get-displayparams
- 構文
- (Civil:style-get-displayparams styleId orientation partName )
- 機能
- 指定されたパート partName に対して、styleId Civil Style オブジェクトによって提供される、指定された方向のすべてのスタイル パラメータのドットペアリストを返す。
- 引数
-
- styleId : 問い合わせる(ラベルまたはシンボル)の ename。
- orientation: スタイルの向き" の値のいずれか (メモを参照)
- partName:one of the 'Setting' strings returned by civil:style-get-displaysettings
- 戻り値
- (key [STRING] . Value) のドットペアリスト、または NIL
メモ
- orientationには、「Plan」 「Model」 「Profile」 「Section 」の文字列のいずれかを指定する。
- partName は civil:style-get-displaysettings によって返される'Setting'文字列の1つ。
- サポートされるスタイルオブジェクト: Civil3D Point "のラベルスタイル+シンボルスタイルは、将来のBricsCADバージョンで拡張される予定。
- サンプル
(vl-load-civil) T (setq points (civil:pgroup-get-allpoints "_All points")) (<Entity name: 6c1e30c0> <Entity name: 6c1e2940> <Entity name: 6c1e2980> <Entity name: 6c1e2ac0> <Entity name: 6c1e2a00> <Entity name: 6c1e2b00> <Entity name: 6c1e2700> <Entity name: 6c1e2b40> <Entity name: 6c1e2b80> <Entity name: 6c1e2c40>) (setq pointename (nth 2 points)) <Entity name: 6c1e2980> (setq styleId (civil:point-get-symbolid pointename)) <Entity name: 32003d50> (setq res (civil:style-get-displayparams styleId "Plan" "Symbol")) (("Visible" . "On") ("Color" . 256) ("Layer" . "") ("Linetype" . "ByLayer") ("LTScale" . 1.0) ("Lineweight" . -3) ("PlotStyleType" . 1) ("PlotStyleId" . ""))
関連事項