Civil:style-get-createdby

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


機能
Civil スタイル オブジェクト styleId のスタイルの"作者の名前"を返す。

Returns the name of the author of the styleId Civil Style object.

引数
  • 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-createdby labelId)
"torstenm"

(civil:style-get-createdby styleId)
"torstenm"



関連事項