Custom multi-colored line

Custom multi-colored line

navionflyr
New Member New Member
64 Views
5 Replies
Message 1 of 6

Custom multi-colored line

navionflyr
New Member
New Member

Question - My application is 2015 AutoCAD LT operating (for the moment) in a Win 7 Pro environment.  I want to create or be directed to a link where a custom line to my needs can be downloaded.  I do a lot of electrical drawings and wires are frequently differentiated by a primary color and a contrasting stripe.  I am envisioning a line segment that is 4 units long.  The first 3 units would be the primary color.  The remaining unit would be the "stripe" color.  Once loaded the colors of the 3-segment and 1 segment should be able to be changed using "Chprop"? the line should also be able to be scaled.  I am a bit naive with respect to what all can be done with 
"LT" .. I assume for instance that a custom line would work like any line .. if the wire path went through an arc, I expect that the custom line will follow.  Please help and thanks in advance.

0 Likes
65 Views
5 Replies
Replies (5)
Message 2 of 6

vladimir_michl
Advisor
Advisor

Simple Line geometry cannot be multi-colored in AutoCAD. But you can create a multi-colored line with MLine and dashed linetypes - see:
https://www.cadforum.cz/en/qaID.asp?tip=1818

Another approach is using constraints on the individual line segments:

https://www.cadforum.cz/en/how-to-create-a-polyline-with-multi-colored-segments-tip12755 

 

Vladimir Michl, www.cadforum.cz - www.linkedin.com/in/vmichl/ 

 

0 Likes
Message 3 of 6

manieshkumar.suresh
Autodesk
Autodesk

Hi @navionflyr ,

 

 AutoCAD LT lacks advanced tools, you may need to experiment with the LIN file syntax to achieve the desired visual effect. Custom linetypes will follow curves and arcs as expected.

 

However, you can manually create a custom linetype by editing a LIN file. Here's how you can achieve your goal:

Create/Edit LIN File:
- Open an existing LIN file (e.g., acadiso.lin) located at: "C:\Users\\AppData\Roaming\Autodesk\AutoCAD \R\\Support".
- Add a new linetype syntax to define your desired pattern (e.g., 3 units primary color followed by 1 unit stripe color).
- Save the LIN file.

 

Load the Custom Linetype:
- Use the `LINETYPE` command in AutoCAD LT to load the edited LIN file.
- Once loaded, the linetype can be applied to lines, arcs, and polylines.

 

Check this forum - https://forums.autodesk.com/t5/autocad-electrical-forum/multi-colored-wire/td-p/5940707




Maniesh Kumar Suresh

Escalation Lead


If this information was helpful, please use the Accept as Solution function — it helps other users.

0 Likes
Message 4 of 6

paullimapa
Mentor
Mentor

perhaps you can provide a screenshot of a drawing completed showing the graphic line work with the color coding you're looking to match with AutoCAD LT so community can respond accordingly. 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 5 of 6

pendean
Community Legend
Community Legend

@vladimir_michl wrote:

Simple Line geometry cannot be multi-colored in AutoCAD. But you can create a multi-colored line with MLine and dashed linetypes - see:
https://www.cadforum.cz/en/qaID.asp?tip=1818

Another approach is using constraints on the individual line segments:

https://www.cadforum.cz/en/how-to-create-a-polyline-with-multi-colored-segments-tip12755 

 

Vladimir Michl, www.cadforum.cz - www.linkedin.com/in/vmichl/ 

 


All really excelletn tips, but OP is using LT2015 from over a decade ago, your solutions do not apply.

Message 6 of 6

vladimir_michl
Advisor
Advisor

yes, that's true - the posting was originally in the AutoCAD forum so I got swept away... 😉

 

Vladimir Michl, www.cadforum.cz - www.linkedin.com/in/vmichl/