.NET

Reply
Active Contributor
46 Posts
0 Kudos
Registered: ‎10-29-2009
Post 1 of 3

Plotsettings Ismodified is true

148 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
26 Posts
0 Kudos
Registered: ‎09-15-2010
Post 2 of 3

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
46 Posts
0 Kudos
Registered: ‎10-29-2009
Post 3 of 3

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!