Hatch Starting Point

Discussion in 'AutoCAD' started by sashk, Jul 1, 2004.

  1. sashk

    sashk Guest

    Hello,

    I have a custom routine that asks me what size I want my tile (ceramic tile) to be and then it asks me to pick an internal point. Basically, it is the hatch routine, but it calculates the size based upon my input. Once I hach inside, it works, but it may leave a half tile where I want a full tile. Is there a way to specify where I want the beginning point for my hatch to begin?
     
    sashk, Jul 1, 2004
    #1
  2. sashk

    T.Willey Guest

    When I have a situation like that, I usually move my ucs origin point to where I want it to start.

    Tim
     
    T.Willey, Jul 1, 2004
    #2
  3. sashk

    Debi Olson Guest

    I don't know about the lisp for it but the command to select your starting
    point for hatch is "snapbase".

    Hope that helps.

    Debi

    tile) to be and then it asks me to pick an internal point. Basically, it is
    the hatch routine, but it calculates the size based upon my input. Once I
    hach inside, it works, but it may leave a half tile where I want a full
    tile. Is there a way to specify where I want the beginning point for my
    hatch to begin?
     
    Debi Olson, Jul 1, 2004
    #3
  4. They're both right. You can change the UCS origin point, or change the Snap
    origin base point, which you can do either with the Snapbase system variable
    or with the Rotate option in Snap, which asks for an origin point before it
    asks for a rotation (and you can leave the rotation unchanged if you want).

    Kent Cooper, AIA


    tile) to be and then it asks me to pick an internal point. Basically, it is
    the hatch routine, but it calculates the size based upon my input. Once I
    hach inside, it works, but it may leave a half tile where I want a full
    tile. Is there a way to specify where I want the beginning point for my
    hatch to begin?
     
    Kent Cooper, AIA, Jul 1, 2004
    #4
  5. sashk

    sashk Guest

    Duh, snapbase works nicely. thanks
     
    sashk, Jul 1, 2004
    #5
  6. sashk

    CAB2k Guest

    Here is my button code.
    Although I don't remember why all of it was necessary it
    was the only way I could get it to work.
    Code:
    ^C^CSNAPBASE;\(while (progn (initdia) (command "BHATCH" pause)));
    
     
    CAB2k, Jul 2, 2004
    #6
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.