+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Junior Member
    Using
    not specified
    Join Date
    Apr 2006
    Posts
    15

    Default newb! question - join polyline then fillet

    Registered forum members do not see this ad.

    I have a vba macro that creates a number of smaller rectangular polylines inside of a larger rectangle in a zigzag pattern. These rectangles have intersecting lines in certain places. I want all of these rectangles to join along their intersecting lines into one object(polyline) that I can fillet. I am having trouble with the joining and the fillet. I have read that doing a fillet in vba is not possible, If that is so, is there a lisp routine that can fillet all the corners at once? If i can not join these rectangles, is there another way to trace their perimeter. I have tried doing a hatch of all the rectangles, but i can't convert the hatch back to a polyline. please help me!

  2. #2
    Forum Deity
    Using
    not specified
    Join Date
    Jul 2004
    Location
    Anchorage, Alaska
    Posts
    2,074

    Default

    Will the "boundary" command help you create the desired polyline?

  3. #3
    Junior Member
    Using
    not specified
    Join Date
    Apr 2006
    Posts
    15

    Default

    Quote Originally Posted by CarlB
    Will the "boundary" command help you create the desired polyline?
    Boundary asks me to pick internal points and when i finish, creates the same rectangles as i began with. I want the entire perimeter. Am I missing something in the boundary command? I'm using Acad 2002.

  4. #4
    Junior Member
    Using
    not specified
    Join Date
    Apr 2006
    Posts
    15

    Default

    since I only have to fillet one of the corners on each of the smaller rectangles, perhaps it'd be best if i didn't even join them, but just during my creation macro either created the polyline rectangles with a fillet or arc representing the fillet initially. How does one specify a shape with 4 sides and an arc on one of the corners as a closed polyline? Right now i'm using coordinates to create the lwpolyline. I'd like to keep the coordinate way of creating these shapes because they are relatively located based on user input...

  5. #5
    Junior Member
    Using
    not specified
    Join Date
    Apr 2006
    Posts
    15

    Default

    Registered forum members do not see this ad.

    ok, can't believe i didn't figure this out faster... select all rectangles, convert all to regions, union them, explode them, pedit: join them, fillet: poly. then hatch to make it pretty. Anyone know how to do a selection of items based on coordinates in vba?

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