Vla-put-plotlogfilepath
- 構文
- (vla-put-plotlogfilepath vla-object path)
- 機能
- 印刷ログ ファイルのパスを指定する。
- 引数
-
- vla-object … PreferencesFilesのVLAオブジェクト
- path … 印刷ログ ファイルのパス
- 戻り値
- nil
- MEMO: このプロパティは AutoCAD では、[印刷出力ファイルとパブリッシュ ログ ファイルの場所]を設定する[オプション]ダイアログ ボックスに相当する。
- サンプル
(vl-load-com)
(defun c:Example_PlotLogFilePath()
;; 印刷ログ ファイルのパスを取得・変更するサンプル
(setq acadObj (vlax-get-acad-object))
(setq preferences (vla-get-Preferences acadObj))
(setq MyPreference (vla-get-Files preferences))
(vla-put-PlotLogFilePath MyPreference "C:\\Plots")
)
関連事項