Once it's drawn a "rectangle" is a closed polyline.
dJE
Registered forum members do not see this ad.
I am trying to select a rectangle in a filter definition. However in the selection box I couldn't find the rectangle. What is wrong with my steps.


Once it's drawn a "rectangle" is a closed polyline.
dJE
As @danellis stated, a rectangle is in fact a polyline entity.
I’m not sure if you can define a filter or criteria for QSELECT to create a selection set from rectangles. My opinion is that the solution is a dedicated AutoLISP function – in order to qualify as rectangle a polyline entity should be closed, have four vertexes, the opposite edges should be equal and one angle should be 90 degrees.
Regards,
Mircea
AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3
Even polyline as object type, didn't work. If my criteria is based on layer, then the rectangles are chosen but selection by color didn't work, which seams strange for me.
Msasu
Thanks for your reply but I don't know LISP and doesn't want that sort of solution but seams you are very interested and talented on that way.
Tannar Frampton | Facilities Engineering | Revit 2013
Personal Projects | Fender Squier Stratocaster | Custom Smoker | Concrete Patio
Seems the color issue was clarified in this thread.
Regards,
Mircea
AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3
When say reference, you mean the link to the other page?
Regards,
Mircea
AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3
Bookmarks