+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
  1. #1
    Junior Member
    Using
    AutoCAD 2012
    Join Date
    Mar 2012
    Posts
    19

    AutoCAD Custom Linetype not displaying in other PCs!!!

    Registered forum members do not see this ad.

    I have created a custom linetype using shape for Plugmold like this _____ / / _____
    Its works in my PC. But when others open it from their
    PC it shows like this ____ . . . . . ___.

    Is there a way to solve this problem?

  2. #2
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,786

    Default

    You must have the custom linetype on all pc's for it to be visible, if sent to somewhere else you need to attach also or etransmit will do it all for you
    A man who never made mistakes never made anything

  3. #3
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    3,004

    Default

    A simple linetype definition (based only on description in a LIN file) will be contained in the drawings, so there are no issues when drawing is accessed on other computer. Seems that your definition is using an associated shape file, so that, as BIGAL also stated, must be shipped along DWG file.

    Not sure if there is more of that linetype than you shown above, but wouldn't a simple definition help?
    Code:
    *FOLIO_TEST,Folio test linetype _____ // _____ // _____ // _____
    A,.7,-.15,["//",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.01],.1
    Regards,
    Mircea

    AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3

  4. #4
    Super Member irneb's Avatar
    Computer Details
    irneb's Computer Details
    Operating System:
    Win7 Pro 64bit
    Computer:
    Antec One Hundred
    Motherboard:
    ASUS P8P67-Pro P67
    CPU:
    Intel i7 2600 @ 3.4GHz
    RAM:
    16GB-1600MHz
    Graphics:
    GeForce GT 430 (1GB)
    Primary Storage:
    Seagate1TB SATA2 - 7200rpm
    Monitor:
    Samsung 2333TN 23" 1920 x 1080 Full HD LCD Monitor2GW
    Discipline
    Architectural
    irneb's Discipline Details
    Occupation
    Architectural Technician and Programmer
    Discipline
    Architectural
    Using
    AutoCAD 2013
    Join Date
    Sep 2010
    Location
    Jo'burg SA
    Posts
    1,634

    Default

    I'm with Mircea on this. If you make a complex linetype (i.e. one which includes shapes) ... try everything you can to use some character/shape from the default SHX files installed with ACad. Otherwise you keep running into this situation where linetypes display differently on different PC's.

    The eTransmit idea could solve this (for external parties), but inhouse you'd need to "share" your custom SHX with everyone (either a shared folder or copied to each PC). Even with eTransmit I've found many would simply open the ZIP and double click the DWG file to open it - this would not extract the SHX and thus the linetype would still not work properly. Unfortunately eTransmits are meant for external parties, so you can't say this is simply a training issue (i.e. enforce extract all from ZIP into folder before opening DWG).

    So for both those reasons, you need to have an extremely strange shape to deal with if you need your own custom SHX. Note you can combine 2 or more shapes on top of each other to make up "strange" shapes instead of making a custom SHX. E.g. this uses the "O" and "X" characters from the Standard text style placed over each other to form an approximation of "":
    Code:
    *OX_OVER,OX Overwritten line ---- OX ---- OX ---- OX ----
    A,12.7,-5.08,["X",STANDARD,S=2.54,U=0.0,X=-2.54,Y=-1.27],0.0,["O",STANDARD,S=2.54,U=0.0,X=-2.70,Y=-1.27],-3.47
    Instead of using a UniCode font (e.g. The Arial Unicode is not installed by defaullt and if you include it in an eTransmit the TTF file is 22MB just for the one character you'll use - instead of the ANSI version which is always installed and only 778kB - I'm sure people will hate you if all your eTransmits are at least 22MB).
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  5. #5
    Super Member irneb's Avatar
    Computer Details
    irneb's Computer Details
    Operating System:
    Win7 Pro 64bit
    Computer:
    Antec One Hundred
    Motherboard:
    ASUS P8P67-Pro P67
    CPU:
    Intel i7 2600 @ 3.4GHz
    RAM:
    16GB-1600MHz
    Graphics:
    GeForce GT 430 (1GB)
    Primary Storage:
    Seagate1TB SATA2 - 7200rpm
    Monitor:
    Samsung 2333TN 23" 1920 x 1080 Full HD LCD Monitor2GW
    Discipline
    Architectural
    irneb's Discipline Details
    Occupation
    Architectural Technician and Programmer
    Discipline
    Architectural
    Using
    AutoCAD 2013
    Join Date
    Sep 2010
    Location
    Jo'burg SA
    Posts
    1,634

    Default

    Sorry, the above should be changed to use Relative rotation instead of Upright rotation. Otherwise if the line goes from right-to-left the O and X do not align correctly. So the linetype should look like this instead (changes marked in red):
    Code:
    *OX_OVER,OX Overwritten line ---- OX ---- OX ---- OX ----
    A,12.7,-5.08,["X",STANDARD,S=2.54,R=0.0,X=-2.54,Y=-1.27],0.0,["O",STANDARD,S=2.54,R=0.0,X=-2.70,Y=-1.27],-3.47
    Note values calculated for ISO in mm ... if you need it for Imperial in Inches divide each length and scale value by 25.4. (affected values marked in green)
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

  6. #6
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    3,004

    Default

    Using "R" instead of "U" key will also ensure compatibility with older releases of AutoCAD where the last one isn't supported.
    Regards,
    Mircea

    AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3

  7. #7
    Senior Member nod684's Avatar
    Computer Details
    nod684's Computer Details
    Operating System:
    Windows 7 Home
    Discipline
    Architectural
    Using
    AutoCAD 2010
    Join Date
    Jul 2012
    Location
    Singapore
    Posts
    232

    Default

    That's because other pc's don't have the shape that you used
    "Memories fade but the scars still linger...."

  8. #8
    Junior Member
    Using
    AutoCAD 2012
    Join Date
    Mar 2012
    Posts
    19

    Default

    When I etransmit the file , I see the shx file attached. But when I open the cad file in other pcs, the linetype that was assigned does not display.

    A simple linetype definition (based only on description in a LIN file) will be contained in the drawings, so there are no issues when drawing is accessed on other computer. Seems that your definition is using an associated shape file, so that, as BIGAL also stated, must be shipped along DWG file.

    Not sure if there is more of that linetype than you shown above, but wouldn't a simple definition help?

    Code:
    *FOLIO_TEST,Folio test linetype _____ // _____ // _____ // _____ A,.7,-.15,["//",STANDARD,S=.1,R=0.0,X=-0.1,Y=-.01],.1

    Regards,
    Mircea

    If I use this code, when I etransmit will it be attached? Or will I have to seperately attach. Im confused!!

  9. #9
    Forum Deity MSasu's Avatar
    Discipline
    Construction
    MSasu's Discipline Details
    Occupation
    engineer
    Discipline
    Construction
    Details
    AutoLISP programmer
    Using
    AutoCAD 2013
    Join Date
    Mar 2009
    Location
    Brasov, Romania
    Posts
    3,004

    Default

    If you want to use that linetype definition you need to append the code above to your acad.lin or acadiso.lin file. After save the file call LINETYPE command and load it. Once loaded in a drawing it will be embedded inside it and therefore don't need to pay attention to ship along. Just try to use it in a drawing, save it and open it on other workstation.

    By the way, below each post there is a "Quote" button that should be used to embed into your replay someone's message.
    Regards,
    Mircea

    AutoCAD's happy user equation: FILEDIA + PICKADD² + PICKFIRST = 3

  10. #10
    Junior Member
    Using
    AutoCAD 2012
    Join Date
    Mar 2012
    Posts
    19

    Default

    Registered forum members do not see this ad.

    Thank you Mircea!
    I have one more question, when I assign the linetype and when it loadsin the drawing with linetype scale 1 the shape ____ / / ____ is really big. How do I scale it down but keeping the linetype scale as 1?

Similar Threads

  1. Batting linetype not displaying correctly
    By Vaughn in forum AutoCAD General
    Replies: 4
    Last Post: 8th Sep 2010, 07:41 pm
  2. Custom Linetype
    By SstennizZ in forum AutoLISP, Visual LISP & DCL
    Replies: 6
    Last Post: 11th Apr 2008, 09:17 pm
  3. Help with Custom Linetype
    By edh in forum AutoCAD General
    Replies: 11
    Last Post: 1st Nov 2007, 07:17 pm
  4. Linetype not displaying in 1 file - local setting?
    By Simo in forum AutoCAD Drawing Management & Output
    Replies: 6
    Last Post: 21st Jun 2007, 12:47 am
  5. Custom Linetype
    By erona in forum AutoCAD Drawing Management & Output
    Replies: 7
    Last Post: 30th May 2005, 04:08 am

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