I am certain I am not supposed to be trying this, but I am able to launch
the application from my VBScript file:
Set objAcad = WScript.CreateObject("Autocad.Application")
and I had thought that if I opened a file associated with a project, that I
would be able to expose the AeccApplication object so that I could create
projects from outside the application using something like:
objAcad.Documents.Open ("N:\proj\000-000\dwg\JUNK.dwg")
strJobNumber = "2802-1512"
Set projs = AeccApplication.Projects
Set proj = projs.Add(strJobNumber, "default (feet)")
but it won't let me, "Object required: AeccApplication". Can I expose this
object using VBScript?
I hope I have provided enough information for you to respond. Thanks for any
input.
Mike killion