Civil:style-get-description

提供:GizmoLabs - だいたい CAD LISP なサイト
2025年3月29日 (土) 11:04時点におけるGizmon (トーク | 投稿記録)による版 (ページの作成:「{{BCAD_LISP_CIVIL}} ; 構文 : (Civil:style-get-description ''styleId'') ; 機能 : Civil スタイル オブジェクト styleId のスタイルの説明を返す。 ; 引数 :* styleId : 問い合わせる(ラベルまたはシンボル)の ename。 ; 戻り値 : スタイル説明の文字列また nil ====メモ==== * サポートされているスタイルオブジェクト : Civil3D Point "のラベルスタイル+シンボルスタイル。 ;…」)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
構文
(Civil:style-get-description styleId)


機能
Civil スタイル オブジェクト styleId のスタイルの説明を返す。


引数
  • styleId : 問い合わせる(ラベルまたはシンボル)の ename。


戻り値
スタイル説明の文字列また nil


メモ

  • サポートされているスタイルオブジェクト : Civil3D Point "のラベルスタイル+シンボルスタイル。


サンプル
(vl-load-civil)
T
(setq c3obj (car entsel))
<Entity name: 70180060>

(Civil:style-get-description c3obj)
"Default Label style"

(Civil:style-set-description c3obj "標準ラベル")
T

(Civil:style-get-name c3obj)
"標準ラベル"


(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 labelId (civil:point-get-labelid pointename))
<Entity name: 6c1e24c0>
(setq styleId (civil:point-get-symbolid pointename))
<Entity name: 6c1e2a80>

(civil:style-get-description labelId)
"Default Label style"
(civil:style-get-description styleId)
"Default symbol style" 



関連事項