I need to replace some text in a dwg file with the value of a cells in a excel sheet. The Autocad file is already open
For example:
COLUMN A COLUMN B
text to find text to replace
town London
capital United Kingdom
Thanks for the suggestion [bigsmile] Now I'm using the professional ( in trail mode) and even in this case Draftsight starting without opening the specific file...I don't know where's my mistake..
Thanks for the help, I'm not an expert of Vba! I changed as you suggested. Now Draftsight run without error but without opening the file "test.dwg"
I hope there is a secondary option! Meanwhile it's fine for me to open the file...
Hi,
I need to open a dwg file, run a script (.scr) and close Draftsight. I'm started with open the document.I found this code from jrice174 and I've tried to edit for Draftsight:
Sub openDraftsight()
Dim dsApp As Object
Dim NewFile As Object
Dim dsAppPath As String
Dim bReadOnly As Boolean...