Vla-get-configfile
- 構文
- (vla-get-configfile vla-object )
- 機能
- ハードウェア デバイス ドライバの情報が格納される環境設定ファイルの位置を取得する。
- 引数
-
- vla-object … PreferencesFiles の VLAオブジェクト
- 戻り値
- ハードウェア デバイス ドライバ情報を格納する環境設定ファイルの位置
- 注記: この値は読み込み専用であり、/c コマンド ライン スイッチのみで変更可能。
- サンプル
(vl-load-com)
(defun c:Example_ConfigFile()
;; ConfigFile の設定を返すサンプル
(setq acadObj (vlax-get-acad-object))
(setq preferences (vla-get-Preferences acadObj))
;; 現在の ConfigFile の値
(setq currConfigFile (vla-get-ConfigFile (vla-get-Files preferences)))
(if (= currConfigFile "")
(alert "ConfigFile は設定されてないっぽ。")
(alert (strcat "現在の ConfigFile 設定値は " currConfigFile))
)
)
関連事項