Snap Offset?

Discussion in 'AutoCAD' started by Simon, Nov 9, 2004.

  1. Simon

    Simon Guest

    Hi group,

    Is it possible to set Snaps to snap a predetermined distance from an object?
    I want to be able to place furniture near but not right against a wall.

    Simon.
     
    Simon, Nov 9, 2004
    #1
  2. Simon

    Eric Black Guest

    Create your furniture blocks so that the insertion point is however far away
    from the object as you want the object to be from the wall. When you insert
    the block you can use the osnap "NEAREST" and select a point on the wall
    where you want it. As far as I know there is no distance offset for that
    osnap. I have several blocks set up this way. It saves lots of time if you
    insert numerous blocks.

    Hope this helps.

    Eric Black
     
    Eric Black, Nov 9, 2004
    #2
  3. Simon

    Tom Smith Guest

    I agree, that's the usual way to deal with things that are located that way.
    Put the insertion point where you want the wall line to be.
     
    Tom Smith, Nov 9, 2004
    #3
  4. Simon

    Simon Guest

    Hi Eric,

    Thanks for the suggestion. I also thought of that after I'd created hundreds
    of blocks:(
    Is there a quick way to reset their insertion points without tediously hand
    doing it?

    Simon.
     
    Simon, Nov 9, 2004
    #4
  5. Simon

    Walt Engle Guest

    No quick way, except to open each individual block and reset BASE to a distance
    you want. Lot of work.
     
    Walt Engle, Nov 9, 2004
    #5
  6. Simon

    Simon Guest

    OK then, is there a simple routine to Move a block a set distance so that I
    don't have to key it in each time? I'm thinking a series of buttons for
    different common distances would be useful.
     
    Simon, Nov 9, 2004
    #6
  7. Simon

    Paul Turvill Guest

    If all of the blocks in question are oriented the same way (i.e., the
    insertion point or the objects themselves will move exactly the same
    distance and direction in each one), then a script would be the way to go.
    Write a script file using the exact commands you would use to do the
    operation manually, e.g.,

    MOVE
    All
    0,0
    0,-3
    ....
    etc.

    This simple script could then be incorporated in a slightly more complex one
    that would work on all of the .dwg files in a Windows folder, with a tool
    like ScriptPro.
    ___
     
    Paul Turvill, Nov 10, 2004
    #7
  8. Simon

    Simon Guest

    Hi Paul & Dean,

    Thanks for your comments. The insertion points are on the corners of
    objects. I frequently use the From command manually at the moment when
    placing blocks. Then I realized a few buttons with preset distances i.e. 25,
    50, 100, 200mm etc would speed things up a little. (I'll check the Help for
    Button making - I was kinda tired when I asked about that last night.)
    However, I don't think I'd be able to script the entire operation Paul, as
    furniture & equipment gets rotated as needed, mirrored, etc. It'll have to
    be done on a case-by-case basis.

    In the meantime, I came across MoveR.lsp on the NG that helps a bit by
    preserving the last number typed into the move command, so that saves a bit
    of keying. One day soon I'm gonna have to learn to write/tweak my own
    scripts...

    Simon.
     
    Simon, Nov 10, 2004
    #8
  9. Simon

    Simon Guest

    BTW, just installed Nudge from Dotsoft Freebies is v. good. If only the
    dialogue box was a floating palette that one didn't have to close it would
    be perfect!

    S.
     
    Simon, Nov 10, 2004
    #9
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.