BASE command value ?

Discussion in 'AutoCAD' started by CDT, Sep 16, 2003.

  1. CDT

    CDT Guest

    Is there a way to read and use the BASE command value? I'd like to
    use it to move items to 0,0,0 before redefining the BASE value to
    0,0,0..

    these blocks were written out of a large drawing and I'd like each
    file to be set with a common point at 0,0,0.

    Thanks,

    Chris
     
    CDT, Sep 16, 2003
    #1
  2. I believe it's the INSBASE system variable.

    Conny
     
    Conny Klasson, Sep 16, 2003
    #2
  3. CDT

    CDT Guest

    Thank you.

    Any idea as to how I could read that value in LISP or in a script and
    use it to move something?

    thanks you again.
     
    CDT, Sep 16, 2003
    #3
  4. CDT

    CDT Guest

    I think so.

    here's what I need to do:

    process about 3000 drawing files.

    read the INBASE value, move everything in the drawing file to 0,0,0.

    basepoint of move being the INBASE value.

    ex:

    MOVE
    select objects: ALL

    Specify base point or displacement: (use the INBASE value here, ex: 1500,500,0)

    Specify second point of displacement or
    <use first point as displacement>: 0,0,0

    can this be done in a script?

    Thank you very much,

    Chris
     
    CDT, Sep 17, 2003
    #4
  5. CDT

    CDT Guest


    Thanks Paul...

    How could I read the INBASE value in a script for the following:


    Specify base point or displacement: (use the INBASE value here, ex: 1500,500,0)


    Thanks again
     
    CDT, Sep 19, 2003
    #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.