「Civil:style-get-description」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{BCAD_LISP_CIVIL}} ; 構文 : (Civil:style-get-description ''styleId'') ; 機能 : Civil スタイル オブジェクト styleId のスタイルの説明を返す。 ; 引数 :* styleId : 問い合わせる(ラベルまたはシンボル)の ename。 ; 戻り値 : スタイル説明の文字列また nil ====メモ==== * サポートされているスタイルオブジェクト : Civil3D Point "のラベルスタイル+シンボルスタイル。 ;…」)
 
(相違点なし)

2025年3月29日 (土) 11:04時点における最新版

構文
(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" 



関連事項