See the top rated post in this thread. Click here

Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Custom linetype with "C" in it, representing a circle

  1. #1
    Member
    Join Date
    2006-07
    Location
    Home
    Posts
    31
    Login to Give a bone
    0

    Default Custom linetype with "C" in it, representing a circle

    Hello!
    I'm trying to create a line with a circle in it. In fact it's half a circle.
    It looks something like this _______C_______C_______.
    The "C" stands for the circle.
    The lines must start from the center of the semicircle on the left and end on the middle of the semicircle on the right.
    Any ideas will help, as I don't have any.

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: Custom linetype with "C" in it, representing a circle

    What version of AutoCAD are you using?

    If a recent release, look at the MKSHAPE and MKLTYPE commands. The linetype you want will require using a shape.

    All the information you need to manually create linetypes can be found in the customization guide included with AutoCAD.

    Here are some links to more detailed help:

    http://worldcadaccess.typepad.com/bl...utocad_co.html
    http://aec.cadalyst.com/aec/article/....jsp?id=100844

    If all that seems a bit much, take a look at: http://www.autodsys.com/autoline.html for some ready made solutions.

    If you hang around a bit, I bet some more helpful links will be posted too.
    R.K. McSwain | CAD Panacea |

  3. #3
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Custom linetype with "C" in it, representing a circle

    Hi

    For some additional information on Custom Linetypes, try THIS post.

    Plus, try plugging the following search criteria into the forum search facility ( hint - maybe limit your search to this actual forum ie AutoCAD Customization )...

    Key Word(s): Custom + *Linetype*

    Have a good one, Mike

  4. #4
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,508
    Login to Give a bone
    0

    Talking Re: Custom linetype with "C" in it, representing a circle

    Quote Originally Posted by voineavlad
    Hello!
    I'm trying to create a line with a circle in it. In fact it's half a circle.
    It looks something like this _______C_______C_______.
    The "C" stands for the circle.
    The lines must start from the center of the semicircle on the left and end on the middle of the semicircle on the right.
    Any ideas will help, as I don't have any.
    I know there are newer, fancier ways to do this but,
    here's the linetype you asked for.
    Using the code from the acad.lin file you can manipulate and create new linetypes.
    The problem is if it's for an office-wide use, everyone will need this.
    You can copy and paste this in your acad.lin file and you can load it like any linetype.

    Code:
    *CIRCLE_LINE,Circle line ---- C ---- C ---- C ----
    A,.5,-.18,["C",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],-.08
    Ted

  5. #5
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,508
    Login to Give a bone
    0

    Default Re: Custom linetype with "C" in it, representing a circle

    This is only a linetype using the letter "C".
    But if you need actual geometry like a half circle this probably won't help.

    I think it can be manipulated so the line come from the center of the circle, I'll check it out and get back to you.

    Ted

  6. #6
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,508
    Login to Give a bone
    0

    Thumbs up Re: Custom linetype with "C" in it, representing a circle

    Quote Originally Posted by tedg
    This is only a linetype using the letter "C".
    But if you need actual geometry like a half circle this probably won't help.

    I think it can be manipulated so the line come from the center of the circle, I'll check it out and get back to you.

    Ted
    Ok, this may not be what your looking for but I thought I'd post it anyway.
    It's the linetype code I posted before, but the left line touches the left of the "C" and 'starts' at the opening of the "C". If you had a font that the "C" was more like a semicircle, you could create a text style for it and change the "standard" in the code to "your-style-name". Or you could assign that font to textstyle "standard".

    Code:
    *CIRCLE_LINE,Circle line ---- C ---- C ---- C ----
    A,.2,-.09,["C",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.05],.10
    ..or maybe i just made it more complicated than it needs to be..
    anywho,

    good luck.

    Ted

  7. #7
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,805
    Login to Give a bone
    0

    Default Re: Custom linetype with "C" in it, representing a circle

    Keep in mind whenever you use complex linetypes defined with styles, that the style must exist, the fixed text height must be 0 (zero), and the font must be known. Any changes to these items and you will get unexpected results.
    R.K. McSwain | CAD Panacea |

  8. #8
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,508
    Login to Give a bone
    0

    Default Re: Custom linetype with "C" in it, representing a circle

    Quote Originally Posted by rkmcswain
    Keep in mind whenever you use complex linetypes defined with styles, that the style must exist, the fixed text height must be 0 (zero), and the font must be known. Any changes to these items and you will get unexpected results.
    Good point.
    You would need to make sure the text style is looking for a font everyone would have or is in your company standards, and that it's height is set to zero.

    When playing with this code I had "romans.shx" assigned to the style "standard" (acad default style) and the height is at zero.

    Anything about the style will show up on the linetype: oblique, upside down, etc.

  9. #9
    Member
    Join Date
    2006-07
    Location
    Home
    Posts
    31
    Login to Give a bone
    0

    Default Re: Custom linetype with "C" in it, representing a circle

    Thanks a lot guys.

    I'm still trying to get it to work.
    I also have some "little" problems as I'm working on 2007 LT.

    Vlad

  10. #10
    100 Club intergrupocr's Avatar
    Join Date
    2006-02
    Posts
    116
    Login to Give a bone
    1

    Default Re: Custom linetype with "C" in it, representing a circle

    Quote Originally Posted by voineavlad
    Hello!
    I'm trying to create a line with a circle in it. In fact it's half a circle.
    It looks something like this _______C_______C_______.
    The "C" stands for the circle.
    The lines must start from the center of the semicircle on the left and end on the middle of the semicircle on the right.
    Any ideas will help, as I don't have any.
    As rkmcswain said, you can make your own line type, first make a shape with MKSHAPE of your circle, then, draw a portion of your desired line and use MKLTYPE.

    Attached you can find a little example.

    Feel free to comment!!

    Regards!!
    Attached Files Attached Files

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 2015-02-05, 07:28 PM
  2. 2013: Rated "Linetype" Symbol Array Issues
    By 58D Pilot in forum Revit Architecture - Families
    Replies: 5
    Last Post: 2013-11-26, 09:21 PM
  3. 2013: crosshair flashes the windows "thinking circle"
    By g.johnston222936339 in forum AutoCAD Civil 3D - General
    Replies: 2
    Last Post: 2013-04-09, 07:16 PM
  4. Replies: 0
    Last Post: 2012-06-06, 11:54 AM
  5. ENTIDADES EN ALIGNMENT COMO "FIXED", "FLOTING" y "FREE"
    By cadia in forum AutoCAD Civil 3D - General
    Replies: 1
    Last Post: 2009-02-01, 04:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •