See the top rated post in this thread. Click here

Results 1 to 3 of 3

Thread: Set outerloop with the handle of the polyline

  1. #1
    Member
    Join Date
    2018-03
    Posts
    4
    Login to Give a bone
    0

    Default Set outerloop with the handle of the polyline

    Hello,

    I am trying to hatch in autoCAD a region delimited by a polyline using vba.
    To set the boundary of the hatch, here the polyline, I would like to use the handle of this polyline.
    Ex: Set outerloop(0)=....addlwpolyline(handleofthepolyline)
    I look for on the internet but couldn't find anything.
    Is it even possible?

    Thank you

  2. #2
    Login to Give a bone
    3

    Default Re: Set outerloop with the handle of the polyline

    Hi man, please try this:
    Set outerloop(0) = ThisDrawing.HandleToObject(handleofthepolyline)

  3. #3
    Member
    Join Date
    2018-03
    Posts
    4
    Login to Give a bone
    0

    Cool Re: Set outerloop with the handle of the polyline

    Thanks man. It works

Similar Threads

  1. 2018: Copying portion of Polyline into another existing polyline
    By Brian.Nuckolls752674 in forum AutoCAD LT - General
    Replies: 0
    Last Post: 2017-07-07, 11:38 PM
  2. 2013: z value at intersection points in 3d polyline and polyline
    By jaychandran in forum AutoCAD Civil 3D - General
    Replies: 1
    Last Post: 2013-10-30, 05:20 PM
  3. Replies: 14
    Last Post: 2007-09-10, 05:01 PM

Tags for this Thread

Posting Permissions

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