Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LINETYPE with two colors?

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
jackshield
7363 Views, 10 Replies

LINETYPE with two colors?

I need to represent some lines, in model space, that alternate in color, yellow/red, that are "scalable" with respect to different sscale viewports in paperspace.

 

my initial idea was to use two lines, each in which the dash and space between were the same distance, then just offset the yellow/red lines enough for each to fill the others gaps.

 

but, wondering if it was possible to represent that in a single linetype?

10 REPLIES 10
Message 2 of 11
dbroad
in reply to: jackshield

No.  You might  be able to use an associative array to do what you want but colors are set at the object level (except for mtext)

Architect, Registered NC, VA, SC, & GA.
Message 3 of 11
vladimir_michl
in reply to: jackshield

You can do this with multilines - see

http://www.cadforum.cz/cadforum_en/qaID.asp?tip=1818

 

Vladimir Michl, www.cadstudio.cz

 

Message 4 of 11
jackshield
in reply to: vladimir_michl

DING DING DING ... WE HAVE A WINNER!

 

This is perfect!

Message 5 of 11
jackshield
in reply to: jackshield

AND THE PARTY WAS SHORT LIVED!

 

being able to assign width was another factor, no option for that with mline?

Message 6 of 11
vladimir_michl
in reply to: jackshield

Do you mean linewidth? A standard linewidth property applies also to MLines - see the Properties palette (Ctrl+1) and switch LWidth display On.

 

Vůadimir Michl, www.cadstudio.cz  www.cadforum.cz

Message 7 of 11
jackshield
in reply to: vladimir_michl

not seeing that option, but that would be great if i can find it ...

Message 8 of 11
vladimir_michl
in reply to: jackshield

Sorry, it is called lineweight (not using the English version) in the Properties. The display switch can be toggled with the LWDISPLAY variable.

 

Vladimir Michl, www.cadstudio.cz  www.cadforum.cz

Message 9 of 11
jackshield
in reply to: vladimir_michl

yea, thats line weight, it applies to plotted values.

 

i was referring to line width, as with polylines, you can assign width to line.

 

i am representing some painted lines for aisles, 1:1 in model space.

 

for now, i am using a polyline, solid yellow, with a copy that is a dashed red.

created linetype for the red to be 10" spacing.

 

each bylayer, i move the red to the front, and above other objects.

 

this gives me the dashed line without too much trouble.

 

although i will use the mline option in the future, where a line width is not required.

Message 10 of 11
RalphBrown99
in reply to: jackshield

 

Hi guys:

 

It was so nice to find this CAD forum that you are talking about. Much appreciated. Anyway, I have a problem setting colors as soon as I have mlines in the drawings whose styles become are not longer available. Any ideas?

 

Rafael

Message 11 of 11
alexpromd
in reply to: jackshield

You can try to use a multiline style https://www.youtube.com/watch?v=DkddqRW2od0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

”Boost