Results 1 to 2 of 2

Thread: Help needed urgent!!!!!

  1. #1
    Member
    Join Date
    2020-07
    Posts
    14
    Login to Give a bone
    0

    Default Help needed urgent!!!!!

    Hello... Everyone.

    I was given a polyline of irregular shape, and It was required to draw a rectangle by taking portion of the polyline's edge conjugating it so that it becomes Rectangle's edge.

    send me VBA code concepts if you can.. how to conjugate the polyline with the rectangle.

    Thank you.

    Capture.PNG
    Attached Files Attached Files

  2. #2
    I could stop if I wanted to
    Join Date
    2003-07
    Posts
    473
    Login to Give a bone
    0

    Default Re: Help needed urgent!!!!!

    Dont have in vba code but take red "U" get 1st and 3rd pt find 1/2 way then just use "BPOLY" all done.

    yes this is lisp but shows how, if the red sub-base is on a layer then all could be done in one go using a selection set.

    Code:
    (setq plent (entsel "\npick base"))
    (if plent (setq co-ord (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget (car plent))))))
    (setq pt (mapcar '/ (mapcar '+ (nth 0 co-ord) (nth 2 co-ord)) '(2 2 2)))
    (command "bpoly" pt "")
    Last edited by BIG-AL; 2020-10-12 at 04:21 AM.

Similar Threads

  1. 2012: URGENT HELP NEEDED - SECTIONS - SEGMENTS - GRADE LABELS
    By chasm9a252523 in forum AutoCAD Civil 3D - Sections
    Replies: 1
    Last Post: 2012-10-23, 05:40 AM
  2. New PC advice - Urgent opinions needed!
    By turnbullp in forum Hardware
    Replies: 5
    Last Post: 2012-04-02, 04:36 PM
  3. Urgent help needed - I need to view Pro/E 3d model
    By johnd in forum AutoCAD 3D (2007 and above)
    Replies: 2
    Last Post: 2008-10-20, 02:34 PM
  4. urgent help needed!
    By mckenziewesley in forum Inventor - General
    Replies: 1
    Last Post: 2008-04-25, 03:02 PM

Posting Permissions

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