lisp to select hatch objects based on size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello fellow nerds
i seek a lisp to help me pick a selection of objects within a drawing. I have to pick this selection on a frequent occurance which is why a lisp would save me time. Ideally I type in the magical lisp command (e.g. "NERD-") and then the following steps are processed within the lisp:
- pick all hatches with an area less than 30m²
- send these hatches to the back (draw-order)
similarly, a lisp called NERD+ would be needed to select hatches with an area more than 30² and bring them to the front
to add even more flexibility, it would be great to include an option to manually type in a limit for hatched object areas would be good, and also to select whether you want objects with less than, more than, or exactly that area to be selected
e.g. to type in NERD, then you get asked "limit of area=?" to which I type in 30m²; then I get asked "select areas with less than (0) or more than (1) or exactly (2) that area?"
sounds pretty simple but I don't have the mental capacity to create a lisp myself.
Kudos to any helpers out there!