+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Full Member
    Computer Details
    AstroNout's Computer Details
    Operating System:
    Windows 7 Premium
    Computer:
    ASUS Notebook K72Jr Series
    Motherboard:
    ASUS K72Jr
    CPU:
    P6100 @ 2.00 GHz 2.00 GHz
    RAM:
    8GB
    Graphics:
    Mobility Radeon HD 5470
    Primary Storage:
    500 GB
    Using
    Map 3D 2011
    Join Date
    Jul 2011
    Location
    Oostkamp, Belgium
    Posts
    54

    Default Erase arcs from a polyline

    Registered forum members do not see this ad.

    Hi guys

    I've been busy again. I've tried to come up with a (dated) VBA-Code do disbow my drawings. But I can't seem to cycle through the polylines in the drawing.

    Shouldn't it be:

    Code:
    If TypeOf aEnt Is AcadPolyline Then
    It doesn't work at all...

    Thanks y'all!

  2. #2
    Super Member SEANT's Avatar
    Using
    AutoCAD 2012
    Join Date
    Aug 2005
    Location
    Rhode Island
    Posts
    1,968

    Default

    Try AcadLWPolyline.

  3. #3
    Full Member
    Computer Details
    AstroNout's Computer Details
    Operating System:
    Windows 7 Premium
    Computer:
    ASUS Notebook K72Jr Series
    Motherboard:
    ASUS K72Jr
    CPU:
    P6100 @ 2.00 GHz 2.00 GHz
    RAM:
    8GB
    Graphics:
    Mobility Radeon HD 5470
    Primary Storage:
    500 GB
    Using
    Map 3D 2011
    Join Date
    Jul 2011
    Location
    Oostkamp, Belgium
    Posts
    54

    Default

    how are LW's stuctured? Without z-coordinates? So X1,Y1,X2,Y2 etc. in the array?

  4. #4
    Super Member SEANT's Avatar
    Using
    AutoCAD 2012
    Join Date
    Aug 2005
    Location
    Rhode Island
    Posts
    1,968

    Default

    Registered forum members do not see this ad.

    That's correct. With a Elevation property as the overriding Z value for all vertices, and a per vertex Bulge factor to indicate arcs.

    The "LightWeight Polyline" situation can get a little complex depending on 3d alignment of the Normal property. The TranslateCoordinate Method must be used when comparing to World coordinates.

Similar Threads

  1. Erase objects outside of boundary ( polyline )
    By kasra in forum AutoLISP, Visual LISP & DCL
    Replies: 61
    Last Post: 14th Apr 2013, 05:58 pm
  2. Erase inside multiple closed polyline
    By iztok13 in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 3
    Last Post: 26th Aug 2011, 01:27 pm
  3. Erase objects outside of boundary ( polyline )
    By mitchellamazing in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 1st Dec 2008, 10:30 am
  4. Erase within an existing polyline
    By P_c in forum AutoCAD Drawing Management & Output
    Replies: 3
    Last Post: 21st Jan 2008, 12:50 pm
  5. Replies: 0
    Last Post: 12th Sep 2006, 08:57 pm

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