See the top rated post in this thread. Click here

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: block and table lisp

  1. #11
    Member
    Join Date
    2009-12
    Posts
    20
    Login to Give a bone
    0

    Default Re: block and table lisp

    Quote Originally Posted by fixo View Post
    Hi, John
    Think better yet you need to create the sample drawing with blocks
    and with populated table with correct result in there
    Then do posting it in an attachment that would also help
    me to write what you exactly need

    ~'J'~
    Ok here a simple example with a wblock which has to be filled in and should be placed on athe drawing.

    So What I want to have is a lisp in wich I can select different blocks and the lisp should the fill in the calculated values in a block on insertion.

    I hope it's clear
    Attached Files Attached Files

  2. #12
    AUGI Addict fixo's Avatar
    Join Date
    2005-05
    Location
    Pietari, Venäjä
    Posts
    1,269
    Login to Give a bone
    0

    Default Re: block and table lisp

    Quote Originally Posted by john.237249 View Post
    Ok here a simple example with a wblock which has to be filled in and should be placed on athe drawing.

    So What I want to have is a lisp in wich I can select different blocks and the lisp should the fill in the calculated values in a block on insertion.

    I hope it's clear
    Try edited code

    ~'J'~
    Attached Files Attached Files

  3. #13
    Member
    Join Date
    2009-12
    Posts
    20
    Login to Give a bone
    0

    Thumbs up Re: block and table lisp

    Quote Originally Posted by fixo View Post
    Try edited code

    ~'J'~
    Super thats what I'm looking for thanks, I you have some time left would you be so nice and write an explanation rule next to the lines so I can understand it and may put in some extra values or formulas.

    Thanks again

  4. #14
    I could stop if I wanted to msretenovic's Avatar
    Join Date
    2002-02
    Location
    Galloway, Oh
    Posts
    305
    Login to Give a bone
    1

    Wink Re: block and table lisp

    Here is a commented version of Fixo's code. If you have any questions, we are all here to help. The lambda and mapcar expressions can be hard to follow when you are not used to them.

    Attached Files Attached Files

  5. #15
    Member
    Join Date
    2009-12
    Posts
    20
    Login to Give a bone
    0

    Default Re: block and table lisp

    OK great, I'm happy with the command, now I will try to add some more values etc.

    thanks again.

    great help

  6. #16
    Member
    Join Date
    2009-12
    Posts
    20
    Login to Give a bone
    0

    Default Re: block and table lisp

    Hi I have used it but we changed the drawings, I have some nested blocks as well, is it possible to use the values of these blocks as well, and how do I change the code for it.

  7. #17
    Login to Give a bone
    0

    Default Re: block and table lisp

    i see there are some people heer who know somting about creating a table in lisp
    i have kind of the same problem i'm triing to create a lisp that wil extract the name/amount/and al including atributes from multipel blocks

    en then the next i want to put that information in a table
    then each line has to start whit the block name etc

    like

    name1/amount/value1/value2/value3
    name2/amount/value1/value2/value3
    name3/amount/value1/value2/value3


    can somone heer help me achief this i would be moost gradeful

  8. #18
    All AUGI, all the time
    Join Date
    2010-10
    Posts
    535
    Login to Give a bone
    0

    Default Re: block and table lisp

    Quote Originally Posted by fixo View Post
    Try edited code

    ~'J'~
    <Code removed>..

    My retard self has taken control over me again.
    Last edited by pbejse; 2012-01-20 at 05:33 AM.

  9. #19
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: block and table lisp

    Thread officially zombified.
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

  10. #20
    All AUGI, all the time
    Join Date
    2010-10
    Posts
    535
    Login to Give a bone
    0

    Default Re: block and table lisp

    Quote Originally Posted by RenderMan View Post
    Thread officially zombified.
    Ooops.. didnt realize it was that old.. apologies gentlemen

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. lisp table help
    By kevinjorisjacques967722 in forum AutoLISP
    Replies: 27
    Last Post: 2014-10-11, 05:38 AM
  2. Block Table inside the Block Editor
    By Wish List System in forum AutoCAD Wish List
    Replies: 3
    Last Post: 2013-11-12, 04:56 PM
  3. Curve Table Lisp Routine
    By julie.206712 in forum AutoLISP
    Replies: 7
    Last Post: 2013-08-20, 02:40 PM
  4. Select & entget object information in XREF and block-in-block with Lisp
    By Wish List System in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2012-11-14, 09:11 AM
  5. Block Attribute Table Values Dont' Appear in Block
    By stusic in forum Dynamic Blocks - Technical
    Replies: 2
    Last Post: 2011-12-27, 02:58 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
  •