Try something like this:Code - Auto/Visual Lisp: [Select]
;;How do I filter only Lines? ((= opsum "Plines") "LWPOLYLINE") ;;How do I filter only Plines? ((= opsum "aRcs") "ARC") ;;How do I filter only Arcs? ((= opsum "Splines") "SPLINE") ;;How do I filter only Spines? ((= opsum "All") "ARC,LINE,LWPOLYLINE,SPLINE") ) filout 0 )
Try something like this (untested)
Sounds good .. I just quickly updated the code above to remove unnecessary calls. Also remove the conversion to val-objects since the curve function work faster with enames.Try something like this (untested)
Hi Ron Thank you very much because it works very well. I really appreciate your help.
I realized that I had an error when I wrote the initget: on line 3; but I simply removed the "r" which is too much, since it doesn't work with arcs. But now everything is fine. I will study your code to learn from it.
Sounds good .. I just quickly updated the code above to remove unnecessary calls. Also remove the conversion to val-objects since the curve function work faster with enames.Try something like this (untested)
Hi Ron Thank you very much because it works very well. I really appreciate your help.
I realized that I had an error when I wrote the initget: on line 3; but I simply removed the "r" which is too much, since it doesn't work with arcs. But now everything is fine. I will study your code to learn from it.
Try again .. copy paste error and needed a default for 'All' :)Sounds good .. I just quickly updated the code above to remove unnecessary calls. Also remove the conversion to val-objects since the curve function work faster with enames.Try something like this (untested)
Hi Ron Thank you very much because it works very well. I really appreciate your help.
I realized that I had an error when I wrote the initget: on line 3; but I simply removed the "r" which is too much, since it doesn't work with arcs. But now everything is fine. I will study your code to learn from it.
Hi Ron. Your last modification now does not work with any of the elements. Something went wrong.
Try again .. copy paste error and needed a default for 'All' :)
Glad to help :)Try again .. copy paste error and needed a default for 'All' :)
Thanks Ron. That has worked great. I really appreciate your help and effort. Cheers