Vla-get-application
- 構文
- (vla-get-application vla-object)
- 機能
- Application オブジェクトを取得する。
- 引数
-
- vla-object … ドキュメントの VLAオブジェクト
- 戻り値
- Application のVLAオブジェクト
- サンプル
(setq *ActDoc* (vla-get-ActiveDocument (vlax-get-Acad-Object))) (setq *app* (vla-get-application *ActDoc*)) ;ダンプ (vlax-dump-object *app*) ; IAcadApplication: An instance of the AutoCAD application ; プロパティの値: ; ActiveDocument = #<VLA-OBJECT IAcadDocument 000000002a89e3e0> ; Application (RO) = #<VLA-OBJECT IAcadApplication 00000001406e91d8> ; Caption (RO) = "AutoCAD 2012 - xxx - [Drawing1.dwg]" ; Documents (RO) = #<VLA-OBJECT IAcadDocuments 000000002f5fb810> ; FullName (RO) = "C:\\Program Files\\Autodesk\\AutoCAD 2012\\acad.exe" ; Height = 1064 ; HWND (RO) = 1249304 ; HWND32 (RO) = 1249304 ; LocaleId (RO) = 1041 ; MenuBar (RO) = #<VLA-OBJECT IAcadMenuBar 000000002f66d448> ; MenuGroups (RO) = #<VLA-OBJECT IAcadMenuGroups 0000000002722d90> ; Name (RO) = "AutoCAD" ; Path (RO) = "C:\\Program Files\\Autodesk\\AutoCAD 2012" ; Preferences (RO) = #<VLVBA システムを初期化中...A-OBJECT IAcadPreferences 000000002adf7d88> ; StatusId (RO) = ...インデックス化された中身が見つかりません... ; VBE (RO) = #<VLA-OBJECT VBE 0000000033e39b88> ; Version (RO) = "18.2s (LMS)" ; Visible = -1 ; Width = 1938 ; WindowLeft = -9 ; WindowState = 3 ; WindowTop = -9 T
関連事項