.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PlotSettingsValidator throwing exception eInvalidInput

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
997 Views, 1 Reply

PlotSettingsValidator throwing exception eInvalidInput

I'm trying to create the layout and set the printing options for it.

Problem is, that whenever i try to use the PlotSettingsValidator.SetPlotConfigurationName, it throws the exception eInvalidInput

I'm sure, that the name of pc3 is right and the paper size name too.

This exception is also thrown when using PlotSettingsValidator.SetPlotCentered

 

I use the sample code from http://docs.autodesk.com/ACD/2011/ENU/filesMDG/WS73099cc142f48755-385a98b012180d20f19425f.htm

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

i found out, that the custom formats have different names

i used PlotSettingsValidator.GetCanonicalMediaNameList and got strange names, but i managed to translate them using PlotSettingsValidator.GetLocaleMediaName

 

and the problem with SetPlotCentered was because the PlotSettings.PlotType was set to Layout

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost