AutoCAD Linetype: U Parameter Functionality

AutoCAD Linetype: U Parameter Functionality

Jake_PCH
Advocate Advocate
957 Views
19 Replies
Message 1 of 20

AutoCAD Linetype: U Parameter Functionality

Jake_PCH
Advocate
Advocate

Can anybody identify the cause for the 'U' line type parameter not functioning when in the non-world UCS saved model view below?

 

Jake_PCH_0-1744795056920.png

 

0 Likes
Accepted solutions (2)
958 Views
19 Replies
Replies (19)
Message 2 of 20

pendean
Community Legend
Community Legend

Share your DWG file and your actual linetype code here please.

0 Likes
Message 3 of 20

Jake_PCH
Advocate
Advocate

Apologies Pendean, I had intended to attach them to the OP - which I have now done.

0 Likes
Message 4 of 20

Simon_Weel
Advisor
Advisor

According to the documentation:

 

Rotation

The rotation angle of the characters to be displayed in the linetype. The rotation angle must be prefixed with U=, R=, or A=.

  • U= specifies upright or easy-to-read text.
  • R= specifies relative or tangential rotation with respect to the line.
  • A= specifies absolute rotation of the text with respect to the origin; that is, all text has the same rotation regardless of its position relative to the line.

In your case, the Rotation is prefixed with U and so should be easy to read. When I use you linetypes, I can't get them to show correctly, no matter what I do. Like reverse doesn't have any effect.

 

The rotation for the special linetypes we use are prefixed with R. This means the orientation of the characters depends on the start - endpoint of a line. If upside down, you can Reverse them to show correct.

Simon_Weel_0-1744814014397.png

 

 

0 Likes
Message 5 of 20

Jake_PCH
Advocate
Advocate

Would you mind sharing an example of one of your line type codes, for me reference?

0 Likes
Message 6 of 20

R_Tweed
Advisor
Advisor

Could you send a screenshot of your standard textstyle settings?  Disregard, Only applies to text objects.

0 Likes
Message 7 of 20

richard_387
Advocate
Advocate

Have you got the Linetype Generation set to ON?

0 Likes
Message 8 of 20

Jake_PCH
Advocate
Advocate

@R_Tweed ;

 

Jake_PCH_0-1744819479194.png

0 Likes
Message 9 of 20

Jake_PCH
Advocate
Advocate

It was not. However, turning PLINEGEN to ON had no effect.

0 Likes
Message 10 of 20

Kent1Cooper
Consultant
Consultant

@Jake_PCH wrote:

.... turning PLINEGEN to ON had no effect.


From Help about that System Variable:

 Kent1Cooper_2-1744822451988.png

Kent1Cooper_0-1744822377822.png

For existing ones, select them [as many as you want] and in the Properties palette, set linetype generation to the setting you want for that/those Polyline(s).  Does that make a difference?

Kent Cooper, AIA
0 Likes
Message 11 of 20

Jake_PCH
Advocate
Advocate

No luck. I have tried both changing the Linetype Generation setting in the properties palette and drawing new lines with the PLINEON variable set to ON. 

 

I've tried it in a new file and that appears to work, so it appears to be file specific. This isn't a problem for now but would be good to try to understand the cause for future troubleshooting!

0 Likes
Message 12 of 20

Sea-Haven
Mentor
Mentor

"I've tried it in a new file" I use notepad++ it has a function compare 2 files, so you can get all the setvars and compare them obviously looking for differences, it is possibly just one variable is different. You make the file by using LOGFILEON this makes a log file when you do setvar ? * yes have to press enter a lot. Do logfileoff to stop. The log file is saved in your temp directory see OPTIONS FILE Temporary prefix.

Message 13 of 20

Jake_PCH
Advocate
Advocate

That appears to be a great suggestion, thank you.

 

How do I navigate to the log file? I believe I have carried out the the LOGFILE ON/OFF process and identified the location of the temporary file path but cannot locate the log/options file.

 

Jake_PCH_0-1745315326596.png

 

 

0 Likes
Message 14 of 20

DGCSCAD
Collaborator
Collaborator

Another way to get all system variables is to use the ET function _.sysvdlg and then save the .svf files from each dwg to compare in Notepad++.

AutoCad 2018 (full)
Win 11 Pro
Message 15 of 20

paullimapa
Mentor
Mentor

you can also use this method posted by Autodesk to compare system variables between various drawings:

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Comparing-the-draw...


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 16 of 20

-didier-
Advisor
Advisor
Accepted solution

Bonjour @Jake_PCH 

 

The only thing that bothers me in this drawing is the great value of coordinates that serve as reference to the new SCU.
As soon as the origin of the SCU is brought closer to the point 0 of the SCG, behavior returns to normal.

 

The limits of large coordinate values remain a thing to be adjusted in AutoCAD, without being a bug, it is quite disturbing anyway.

 

Amicalement

Éternel débutant.. my site for learning : Programmer dans AutoCAD

DA

EESignature

Message 17 of 20

Jake_PCH
Advocate
Advocate

Bonjour @-didier- 

 

Thank you for identifying this. I am still using the project's geospatial positioning to situate my model data. Aside from simply linking the geospatial file as an x-ref and repositioning it to an orthogonal position at origin, do you have any suggestions?

0 Likes
Message 18 of 20

Sea-Haven
Mentor
Mentor

Just a maybe hatch patterns need their origin reset when using real world co-ordinates. 567,123.123 etc So maybe draw a line horizontally near your objects do UCS OB and UCS Save say "dummy" and try drawing the line types. You can jump between the 2 UCS's, UCS W plan or UCS R Dummy plan.

0 Likes
Message 19 of 20

Jake_PCH
Advocate
Advocate

@Sea-Haven thank you for the suggestion, however, the problem file is already using multiple saved (non-world) UCS's. 

0 Likes
Message 20 of 20

vladimir_michl
Advisor
Advisor
Accepted solution

See the different alignment codes on complex linetypes:

https://www.cadforum.cz/en/autocad-linetypes-the-a-r-u-orientation-options-in-complex-text-tip14509

 

Vladimir Michl, www.arkance.world  -  www.cadforum.cz