Message 1 of 8
Not applicable
06-22-2011
06:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
When I try to change the plotstyle table :
If acDerden = True Then
acPlSetVdr.SetCurrentStyleSheet(acPlSet, "Dunne lijnen.ctb")
Else
acPlSetVdr.SetCurrentStyleSheet(acPlSet, "HP DesignJet 500.ctb")
End If
I get an error:
************** Exception Text **************
Autodesk.AutoCAD.Runtime.Exception: eInvalidInput
at Autodesk.AutoCAD.DatabaseServices.PlotSettingsValidator.SetCurrentStyleSheet(PlotSettings plotSet, String styleSheetName)
at autocad_app.vbTekening.Qplot()
But when I change the plot style table manualy (with plot, assign plotstyle to layout) then the error does not exist any
more.
Solved! Go to Solution.