Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I have a number of files where the variable VISRETAIN as to be updated.
I would like to do so by loading the document in memory.
I have the following code:
Dim myDB As New Database(False, True)
myDB.ReadDwgFile(file, FileOpenMode.OpenForReadAndAllShare, False, "")
Is there a way to set drawing variables from the database? And if I must get a document object, is there a way to load a document in memory?
(I found that I can set variables within a document as follows: acadDocument.Setvariable("DIMASZ",1.5).
Thanks
Solved! Go to Solution.