.NET

Reply
Active Contributor
harryliu3140
Posts: 46
Registered: ‎10-29-2009
Message 1 of 3 (147 Views)

Plotsettings Ismodified is true

147 Views, 2 Replies
12-09-2011 10:17 AM

Hi, .NET experts

 

I'm creating/selecting plotsettings and apply them to my layouts.

 

The problem is when I open the plot dialog, the name of the page setup is not displayed. when I select the page setup name just created from the combobox, the setup is applied but the name still missing.

 

But this issue only combined with the new plotsettings created in program. The existing page setups manually added from plot dialog are ok.The difference between the two type of plotsettings is the .ISMODIFIED property is true for new settings but false for existing settings.

 

Is there anyone know how can I make the plotsettings not modified?

 

Thanks.

 

Active Contributor
FritsA4
Posts: 26
Registered: ‎09-15-2010
Message 2 of 3 (128 Views)

Re: Plotsettings Ismodified is true

12-13-2011 10:02 AM in reply to: harryliu3140

Do you mean the  Plot Style Name, i.e.  the name of preconfigured plotstyles, then the name is removed as soon as some settings is changed from the original configuration. For example the printer name, port or custom paper sizes.

Sometimes the internal ID of custom papersizes is changed, the AutoCAD Plot command will "repair" this but you have to program this repair in .NET.

you can use the PlotInfoValidator to check if there are any errors

Active Contributor
harryliu3140
Posts: 46
Registered: ‎10-29-2009
Message 3 of 3 (106 Views)

Re: Plotsettings Ismodified is true

12-16-2011 01:14 PM in reply to: harryliu3140

PlotInfoValidator is the solution.

 

Thanks.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.