i have a simple fence line type with "x"s....if i draw the line straight up or to the right it looks perfect. but if i draw it anywhere to the left then the Xs are off centered. How can i correct this?
thanks
Solved! Go to Solution.
Solved by peterfunkautodesk. Go to Solution.
i know what you mean...i do have U=0.0 but thats not really the issue i'm having. here is an example...
the top one i drew from left to right.
the next one i drew from right to left,
the next from top to bottom
the next from bottom to top.
if i rotate that last one so that its pointing north east then it will look perfect.
here is my .lin file:
*FENCELINE,X
A,.5,-.2,["X",STANDARD,S=.05,U=0.0,X=-0.13,Y=-0.025],.05
I, personally, don't like using text X's for fence lines. I long ago created a shape to use instead.
*FENCEX,Fence with Xs
A,1.0,-0.09848,[FENCEX,FenceX,s=.05],-0.09848,1.0
Allen
Rename FenceX.txt to FenceX.shp if you want the shape file.
Allen Jessup
CAD Manager - Designer
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.
thanks....can you tell me how to add that new line type to acad? it doesnt seem to work the same as adding a .lin file.
(acad 2011)
Not sure what trouble you're having. You can either add that definition to your .lin file or put it in it's own FenceX.lin file and load it from there. The FenceX.shp file has to be somewhere in your search path. I tested it in 2012 and it worked there.
Allen
Allen Jessup
CAD Manager - Designer
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.
ok i understand now. i added it to the support folder and i was able to load it. but i'm still not sure how to use it.
OK.
*FENCEX,Fence with Xs
A,1.0,-0.09848,[FENCEX,FenceX,s=.05],-0.09848,1.0
Should be in either your Acad.lin, AeccLand.lin, your company standard .LIN file or a .LIN file by itself. The FenceX.txt file should be renamed FenceX.shx and put in your search path.
You should use the Linetype command and select Load from the upper right hand corner of the Linetype Manger dialog box. In the Load or Reload Linetypes dialog box select File in the upper left just to the right of the current .LIN file name. Unless that current name is where the new definition is. After the correct file has been selected, scroll through the selections in the lower pane of the Load or Reload Linetypes dialog box and select FENCEX, Then OK out of that dialog box. Now scroll through the selections in the lower pane of the Linetype Manger dialog box. FENCEX should show as a currently loaded linetype.
Now just use that as you would any other defined linetype.
Allen
Allen Jessup
CAD Manager - Designer
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.
what i'm confused about is the .lin and the FenceX.txt.....
i open text editor and paste:
*FENCEX,Fence with Xs
A,1.0,-0.09848,[FENCEX,FenceX,s=.05],-0.09848,1.0
and save it as fencex.lin, correct? so where does the FenceX.txt come from?
Attached to my original post is a file FencX.txt. The discussion group wont let me post a .SHX file so I renamed it to .TXT so I could post it.
Allen
Allen Jessup
CAD Manager - Designer
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.
I can't get this to work at all...
neilyj (No connection with Autodesk other than using the products in the real world)
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.
If either of you want to email me a jessupa at co.rockland.ny.us I'll send both files to you.
Attached is a file created in 2012 and saved to 2007 with the linetype shown in it.
Allen
Allen Jessup
CAD Manager - Designer
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.
I've reviewed the creation of custom linetypes from the 2012 help files. The only difference I see is that they now specify the the .SHX extension. Like this:
*FENCEX,Fence with Xs
A,1.0,-0.09848,[FENCEX,FenceX.shp,s=.05],-0.09848,1.0
I also see that in the original post I said to rename the the file to a .SHP file. It should be a .SHX file.
Allen
Allen Jessup
CAD Manager - Designer
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.
Still no luck - I'll try again tomorrow with fresh eyes...
neilyj (No connection with Autodesk other than using the products in the real world)
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.
you need to compile the shp file first.
In autocad type "Compile" (without the quotes) on the commandline
Locate and select the fencex.shp file and click open.
The command line should show this
"Compiling shape/font description file
Compilation successful. Output file D:\My Documents\Cad\AWP Cad Setup\Line Types\FenceX.shx contains 100 bytes."
Using windows explorer, copy the resulting FenceX.shx file into a folder in your support path.
Back in autocad, load the linetype from the FenceX.lin file.
Thanks Andrew that seems to have done the trick
neilyj (No connection with Autodesk other than using the products in the real world)
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.
no working for me at all. guess i'll have to give up.
but i appreciate all your help guys.
Have you tried the linetypes that ship with Civil 3D? There are two barbed wire fences in the AeccLand.lin linetype file that contain an "X" that stay centered in the line as the line is rotated.
Regards,
Peter Funk
Autodesk, Inc.
wow...the barbed wire line types in AeccLand.lin are perfect. had no idea they were there.
thanks so much.
Can't find what you're looking for? Ask the community or share your knowledge.