Custom Centerline Linetype question

Custom Centerline Linetype question

jcavanagh
Enthusiast Enthusiast
305 Views
1 Reply
Message 1 of 2

Custom Centerline Linetype question

jcavanagh
Enthusiast
Enthusiast
We currently use a lsp routine that makes a custom centerline. But instead of having that line a 1 line it seperates it into 3 lines. I've attached a dwg so you can see what the line looks like. So as it works now, no matter how long or short the total length of the line is, the cent dash and the spacing between the center dash & the 2 outer lines are always the same length. So what I would like to do to make our lives easier is to make a linetype in the ACAD. LIN that does the same thing. Because if we ever have any changes it a real pain in the ass to adjust all of the beams line when a wall moves. If you need the lsp file we use, let me know & I can forward it to you. Thanks for the help
0 Likes
306 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
If you really mean "no matter how long or short," then no, you can't do that
with an AutoCAD Linetype (that's probably why you have the Lisp routine that
you use). A Linetype definition necessarily involves a cycle with an
overall length defined by the total of the dash and gap segments. If a line
(or arc or whatever) is too short for the cycle, it shows as continuous; if
it's twice the cycle or more, the pattern of dashes and gaps repeats more
than once.

You might consider other possible ways of handling it -- Grouping or
Blocking the three line segments, for instance.

--
Kent Cooper


wrote...
We currently use a lsp routine that makes a custom centerline. But instead
of having that line a 1 line it seperates it into 3 lines. I've attached a
dwg so you can see what the line looks like. So as it works now, no matter
how long or short the total length of the line is, the cent dash and the
spacing between the center dash & the 2 outer lines are always the same
length. So what I would like to do to make our lives easier is to make a
linetype in the ACAD. LIN that does the same
thing. Because if we ever have any changes it a real pain in the ass to
adjust all of the beams line when a wall moves. If you need the lsp file we
use, let me know & I can forward it to you. Thanks for the help
0 Likes