+ Reply to Thread
Results 1 to 9 of 9
  1. #1
    Junior Member
    Using
    AutoCAD 2004
    Join Date
    Jun 2007
    Posts
    14

    Default write script to make new line types

    Registered forum members do not see this ad.

    I have been trying to create some new line types for the office library here for fire ratings, fence lines, utilities etc. but am not succeeding at any rate. I am using the "-linetype" command to create a new line type. but when it comes to imputing data at the prompt screen, I attempt to insert a line type using the system which is described in the help menu, but I keep getting this "Invalid number or bad continuation." notification. Can i get some insight as to how I would impute my data here. An example may help. Just as if i was using a dashed line with 45min inserted into the line of x. EX: - 45min ---- 45min ---- 45min ---- or for fence lines ------ X ------ X ------ X --Thanks for any advice in advance.


    JATS101

  2. #2
    Super Moderator Strix's Avatar
    Using
    not applicable
    Join Date
    Nov 2005
    Location
    Sheffield UK
    Posts
    3,074

    Default

    did you have a good read of this thread before you asked?
    http://www.cadtutor.net/forum/showthread.php?t=14541

    does that solve the problem or is this going to be more complex?
    Find your new best friend at Rain Rescue

    If you are a good drafter, tech will help. If you are a bad drafter, nothing will help. - Jack_O'neill at CADTutor

  3. #3
    Junior Member
    Using
    AutoCAD 2004
    Join Date
    Jun 2007
    Posts
    14

    Default

    thanks, i did not see that post. that helps a lot

  4. #4
    Super Moderator Strix's Avatar
    Using
    not applicable
    Join Date
    Nov 2005
    Location
    Sheffield UK
    Posts
    3,074

    Default

    Glad it's sorted

    there seem to be a couple more versions of this thread too

    submitted for inclusion as a FAQ
    Find your new best friend at Rain Rescue

    If you are a good drafter, tech will help. If you are a bad drafter, nothing will help. - Jack_O'neill at CADTutor

  5. #5
    Full Member ascen707's Avatar
    Using
    AutoCAD 2006
    Join Date
    Jul 2007
    Location
    Vallejo,CA
    Posts
    50

    Default

    Here try this you can double click and open it and see how it looks, load it in CAD.
    if want to add more just copy paste below the fence and make a library of line types keep going down the line and change the fance name to what ever and the text between the dashes or what ever fits your needs.

    that's what i do at work, just save a copy for you.
    Attached Files
    Last edited by ascen707; 11th Jul 2007 at 08:42 pm. Reason: needed to correct my spelling.lol

  6. #6
    Junior Member
    Using
    AutoCAD 2004
    Join Date
    Jun 2007
    Posts
    14

    Default

    Hey again. I am looking to see if there is a way I can create a line type now using drawings with in the line type. The only way I could explain this would be to picture an example of a dash dot line type. now for example, say instead of a dot, i am trying to replace it with a happy face or bulls-eye or any little image drawn in cad. In attempting to use the express tools, i end up creating a long dash followed by two short dashes. Is it possible to create a line type in this manner?

  7. #7
    Super Moderator Strix's Avatar
    Using
    not applicable
    Join Date
    Nov 2005
    Location
    Sheffield UK
    Posts
    3,074

    Default

    thread bookmarked for FAQ (as it doesn't seem to have come up on the search last time )
    Find your new best friend at Rain Rescue

    If you are a good drafter, tech will help. If you are a bad drafter, nothing will help. - Jack_O'neill at CADTutor

  8. #8
    Super Moderator Cad64's Avatar
    Computer Details
    Cad64's Computer Details
    Operating System:
    Windows 7 Profesional x64
    Computer:
    XI Computers
    Motherboard:
    Asus P8Z77-V Pro
    CPU:
    Intel Core I7 3770K 4.1 Ghz Quad Core 3rd Gen
    RAM:
    8GB DDR3 @ 1333MHz
    Graphics:
    Nvidia GeForce GTX 570 1280MB GDDR5
    Primary Storage:
    SATAII 500GB 7200 RPM
    Secondary Storage:
    Western Digital My Book Studio Edition II - 2TB capacity
    Monitor:
    HPf2105 21" LCD Widescreen & Cintiq 21ux
    Discipline
    Multi-disciplinary
    Cad64's Discipline Details
    Occupation
    Freelance Digital Artist
    Discipline
    Multi-disciplinary
    Details
    In a nutshell, I create 3D models from the client's CAD files or design sketches, which I then use to produce high quality rendered images. Click on the link in my signature to view my portfolio. I'm always looking for work, so let me know if you need any renders. :)
    Using
    3ds Max 2011
    Join Date
    Feb 2006
    Location
    Southern California
    Posts
    8,485

    Default

    Quote Originally Posted by JATS101 View Post
    Hey again. I am looking to see if there is a way I can create a line type now using drawings with in the line type. The only way I could explain this would be to picture an example of a dash dot line type. now for example, say instead of a dot, i am trying to replace it with a happy face or bulls-eye or any little image drawn in cad. In attempting to use the express tools, i end up creating a long dash followed by two short dashes. Is it possible to create a line type in this manner?
    Explore the MKSHAPE and MKLTYPE Express Tools. You will find detailed instructions on these commands in the Express Menu help files. I created the Happy Face linetype below in just a few minutes.
    Attached Images
    "Work Smart, Not Hard"

    Click to View My Portfolio ( Updated 05/21/2013 ) --->
    http://www.rdeweese.com/

  9. #9
    Junior Member
    Using
    AutoCAD 2004
    Join Date
    Jun 2007
    Posts
    14

    Default

    Registered forum members do not see this ad.

    thanks, that works great, i had seen some info on mkshape and got it to work. thanks again

Similar Threads

  1. Creating New Line Types
    By happyunited in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 11th Oct 2006, 08:36 pm
  2. Line Types
    By Gadget in forum AutoCAD General
    Replies: 3
    Last Post: 4th Oct 2006, 09:27 am
  3. doubts in write-line thru lisp
    By vivekgrs in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 7th Aug 2006, 09:27 am
  4. Line Types
    By cadaholic in forum AutoCAD Beginners' Area
    Replies: 8
    Last Post: 4th Jul 2005, 07:55 pm
  5. circles/line types
    By daviddodda in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 25th Sep 2004, 07:07 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