TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: jbaxter on May 19, 2008, 09:35:10 PM

Title: Calculate area of hatch pattern
Post by: jbaxter on May 19, 2008, 09:35:10 PM
Greetings,

Anyone know of a lisp routine which will return the area of a selected hatch pattern?

Regards,
JB
Title: Re: Calculate area of hatch pattern
Post by: Keith™ on May 19, 2008, 10:00:07 PM
Try this
http://www.theswamp.org/index.php?topic=8595.0
Title: Re: Calculate area of hatch pattern
Post by: jbaxter on May 19, 2008, 10:17:54 PM
Hmmm, that routine does not allow selection of a hatch pattern and not sure what is going on with the 'change color selection' prompt??

Regards,
JB
Title: Re: Calculate area of hatch pattern
Post by: jbaxter on May 19, 2008, 10:18:51 PM
I am also trying to avoid the hatch boundary re-reation routine (hatchb.lsp) as it is tedious.

Regards,
JB
Title: Re: Calculate area of hatch pattern
Post by: Serge J. Gianolla on May 20, 2008, 04:25:06 AM
Isn't it just a matter of listing hatch properties of object nowadays?

Edited: Just realised you make no mention of version which may explain!
Title: Re: Calculate area of hatch pattern
Post by: Mark on May 20, 2008, 04:27:51 AM
This may or may not help.

http://www.theswamp.org/index.php?topic=20345.0
Title: Re: Calculate area of hatch pattern
Post by: Mark on May 20, 2008, 04:28:26 AM
But watch out for this ....

http://www.theswamp.org/index.php?topic=23104.0
Title: Re: Calculate area of hatch pattern
Post by: jbaxter on May 20, 2008, 05:14:51 AM
Hi,

Thanks for your help guys.

Using acad2002.

The routines suggested do not list the hatch area, only other object boundaries in sq.yds.

Regards,
JB