Results 1 to 2 of 2

Thread: Load Linetypes w/ Vlisp

  1. #1
    Jonathan Guest

    Load Linetypes w/ Vlisp

    To the Experts:

    How does one load linetypes from a *.lin file, with visual lisp?

    Thanks.

  2. #2
    Join Date
    Jul 2005
    Posts
    31
    Quote Originally Posted by Jonathan
    To the Experts:

    How does one load linetypes from a *.lin file, with visual lisp?

    Thanks.
    Hi Jonathan,are you want load linetype,here my code to load alls load

    Code:
    ; ltl is stand for line type load
    ;        Design by ade suharna <mteybid@yuasabattery.co.id>
    ;        14 April 2005
    ;        Program no.227/04/2005
    ;        Edit by Adesu  30/09/2005      1).
    ;                       17/10/2005      2).
    (defun c:ltl (/ lin)
      (setq lin "C:/Program Files/AutoCAD 2004/Support/acad.lin")  ; for acad 2004
      ;(setq lin "c:/Auto Cad 2000/support/acad.lin")              ; for acad 2000
      (setq ltyp "dashed")                                         ; 2).
      (if                                                          ; 1).
        (not (tblsearch "ltype" ltyp))                             ; 1).
        (command "_linetype" "l" "*" lin "")
        (alert (strcat "\nStyle name of " ltyp " still exist"))    ; 1).
        )
      (princ)
      )

Similar Threads

  1. Merge Linetypes
    By Yuriy in forum AutoCAD
    Replies: 0
    Last Post: 11-09-2005, 01:10 AM
  2. Merge Linetypes
    By Yuriy in forum Drafting
    Replies: 1
    Last Post: 11-08-2005, 04:09 PM
  3. Replies: 0
    Last Post: 09-23-2005, 12:05 AM
  4. Custom Linetypes with Text
    By monksjm in forum AutoCAD
    Replies: 0
    Last Post: 01-24-2005, 11:49 AM
  5. Extracting Linetypes from Drawing
    By Matt White in forum Customization
    Replies: 1
    Last Post: 01-20-2005, 07:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum