+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
  1. #1
    Senior Member khoshravan's Avatar
    Computer Details
    khoshravan's Computer Details
    Operating System:
    Windows 7
    Computer:
    Sony Vaio
    Using
    AutoCAD 2010
    Join Date
    Feb 2009
    Location
    Tabriz
    Posts
    422

    Default rectangle not included in filter

    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.

  2. #2
    Senior Member
    Using
    Architecture 2011
    Join Date
    Dec 2010
    Posts
    172

    Default

    Once it's drawn a "rectangle" is a closed polyline.

    dJE

  3. #3
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    2,986

    Default

    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

  4. #4
    Senior Member khoshravan's Avatar
    Computer Details
    khoshravan's Computer Details
    Operating System:
    Windows 7
    Computer:
    Sony Vaio
    Using
    AutoCAD 2010
    Join Date
    Feb 2009
    Location
    Tabriz
    Posts
    422

    Default

    Quote Originally Posted by danellis View Post
    Once it's drawn a "rectangle" is a closed polyline.

    dJE
    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.

  5. #5
    Luminous Being StykFacE's Avatar
    Computer Details
    StykFacE's Computer Details
    Operating System:
    Windows 7 Ultimate 64bit
    Computer:
    Dell Precision T3500
    Discipline
    Multi-disciplinary
    StykFacE's Discipline Details
    Occupation
    BIM Manager & Design Specialist
    Discipline
    Multi-disciplinary
    Details
    Facilities engineering, involving mechanical piping, mechanical HVAC and electrical engineering.
    Using
    Revit 2013
    Join Date
    Mar 2006
    Location
    Dallas, TX - USA
    Posts
    6,483

    Default

    Quote Originally Posted by khoshravan View Post
    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.
    You'll have to double check to make sure your FILTER selection is correct. Can you post a screenshot, or even example DWG file? FILTER can be finicky and you must be very precise or the selection will not work.
    Tannar Frampton | Facilities Engineering | Revit 2013
    Personal Projects | Fender Squier Stratocaster | Custom Smoker | Concrete Patio

  6. #6
    Super Member JPlanera's Avatar
    Computer Details
    JPlanera's Computer Details
    Operating System:
    Win7 x64
    Computer:
    Dell T7400
    CPU:
    (4) Intel Xeon CPU X5272 @ 3.4GHz
    RAM:
    8G
    Graphics:
    NVIDIA Quadro FX 570 & RADEON X6000
    Primary Storage:
    80G main
    Secondary Storage:
    1TB ext
    Monitor:
    (3) DELL 21" wide
    Using
    Mechanical 2012
    Join Date
    Sep 2010
    Location
    Chicago
    Posts
    526

    Default

    Quote Originally Posted by khoshravan View Post
    Even polyline as object type, didn't work.
    Did you choose the "closed" property?
    You might be an engineer, if you tell people that time travel does not exist..... and then 5 minutes later explain how you would build a time machine

    Engineers aren't boring people, we just get excited over boring things.

  7. #7
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    2,986

    Default

    Seems the color issue was clarified in this thread.
    Regards,
    Mircea

    AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3

  8. #8
    Senior Member khoshravan's Avatar
    Computer Details
    khoshravan's Computer Details
    Operating System:
    Windows 7
    Computer:
    Sony Vaio
    Using
    AutoCAD 2010
    Join Date
    Feb 2009
    Location
    Tabriz
    Posts
    422

    Default

    Quote Originally Posted by MSasu View Post
    Seems the color issue was clarified in this thread.
    Please refer to that thread.

    BTW how do you reference another thread inside a reply?

  9. #9
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    2,986

    Default

    When say reference, you mean the link to the other page?
    Regards,
    Mircea

    AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3

  10. #10
    Senior Member khoshravan's Avatar
    Computer Details
    khoshravan's Computer Details
    Operating System:
    Windows 7
    Computer:
    Sony Vaio
    Using
    AutoCAD 2010
    Join Date
    Feb 2009
    Location
    Tabriz
    Posts
    422

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by MSasu View Post
    When say reference, you mean the link to the other page?
    You made a link in your reply and linked it to the word "Thread".
    I don't know how to do it. If possible please teach me how to do it.
    I was asking for this point in my previous post.

Similar Threads

  1. Need Lisp : create rectangle between rectangle
    By git_thailand in forum AutoLISP, Visual LISP & DCL
    Replies: 25
    Last Post: 29th Apr 2012, 01:11 pm
  2. LISP for a rectangle inside a rectangle
    By Grigs in forum AutoLISP, Visual LISP & DCL
    Replies: 13
    Last Post: 5th Mar 2012, 07:11 pm
  3. will included image plot
    By Rik612 in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 15th Feb 2012, 05:32 pm
  4. Replies: 2
    Last Post: 4th Oct 2010, 12:16 pm
  5. Replies: 0
    Last Post: 2nd Nov 2006, 11:51 pm

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts