See the top rated post in this thread. Click here

Results 1 to 3 of 3

Thread: Natural Language

  1. #1
    I could stop if I wanted to aaronic_abacus's Avatar
    Join Date
    2006-04
    Posts
    432
    Login to Give a bone
    0

    Default Natural Language

    Any ideas for Natural Language for autolisp?

    http://www.watsonlisp.com

    Artificial Intelligence for AutoCAD
    Find detail drawings by text and attribute content!
    6000 lines of code and and in development since 1997.
    Say goodbye to detail books.

  2. #2
    I could stop if I wanted to
    Join Date
    2003-07
    Posts
    452
    Login to Give a bone
    1

    Default Re: Natural Language

    Had a Google. I think what your getting at is the way the code is layed out, I am guilty of line after line no indentation. But then there is the problem of coders using the tab for indentation and code just disappears off to the right making it almost unreadable. The other one I find annoying sometimes is often in VL code 1 line per property then your trying to workout where a vl sub command ends the last line being )))))))

    I like 2 spaces for indentation.

    If this is not what you meant just ignore

    PS in development since 1980.

  3. #3
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Chelan WA
    Posts
    1,058
    Login to Give a bone
    0

    Default Re: Natural Language

    I have written Visual LISP without the Russian. So
    (vlax-put objItem "color" 1)
    becomes
    (colorput objItem 1)

    But the objItem could be handle, objectid, entitylist, ename, entityselection, vla-object

    I have lisp rewrite itself.

    It also has built in error trapping so if an argument causes and error it just returns nil instead of crashing the program.

    It is like on error resume next or try catch in vb.net

    Peter
    AutomateCAD

Similar Threads

  1. Reporte de perfil de terreno natural
    By rochdan in forum Español - AutoCAD Civil 3D
    Replies: 6
    Last Post: 2010-07-30, 10:19 PM
  2. Groups & Schedules - Natural Enemies
    By mjward1 in forum Revit Architecture - General
    Replies: 2
    Last Post: 2009-01-16, 03:50 PM
  3. line of Natural Slope
    By chipie088 in forum Revit Architecture - General
    Replies: 0
    Last Post: 2008-03-19, 11:25 AM

Posting Permissions

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