「Vla-get-activeprofile」の版間の差分
細編集の要約なし |
細編集の要約なし |
||
| 34行目: | 34行目: | ||
* [[vlax-get-acad-object]] | * [[vlax-get-acad-object]] | ||
* [[vla-get-preferences]] | * [[vla-get-preferences]] | ||
* [[Vla-get-activeprofile]] | |||
* [[Vla-put-activeprofile]] | |||
* [[vla-get-profiles]] | * [[vla-get-profiles]] | ||
* [[vla-copyprofile]] | * [[vla-copyprofile]] | ||
2015年11月1日 (日) 21:14時点における最新版
- 構文
- (vla-get-activeprofile vla-object)
- 機能
- 現在のプロファイル名を返す。
- 引数
-
- vla-object … vla-get-profiles のVLAオブジェクト
- 戻り値
- 現在のプロファイル名
- サンプル
; 現在のプロファイル名を取得する
(getvar "cprofile")
; VLAオブジェクトから現在のプロファイル名を取得する
(defun getActiveProfile ()
(vl-load-com)
(vla-get-activeprofile
(vla-get-profiles (vla-get-preferences (vlax-get-acad-object)))
))
関連事項