Hallo,
Ich habe folgende VBA-Prozedur geschrieben:
Code:
Application.PlotManager.PlotProperties.PlotCfg = "HP.pc3"
Application.PlotManager.Area = Extents
Application.PlotManager.CenterOnPage = TrueApplication.PlotManager.PlotToFile pfad_zu_plt_file.plt
Wenn ich die PC3-Datei für normales Ausdrucken (nicht über VBA) nehme die PLT-Datei wird erstellt.
Über VBA kommt nichts raus, auch keine Fehlermeldung.
Eine ähnliche Prozedur für AutoCAD funktioniert problemlos.
Code:
Set oAcad = ThisdrawingoAcad.ActiveLayout.ConfigName = "HP.pc3"
oAcad.ActiveLayout.PlotType = acExtents
oAcad.ActiveLayout.CenterPlot = True
oAcad.Plot.PlotToFile pfad_zu_plt_file.plt
Was habe ich falsch gemacht?
mfG
Andreas
[Diese Nachricht wurde von AndreasDEU am 22. Aug. 2014 editiert.]
[Diese Nachricht wurde von AndreasDEU am 22. Aug. 2014 editiert.]
Eine Antwort auf diesen Beitrag verfassen (mit Zitat/Zitat des Beitrags) IP