AutoCAD Architecture Forum
Welcome to Autodesk’s AutoCAD Architecture Forums. Share your knowledge, ask questions, and explore popular AutoCAD Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linetypes Not Showing Properly

15 REPLIES 15
SOLVED
Reply
Message 1 of 16
Anonymous
109365 Views, 15 Replies

Linetypes Not Showing Properly

Okay, so I'm throwing in the towel on this one.  I have attached a screenshot to better explain what is going on.  I am having an issue with HIDDEN, CENTER, and DASHED linetypes showing properly.  The only way I can get the line to "break" is by making the line like 400' long.  Here are a few of the variables I have checked...

 

LTS - 96

MSLTSCALE - 0

LT SCALE (in properties) - 1

 

Ran the MEASUREMENT command and verified it's set to 0.

I have reloaded the linetypes from ACAD.lin.

 

The CENTER2, HIDDEN2, HIDDEN4, and DASHED2 lines all display properly.  I have tried everything I can think of.

 

This one is really stumping me.

15 REPLIES 15
Message 2 of 16
leothebuilder
in reply to: Anonymous

Here's my suggestion:

 

Set MSLTSCALE to 1

Set PSLTSCALE to 1

Set LTSCALE to 1.00 or 0.75 (depending on the "look" you want)

 

This is for imperial line types used in an imperial template.

 

From there you need to control the way line types display by changing the annotation scale.

This way you will never have to change anything line type scaling again and they will plot the same no matter

what view port scale is used.

Message 3 of 16
Anonymous
in reply to: leothebuilder

I've tried all that.  If you look at the screen shot, the CENTER linetype should be spaced twice the size of CENTER2 (for example) but the CENTER linetype will not break until it is like 400' long...

 

 

Message 4 of 16
leothebuilder
in reply to: Anonymous

Can't diagnose a problem from a screenshot.

 

Also, make sure CELTSCALE is set to 1

Message 5 of 16
Victoria.Studley
in reply to: Anonymous

Hi @Anonymous,

 

Could you post a sample DWG where the issue is happening?

 

This will help us understand the problem and troubleshoot it directly with you, which should help us get to the bottom of this quicker.

 

Additionally, have you checked your graphics card and driver version to make sure they're certified for use with your combination of AutoCAD Architecture and operating system, to rule out a graphics issue? (This seems unlikely if other linetypes display correctly, but it's worth checking.)

 

If one or more of these posts helped answer your question, please click Accept as Solution on the posts that helped you so others in the community can find them easily.


Victoria Studley
Principal Experience Designer - Fusion Configurations
Join us in the Fusion Insider Program
Fusion Learn & Support | Fusion Documentation
Message 6 of 16
Anonymous
in reply to: Victoria.Studley

Drawing is attached.

 

It happens on every workstation computer in my office.  It's definitely not a graphics issue.

Message 7 of 16
David_W_Koch
in reply to: Anonymous

I started a new drawing from the template file you posted.  The CENTER, DASHED and HIDDEN linetypes on the lines on Layer 0 were not showing a pattern.  I reloaded those linetypes from my ACAD.lin file, and the patterns showed as expected.  The values for those definitions should be twice the values for the CENTER2, DASHED2 and HIDDEN2 linetypes.  You may want to check to see that your ACAD.lin file has linetypes defined as shown below:

 

*CENTER,Center ____ _ ____ _ ____ _ ____ _ ____ _ ____
A,1.25,-.25,.25,-.25

*DASHED,Dashed __ __ __ __ __ __ __ __ __ __ __ __ __ _
A,.5,-.25

*HIDDEN,Hidden __ __ __ __ __ __ __ __ __ __ __ __ __ __
A,.25,-.125

Perhaps these three got loaded into the template file from the metric file, ACADISO.lin?  The values there are 25.4 times larger to account for the fact that a millimeter is 25.4 times smaller than an inch.  A quick check using the AutoLISP tblsearch function in a drawing started with your template without reloading the linetypes suggests that is the case here.

Command: (tblsearch "LTYPE" "CENTER")
((0 . "LTYPE") (2 . "CENTER") (70 . 0) (3 . "Center ____ _ ____ _ ____ _ ____ _ ____ _ ____") (72 . 65) (73 . 4) (40 . 50.8) (49 . 31.75) (49 . -6.35) (49 . 6.35) (49 . -6.35))
Command: (tblsearch "LTYPE" "DASHED")
((0 . "LTYPE") (2 . "DASHED") (70 . 0) (3 . "Dashed __ __ __ __ __ __ __ __ __ __ __ __ __ _") (72 . 65) (73 . 2) (40 . 19.05) (49 . 12.7) (49 . -6.35))
Command: (tblsearch "LTYPE" "HIDDEN")
((0 . "LTYPE") (2 . "HIDDEN") (70 . 0) (3 . "Hidden __ __ __ __ __ __ __ __ __ __ __ __ __ _") (72 . 65) (73 . 2) (40 . 9.525) (49 . 6.35) (49 . -3.175))

