Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print an autocad file with Access 97

Status
Not open for further replies.

Fred67

Programmer
Apr 8, 2002
1
FR
Hello,

I can open an autocad file with an access macro, the code :

Dim mycad As Object
Dim mycdoc As Object
Set mycad = CreateObject("AutoCAD.application")
Set mycdoc = mycad.ActiveDocument
mycad.Application.Visible = True
mycdoc.Open ("\test.dwg")

But anyone know what is the command line to print (plot) the dwg file with this macro. I tested 'printOut' but Autocad want a expression as : PLOT D 0

PLOT : Command to print
D : Display Mode
0 : Paramater


Thanks.
Email : caco@fr.st




 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top