Message 1 of 2
Convert Database to AxDbDocument
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
'is it possible to convert a database to an AxDbDocument?
'the Exact opposite of the code below
Imports Autodesk.AutoCAD.Interop.Common
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.AutoCAD.Runtime
Dim DBX As New AxDbDocument
Dim db As Database = Database.FromAcadDatabase(DBX.Database)
'the Exact opposite of the code below
Imports Autodesk.AutoCAD.Interop.Common
Imports Autodesk.AutoCAD.DatabaseServices
Imports Autodesk.AutoCAD.Runtime
Dim DBX As New AxDbDocument
Dim db As Database = Database.FromAcadDatabase(DBX.Database)
---------------------------

(defun botsbuildbots() (botsbuildbots))
(defun botsbuildbots() (botsbuildbots))