Hatch Pattern does not start where I want it

Written by Allan, 22 Feb 2003

Applies to:

  • AutoCAD 2004 and below
  • May also apply to R14


The Hatch Pattern does not start where I want it. Example of CMU hatch:


SNAPBASE needs to be set where you wish the hatch pattern datum to begin from. Solutions:
  1. Set the SNAPBASE system variable, to the bottom left hand corner (see picture above).
  2. Use this AutoLISP code to edit the hatch pattern, after it has be created.
(setvar "cmdecho" 0)
SB1 (getvar "snapbase")
OBJ (entsel "\nSelect Hatch pattern to edit:")
PT1 (getpoint "\nSelect new starting point of hatch pattern:")
XCORD (car PT1)
YCORD (cadr PT1)
(setvar "snapbase" SP1)
(command "-hatchedit" OBJ "p" "" "" "")
(setvar "snapbase" SB1)
); end of c:AHSP

Need drafting work?
We are having great success with Freelancer.com. With this website we can win all types of drafting work. People from all over the world are looking for freelancers skilled in AutoCAD, Revit, Civil 3D and Microstation, are you one of those people? If so you can live the freelancer lifestyle! and work from any location you want too. Freelancer.com, it works really well - we like it - and we believe you will too.

Looking for CAD drafters?
With modern construction, software and increased legal requirements, we often require specialized assistance with our projects. Putting skilled staff on full time is not always economically feasible for small businesses. Freelancer.com solves this problem. On this website you can engage skilled drafters. Either on fixed prices for specific tasks, or reasonably priced hourly rates for longer term contracts.

E-book: AutoCAD Block Best Practices
We draw repetitively when using AutoCAD. If we manage the drawing elements as reusable contents, it will increase our productivity significantly. Not only can we draw faster, we can add information to our blocks. Which allows us to generate useful reports. This is what Edwins e-book entitled AutoCAD Block Best Practices is all about. Yes, increase your productivity with the block!