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: 

Linetype Mystery

32 REPLIES 32
SOLVED
Reply
Message 1 of 33
daryl.riggins
5000 Views, 32 Replies

Linetype Mystery

Hi Folks,

Our office has a mystery involving a linetype, specifically a treeline type. I've attached a screenshot of the issue. What you'll see there is a polyline that is displaying as dots that should be displaying as a series of half circles. The desired linetype is also in the screenshot, displaying correctly, which is coming from an xref drawing.

When working in the xref drawing, the linetype works as expected. No problems.

When working in the active drawing, the linetype appears as dots.

We have purged the problem linetype and then brought it back in with the same results.

We've also copied the linetype from the xref drawing into the current drawing. Same results.

In my research, I'm suspicious that the shapes that are used to create this linetype are somehow wacky or improperly defined in the current drawing. So, when AutoCAD attempts to display the half-circle shapes, they don't appear. I'm pretty fuzzy on how to verify this theory or correct the problem, if that is the issue.

Any insight or suggestions would be most welcome!

---
Daryl Riggins, PE
32 REPLIES 32
Message 2 of 33
Jay_B
in reply to: daryl.riggins

Try enabling linetype generation using the LTGEN option in PEDIT command or at the bottom of Properties Palette with

the problem Polylines selected > Linetype Generation > Enabled.

 

We have a similar Tree Linetype here and short segment polylines can appear as dots if Linetype Generation is off/disabled.

 

Another possibility is improper Linetype scale system variable settings.

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 3 of 33
daryl.riggins
in reply to: Jay_B

Jay,

 

I've never paid attention to LTGEN before. I selected the problem polyline, enabled LTGEN and then did a regen of the drawing. No change.

 

---
Daryl Riggins, PE
Message 4 of 33
Jay_B
in reply to: daryl.riggins

Daryl,

 

Do the following Setting Variables match in both the current dwg and xref dwg, using the listed values?

 

Also does the Model Space scale of Xref match the Viewport scale?

 

LTSCALE=1

PSLTSCALE=1

MSLTSCALE=1

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 5 of 33
daryl.riggins
in reply to: Jay_B

Jay,

 

LTSCALE, PSLTSCALE AND MSLTSCALE are all set to 1 for both the active drawing and the xref.

 

---
Daryl Riggins, PE
Message 6 of 33

Are you possibly missing a shape file for the line type?  Upon loading the drawing did you get a warning about a missing .shx file?

John Gordon
CAD Manager/Survey Technician

C3D 2018/2020
Microstation
Windows 10
Message 7 of 33
doni49
in reply to: daryl.riggins

Is this a survey figure created from survey points?  We had a similar issue -- the linetype wouldn't display properly per the ltscale.  But once the featureline was set to use one z elevation throughout, it worked fine.

 

C3DTreelineSetting.png

 



Don Ireland
Engineering Design Technician




If a reply solves your issue, please remember to click on "Accept as Solution". This will help other users looking to solve a similar issue. Thank you.


Please do not send a PM asking for assistance. That's what the forums are for. This allows everyone to benefit from the question asked and the answers given.

Message 8 of 33
daryl.riggins
in reply to: doni49

Don,

 

That's interesting, but no, it's not a survey figure. It's a simple 2D polyline.

 

---
Daryl Riggins, PE
Message 9 of 33

John,

 

Upon load, these two lines repeat about 30-40 times:

Substituting [simplex.shx] for [OA_Edina.shx].
Substituting [simplex.shx] for [OA_2007.shx].

 

There is not a warning other than those lines.

 

I'm suspicious this situation is due to something amiss with shape files. How could it be that the linetype works in one drawing, but not the other? How could I be certain that the shapes needed by this linetype are in the right place?

---
Daryl Riggins, PE
Message 10 of 33
Jay_B
in reply to: daryl.riggins

These Linetype display issues can be tough without seeing all related files and options settings.

 

If you draw a new line in the layout drawing using this tree linetype does it display correctly?

 

If a scaling issue, there could also be an object level Linetype Scale override applied which can be checked in properties palette.

 

A 3d Polyline of differing Z values could also cause to display incorrectly.

 

To see the available custom linetype shapes available try SHAPE @ command line > ? > Enter > Enter shape name(s) to list <*>: > Enter.

 

All available Ltype shapes in the drawing are listed here (including the path where found) unless a standard Acad support location.

Ie: Ltypeshp.shx may not have a path as it comes with Autocad.

 

Any file path's listed here should also appear in Options > Files tab > Support File Search Path.

 

Assuming your using the same Acad profile the available shapes should be the same list in dwg & in xref.

 

 

C3D 2018.1
C3D 2016 SP4

Win 7 Professional 64 Bit
Message 11 of 33
daryl.riggins
in reply to: Jay_B

Jay,

 

New lines drawn in the current drawing do not display correctly. They show as dots.

 

Checked object level scale and it's set to 1.

 

The incorrect lines are 2D polylines.

 

Before I go hunting for shapes, is there a way to identify the shape in my linetype that should be displaying?

 

 

 

---
Daryl Riggins, PE
Message 12 of 33
Jeff_M
in reply to: daryl.riggins

Daryl, can you post the drawing?
Jeff_M, also a frequent Swamper
EESignature
Message 13 of 33
jmayo-EE
in reply to: daryl.riggins

If you are using 2012 you will need all of the service packs installed. One of them has a fix for complex linetypes. The issue is noticeable with the linetype definition found in the old LDD files. Aeccland.lin and Aeccland.shx

John Mayo

EESignature

Message 14 of 33
daryl.riggins
in reply to: jmayo-EE

John,

Thanks for the tip. I'm using 2011.
---
Daryl Riggins, PE
Message 15 of 33
daryl.riggins
in reply to: Jeff_M

I have created a drawing with the offending polyline. The attached drawing was created with wblock beginning with my drawing of interest.

 

---
Daryl Riggins, PE
Message 16 of 33
Neilw_05
in reply to: daryl.riggins

What happens if you copy the tree polyline from the "good" file into the "bad" file?
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 17 of 33
daryl.riggins
in reply to: Neilw_05

Good question. We've tried that approach and the linetype turns into dots.
So, the known good linetype appears to take on the bad definition.
---
Daryl Riggins, PE
Message 18 of 33
Neilw_05
in reply to: daryl.riggins

What happens if you copy the line into a new clean/purged empty file?
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 19 of 33
tcorey
in reply to: daryl.riggins

I don't know if this is gonna help you, Daryl, but I had a client send in a file where the linetype was not displaying properly. It ended up they had some text styles referring to the shx file that held the shapes for the linetypes. Changing those styles so that they were looking at actual font shx files made the difference. It's a shot in the dark, but will only take you a minute to take a look.

 

Best regards,

 

Tim



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 20 of 33
rl_jackson
in reply to: tcorey

Myself I have gotten to the point were I just code a ttf shpe into the linetype, just so that I dont have to use shape files at all. Ship a drawing to some one they got I need the shape file.  Make it native and your golden. Its not like Windows is going away any time soon.

 

BTW: I have had issues were no matter where the shapefile is ACAD (C3D not tyring to lay blame)  would not read the location NO MATTER WHATSmiley Mad


Rick Jackson
Survey CAD Technician VI

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

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

Post to forums  

Rail Community


Autodesk Design & Make Report