See the top rated post in this thread. Click here

Results 1 to 2 of 2

Thread: Script that will insert a .dwt from Design Center

  1. #1
    I could stop if I wanted to cadd4la's Avatar
    Join Date
    2001-12
    Location
    Newport Beach, CA
    Posts
    399
    Login to Give a bone
    0

    Default Script that will insert a .dwt from Design Center

    Hello everyone,

    I'm looking to get some help writing a script that will insert a .dwt from the design center, run a lisp program, and then save the file.

    Code:
    _adcnavigate;T:/04-CAD_Custom_Files/04-01_Templates/TDS_LBase-Ext.dwt";
    ztds-96set
    ;
    save
    The only part I can get to run from the code is the lisp problem and I get "Unknown command "DWT". Press F1 for help".

    Thanks,

    Cadd4la

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    1

    Default Re: Script that will insert a .dwt from Design Center

    No idea what you're trying to do with the lisp but I've used the ADCNAVIGATE in macros for years.
    Never used it with a template file though. Try saving it as a drawing and using it instead.
    Code:
    ^C^C^P(command "adcnavigate" "C:/Blocks/legend.dwg")
    works for me.

Similar Threads

  1. design center "autodesk seek design content" banner in the way
    By anton.taljaard in forum AutoCAD General
    Replies: 5
    Last Post: 2011-06-10, 11:58 PM
  2. Insert Layouts with Design Center
    By rsnider53 in forum AutoCAD General
    Replies: 3
    Last Post: 2007-04-03, 11:17 AM
  3. Custom Insert button with Script causes Fatal Error
    By AutoTAD in forum AutoCAD Customization
    Replies: 1
    Last Post: 2006-07-16, 03:18 AM
  4. Design Center and DWT
    By lallemandja in forum AutoCAD Wish List
    Replies: 7
    Last Post: 2005-05-20, 03:33 PM

Tags for this Thread

Posting Permissions

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