See the top rated post in this thread. Click here

Results 1 to 5 of 5

Thread: First Lisp as a Drawing Setup Program - Series: Input Needed

  1. #1
    I could stop if I wanted to CEHill's Avatar
    Join Date
    2006-05
    Location
    TN
    Posts
    327
    Login to Give a bone
    0

    Default First Lisp as a Drawing Setup Program - Series: Input Needed

    GOAL: To craft a drawing setup routine for 2D-based drawing output that employs with user choices from preset custom styles, templates, system data via a set of dropdowns

    1ST QUESTION
    Besides considering the choice based on sheer volume of data as text strings, what are other the instances where it is beneficial to read data from external source files versus including this data in the main program?

    INITIAL SPECIFICATIONS
    So far, my specifications include user choices and reading system data for:

    • Type of template file (Architectural, Mechanical (machine design), Process Piping)
    • ANSI A, B and C sizes +ARCH D size Drawing Borders (Independent choice)
    • Types of Title Blocks (Based on template file choice)
      • Read and Write Both
        • User-selected (Drawing Version as Preliminary or As-built, Engineer Initial , Checker Initials) and
        • System Information (User login name to convert to Drafter Initials, Current Date)

    • Tolerance Block (Mechanical Only)
    • Printing Resource (All Preset Custom Options for Local Office only)
    • Scale


    At this point, it seems a daunting task. I do have many separate LISP examples as sources.

    FUTURE
    I understand that DOS LIB will be required for any additional directory-based coding as far as selecting and saving a file to a directory.


    Sincerely,

    Clinton E. Hill

  2. #2
    Member
    Join Date
    2018-07
    Posts
    13
    Login to Give a bone
    1

    Default Re: First Lisp as a Drawing Setup Program - Series: Input Needed

    Do you want to print ?

  3. #3
    I could stop if I wanted to CEHill's Avatar
    Join Date
    2006-05
    Location
    TN
    Posts
    327
    Login to Give a bone
    0

    Default Re: First Lisp as a Drawing Setup Program - Series: Input Needed

    Quote Originally Posted by shadashiindia770168 View Post
    Do you want to print ?
    Thanks for asking. I must clarify my request by relating that the phrase "2D-based drawing output" should not have been included.

    My plan is to create a LISP-based drawing setup routine that the user initiates after the CAD program is started.

    My question is: When is it desirable to use external data files to be used by a LISP program?

  4. #4
    All AUGI, all the time
    Join Date
    2003-07
    Posts
    555
    Login to Give a bone
    1

    Default Re: First Lisp as a Drawing Setup Program - Series: Input Needed

    Just me you can do a few scripts re the 1st step the templates so it opens the correct dwt. The scripts continue the process of loading a series of lisps that select sheet size, then title blocks.

    I would get out the pencils various colours and a bit of scrap paper, write down the steps change to same colour for same step ie select dwt. If you have flow chart software use it. It sounds like same process but with options, to me keep everything separate easier to insert title blocks etc than purge/remove.


    Our surveyors have 12 different layout sheets so just did a menu pick sheet item and it gets added to current dwg as a new layout. Not all are required for a project.

    sub dcl's is possible select options.
    Attached Images Attached Images

  5. #5
    I could stop if I wanted to CEHill's Avatar
    Join Date
    2006-05
    Location
    TN
    Posts
    327
    Login to Give a bone
    0

    Default Re: First Lisp as a Drawing Setup Program - Series: Input Needed

    Hey BIG-AL!

    I feel this is great advice partly due to the intimidating nature of putting all of this together. IOW, baby steps!
    In my experience at various places and in this particular environment, I find the modular approach, such as your point on keeping title blocks separate, is a solid approach.

    I will try it soon! Thanks again!

Similar Threads

  1. Lisp program needed
    By cadd4la in forum AutoLISP
    Replies: 2
    Last Post: 2019-05-02, 07:51 PM
  2. Replies: 2
    Last Post: 2018-10-04, 11:44 AM
  3. Request A How-To Series: Setup/Configuration of VS 2013 for AutoCAD
    By chillme1 in forum Bridging the Gap: LISP -> .NET -> LISP
    Replies: 1
    Last Post: 2014-02-16, 08:00 AM
  4. reactor based simple lisp program needed
    By rajat_bapi_mallick in forum AutoLISP
    Replies: 2
    Last Post: 2007-10-11, 10:21 PM
  5. K-Series and LH-Series Joist Member Styles
    By jcarlson.104676 in forum ACA General
    Replies: 1
    Last Post: 2006-02-04, 05:42 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
  •