• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Active Contributor
    Posts: 27
    Registered: ‎10-29-2009

    Plotsettings Ismodified is true

    119 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.

     

    Please use plain text.
    Active Contributor
    FritsA4
    Posts: 26
    Registered: ‎09-15-2010

    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

    Please use plain text.
    Active Contributor
    Posts: 27
    Registered: ‎10-29-2009

    Re: Plotsettings Ismodified is true

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

    PlotInfoValidator is the solution.

     

    Thanks.

    Please use plain text.