Linetype is backwards and upside down

Linetype is backwards and upside down

coffeys13
Explorer Explorer
13,731 Views
19 Replies
Message 1 of 20

Linetype is backwards and upside down

coffeys13
Explorer
Explorer

I'm having a problem with my limit of work linetype in Autocad 2016. I imported it from another drawing where it looks normal but when I bring it into another drawing the text "LOW" is backwards and upside down. I have tried reversing and mirroring the polyline and have done a couple hours of searching on the internet on how to fix it only to come up empty handed. Is there a way to change the text or is it something the do with the drawing itself?Untitled.png

0 Likes
Accepted solutions (1)
13,732 Views
19 Replies
Replies (19)
Message 2 of 20

imadHabash
Mentor
Mentor

Hi,

 

i suggest to use REVERSE command . >> Click <<

 

Regards,

Imad Habash

EESignature

Message 3 of 20

Cadologist
Advocate
Advocate
Accepted solution

There are a couple things to check here:

 

First check the code for that specific linetype (via the LIN file) or the definition of the line type and see 'what text style' that the linetype is using. Example below shows that the text style 'STANDARD' is being used.

 

*HOT_WATER_SUPPLY,Hot water supply ---- HW ---- HW ---- HW ----
A,.5,-.2,["HW",STANDARD,S=.1,U=0.0,X=-0.1,Y=-.05],-.2

 

Next, in the drawing that the incorrect appearance of the linetype is occurring, under TEXT STYLES (enter STYLE on the command line), check to see what the STANDARD (in this example) is set to and if any effects are changing the orientation of the text.

 

text_style_dialog_box.jpg

 

Additionally as another troubleshooting option, ensure the linetype is completedly purged out of the effected drawing, then re-insert and see if that resolves the issue.

 

Report back once you have done this additional testing, good luck!!

 


Chad Franklin
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.

EESignature

Message 4 of 20

kadmonkee
Advisor
Advisor

is that linetype part of your acad.lin file?

does importing it add it to the file automatically?

are both drawings reading the same support paths?

was the linetype created in an earlier version?

this link may explain some more options

Custom Linetypes






If there is any information shared that is of value please give Kudos
If a solution is provided by any posters please mark them as Solved to benefit everyone else.
thank you
0 Likes
Message 5 of 20

coffeys13
Explorer
Explorer

Thank you so much, this worked haha. Was trying to fix this for hours

0 Likes
Message 6 of 20

Cadologist
Advocate
Advocate

Glad I could assist, text in linetypes can be a real pain to coordinate and is dependent on a variety of things. It could be related to the LIN code itself (how it affects text orientation), the assigned text style in the drawing (as I showed in the screenshot), etc. Other things that can be challenging is centering the text in the linetype 'gap', height of text, etc.

 

I spend some considerable time in the past setting up internal CAD standards LIN files where we commonly use text characters within the linetypes to differentiate different entities/lines (plotting greyscale on hardcopy so 'color coding' linetypes is not an option).

 

Glad you got it resolved, have a great day and thanks for the kudos!


Chad Franklin
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.

EESignature

Message 7 of 20

Kent1Cooper
Consultant
Consultant

If you ever run into this without the Style definition having "effects," another possibility is that the Polyline was drawn somehow "from below" in a UCS with its Z axis aimed downward.  Paste this into the command line:

(cdr (assoc 210 (entget (car (entsel)))))

 

<Enter>, and then select the object.  If what it returns is:

 

(0.0 0.0 -1.0)

 

that's the likely cause.  If the 1.0 is not negative, something else is going on.  [All three numbers will be different, and wackier-looking, if it's in a UCS with a Z axis that's not WCS-vertical in either direction.]

Kent Cooper, AIA
Message 8 of 20

ddcNYWLL
Contributor
Contributor

The Z axis issue was my problem. I received a drawing from another company and could not figure out what the problem was. I looked at the LIN file, text style, rotation, and all that jazz. Everything was fine. I was getting discouraged until I read your comment @Kent1Cooper. Many kudos to you friend.  I just had to redraw the PL and delete the old one. 

0 Likes
Message 9 of 20

gweaver2UQEX
Observer
Observer

The easiest way I found to to deal with the Z Axis issue is to convert the polyline to a 3D polyline, then change the Z Value to =1 then convert back to a 2d polyline. Fixed for me.

Message 10 of 20

