Pagesetup command line or script?

Discussion in 'AutoCAD' started by DH, Dec 29, 2003.

  1. DH

    DH Guest

    Is it possible? Need to change a bunch of drawings.
     
    DH, Dec 29, 2003
    #1
  2. DH

    Jenna Guest

    You need to add a page setup to a bunch of drawings?
    You can use the batch drawing converter for this. Just convert from the
    same format to the same format and make sure "Include Page Setups" is
    checked. You can add page setups to many drawings at once this way...it
    will wipe out any other page setups in the drawings, so make sure you have
    included all the ones you want.
    HTH
     
    Jenna, Dec 29, 2003
    #2
  3. DH

    R.K. McSwain Guest

    You could use something like this.

    (vlax-invoke al "RefreshPlotDeviceInfo")
    (vlax-put al "ConfigName" "MyPlotter.pc3")
    (vlax-put al "StyleSheet" "MyCTBFile.ctb")
    (vlax-put al "CanonicalMediaName" "MySheetSize")
    (vlax-put al "StandardScale" '0)
    (vlax-put al "PlotRotation" '0)
    (vlax-put al "PaperUnits" '0)

    ....where "al" is a reference to the ActiveLayout object.
     
    R.K. McSwain, Dec 29, 2003
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.