+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 26
  1. #11
    Full Member
    Using
    AutoCAD 2009
    Join Date
    Aug 2011
    Posts
    45

    Default

    Registered forum members do not see this ad.

    You really need a lisp routine to do this? Really??
    yes. i need a lisp really.

  2. #12
    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
    3,007

    Default

    A simple AutoLISP routine that will draw a rectangle between two other (aligned) will be no gain in productivity - if you have Endpoint Osnap activated, then the use of RECTANGLE command require just two clicks to get the result, while a routine will require selection of two entities.
    Presuming that you have a big bunch of rectangles to connect on horizontal and vertical, then a routine may increase speed by allowing you to select all and then filtering them and connecting in pairs - but I'm afraind this will be a quite complicated code since need to validate coordinates of pairs and also check for potential overlapps.
    Regards,
    Mircea

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

  3. #13
    Forum Deity pBe's Avatar
    Computer Details
    pBe's Computer Details
    Operating System:
    Windows XP
    Discipline
    Construction
    pBe's Discipline Details
    Discipline
    Construction
    Details
    Camp Construction planning and details
    Using
    AutoCAD 2009
    Join Date
    Apr 2010
    Posts
    2,114

    Default

    Quote Originally Posted by MSasu View Post
    - but I'm afraind this will be a quite complicated code since need to validate coordinates of pairs and also check for potential overlapps.

    I'll pass Mircea .

  4. #14
    Full Member
    Using
    AutoCAD 2009
    Join Date
    Aug 2011
    Posts
    45

    Default

    sorry i am stupid.
    but i need lisp create rectangle real.

  5. #15
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,138

    Default

    No one called you "stupid" and pBe gave you a lisp routine in post #7. If it does not suit your needs please explain where the routine falls short or try fixing it yourself.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  6. #16
    Full Member
    Using
    AutoCAD 2009
    Join Date
    Aug 2011
    Posts
    45

    Default

    see pic #8

  7. #17
    Forum Deity pBe's Avatar
    Computer Details
    pBe's Computer Details
    Operating System:
    Windows XP
    Discipline
    Construction
    pBe's Discipline Details
    Discipline
    Construction
    Details
    Camp Construction planning and details
    Using
    AutoCAD 2009
    Join Date
    Apr 2010
    Posts
    2,114

    Default

    Quote Originally Posted by git_thailand View Post
    see pic #8
    Some members posts a somewhat "odd" requests but it doesnt mean it can't be done and "stupid" they're not. No offense git_thailand but what you're asking would redefine the word lackadaisicalness to a new level.
    Plus the first image you posted can be interpreted in many ways other than what you need [hence my mis-interpreted routine]

    If you badly need a code, you can start by explaining to us what that image really meant, I know that a picture is worth a thousand words but can you give us more information.
    Maybe there's more to it than what we like to think.

  8. #18
    Senior Member ketxu's Avatar
    Computer Details
    ketxu's Computer Details
    Operating System:
    Sorry, my English not well :(
    Computer:
    Sorry, my English not well :(
    Motherboard:
    Sorry, my English not well :(
    CPU:
    Sorry, my English not well :(
    RAM:
    Sorry, my English not well :(
    Graphics:
    Sorry, my English not well :(
    Primary Storage:
    Sorry, my English not well :(
    Secondary Storage:
    Sorry, my English not well :(
    Monitor:
    Sorry, my English not well :(
    Using
    AutoCAD 2007
    Join Date
    Sep 2010
    Location
    Sorry, my English not well :(
    Posts
    169

    Default

    Request like a boss ^^

  9. #19
    Forum Deity pBe's Avatar
    Computer Details
    pBe's Computer Details
    Operating System:
    Windows XP
    Discipline
    Construction
    pBe's Discipline Details
    Discipline
    Construction
    Details
    Camp Construction planning and details
    Using
    AutoCAD 2009
    Join Date
    Apr 2010
    Posts
    2,114

    Default

    Quote Originally Posted by ketxu View Post
    Request like a boss ^^
    Yeah, that works 99% of the time, but it doesnt mean you're going to get what you asked for ALL the time.

    The result is only as good as the information you give us git_thailand.

  10. #20
    Full Member
    Using
    AutoCAD 2009
    Join Date
    Aug 2011
    Posts
    45

    Default

    Registered forum members do not see this ad.

    sorry i no good english

Similar Threads

  1. 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
  2. select block or rectangle to create namedview
    By pmxcad in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 12th Feb 2012, 07:35 pm
  3. Lisp for rectangle
    By RRS1987 in forum AutoLISP, Visual LISP & DCL
    Replies: 43
    Last Post: 27th Oct 2011, 02:23 pm
  4. Replies: 2
    Last Post: 4th Oct 2010, 12:16 pm
  5. Create a Rectangle around Text
    By Zeusovsky in forum .NET, ObjectARX & VBA
    Replies: 3
    Last Post: 17th Aug 2010, 09:37 am

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