## AutoCAD Civil 3D General Discussion

Distinguished Contributor
Posts: 159
Registered: ‎07-21-2009
Message 1 of 21 (438 Views)

# Why does my linetype change if i rotate passed 180 degrees?

438 Views, 20 Replies
11-01-2012 09:53 AM

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

*Expert Elite*
Posts: 2,768
Registered: ‎04-27-2005
Message 2 of 21 (433 Views)

# Re: Why does my linetype change if i rotate passed 180 degrees?

Look in your linetype definition and see if it has a "u=0.0" value in it. THIS post explains what I'm talking about.

Brian Hailey
My Blog
Distinguished Contributor
Posts: 159
Registered: ‎07-21-2009
Message 3 of 21 (428 Views)

# Re: Why does my linetype change if i rotate passed 180 degrees?

11-01-2012 10:26 AM in reply to: BrianHailey

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

*Expert Elite*
Posts: 5,839
Registered: ‎05-21-2003
Message 4 of 21 (423 Views)

# Re: Why does my linetype change if i rotate passed 180 degrees?

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.

Distinguished Contributor
Posts: 159
Registered: ‎07-21-2009
Message 5 of 21 (408 Views)

# Re: Why does my linetype change if i rotate passed 180 degrees?

11-01-2012 11:50 AM in reply to: AllenJessup

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.

*Expert Elite*
Posts: 5,839
Registered: ‎05-21-2003
Message 6 of 21 (403 Views)

# Re: Why does my linetype change if i rotate passed 180 degrees?

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

Distinguished Contributor
Posts: 159
Registered: ‎07-21-2009
Message 7 of 21 (400 Views)

# Re: Why does my linetype change if i rotate passed 180 degrees?

11-01-2012 11:57 AM in reply to: AllenJessup

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.

*Expert Elite*
Posts: 5,839
Registered: ‎05-21-2003
Message 8 of 21 (390 Views)

# Re: Why does my linetype change if i rotate passed 180 degrees?

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

Distinguished Contributor
Posts: 159
Registered: ‎07-21-2009
Message 9 of 21 (381 Views)

# Re: Why does my linetype change if i rotate passed 180 degrees?

11-01-2012 12:27 PM in reply to: AllenJessup

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?

*Expert Elite*
Posts: 5,839
Registered: ‎05-21-2003
Message 10 of 21 (378 Views)

# Re: Why does my linetype change if i rotate passed 180 degrees?

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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.