CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 5081
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

AutoCAD Rubble Linetype

 Post Reply Post Reply
Author
prnv_5 View Drop Down
Newbie
Newbie


Joined: 28.Feb.2023
Location: India
Using: Autocad 2019
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote prnv_5 Quote  Post ReplyReply Direct Link To This Post Topic: AutoCAD Rubble Linetype
    Posted: 28.Feb.2023 at 11:01
Hi all,

Autocad 2019 user here.

Looking for a custom linetype for Autocad. Require a broken line, almost like a rubble wall outline. 


Edited by prnv_5 - 28.Feb.2023 at 11:08
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 587
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kent Cooper Quote  Post ReplyReply Direct Link To This Post Posted: 01.Mar.2023 at 15:37
Image, please.  It sounds like something that will require Shape inclusions.
Back to Top
prnv_5 View Drop Down
Newbie
Newbie


Joined: 28.Feb.2023
Location: India
Using: Autocad 2019
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote prnv_5 Quote  Post ReplyReply Direct Link To This Post Posted: 02.Mar.2023 at 11:41
Hello, 

Thanks for your reply. Attaching an autocad file here for your reference. uploads/926537/Rubble_sample.dwg
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 587
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kent Cooper Quote  Post ReplyReply Direct Link To This Post Posted: 02.Mar.2023 at 17:36
That would definitely need to be done with Shape inclusions, but I don't think you'd like the way it would work at bends, straight walls that are not just the right length, curves, etc.  It's just not in the nature of custom linetypes to work well in that kind of situation.  See the image at >this post<.

And if you want both the upper and lower edges in one linetype, you would need a repetition in the lower edge [I don't see any] at the same interval as the apparent repetition in the upper edge.

For the lower edge independent of the upper edge, you can try the WPL command in WobblyPline.lsp, >here<.  But it doesn't use a custom linetype -- it just makes a Polyline that wobbles randomly relative to the defined path.
Back to Top
prnv_5 View Drop Down
Newbie
Newbie


Joined: 28.Feb.2023
Location: India
Using: Autocad 2019
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote prnv_5 Quote  Post ReplyReply Direct Link To This Post Posted: 03.Mar.2023 at 05:47
Hi, 

Sorry, I am unable to view or download either of those links in your post. But in principle I think that's correct, even if there's a polyline that wobbles randomly relative to a predefined path, that would work for me. 

I think I came across another post on the Autodesk community forum (https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/draw-a-quot-fuzzy-quot-line/td-p/2340241) where you posted a similar solution? 

I would still like to try the WPL command in the WobblyPline.lsp but can't access the file so far.

Thanks for your help.
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 587
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kent Cooper Quote  Post ReplyReply Direct Link To This Post Posted: 08.Mar.2023 at 13:36
uploads/353260/WobblyPLine.lsp

And here's a portion of the image from the other link, where the shape is a sort-of straight thing that doesn't behave well on curves, and its length doesn't always fit lengths of Lines or Polyline segments:



Edited by Kent Cooper - 08.Mar.2023 at 13:49
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 587
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kent Cooper Quote  Post ReplyReply Direct Link To This Post Posted: 10.Mar.2023 at 13:38
Originally posted by prnv_5 prnv_5 wrote:

Hi, 
....  I think I came across another post on the Autodesk community forum ... where you posted a similar solution? ....

Yes, the last offering there is the same routine, but the one I uploaded here (link in my previous reply) is a slightly newer version (I don't recall what was changed).
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,125 seconds.