Dimension style update

Discussion in 'AutoCAD' started by Joseph Chang, Oct 23, 2004.

  1. Joseph Chang

    Joseph Chang Guest

    Is there a script routine to globally change the DIMCLRD and DIMCLRE
    variable in a drawing and update the all dimension in the drawing. Thanks.
     
    Joseph Chang, Oct 23, 2004
    #1
  2. Joseph Chang

    Doug Broad Guest

    Joseph,
    Do you really want to add overrides to all your dimensions?
    That seems like bad practice. Instead use the dimstyle
    command to change dimclrd and dimclre. Better yet,
    use a bylayer color for your dimensions in the dimension style.

    But if you insist,

    (command "dim1" "ov" "dimclrd" "red" "dimclre" "red" "" "all" "")
     
    Doug Broad, Oct 23, 2004
    #2
  3. In that case, is there a way to automate the changing of all dimstyles in a
    group of drawings?
     
    Casey Roberts, Oct 26, 2004
    #3
  4. Joseph Chang

    Joseph Chang Guest

    Thanks.

    Try Multi-Batch

     
    Joseph Chang, Oct 27, 2004
    #4
  5. Joseph Chang

    Doug Broad Guest

    Yes. You could use a script approach or objectdbx for a start.
    A script file could use the command function shown above.
    The techniques to change dimstyles using ActiveX/ObjectDBX
    do not involve commands.

    Regards,
    Doug
     
    Doug Broad, Oct 28, 2004
    #5
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.