「Civil:style-get-displaysettings」の版間の差分
(ページの作成:「{{BCAD_LISP_CIVIL}} ; 構文 : (Civil:style-get-lasteditedby ''styleId'' ''orientation'' ) ; 機能 : styleId Civil Style オブジェクトによって提供される、利用可能な DisplaySetting オブジェクト名のリストを返す。 ; 引数 :* styleId : 問い合わせる(ラベルまたはシンボル)の ename。 :* orientation: スタイルの向き" の値のいずれか (メモを参照) ; 戻り値 : 文字列のリスト、または n…」) |
(相違点なし)
|
2025年4月20日 (日) 11:43時点における最新版
- 構文
- (Civil:style-get-lasteditedby styleId orientation )
- 機能
- styleId Civil Style オブジェクトによって提供される、利用可能な DisplaySetting オブジェクト名のリストを返す。
- 引数
-
- styleId : 問い合わせる(ラベルまたはシンボル)の ename。
- orientation: スタイルの向き" の値のいずれか (メモを参照)
- 戻り値
- 文字列のリスト、または nil
メモ
- orientationには、「Plan」 「Model」 「Profile」 「Section 」の文字列のいずれかを指定する。
- サポートされるスタイルオブジェクト: 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 settings (civil:style-get-displaysettings styleId "Plan"))
("Symbol")
(setq settings (civil:style-get-displaysettings styleId "Model"))
("Symbol")
(setq settings (civil:style-get-displaysettings styleId "Profile"))
nil
(setq settings (civil:style-get-displaysettings styleId "Section"))
nil
関連事項