Jump to content

how to delete page setup name one at a time


Recommended Posts

Posted

hi, i working for hundreds of drawings, my goal is to delete all PAGE SETUP NAME loaded on each drawings using lisp routine, instead of opening one-by-one & manuallly delete all page setup name manually....anybody who has the lisp routine that can automate this process? thanks in advance

 

regards,

the courage dog:(

  • 3 weeks later...
Posted

how do you manually delete a page setup?

Posted

Go to "plot", then where it says "page setup name" click "add", select your page setup and click "delete"

Posted

I have VBA to do it, do you want that?

 

Public Sub DelPConfig()
     Dim objPlotConfigs As AcadPlotConfigurations
     Dim objPlotConfig As AcadPlotConfiguration
     Set objPlotConfigs = ThisDrawing.PlotConfigurations
     For Each objPlotConfig In objPlotConfigs
           objPlotConfig.Delete
     Next
End Sub

Posted

sir,

last 4 months im using autocad 2005, now im using 2007, how can i attatch landscape in autocad 2007 when the lsnew, lslib, and lsedit commands are removed in 2007

Posted
Go to "plot", then where it says "page setup name" click "add", select your page setup and click "delete"

sir, how can i create landscape command lsnew, in autocad2007 when the command is removed

  • 5 years later...
Posted
I have VBA to do it, do you want that?

 

Public Sub DelPConfig()
     Dim objPlotConfigs As AcadPlotConfigurations
     Dim objPlotConfig As AcadPlotConfiguration
     Set objPlotConfigs = ThisDrawing.PlotConfigurations
     For Each objPlotConfig In objPlotConfigs
           objPlotConfig.Delete
     Next
End Sub

 

Thanks CmdrDuh

Posted

VBA_Not-installed.png

 

Nothing is as easy as it seems.

 

...back to the search function...

 

I wonder why Autodesk doesn't just allow it to be part of the Purge command.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...