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

linetypes not showing correctly

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

linetypes not showing correctly

This one in driving me nuts.

 

In the office I've started in, we have a template with special line types. In some drawing they show correctly in others they don't. In a drawing they did show correctly, i saved it for later use, now it doesn't...

 

A good example of this is the attached screenshot. Both are from the same file. you can see the drawing2.dwg screen has a lot of the special linetypes showing only as a continuous line type while the other window (_Autocad***-ACG.dwt) show the linetypes correctly. Here is the crux. The dwg file was created off the dwt file.

 

any ideas?

I have attached the two files as mentioned.

 

Capture3-sametemplate.JPG

15 REPLIES 15
Message 2 of 16
Joe-Bouza
in reply to: Anonymous

Can't look at the file but

PSLTSCALE
MSLTSCALE
LTSCALE, all should =1

If these are complex line types the text style in the style needs to be in the drawing with a height =0

Joe Bouza
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 3 of 16
BushW
in reply to: Anonymous

Hello @Anonymous

 

Unfortunately, when I opened the files, I got One or more SHX files are missing. But, I found this solved post that might offer a solution since you are using custom linetypes. Hope this helps!

 

Please select the ‘Accept as Solution’ button if my post solves your issue or answers your question so, other Community members may benefit.






Wendell Bush
Civil Infrastructure Technical Support Specialist
Message 4 of 16
Neilw_05
in reply to: Anonymous

Since some of the linetypes are scaling properly in both files, I would first check to be sure all the lines have a linetypescale=1 in their properties. The LTSCALE, PSLTSCALE, MSLTSCALE variables would affect all lines, not just certain ones. The other potential problem would be differences in the shapes being used by the 2 drawings.

Neil Wilson (a.k.a. neilw)
AEC Collection/C3D 2024, LDT 2004, Power Civil v8i SS1
WIN 10 64 PRO

http://www.sec-landmgt.com
Message 5 of 16
Anonymous
in reply to: Joe-Bouza

Thanks Joseph,

yes all those values are =1.

 

Id agree these might be complex line types, but I don't how they are created. I did try to run the lisp routine that creates a .lin file from a dwg but it failed to run (not sure why).

 

I have changed all the .shx text styles to height = 0, closed and reopened cad no joy.

 

Still not understanding why a dwg created from a template looses the line types definition. 

 

BTW ACAD C3D 2016

 

Aaron

Message 6 of 16
Neilw_05
in reply to: Anonymous

I'm no expert on shapes but I do know the shapes are stored in each user's font folder by default. Thus 2 users may see different behavior depending on which versions of the shape files they have in their support folders.

Neil Wilson (a.k.a. neilw)
AEC Collection/C3D 2024, LDT 2004, Power Civil v8i SS1
WIN 10 64 PRO

http://www.sec-landmgt.com
Message 7 of 16
Jay_B
in reply to: Anonymous

The 3 missing shape files contain custom shapes used in the line types as mentioned by @BushW.

 

These files must be included in the Support FIles Search Path in Options.

 

Command: OPTIONS > Files tab > Support File Search Path > Add

 

(This should likely be setup within your organization if they are linetypes that get used frequently, you may want to ask).

 

As an example here's what I see in both drawings for "Drainage" lines:

 

ltypes miss shapes.PNG

 

Here are the missing shape files causing the warning & continuous line display:

 

