• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD Civil 3D

    Reply
    Distinguished Contributor
    Posts: 138
    Registered: ‎07-21-2009
    Accepted Solution

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

    303 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

    Please use plain text.
    *Expert Elite*
    BrianHailey
    Posts: 2,391
    Registered: ‎04-27-2005

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

    11-01-2012 10:11 AM in reply to: cadman33619

    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.

    Please use plain text.
    Distinguished Contributor
    Posts: 138
    Registered: ‎07-21-2009

    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

    Please use plain text.
    *Expert Elite*
    AllenJessup
    Posts: 4,617
    Registered: ‎05-21-2003

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

    11-01-2012 10:55 AM in reply to: cadman33619

    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.

    Please use plain text.
    Distinguished Contributor
    Posts: 138
    Registered: ‎07-21-2009

    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.

    (acad 2011)

    Please use plain text.
    *Expert Elite*
    AllenJessup
    Posts: 4,617
    Registered: ‎05-21-2003

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

    11-01-2012 11:55 AM in reply to: cadman33619

    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

    Please use plain text.
    Distinguished Contributor
    Posts: 138
    Registered: ‎07-21-2009

    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.

    Please use plain text.
    *Expert Elite*
    AllenJessup
    Posts: 4,617
    Registered: ‎05-21-2003

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

    11-01-2012 12:17 PM in reply to: cadman33619

    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

    Please use plain text.
    Distinguished Contributor
    Posts: 138
    Registered: ‎07-21-2009

    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?

    Please use plain text.
    *Expert Elite*
    AllenJessup
    Posts: 4,617
    Registered: ‎05-21-2003

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

    11-01-2012 12:33 PM in reply to: cadman33619

    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

     

     

    Please use plain text.