Mrskotnjak Posted January 28, 2010 Posted January 28, 2010 Hi guys, I have one problem that is really anoying, here goes; I want to align hatches to specific object, here is what I have (Hatch_Example_After.dwg). Simply put, I have very large amount of hatches which need to be aligned to object that is in. Right now, I first must read angle at which object is, reduce it by 45, and put that value into the hatch angle. As you can see, that is tedious, and time consuming. I would like to have something like ROTATE TEXT, that works with hatches. Hatch_Example_Before.dwg Quote
eldon Posted January 28, 2010 Posted January 28, 2010 Set up a UCS for each area using the object (entity) option, and pick the bottom line near the left hand end for the object. All your hatches will then be at the required angle without your having to find out angles. Quote
Mrskotnjak Posted January 29, 2010 Author Posted January 29, 2010 Set up a UCS for each area using the object (entity) option, and pick the bottom line near the left hand end for the object. All your hatches will then be at the required angle without your having to find out angles. Thanks for reply, but problem is that object boundaries are not parallel, and messing with every object's UCS is not making my job any easier. I need something like command that would make rotation 1 step job. Quote
eldon Posted January 29, 2010 Posted January 29, 2010 I meant for you to set up an un-named temporary UCS as you work on each object. It is set up by one click on that object that you are working on. Quote
Mrskotnjak Posted January 30, 2010 Author Posted January 30, 2010 I meant for you to set up an un-named temporary UCS as you work on each object. It is set up by one click on that object that you are working on. Making UCS to the object, than hatching, takes longer, because you need to first set UCS, and then hatch every object to the drawing. Its easier to hatch to every object in drawing, and then just copy/paste angle of object to the hatch properties. Nwm, thanks for reply m8. Quote
eldon Posted January 30, 2010 Posted January 30, 2010 I was thinking of hatching one object at a time and setting the ucs for each object. If you hatch everything in one go, then the whole lot change angle when you edit the angle (in my version). Therefore you have to hatch one at a time, and to my mind it would be easier to set the ucs before you hatch each shape rather than to edit each angle afterwards. Setting the UCS only takes 5 seconds which must be shorter than editing the angle . Quote
BearDyugin Posted January 30, 2010 Posted January 30, 2010 It became interesting... and I has composed a small program But I have not found a system variable which is responsible for a format of angle, therefore the format of angle should be - degrees, it is possible to check up Format -> Units or command units Geo_hatch.LSP Quote
Mrskotnjak Posted February 1, 2010 Author Posted February 1, 2010 This lisp works like charm, thanks m8! It will save me alot of time! Quote
Mrskotnjak Posted February 1, 2010 Author Posted February 1, 2010 Not at all!What means m8? m8=friend! Quote
BearDyugin Posted February 1, 2010 Posted February 1, 2010 m8=friend! It is good! And on more in detail it is possible, I not English-speaking, from where it? In what interrelation? Where logic? Quote
eldon Posted February 1, 2010 Posted February 1, 2010 'm8' is one of the abbreviations used by people who can not be bothered to type out a word in full. As this is an international forum, it is well to remind people that English may not be the first language for many, and it is more polite to use full words rather than abbreviations. m8 is a shortening from the sounds of the two characters said in English, 'em' and 'eight'. When said as one, it sounds like 'mate' Here is a link to one such website which gives some information. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.