Message 1 of 5
not the right result
Not applicable
06-06-2000
09:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
to all,
I am trying to plot drawings that are sent to me from Thailand. For that I
am using the next routine.
Public Sub dsmplot()
Dim AcadPref As AcadPreferencesOutput
Set AcadPref = ThisDrawing.Application.Preferences.Output
If ThisDrawing.ActiveSpace = acPaperSpace Then
ThisDrawing.MSpace = True
ThisDrawing.ActiveSpace = acModelSpace
End If
AcadPref.DefaultOutputDevice = "HP LaserJet 1100"
AcadPref.DefaultPlotStyleTable = "D:\ACAD2000\Plot Styles\WML_pids_015.ctb"
ThisDrawing.ModelSpace.Layout.PlotType = acExtents
ThisDrawing.ModelSpace.Layout.StandardScale = acScaleToFit
ThisDrawing.Plot.NumberOfCopies = 1
ThisDrawing.Plot.PlotToDevice
End Sub
the only problem is; " it doesn't work" . Is there somebody that can shine
his/her light?
Regards,
René
I am trying to plot drawings that are sent to me from Thailand. For that I
am using the next routine.
Public Sub dsmplot()
Dim AcadPref As AcadPreferencesOutput
Set AcadPref = ThisDrawing.Application.Preferences.Output
If ThisDrawing.ActiveSpace = acPaperSpace Then
ThisDrawing.MSpace = True
ThisDrawing.ActiveSpace = acModelSpace
End If
AcadPref.DefaultOutputDevice = "HP LaserJet 1100"
AcadPref.DefaultPlotStyleTable = "D:\ACAD2000\Plot Styles\WML_pids_015.ctb"
ThisDrawing.ModelSpace.Layout.PlotType = acExtents
ThisDrawing.ModelSpace.Layout.StandardScale = acScaleToFit
ThisDrawing.Plot.NumberOfCopies = 1
ThisDrawing.Plot.PlotToDevice
End Sub
the only problem is; " it doesn't work" . Is there somebody that can shine
his/her light?
Regards,
René