Author Topic: ssget filter with area or length  (Read 1841 times)

0 Members and 1 Guest are viewing this topic.

dussla

  • Bull Frog
  • Posts: 297
ssget filter with area or length
« on: November 04, 2007, 06:49:45 AM »
i worked bit project
i draw  variable triangle ,  arc ,   circel , rectangle ,  .pw line ,..............
but i have to seek same object  with same area or length
but i can't find dxf code with area , length

how can i filter  objects  which have same area or length ?
can you simple , good code ?
~~~

VovKa

  • Water Moccasin
  • Posts: 1632
  • Ukraine
Re: ssget filter with area or length
« Reply #1 on: November 04, 2007, 07:26:50 AM »
you've posted the same question here http://www.cadtutor.net/forum/showthread.php?t=17686 and got the answer. not enough?

dussla

  • Bull Frog
  • Posts: 297
Re: ssget filter with area or length
« Reply #2 on: November 04, 2007, 07:59:21 AM »
yes
i tested that code
filter fucntion is not  good ~
i can;t understand your code ~~ sorry~ also

can you give simple code?


dussla

  • Bull Frog
  • Posts: 297
Re: ssget filter with area or length
« Reply #3 on: November 04, 2007, 08:16:35 AM »
i heard command below
(command "area" "e" ent)
(getvar "area")
(getvar "length)

does you make that code  impossible  with above command ?


VovKa

  • Water Moccasin
  • Posts: 1632
  • Ukraine
Re: ssget filter with area or length
« Reply #4 on: November 04, 2007, 08:42:25 AM »
this is not my code. but i think it does exactly what you've asked.
if you have problems with understanding then talk to the author, he is a nice guy :)