Plotting in VB.net using Bluebeam PDF.pc3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to plot a drawing using Bluebeam PDF.pc3.
I can successfully plot using the DWG to PDF.pc3 but the issue arises with Bluebeam as the paper sizes are stored as "User156" rather the "ISO_A1_(594.00_x_841.00_MM)" for example in the registry.
The issue is the Bluebeam "UserXYZ" for A1 plot on my PC is "User136" but another user in the office it is "User156".
So when I plot using a drawing setup by another user it will set the mediaName in the _plotsetvalidate.SetPlotConfigurationName to "User156" which is the Saved mediaName in the Plot Setting for the drawing file
But
my A1 is mediaName is actually "User136" so it seems I get an corrupt PDF.
If I use "User136" I get a dotnet error.
So plotting like this works but the PDF created is corrupt (this is using the CanonicalMediaName from the document)
_plotsetvalidate.SetPlotConfigurationName(my_plotset, "Bluebeam PDF.pc3", "User156")
Plotting like this I get a Dotnet error at this line (uses my local BB registry value for A1)
_plotsetvalidate.SetPlotConfigurationName(my_plotset, "Bluebeam PDF.pc3", "User136")
Plotting like this I get a Dotnet error at this line (actual BB A1 description)
_plotsetvalidate.SetPlotConfigurationName(my_plotset, "Bluebeam PDF.pc3", "ISO_A1_(594.00_x_841.00_MM)")
Plotting like this works fine and get a successful PDF
_plotsetvalidate.SetPlotConfigurationName(my_plotset, "DWG To PDF.pc3", "ISO_full_bleed_A1_(594.00_x_841.00_MM)")
Any help appreciated.