Results 1 to 4 of 4

Thread: AU2006 LISP Table Magic

  1. #1
    Past Vice President peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu Hawaii
    Posts
    574

    Default AU2006 LISP Table Magic

    Hey Group,

    I just wanted to mention that I had a good response to my class at AU2006.

    The course title was LISP Table Magic.

    Do you ever want to create tables with LISP? Bill of materials? etc...

    I wrote a series of functions that create and populate tables on the fly.

    If anyone is interested, I can post the code here.

    Peter

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    6,836

    Default Re: AU2006 LISP Table Magic

    That would be great, Peter. I'm sure they would be used by many.
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Past Vice President peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu Hawaii
    Posts
    574

    Default Re: AU2006 LISP Table Magic

    Here is the code.

    Load the LISPTableMagic.lsp first (written for A2k6)
    LISPTableMagicBonus.lsp next (written for A2k7)
    and finally the UpdateTable.lsp

    The handout only covers the first file, the others were bonus files.

    Run the BOMDIalog command line function to sepcify blocks to show in schedule and set pricing.

    Run BillOfMaterials command line function to create a block schedule.

    If you change the number of blocks the updateTable function will update the table.

    Make sure your textsize system variable is not set to zero.


    Peter
    Attached Files Attached Files

  4. #4
    Member
    Join Date
    2013-04
    Posts
    2

    Default Re: AU2006 LISP Table Magic

    Thanks Peter,

    That is really helpful, I have looked through the updatetable.lsp and this seems to be what I am looking for...
    However I am really after a single action that will update a single cell in a specified table.

    The table styles / names are always going to be named... are there any short snippets of code I could use with this?

    For example:
    (defun update_table (tablename row col content)
    ** update it here**
    )

    (update_table “revisions” “a” 1 “This is the contents”)

Similar Threads

  1. lisp table help
    By kevinjorisjacques967722 in forum AutoLISP
    Replies: 26
    Last Post: 2012-10-18, 11:53 AM
  2. block and table lisp
    By john.237249 in forum AutoLISP
    Replies: 20
    Last Post: 2012-01-20, 03:35 AM
  3. Curve Table Lisp Routine
    By julie.206712 in forum AutoLISP
    Replies: 5
    Last Post: 2011-10-18, 04:55 PM
  4. Where do we meet at AU2006?
    By Tom Weir in forum Revit Structure - General
    Replies: 6
    Last Post: 2006-11-21, 02:09 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
  •