cwkbpa
Enthusiast
Enthusiast

@Cadologist, I'm trying your solution and it's not working for me.  I'm using ACAD'22.  I look in the .lin file and don't even see my linetype there.  They Style is "STANDARD" and I've played around with the upside down and backwards options and it doesn't do anything.  I tried the REVERSE command and it only changed the direction at which the line was drawn, but keeps the text in the linetype the same orientation.  Any more suggestions?

0 Likes
Message 11 of 20

Kent1Cooper
Consultant
Consultant

@cwkbpa wrote:

....  I look in the .lin file and don't even see my linetype there.  They Style is "STANDARD" and I've played around with the upside down and backwards options and it doesn't do anything.  I tried the REVERSE command and it only changed the direction at which the line was drawn, but keeps the text in the linetype the same orientation.  ....


If it's not in AutoCAD's own .lin file, look for another that contains it.  You can have linetypes loaded from other .lin files, and a linetype file can even contain more than one linetype definition.  My guess is that it's about the U= vs. R= text rotation element in the definition, and/or possibly the extrusion direction problem described in Message 7.

Kent Cooper, AIA
Message 12 of 20

cwkbpa
Enthusiast
Enthusiast

@Kent1Cooper your are correct.  I have the 1.0.  Would it help if I do the FLATTEN command?

0 Likes
Message 13 of 20

Kent1Cooper
Consultant
Consultant

@cwkbpa wrote:

....  I have the 1.0.  Would it help if I do the FLATTEN command?


If by that you mean the extrusion direction is the usual, and it's not drawn from underneath, then I suspect Flattening won't fix it, but try it.  My guess is that we need to see the linetype definition.  Maybe a small sample drawing exhibiting this behavior....

Kent Cooper, AIA
Message 14 of 20

Cadologist
Advocate
Advocate

@Kent1Cooper thank you for assisting in this thread!

 

@cwkbpa If you cannot share a sample drawing, you can try to export the linetype using the information (and download) in the Autodesk link below.

 

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/how-to-export-line...

 

Edit: unsure why the reply is 'tagged' to a different user (pressed the reply button on message 13?).


Chad Franklin
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.

EESignature

Message 15 of 20

Kent1Cooper
Consultant
Consultant

@Cadologist wrote:
....

Edit: unsure why the reply is 'tagged' to a different user (pressed the reply button on message 13?).


That's the author of Message 1, which is what happens when the "Reply to the topic..." slot below the last Message is used.  If you really did use the REPLY button in my Message, then the website has gone wacky, but it didn't do the same for this one.

Kent Cooper, AIA
Message 16 of 20

cwkbpa
Enthusiast
Enthusiast

@Cadologist @Kent1Cooper , Thank you both for your assistance.  I did to the FLATTEN command and no change.  Attached is a sample file with the line types I use as well as the .lin files in the support folder.  I pointed to the Centerline that is giving me problems.  It's upside down now because I did the DVIEW as I did in the original drawing.  I've tried the remedies I've seen so far and got nothing.

0 Likes
Message 17 of 20

pendean
Community Legend
Community Legend

@cwkbpa wrote:

...Attached is a sample file with the line types I use as well as the .lin files in the support folder.....


 

Are you looking for the text in your linetype to auto-rotate all by itself by chance? not a program feature. PLAN command needs to be set to CURRENT UCS is the usual fix for rotated UCS drafting.

pendean_0-1689780086692.png

 

pendean_1-1689780240818.png

 

Message 18 of 20

Kent1Cooper
Consultant
Consultant

That linetype is not defined in either of those .lin files posted, so it's coming from somewhere else, but the not-being-in-un-spun-plan-view, as pointed out by @pendean, is the cause of your trouble.

Kent Cooper, AIA
0 Likes
Message 19 of 20

cwkbpa
Enthusiast
Enthusiast

@Kent1Cooper @pendean ,  Thank you for the continued support.  I can understand the UCS being the problem now.  Thank you.  But I still would think there would be a way to change it to right side up after the DVIEW rotate.  No?

0 Likes
Message 20 of 20

pendean
Community Legend
Community Legend

@cwkbpa DVIEW does not just rotate 180 degrees, so what would determine how the in-place text will autorotate but also "stay in place relative to the linework"?

 

EDIT: Setting PLAN to current UCS should work for your needs otherwise in general terms like in your sample's linetype if I understand your follow up correctly.