Vla-get-document

提供:GizmoLabs - だいたい CAD LISP なサイト
2013年3月16日 (土) 19:48時点におけるGizmon (トーク | 投稿記録)による版
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
構文
(vla-get-document vla-object)


機能
ドキュメントのVLAオブジェクトを取得する。


引数
  • vla-object … VLAオブジェクト


戻り値
ドキュメント VLAオブジェクト


サンプル
(setq obj1 (vlax-ename->vla-object (car (entsel))))

; ダンプ
(vlax-dump-object (vla-get-document obj1))
; IAcadDocument: An AutoCAD drawing
; プロパティの値:
;   Active (RO) = -1
;   ActiveDimStyle = #<VLA-OBJECT IAcadDimStyle 0000000031d34a48>
;   ActiveLayer = #<VLA-OBJECT IAcadLayer 0000000031d34b68>
;   ActiveLayout = #<VLA-OBJECT IAcadLayout 0000000031d34bf8>
;   ActiveLinetype = #<VLA-OBJECT IAcadLineType 0000000031d34da8>
;   ActiveMaterial = #<VLA-OBJECT IAcadMaterial 0000000031d34c88>
;   ActivePViewport = AutoCAD: ペーパー空間にアクティブなビューポートがありません
;   ActiveSelectionSet (RO) = #<VLA-OBJECT IAcadSelectionSet 0000000031d12348>
;   ActiveSpace = 1
;   ActiveTextStyle = #<VLA-OBJECT IAcadTextStyle 000000002ccc8a68>
;   ActiveUCS = AutoCAD: オブジェクト ID が Null です
;   ActiveViewport = #<VLA-OBJECT IAcadViewport 0000000003439d38>
;   Application (RO) = #<VLA-OBJECT IAcadApplication 0000000140b091d8>
;   Blocks (RO) = #<VLA-OBJECT IAcadBlocks 0000000031f54448>
;   Database (RO) = #<VLA-OBJECT IAcadDatabase 0000000031d12408>
;   Dictionaries (RO) = #<VLA-OBJECT IAcadDictionaries 0000000031f545f8>
;   DimStyles (RO) = #<VLA-OBJECT IAcadDimStyles 0000000031f54568>
;   ElevationModelSpace = 0.0
;   ElevationPaperSpace = 0.0
;   FileDependencies (RO) = #<VLA-OBJECT IAcadFileDependencies 0000000031da2378>
;   FullName (RO) = ""
;   Groups (RO) = #<VLA-OBJECT IAcadGroups 0000000031f54718>
;   Height = 896
;   HWND (RO) = 1316400
;   HWND32 (RO) = 1316400
;   Layers (RO) = #<VLA-OBJECT IAcadLayers 0000000031f54688>
;   Layouts (RO) = #<VLA-OBJECT IAcadLayouts 0000000031f54838>
;   Limits = (0.0 0.0 84100.0 59400.0)
;   Linetypes (RO) = #<VLA-OBJECT IAcadLineTypes 0000000031f547a8>
;   Materials (RO) = #<VLA-OBJECT IAcadMaterials 0000000031f544d8>
;   ModelSpace (RO) = #<VLA-OBJECT IAcadModelSpace 000000002cc0a338>
;   MSpace = AutoCAD: モードが無効です
;   Name (RO) = "Drawing1.dwg"
;   ObjectSnapMode = 0
;   PaperSpace (RO) = #<VLA-OBJECT IAcadPaperSpace 000000002cc0a838>
;   Path (RO) = "C:\\Program Files\\Autodesk\\AutoCAD Mechanical 2012"
;   PickfirstSelectionSet (RO) = #<VLA-OBJECT IAcadSelectionSet 0000000031d12588>
;   Plot (RO) = #<VLA-OBJECT IAcadPlot 0000000031da5dc8>
;   PlotConfigurations (RO) = #<VLA-OBJECT IAcadPlotConfigurations 0000000031f54958>
;   Preferences (RO) = #<VLA-OBJECT IAcadDatabasePreferences 0000000031d95078>
;   ReadOnly (RO) = 0
;   RegisteredApplications (RO) = #<VLA-OBJECT IAcadRegisteredApplications 0000000031f549e8>
;   Saved (RO) = 0
;   SectionManager (RO) = 例外が発生しました。
;   SelectionSets (RO) = #<VLA-OBJECT IAcadSelectionSets 0000000031efe6d8>
;   SummaryInfo (RO) = #<VLA-OBJECT IAcadSummaryInfo 0000000031b16558>
;   TextStyles (RO) = #<VLA-OBJECT IAcadTextStyles 0000000031f548c8>
;   UserCoordinateSystems (RO) = #<VLA-OBJECT IAcadUCSs 0000000031f54a78>
;   Utility (RO) = #<VLA-OBJECT IAcadUtility 0000000031da5ab8>
;   Viewports (RO) = #<VLA-OBJECT IAcadViewports 0000000031f54c28>
;   Views (RO) = #<VLA-OBJECT IAcadViews 0000000031f54b08>
;   Width = 1506
;   WindowState = 3
;   WindowTitle (RO) = "Drawing1.dwg"

関連事項