Custom Line Type - Requested - Sample Format attached

Custom Line Type - Requested - Sample Format attached

jlaidle1
Advocate Advocate
7,387 Views
12 Replies
Message 1 of 13

Custom Line Type - Requested - Sample Format attached

jlaidle1
Advocate
Advocate

Does anyone have a custom linetype that looks like this?

 

2018-02-01_14-00-51.jpg

John Laidler
ITO - Application Management


Please use "Accept as Solution" & give "Kudos" if this response helped you.

0 Likes
Accepted solutions (2)
7,388 Views
12 Replies
Replies (12)
Message 2 of 13

gotphish001
Advisor
Advisor

I didn't see one in my linetype dwg that was exactly like that, but I only glanced. I'll attach it any way. Maybe you can find something similar or that will work for what you want it for.



Nick DiPietro
Cad Manager/Monkey

Message 3 of 13

jlaidle1
Advocate
Advocate

Looks great, thanks.  This is the closest one, shown below.  Is there a ".lin" file for that?

 

2018-02-01_14-45-54.jpg

John Laidler
ITO - Application Management


Please use "Accept as Solution" & give "Kudos" if this response helped you.

0 Likes
Message 4 of 13

gotphish001
Advisor
Advisor
Accepted solution

Unfortunately no lin file. I copy and pasted most of those in there from drawings I've received over the years from different consultants and engineers. I haven't found a way to reverse engine then yet. There's some crazy ones in there and I don't use them often so if I need something strange I peek in that dwg and just copy it into what I'm working on. I drew them all in the dwg because they all have crazy names. It's easier to just look through them. 

 

The line type you are asking for is pretty simple though. I just made one. I'm not sure why I have a dot in it though.

 

Just make use "makeshape" to make a shape that consists of a set of the lines. Then place the shape with "shape". (Can't use the lines you started with as it's not a shape. I've done that before and wondered why it won't work) then "mkltype" and follow the steps. 

 

I'll put the one I made but again it has a dot in it. Not sure why. 



Nick DiPietro
Cad Manager/Monkey

0 Likes
Message 5 of 13

john.vellek
Alumni
Alumni
Accepted solution

Hi @jlaidle1,

 

That was very nice of @gotphish001 to provide. I extracted the linetypes for  you and have attached the LIN file.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 6 of 13

gotphish001
Advisor
Advisor

How do you exact the linetypes? It's all one file though. If you put them all in a drawing won't it bog it down. I thought I read if you get too many linetypes in a dwg it will make it slow.

 

 

Nevermind. I see the lisp at the top of the file after I opened it in notepad. Thank you! I couldn't find something that was able to do that.



Nick DiPietro
Cad Manager/Monkey

0 Likes
Message 7 of 13

john.vellek
Alumni
Alumni

Hi @gotphish001,

 

If you type LINETYPE, you can then select my file. From it you can load one or several of the linetypes that are defined in it.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 8 of 13

jlaidle1
Advocate
Advocate

I got it to work, thanks!!!!

John Laidler
ITO - Application Management


Please use "Accept as Solution" & give "Kudos" if this response helped you.

Message 9 of 13

wr.marshall
Advisor
Advisor

I was looking at the different linetypes added by gotphish001 and playing around with some of them and noticed some things I would like to incorporate into my own custom line types if it is possible

 


@gotphish001 wrote:

I didn't see one in my linetype dwg that was exactly like that, but I only glanced. I'll attach it any way. Maybe you can find something similar or that will work for what you want it for.


 

First the major one (dashed line with trapezoid ends)

This is a copy of gotphish001 file where I have taken one of the lines "sw-TSDFP_c3D" which seem to have custom ends. How is this done?

when I reviewed the supplied by lin file supplied by john.vellek all it shows is for this particular line type

 

 

*sw-TSDFP_C3D,sw-TSDFP

A

 

Capture.JPG

 


@john.vellek wrote:

Hi @jlaidle1,

 

That was very nice of @gotphish001 to provide. I extracted the linetypes for  you and have attached the LIN file.

 

 

Please select the Accept as Solution button if my post solves your issue or answers your question.


another line called sw-TGBB_C3D seems to be made up of parts (looks like round bricks and TGBB text)

as you shorten or lengthen these part appear/disappear

 

 

 SIDE NOTE: If one tries to add the linetype file into a fresh(clean drawing you get an error message about invalid alignment code and the line mentioned in part one of this quest doesn't' load

 

 

0 Likes
Message 10 of 13

john.vellek
Alumni
Alumni

Hi @wr.marshall,

 

Linetypes do not have unique endpoints so I would suggest that you can place blocks at the endpoints or perhaps use a dynamic block that can stretch instead of using a linetype.

 

As far as the other linetypes with blocks and circles, those I was not able to extract cleanly which is why they don't really exist in my provided LIN file.  You can create SHAPE files that include such symbols that can be placed in linetypes.  Here is an article on creating complex linetypes.

 

I cleaned out the file that I provided earlier and have attached it to this post.


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback
Message 11 of 13

gotphish001
Advisor
Advisor

As suggested by @Kent1Cooper in another thread, some of those linetypes were created in autocad civil so there are possibly other options that are available there in the making of line types as compared to plain autocad. I can also confirm that a good portion of the line types in the file I shared were pulled from civil consultant's drawings over the years. 



Nick DiPietro
Cad Manager/Monkey

Message 12 of 13

wr.marshall
Advisor
Advisor

@gotphish001 wrote:

As suggested by @Kent1Cooper in another thread, some of those linetypes were created in autocad civil so there are possibly other options that are available there in the making of line types as compared to plain autocad. I can also confirm that a good portion of the line types in the file I shared were pulled from civil consultant's drawings over the years. 


I done some investigating. It appears as though these lines with custom ends have been created in Bentley Microstation

see Microstation Linetypes In AutCAD video on youtube at about the 3:20 mark. Now if they can do it why can't AutoCAD?

 

 

 

Message 13 of 13

wr.marshall
Advisor
Advisor

Regarding the customised ends, please see the discussion in the forum based on a wish I suggested on AUGI 

 

http://forums.augi.com/showthread.php?171207-Line-type-ends-by-Block-Smart-Dynamic-Linetypes&p=13333...

 

someone suggested using mleaders which seems to work along the lines of what I was thinking, but there are problems with it when it comes to revising.

 

 

0 Likes