Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Validate Plotting Devices in .NET

I'm trying to plot using .NET. We have both AC and BC in house and need to check if the current device is available due to differences in DWG To PDF.pc3 vs Print As PDF.pc3. So if a user plotted last using DWG To PDF.pc3 in AC, and now want to plot in BC, I need to check and see if the current device is available.

When I grab the device name:
Dim plotterName As String = layoutObj.PlotConfigurationName
it returns DWG To PDF.pc3
I now need to check if that exists. In AC I use
Using configs As PlotConfigInfoCollection = PlotConfigManager.Devices
Dim missingConfig As Boolean = configs.Contains(plotterName)
End Using

What would the equivalent code look like in BC?
PlotConfigInfoCollection does not seem to exist.

Thanks

Sign In or Register to comment.
Origami
Origami is the Japanese word for paper folding. ORI means to fold and KAMI means paper and involves the creation of paper forms usually entirely by folding.

Powered by VanillaForums, Designed by Steam