+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 16
  1. #1
    Junior Member
    Using
    AutoCAD 2007
    Join Date
    Feb 2008
    Posts
    11

    Question creating a complex linetype with shape

    Registered forum members do not see this ad.

    I'm trying to create a linetpye .The line needs to be continuous with a solid(not hollow) circles at distances.This would be the same as FENCELINE1:

    *FENCELINE1,Fenceline circle ----0-----0----0-----0----0-----0--
    A,.25,-.1,[CIRC1,ltypeshp.shx,x=-.1,s=.1 ],-.1,1

    but with filled-in circles.for example circles should be hatched or colored.

    An image of desired linetype is attached.

    Any help would be great.Thanks in advance.
    Attached Images

  2. #2
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

    Default

    Shapes can't have a solid fill/hatch. You can simulate the fill with closely spaced lines.
    Or use text instead of a shape; e.g. use the font file Arial with the character \U+25CF

  3. #3
    Junior Member
    Using
    AutoCAD 2007
    Join Date
    Feb 2008
    Posts
    11

    Default

    Thanks a lot for your concern
    I could do this by drawing several circles with same center near each other, which resemble a filled circle as you said.Then I made a shape file of these using the menu Express>Tools>Make Shape , which gives *.shp and *.shx file.I called this file in a *.lin file and it worked

    I don't know enough to perform what you said about using fonts, cause I am not that familiar and I've not worked with fonts.

    Anyway it solved
    Last edited by arman88; 19th Feb 2008 at 02:10 pm.

  4. #4
    Full Member
    Using
    AutoCAD 2010
    Join Date
    Dec 2007
    Posts
    93

    Default

    Quote Originally Posted by lpseifert View Post
    Shapes can't have a solid fill/hatch. You can simulate the fill with closely spaced lines.
    Or use text instead of a shape; e.g. use the font file Arial with the character \U+25CF
    That doesn't seem to work.

    If I have this in my linetype file:
    *telephone,----O----O----
    A,200,-0,["\U+25CF",Arial,S=0.20,R=0.0,X=-0.1,Y=4],200,["\U+25CF",Arial,S=0.20,R=0.0,X=-0.1,Y=-12]
    The result is:

  5. #5
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2011
    Join Date
    Apr 2008
    Posts
    6,015

    Default

    Try this (uses Arial font):
    Code:
    ;*PROP-FENCE-CL,----0-----0----0-----0----0-----0-
    ;A,.476777,["\U+25CF",LT-P,y=-.0275,s=.06],.00197,-.037923
    DropBox | finding the light...
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

  6. #6
    Full Member
    Using
    AutoCAD 2010
    Join Date
    Dec 2007
    Posts
    93

    Default

    That gives me an error trying to load the linetype file:

    "Bad definition of PROP-FENCE-CL at line 142" (the second line from your code)

  7. #7
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2011
    Join Date
    Apr 2008
    Posts
    6,015

    Default

    Quote Originally Posted by ChrisCMU View Post
    That gives me an error trying to load the linetype file:

    "Bad definition of PROP-FENCE-CL at line 142" (the second line from your code)
    Because the textstyle doesn't exist. It's just a textstyle with Arial font. Just replace "LT-P" with "Arial".
    DropBox | finding the light...
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

  8. #8
    Full Member
    Using
    AutoCAD 2010
    Join Date
    Dec 2007
    Posts
    93

    Default

    so do I need to create a text style called LT-P with Arial as the font?

  9. #9
    Luminous Being alanjt's Avatar
    Using
    Civil 3D 2011
    Join Date
    Apr 2008
    Posts
    6,015

    Default

    Quote Originally Posted by ChrisCMU View Post
    so do I need to create a text style called LT-P with Arial as the font?
    or just replace it with Arial.

    Code:
    ;*PROP-FENCE-CL,----0-----0----0-----0----0-----0-
    ;A,.476777,["\U+25CF",ARIAL,y=-.0275,s=.06],.00197,-.037923
    DropBox | finding the light...
    Seann: ...it went crazy ex-girlfriend on me...
    eric_monceaux...its pretty funny seeing two AutoCAD Gods give each other flak...

  10. #10
    Super Moderator rkmcswain's Avatar
    Computer Details
    rkmcswain's Computer Details
    Operating System:
    Windows 7 Pro x64
    Motherboard:
    Intel DZ77RE-75K
    CPU:
    i7-3770K 3.50GHz
    RAM:
    32GB
    Graphics:
    Nvidia Quadro 2000
    Primary Storage:
    125GB SSD
    Secondary Storage:
    500GB SATA
    Monitor:
    ASUS 27" / ASUS 24"
    Discipline
    Civil
    Using
    Civil 3D 2013
    Join Date
    Sep 2005
    Location
    Houston
    Posts
    3,633

    Default

    Registered forum members do not see this ad.

    You can make all sorts of "text-based" linetypes with the various shapes that are in wingdings.ttf, webdings.ttf, etc. Here are a couple...

    dings.png

Similar Threads

  1. Complex Shape Design (AOTC)
    By Lazer in forum Autodesk Inventor
    Replies: 1
    Last Post: 16th Nov 2007, 09:06 pm
  2. creating complex linetypes
    By BUFF_dragon in forum AutoLISP, Visual LISP & DCL
    Replies: 8
    Last Post: 15th Jan 2007, 11:41 pm
  3. Replies: 2
    Last Post: 5th Oct 2006, 01:14 pm
  4. Using " in a complex linetype
    By Barry Clark in forum AutoCAD General
    Replies: 1
    Last Post: 2nd Aug 2006, 06:58 pm
  5. creating shape files are causing headaches
    By PETERHAY1 in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 1st Jul 2004, 02:14 pm

Bookmarks

Posting Permissions

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