「Civil:style-set-description」の版間の差分
(ページの作成:「{{BCAD_LISP_CIVIL}} ; 構文 : (Civil:style-set-description ''styleId'' ''desc '' ) ; 機能 : Civil スタイル オブジェクト styleId のスタイルの説明を返す。 ; 引数 :* styleId : 問い合わせる(ラベルまたはシンボル)の ename。 :* desc : 割り当てるラベルまたはシンボルの説明文字列 ; 戻り値 : 成功なら T、それ以外は nil ====メモ==== * サポートされているスタイルオブジェク…」) |
(相違点なし)
|
2025年3月29日 (土) 11:07時点における最新版
- 構文
- (Civil:style-set-description styleId desc )
- 機能
- Civil スタイル オブジェクト styleId のスタイルの説明を返す。
- 引数
-
- styleId : 問い合わせる(ラベルまたはシンボル)の ename。
- desc : 割り当てるラベルまたはシンボルの説明文字列
- 戻り値
- 成功なら T、それ以外は 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"
関連事項