complex linetype issue

complex linetype issue

MKH-VB
Collaborator Collaborator
1,292 Views
11 Replies
Message 1 of 12

complex linetype issue

MKH-VB
Collaborator
Collaborator

I've received a file from a surveyor, and it contains complex linetypes.  If I choose to "reverse" the polyline, the text does not flip.  What is the parameter within the linetype description that will allow me to reverse a polyline and have the text flip?  thanks

 

mkh
0 Likes
1,293 Views
11 Replies
Replies (11)
Message 2 of 12

imadHabash
Mentor
Mentor

Hi,

Your linetype (.LIN ltype definition) used for the respective line or polyline may use the "upright" alignment code (always readable). I suggest to follow this link that may help . >> Click << 

 

Imad Habash

EESignature

Message 3 of 12

MKH-VB
Collaborator
Collaborator
Wout the u option work if I have the drawing with the linetype xreffed into another dwg, with a dview twist?
mkh
0 Likes
Message 4 of 12

cjneper
Advocate
Advocate

Try the following example. I created two linetypes for overhead electric lines, one rotated 180 degrees so the text is always readable.  The setting "A=180" is the only difference.

 

*OE,Overhead Electric ----OE----OE----OE----OE----OE----OE--
A,.5,-.2,["OE",STYLUS,S=.1,U=0.0,X=-0.1,Y=-.05],-.2
*OE_180,Overhead Electric-Rotated180 ----OE----OE----OE----OE----OE----OE--
A,.5,-.2,["OE",STYLUS,S=.1,U=0.0,A=180,X=-0.1,Y=-.05],-.2

0 Likes
Message 5 of 12

Kent1Cooper
Consultant
Consultant

Or from AutoCAD's own Help:

Kent1Cooper_0-1661255162229.png

Check the linetype definition if you have access to it, for the rotation part of the text-inclusion entry:

Kent1Cooper_1-1661255272450.png

Kent Cooper, AIA
0 Likes
Message 6 of 12

MKH-VB
Collaborator
Collaborator
Not sure what the "a" variable represents
mkh
0 Likes
Message 7 of 12

Kent1Cooper
Consultant
Consultant

@MKH-VB wrote:
Not sure what the "a" variable represents

See the right side of the first image in my previous Reply.  Or better yet, go to Help and look around.

Kent Cooper, AIA
0 Likes
Message 8 of 12

cjneper
Advocate
Advocate

Create those linetypes and play around with the A and R settings.  Draw some lines in all different directions and you'll see what the settings do.

0 Likes
Message 9 of 12

Kent1Cooper
Consultant
Consultant

@cjneper wrote:

....

A,.5,-.2,["OE",STYLUS,S=.1,U=0.0,A=180,X=-0.1,Y=-.05],-.2


Is it even permissible to have two rotation entries?  If it doesn't give you any invalid error, I assume the second one rules, and the first one is ignored and therefore removable.

Kent Cooper, AIA
0 Likes
Message 10 of 12

cjneper
Advocate
Advocate

I'm no linetype expert.  I'm sure I created these through trial and error.  I do get a different result if I take out the "U=0.0"

0 Likes
Message 11 of 12

Kent1Cooper
Consultant
Consultant

@cjneper wrote:

....  I do get a different result if I take out the "U=0.0"


That would imply that if there are two rotation entries, the first one wins.

Kent Cooper, AIA
0 Likes
Message 12 of 12

cjneper
Advocate
Advocate

I did some testing... To get the result I wanted, both rotation factors have to be in there.

0 Likes