The "49" groups (scroll the code window to the right) contain the pen down/pen up distances, and those values correspond to the ACADISO.lin file values for those linetypes.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

Message 8 of 16
Anonymous
in reply to: David_W_Koch

Here are the linetypes in my ACAD.lin:

 


*CENTER,Center ____ _ ____ _ ____ _ ____ _ ____ _ ____
A,1.25,-.25,.25,-.25

 

*DASHED,Dashed __ __ __ __ __ __ __ __ __ __ __ __ __ _
A,.5,-.25

 


*HIDDEN,Hidden __ __ __ __ __ __ __ __ __ __ __ __ __ __
A,.25,-.125

 

They are showing correctly, so when I re-load them nothing happens.

 

I may just have to start a new template and copy my content into it.

Message 9 of 16
David_W_Koch
in reply to: Anonymous

I was able to reload those linetypes into a drawing created from the template and have them show correctly.  Are you regenerating the drawing/template file after reloading them?  The on-screen graphics of existing items does not refresh automatically after reloading the linetypes - at least it did not do so for me.

 

I was able to make the change in your template file, as well.  The revised version is attached here.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

Message 10 of 16
leothebuilder
in reply to: Anonymous

Having been able to check your template it appears you are using metric linetypes in an imperial file.

 

If you change the linetype scale for the line object by 1/25 (0.004) you will find that the linetype object will display as you would expect.

 

Message 11 of 16
dbroad
in reply to: Anonymous

@Anonymous

This is the linetype definition in your DWT file:

 

((0 . "LTYPE") (2 . "CENTER") (70 . 0) (3 . "Center ____ _ ____ _ ____ _ ____ _ ____ _ ____") (72 . 65) (73 . 4) (40 . 50.8) (49 . 31.75) (49 . -6.35) (49 . 6.35) (49 . -6.35))

 

This is the linetype definition in the acadiso.line file:

*CENTER,Center ____ _ ____ _ ____ _ ____ _ ____ _ ____
A, 31.75, -6.35, 6.35, -6.35

 

Can you see the similarity as @leothebuilder pointed out?  Someone loaded the wrong linetype for center. Reload the linetype as @David_W_Koch suggested and it will fix the template.  It will not fix the drawings based on that template.  You will need to reload the center linetype into every drawing that this template was used to create.

 

Other approaches:  1) Use the standards command to set up a standards file for automatic correction that contains the correct linetype settings. Then use the batch standards checker to process  the affected files  2)Add a lisp command to automactically reload the linetype to your acaddoc.lsp.  Use a batch processor like scriptpro to reload your center linetypes.

 

By the way, the size of the center line type in your current drawing is

(* 50.8 96)

4876.8

which is 406.4 feet long.

 

Architect, Registered NC, VA, SC, & GA.
Message 12 of 16
Victoria.Studley
in reply to: Anonymous

Hi @Anonymous,

 

It looks like @David_W_Koch@dbroad, and @leothebuilder helped narrow down what's happening in your file. Did any of their posts help you resolve the issue?

If so, please click Accept as Solution on the posts that helped you so others in the community can find them easily.


Victoria Studley
Principal Experience Designer - Fusion Configurations
Join us in the Fusion Insider Program
Fusion Learn & Support | Fusion Documentation
Message 13 of 16
Anonymous
in reply to: leothebuilder

THANKS I SPENT ALL AFTERNOON WORKING ON THAT

Message 14 of 16
ammar.rizvi
in reply to: Anonymous

Enter in command line: LTSCALE and set the value to 1. If you are working on a small scaled drawing, set it to 0.1. You'll notice the difference and set the value accordingly. 

Message 15 of 16

How does this happen?  Am I able to switch between metric and imperial units without a problem?  What is the intended "feature" of this ability to screw this up? 

Message 16 of 16
pendean
in reply to: grahamcoombes


@grahamcoombes wrote:

How does this happen?  Am I able to switch between metric and imperial units without a problem?  What is the intended "feature" of this ability to screw this up? 


How does what happen please?

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

Post to forums  

Autodesk Design & Make Report