Jump to content

How to Extend Lines to shape 2D Polyline


Recommended Posts

Posted

You don't need a lisp for that. just the extend command.

Posted (edited)

check your 'projmode if 'extend too' entity is on a different 'Z'

I like [2]

Edited by ScottMC
Posted
1 hour ago, mhupp said:

You don't need a lisp for that. just the extend command.

I agree with you but what if there are a lot of polylines and lines?

Posted (edited)

I spoke too fast

🤐

Edited by GLAVCVS
Posted
19 hours ago, Mountain_XD said:

I agree with you but what if there are a lot of polylines and lines?

 

Going to have to click a little then. or use fence like BIGAL shows.

  • Like 1
  • Agree 1
Posted

BIGAL that helps for sure! All the more inspires me to dig deeper into your posts/tips period.😃

Posted
On 7/18/2025 at 7:31 PM, BIGAL said:

Interesting Bricscad using "Fence" option. No code needed.

image.thumb.png.314f07ec3b7c14721ce9822e6a6bb59a.png

 

 

AutoCAD refuses to double extend for some reason.

Posted

For future reference, in the supplied .dwg, it's LWPolyline shapes not 2D Polyline shapes as in the title, there is a difference.

 

 LWPOLYLINE  Layer: "A_Dai_Coc_S_02"
                            Space: Model space
                   Color: BYLAYER    Linetype: "Continuous"
                   Handle = 167
            Closed
    Constant width     0'-0"
              area   5418979.86 square in. (37631.8046 square ft.)
         perimeter   791'-11 9/32"

          at point  X=22622'-6 5/16"  Y=176'-5 5/8"  Z=    0'-0"
          at point  X=22784'-3 15/32"  Y=141'-6 27/32"  Z=    0'-0"
          at point  X=22907'-5 13/32"  Y=279'-3 15/16"  Z=    0'-0"
          at point  X=22708'-11 1/16"  Y=378'-6 5/32"  Z=    0'-0"

 

2D Polyline 

 

                  POLYLINE  Layer: "KCS_DIM"
                            Space: Model space
                   Color: BYLAYER    Linetype: "Continuous"
                   Handle = 179
              Open
    starting width     0'-0"
      ending width     0'-0"
              area      0.00 sq in (0.0000 sq ft)
            length 2566'-5 17/32"

                  VERTEX    Layer: "KCS_DIM"
                            Space: Model space
                   Color: BYLAYER    Linetype: "Continuous"
                   Handle = 17b
                at point, X=23794'-4 1/8"  Y=-362'-5 9/32"  Z=    0'-0"
    starting width     0'-0"
      ending width     0'-0"

                  VERTEX    Layer: "KCS_DIM"
                            Space: Model space
                   Color: BYLAYER    Linetype: "Continuous"
                   Handle = 17c
                at point, X=21227'-10 19/32"  Y=-362'-5 9/32"  Z=    0'-0"
    starting width     0'-0"
      ending width     0'-0"

                  END SEQUENCE  Layer: "KCS_DIM"
                            Space: Model space
                   Color: BYLAYER    Linetype: "Continuous"
                   Handle = 17a

 

If I have time, I'll see what I can come up with.

 

Posted
On 7/18/2025 at 8:04 PM, mhupp said:

 

Going to have to click a little then. or use fence like BIGAL shows.

 

Even with AutoCAD probably still pretty fast for fence, but a LISP would help.

 

I tried several things and I can't get AutoCAD 2026 to double extend as per @BIGAL's example.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...