I'm trying to duplicate some custom linetypes in AutoCAD that MoDOT uses in their MicroStation config. primarily looking to duplicate or at least come close to their conduit line styles.
The image below is a snip from MicroStation showing their 3 styles of Conduit, Trenched, Pushed and Existing, in that order.
Trenched is easy as that can be done using pline with a width applied.
The Pushed conduit, is the open rectangle style. Is there a way to duplicate this style using text and code rather than a .shp file? I would like something that is easy to distribute, where it will just be stored in the CAD file, and the standard .lin file.
The existing conduit is just parallel dashed lines, similar to a Hidden 2 dash spacing. Is this possible to do?
Shx file? That can be a PITA having to include it and expect others to put in the right place. But that's the only way I know how to get shapes in a linetype.
When we switched from Mstn I redid everything, much by trial and error. Fortunately our DOT also switched so they provided a .lin file for their linetypes. Microstation will supposedly export a .lin - can you ask the DOT to help?
I'm not sure if you're asking to have the center of each dash masked. Just parallel dashed lines could be an MLine Style.
Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Yeah. When I can't avoid it. I use a bundh of chords to simulate the arch. There's the same problem with adding Shapes to a linetype. Shapes can't have curves either.
Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
I followed some of this thread regarding the MicroStation RSC file and imported the DGN I used for the screen shot in the first post as a DGN underlay and I get this in AutoCAD.
AutoCAD tries to translate the lines styles, and does a pretty good job, except for the pushed conduit in the middle, with the open box line style.
Open your go-to template. Do you have the linetype.shx named FENCELINE2? If you do, then you're already halfway there because you can use it to define your PUSH conduit line without having to compile a brand new shape. Fenceline2 can be found in the default acad.lin file found here:
C:\Users\NAME\AppData\Roaming\Autodesk\Your Acad 20xx\enu\Support\acad.lin
Copy FENCELINE2 and paste it in the bottom section of the acad.lin. Or you may also paste it in a brand new file with the extension .lin. Next, edit and save the definition so it looks like this:
In your template, load the new PUSH linetype. Draw a line using the new line definition and the line will look like this. You can return to the .lin definition you just created and edit further if you wish. Test the line's behavior when you fillet. Be sure to reload the linetype in your template if you make any changes to the definition.
The Push line has an appearance that's close to Fenceline2 but without the long horizontal line inbetween the boxes. It's not exactly like the line you wanted because it uses a square instead of a rectangle.
Chicagolooper
Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Hi All, I was able to create this using the the MKLTYPE Command and Unicode text, after seeing how the box is made on fence line type in the post from Chicagolooper.
This is almost exactly what I need, except is there anyway to dots from the line type between the boxes.
Here is the Code for the line type
*PUSHED,Pushed conduit
A,0,-.001005,["\U+228F",Arial Unicode,y=-.012418,s=.026218,u=0],-.020816,["\U+2290",Arial Unicode,y=-.012418,s=.026218,u=0],-.026911
Hi all, I've been working on this some more, done some tweaking to get closer to the size that I need. However I'm running into an issue with the pattern changing when drawing at an angle between 91-269 degrees. I'm fine with the way the box breaks when on a curve, but the change in pattern from a rectangle to a sideways H is not good. Also I would like to remove the dots if at all possible. Attached is the .lin file and a dwg file I've been working with. Thanks
Hi Mike,
How about using the MEASURE Command and inserting a rectangle block? Then you can turn off whatever layer the line is on.
Dave
Dave Stoll
Las Vegas, Nevada
Hi Mike,
Oops, not MEASURE. DIVIDE.
Dave
Dave Stoll
Las Vegas, Nevada
Have you looked into the makeshape express tool?
try the command mkshape
The help is here - AutoCAD 2020 Help | MKLTYPE (Express Tool) | Autodesk
you can draw a rectangle and make it into a shape that autocad can reference in a linetype.
You can view the help on complex linetypes with shapes in them here - AutoCAD 2020 Help | About Shapes in Custom Linetypes | Autodesk
I do not think it will curve the rectangle around the curves though.
did you check out the Bartles video I linked?
Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Can't find what you're looking for? Ask the community or share your knowledge.