Results 1 to 3 of 3

Thread: Combine lists for desk layout and placing blocks

  1. #1
    Member
    Join Date
    2003-03
    Posts
    3
    Login to Give a bone
    0

    Default Combine lists for desk layout and placing blocks

    I have a Lisp that creates two lists throug user-input. These lists are measurements of two different parts.
    The lists can change in length. For example (top one in screenshot):

    A (2 1 2) -> white-rectangles with "100+" in it
    B (3 2) -> red dashed with value)

    What I need is a list with points to put in 2 different blocks. (see screenshot, block A and block B)

    The start and end-block I got covered.

    List A only contains values of 1or 2
    List B contains values of 1, 2, 3or 4

    It should work in every combination where the total of the sum of the values in the lists are equal. (two more examples in screenshot)

    I have been breaking my mind for hours and I cannot figure it out...

    Kind regards,
    Jeroen Berkers

    example desk-layout.png

  2. #2
    All AUGI, all the time marko_ribar's Avatar
    Join Date
    2015-10
    Location
    Belgrade, Serbia, Europe
    Posts
    544
    Login to Give a bone
    0

    Default Re: Combine lists for desk layout and placing blocks

    It has been answered here :
    http://www.theswamp.org/index.php?topic=55106.0

    M.R.
    Marko Ribar, d.i.a. (graduated engineer of architecture)

    M.R. on Youtube


  3. #3
    Member
    Join Date
    2003-03
    Posts
    3
    Login to Give a bone
    0

    Default Re: Combine lists for desk layout and placing blocks

    Thanks Marko, it does exactly what I was looking for.

    Jeroen

Similar Threads

  1. Lists within lists - simplify
    By marko_ribar in forum AutoLISP
    Replies: 26
    Last Post: 2011-05-24, 11:44 AM
  2. Replies: 7
    Last Post: 2007-03-23, 02:20 AM
  3. Replies: 4
    Last Post: 2007-01-21, 06:59 AM
  4. AUTO DESK 2005 SCHEDULES
    By FUSS in forum ACA General
    Replies: 8
    Last Post: 2005-03-11, 03:24 PM
  5. Placing label blocks after placing the view with SSM
    By bskripac in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2005-01-27, 04:01 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
  •