See the top rated post in this thread. Click here

Results 1 to 8 of 8

Thread: ACAD 2000 - Polyline Width

  1. #1
    Login to Give a bone
    0

    Question ACAD 2000 - Polyline Width

    I would like to use polyline width to represent the sawblade kerf on plywood layouts.

    Kerf of sawblade is 1/8", therefore the polyline widths are 1/8" ... that's the easy part. Once the polylines are drawn on the plywood sheets, I need to dimension the all the lines.

    So how does one dimension a wide polyline???

    The attached example drawing has on the left a layout with dimensions snapped to the center of vertical and horizontal 1/8" wide polylines. What I would like is to be able to create a drawing as shown on the right with using 1/8" wide polys VS offseting 0" width polys.

    Ultimately I am creating the objects and dimensions in VBA so by using the Polys and controlling the width i can make my code much smaller and the For ... Next loops easier to manipulate.
    Attached Files Attached Files

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    1

    Default Re: ACAD 2000 - Polyline Width

    Quote Originally Posted by bsardeson View Post
    So how does one dimension a wide polyline???
    You'll have to eyeball your picks since a polyline only has a centerline and not edges...

    Consider using a TRACE entity which resembles a wide filled polyline, except that you can snap to the edges..
    R.K. McSwain | CAD Panacea |

  3. #3
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    1

    Default Re: ACAD 2000 - Polyline Width

    if all your cuts will be straight, e.g. no arcs or curves, then an MLine entity would also work. Define an mline style with a 1/16" offset left and right, and then dimension to the mline

  4. #4
    Login to Give a bone
    0

    Default Re: ACAD 2000 - Polyline Width

    Quote Originally Posted by rkmcswain View Post
    Consider using a TRACE entity which resembles a wide filled polyline, except that you can snap to the edges..
    Unfortunately, TRACE objects cannot be TRIMmed, STRETCHed, or EXPLODEd in the User Interface or with VBA (at least as far as I can tell).

    So it would work great if I were always cutting squares, but alas not. Thanks for the idea though.

  5. #5
    Login to Give a bone
    0

    Default Re: ACAD 2000 - Polyline Width

    Quote Originally Posted by cadtag View Post
    MLine entity would also work. Define an mline style with a 1/16" offset left and right, and then dimension to the mline
    This suggestion has great merit as the MLine can be EXPLODEd to lines and arcs then TRIMmed or STRETCHed ... as a human only ... again, I cannot determine a method in VBA to perform the explosion. Ughhhh.

    Well, CADTAG, you get an A for effort and now I will appeal your solution to the VBA Customization gurus to complete my mission. Thanks for the suggestion.

    If a VBA solution to this is created, I will post common links to the other forum areas later.

  6. #6
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    0

    Default Re: ACAD 2000 - Polyline Width

    Quote Originally Posted by bsardeson View Post
    This suggestion has great merit as the MLine can be EXPLODEd to lines and arcs then TRIMmed or STRETCHed ... as a human only ... again, I cannot determine a method in VBA to perform the explosion. Ughhhh.

    Well, CADTAG, you get an A for effort and now I will appeal your solution to the VBA Customization gurus to complete my mission. Thanks for the suggestion.

    If a VBA solution to this is created, I will post common links to the other forum areas later.
    if you need Arcs for your cuts, then I don't think MLine would work. May need to draw the center of the cut as a pline, and offset that half the kerf distance for both sides. Put the center pline on a non-plot layer, and group the three together for joint selectability. Trim, stretch and extend though won't respect the group.

  7. #7
    Login to Give a bone
    0

    Default Re: ACAD 2000 - Polyline Width

    Quote Originally Posted by cadtag View Post
    if you need Arcs for your cuts, then I don't think MLine would work. May need to draw the center of the cut as a pline, and offset that half the kerf distance for both sides. Put the center pline on a non-plot layer, and group the three together for joint selectability. Trim, stretch and extend though won't respect the group.
    The Mline will work since my cuts are straight and made with a saw ... for those cutting kerfs with a high-speed bit, laser, plasma, etc ... MLine will work also since the end cap for an mline can be an arc or line. The end cap will show the end relief for the diameter of the bit. IF the tool path is non-linear, just explode and fillet any bends in the path.

    All fine and dandy in the manual drafting world ... still need to get a VBA solution to automate my on-the-fly design . Until a VBA solution exists to manipulate the MLine and it's properties & styles I'm forced to offset standard or poly lines, trims and extends, Essentially tripling the amount of VBA code necessary to complete the job. Ugh.

    I suppose though, I could just continue to use the MLine and NOT trim the ends to the finished shape leaving them overhang for layout reference lines. Hmmmm, wonder if manufacturing layout peeps will care about the aesthetics.

  8. #8
    Certifiable AUGI Addict ccowgill's Avatar
    Join Date
    2004-08
    Location
    Iron Station, NC
    Posts
    3,198
    Login to Give a bone
    0

    Default Re: ACAD 2000 - Polyline Width

    Although your post says AutoCAD 2000, I dont know that a vba solution is the way to go, in the future, if your AutoCad is upgraded, VBA may not be supported. I believe as it is now, in 2010 and 2011 you have to download an add-on that allows VBA to function.

Similar Threads

  1. Annotative Polyline Width
    By Wish List System in forum AutoCAD Wish List
    Replies: 3
    Last Post: 2013-12-09, 05:26 PM
  2. Polyline multi-width
    By bball in forum AutoCAD General
    Replies: 12
    Last Post: 2008-09-17, 08:08 PM
  3. Polyline Width not Plotting
    By Richard McDonald in forum AutoCAD General
    Replies: 10
    Last Post: 2007-11-29, 12:24 PM
  4. Polyline Width
    By robert.1.hall72202 in forum AutoLISP
    Replies: 8
    Last Post: 2004-09-28, 07:31 AM

Posting Permissions

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