scremin 发表于 2022-7-6 07:46:27

Lisp to create a polygon, give

Hello everyone. These days I am in need of a Lisp to boost my productivity.
What I am exactly looking for is a program capable of:
1. Create a polygon from lines - boundaries (like the BPOLY command) then
2. Create a Label to identify the polygon (like a numeric order of 1, 2 ,3..) and finally 3. Return the polygon area in a table or Excel file.
 
I found something at LeeMac's website but the lisp I've found there doesn't do step 2 (doesn't create the polygon by boundaries).
 
If someone could help me I would appreciate it.
 
Thanks in advance.

stevesfr 发表于 2022-7-6 08:07:38

maybe...
http://www.cadtutor.net/forum/showthread.php?58963-lisp-for-extracting-areas-from-closed-area/page3
 
as usual, Lee solves most problems !!!
Steve

scremin 发表于 2022-7-6 08:12:19

Thanks for the link Steve, but actualy I need one more feature in that Lisp. The program doesn't create a polygon, it just gets the area.
What I exactly need is Lee Mac's Area-Label program with the capability of creating polygons instead of just getting the area.

Lee Mac 发表于 2022-7-6 08:22:44

Use the BPoly / Boundary command on your boundaries, then use my program.

scremin 发表于 2022-7-6 08:45:59

 
That's exactly what I am doing Lee. But, when you work with hundreds and sometimes thousands of polygons this method become a big waste of time. Because I have to create all polygons first and then select one by one to get their areas. Thanks anyway.

Lee Mac 发表于 2022-7-6 08:51:59

Beggars can't be choosers my friend
页: [1]
查看完整版本: Lisp to create a polygon, give