Foly line

Foly line

jostroopers
Collaborator Collaborator
614 Views
4 Replies
Message 1 of 5

Foly line

jostroopers
Collaborator
Collaborator

Is it possible to make the line as in the attachment with Multi line tool?

Or is there a other way?

Mvg Jos
Youre drawings are as good as the symbols that compleet them.....
0 Likes
615 Views
4 Replies
Replies (4)
Message 2 of 5

jggerth
Advisor
Advisor

if using C3D, and this is supposed to be a pipe, then C3D styles can handle that fairly well.

 

if just using as vanilla acad to get a line, then I would lay in a centerline using PLINE where needed, offset both sides, and then  Pedit the width if the original ot twice the offset distance. you end up with three objects,  instead of a single line.

0 Likes
Message 3 of 5

jostroopers
Collaborator
Collaborator

Is there a lisp routine that can do this?

Mvg Jos
Youre drawings are as good as the symbols that compleet them.....
0 Likes
Message 4 of 5

RobDraw
Mentor
Mentor

"Youre drawings are as good as the symbols that compleet them....."

 

Actually, symbols do not make a good drawing. They can help but they are far from THE determining factor. I've always said that symbols don't matter. Just have a look at the variety of ways the same design can be presented.

 

Grammar and spelling are much more important.


Rob

Drafting is a breeze and Revit doesn't always work the way you think it should.
Message 5 of 5

Kent1Cooper
Consultant
Consultant

@jostroopers wrote:

Is there a lisp routine that can do this?


In simplest terms, try this.  It assumes you start with a Polyline that has the desired non-continuous linetype and linetype scale.

 

(defun C:PPWE ; = Polyline Path Width with Edges
  (/ path pathobj wid)
  (setq
    path (car (entsel "\nPolyline path object to give width and edges: "))
    pathobj (vlax-ename->vla-object path)
    wid (getdist "\nWidth: ")
  ); setq
  (vla-put-constantwidth pathobj 0.0)
  (vla-offset pathobj (/ wid 2))
  (vla-put-linetype (vlax-ename->vla-object (entlast)) "Continuous")
  (vla-offset pathobj (- (/ wid 2)))
  (vla-put-linetype (vlax-ename->vla-object (entlast)) "Continuous")
  (vla-put-constantwidth pathobj wid)
  (princ)
); defun

 

This is what it does with something of HIDDEN linetype:

Kent1Cooper_0-1622201980126.png

For your original drawing's configuration, you will need a linetype with dashes and gaps of equal length.  There's one called EVENDASH that I'm not sure comes with plain AutoCAD but I think may have come with Architectural Desktop years ago -- if you don't have that, it's easy to make one.

 

It can be given all the usual enhancements -- verify that you selected a Polyline, and that it's not currently of Continuous linetype, remember your Width value to offer as default, *error* handling, Undo begin/end wrapping, etc.

Kent Cooper, AIA
0 Likes