.NET

Reply
Active Contributor
Posts: 41
Registered: ‎10-29-2009
Message 1 of 3 (140 Views)

Plotsettings Ismodified is true

140 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 (121 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
Posts: 41
Registered: ‎10-29-2009
Message 3 of 3 (99 Views)

Re: Plotsettings Ismodified is true

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

PlotInfoValidator is the solution.

 

Thanks.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community