GetObject

Madhu asked 5 months ago

Please let me know how to access CADMATE from other application using code.
For Example  the following code gets AutoCAD object
Dim App1 As Object ‘AcadApplication
App1 = GetObject(, “AutoCAD.Application”)
 
I have tried the following but failed
App1 = GetObject(, “CADMATE.Application”)    

1 Answers
Dishith. MC answered 3 months ago

For all your VB applications, please use CADMATE 2017 32bit.  Due to restrictions from WINDOWS, our 64bit platform does not support VB application.
 
Further, as of now, CADMATE 2017 32BIT supports only .vbi files.   Please try to convert your files to .vbi and try.

Your Answer