LINETYPE [FENCELINE1] uses SHAPE # [134] in the file [ANZ.shx]
LINETYPE [ARRBACK] uses SHAPE # [132] in the file [ANZ.shx]
LINETYPE [ARRBACK-hidden] uses SHAPE # [132] in the file [ANZ.shx]
LINETYPE [ARRTO] uses SHAPE # [132] in the file [ANZ.shx]
LINETYPE [ARRTO- hidden] uses SHAPE # [132] in the file [ANZ.shx]
LINETYPE [BATTING] uses SHAPE # [136] in the file [ANZ.shx]
LINETYPE [BLDLEFT] uses SHAPE # [132] in the file [ANZ.shx]
LINETYPE [BLDRIGHT] uses SHAPE # [132] in the file [ANZ.shx]
LINETYPE [FENCELINE2] uses SHAPE # [133] in the file [ANZ.shx]
LINETYPE [TOPLEFT] uses SHAPE # [132] in the file [ANZ.shx]
LINETYPE [TOPRIGHT] uses SHAPE # [132] in the file [ANZ.shx]
LINETYPE [TRACKS] uses SHAPE # [130] in the file [ANZ.shx]
LINETYPE [YLEFT] uses SHAPE # [132] in the file [ANZ.shx]
LINETYPE [ZIGZAG] uses SHAPE # [131] in the file [ANZ.shx]
LINETYPE [FENCELINE4] uses SHAPE # [37] in the file [INFRA.shx]
LINETYPE [CDCJ] uses SHAPE # [56] in the file [INFRA.shx]
LINETYPE [CONCRETE_LINED_CHANNEL] uses SHAPE # [40] in the file [INFRA.shx]
LINETYPE [DCJ] uses SHAPE # [57] in the file [INFRA.shx]
LINETYPE [DRAIN_SWALE_LINED] uses SHAPE # [6] in the file [INFRA.shx]
LINETYPE [DRAIN_SWALE_UNLINED] uses SHAPE # [6] in the file [INFRA.shx]
LINETYPE [DRAIN_TABLE_LINED] uses SHAPE # [22] in the file [INFRA.shx]
LINETYPE [DRAIN_TABLE_UNLINED] uses SHAPE # [22] in the file [INFRA.shx]
LINETYPE [EX_BUILDING_LHS] uses SHAPE # [37] in the file [INFRA.shx]
LINETYPE [IJ] uses SHAPE # [64] in the file [INFRA.shx]
LINETYPE [EX_ROAD_EDGE_LHS] uses SHAPE # [67] in the file [SKM_INFRA.shx]
The following SHAPE FILE is loaded: [ltypeshp.shx]
The following SHAPE FILE is loaded: [ANZ.shx]
The following SHAPE FILE is loaded: [SKM_INFRA.shx]
The following SHAPE FILE is loaded: [INFRA.shx]

 

Hope that helps.

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 8 of 16
Anonymous
in reply to: BushW

Thanks Wendell,

 

I jumped onto another machine in the office and copied the whole fonts folder over to mine. And it works!!

 

Very excited.

 

Still confused how the template views correctly but that's autoCAD i guess.

 

Message 9 of 16
Anonymous
in reply to: Jay_B

how did you pull that list @Jay_B?

Message 10 of 16
Jay_B
in reply to: Anonymous

Using the FNDSHP.LSP by @rkmcswain .

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 11 of 16
Joe-Bouza
in reply to: Anonymous

Also Check the physical line type scale per object is 1. if the were set to something other it could make ya nuts

Joe Bouza
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 12 of 16
bob.gilman
in reply to: Anonymous

If you place the custom linetype out on a network drive. Then add the network location to the Support File Search Path.

Then when you update the linetypes everyone in the office will get hem.

 

Message 13 of 16
ugrin
in reply to: Anonymous

I have similar problem and tried everything on here or at least I think I tried everything but my fenceline1 type is still not showing properly in my drawing. Here is what I got...I opened my base drawing which is like my templet drawing and draw pline with fenceline1 style. at first it shows a continues line but after I do LTSCALE...MsLTSCALE etc. and regen it shows properly in my Base drawing then I copy the line I drew and past it in my problem drawing and that messes everything up. By that I mean is not showing properly again.I'm working on my laptop from home so I don't have to the server all my files are on OneDrive. Please help

Message 14 of 16
Anonymous
in reply to: ugrin

You don't have the same shape files in one drawing as the other. You probably need to reimport the linetypes in the other drawing.

Message 15 of 16
ugrin
in reply to: Anonymous

Where do you see and compare that? I'm Sorry still a nub. And can I and how copy shape files from one drawing to another ? Thanks

Message 16 of 16
Anonymous
in reply to: ugrin

Type "shape" and then "?".

usually shapes are brought in when you load linetypes but depends if you have custom linetypes. Then you will need the "shapename.shx" of your custom files.  Look into the lineytpes and see how they work. Shapes can't be loaded into drawings unless you compile them from a shape file.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report