• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Active Contributor
    Posts: 44
    Registered: ‎04-12-2005

    Plot Configurations (PlotConfigManager)

    104 Views, 0 Replies
    06-14-2005 11:35 AM
    I have the following code. Only the first line works.

    Private Sub SetPDFConfigCurrent()
    Try
    PlotConfigManager.RefreshList(RefreshCode.All)
    Dim oCurPlotConfig As Autodesk.AutoCAD.PlottingServices.PlotConfig = PlotConfigManager.CurrentConfig()
    Dim oPlotConfig As Autodesk.AutoCAD.PlottingServices.PlotConfig = PlotConfigManager.SetCurrentConfig("GhostScript AutoCAD.pdf Printer.pc3")
    Catch
    Finally

    End Try
    End Sub

    Here are a couple of questions ...

    How do I change the Current PlotConfig ?

    Does that change apply to the document or the layout?

    What am I doing Wrong?

    Is there a way to create a PlotConfig (.pc3 file) from scratch?
    Please use plain text.