Load linetype file in autocad 2014 and I get bad definitions on a couple. Load they exact same file in civil 3d 2014 and all linetypes load fine and work correctly. It looks like all the support files are pointing to the same folders for both.
Does Plain Autocad read linetypes and shapes different that Civil3d?
Thanks,
Todd
Solved! Go to Solution.
Solved by tworzella. Go to Solution.
Solved by mathewkol. Go to Solution.
You're certain the support folder are the same? it sounds very much like AutoCAD is not finding a custom SHX file. In C3D, type (findfile "MyFile.shx") replace MyFile with an SHX file you know is referenced in the LIN file. Then do the same thing in AutoCAD. This piece of code will tell you if/where the file has been found. They should be in the same place.
Also, make sure AutoCAD ius loading the exact same LIN file. Use TYPE and load the file manually.
@tworzella wrote:
Does Plain Autocad read linetypes and shapes different that Civil3d?
As @mathewkol says, no.
Also, make sure you try your testing in a new empty drawing, right after a restart - to make sure no other shape files have been loaded at that point. It's unlikely, but possible that you have two different shape files with the same name in different locations.
So in AutoCAD, type in SHAPE, then ?, then <enter>
Does it list the shape "BOX" under the file AECCLAND.SHX?
(It should list the loaded shape files and the available shapes in them, example below.)
Available shapes: File: ltypeshp.shx TRACK1 ZIG BOX CIRC1 BAT AMZIGZAG
I don't know how that def is working without a pen down assignment just before the shape. Here's an example that works with a shape.
*STORM,Storm Sewer
A,0,-.1,[EQUAL,EQUAL,s=.1],-.1
From Help
Each linetype is defined on two lines in a linetype definition file. The first line contains the linetype name and an optional description. The second line is the code that defines the actual linetype pattern.
The second line must begin with the letter A (alignment), followed by a list of pattern descriptors that define pen-up lengths (spaces), pen-down lengths (dashes), and dots. You can include comments in an LIN file by beginning the line with a semicolon (;).
John Mayo
I use those LDD shapes to and they all work in 2014. Your def also worked without issue. I would confirm as stated above that the shx file is in one of the support paths. Also confirm the file size in both installation paths is the same.
John Mayo