Donate Now Goal amount for this year: 3000 USD, Received: 1207 USD (40%)

Results 1 to 3 of 3

Thread: calculate the distance between doors using Geometry.DistanceTo

  1. #1
    Junior Member Aida Siala's Avatar
    Join Date
    October 25, 2017
    Posts
    27
    Current Local Time
    05:38 PM

    calculate the distance between doors using Geometry.DistanceTo

    Hi every one,
    I want to calculate the distance between two rooms doors to check if the smallest distance does not exceed the required proximity limit.
    To do this, the node must calculate the distances between the different doors, two by two.
    In the attached script, I must find in the output of the Geometry.DistanceTo node 3 distances and not only one!
    I don't want to believe that the node computed everything and gave me the smallest value. That will be great

    Attached Thumbnails Attached Thumbnails calculate the distance between doors using Geometry.DistanceTo-proximit%E9.jpg  

  2. #2
    Member Bjorn_K's Avatar
    Join Date
    April 8, 2011
    Location
    Rotterdam, Netherlands
    Posts
    313
    Current Local Time
    06:38 PM
    The lacing of your DistanceTo Node is set to Shortest. You are feeding that node 2 things, 1: a list of 2 lists containing in total 3 items (2 and 1) and 2: a list of 2 lists containing in total 4 items (2 and 2).

    Shortest Lacing says: I will take the first item from each list and do my job, then I will take the second item and do my job and so on. Untill 1 list runs out, then I stop. Your Shortest list had 3 items, so you get 3 results.

    Longest would give you 4, Cross-lacing will give you 12.

    Read up on Lacing.

  3. #3
    Junior Member Aida Siala's Avatar
    Join Date
    October 25, 2017
    Posts
    27
    Current Local Time
    05:38 PM
    Thanks a lot

Similar Threads

  1. Long distance sync?
    By wwdreamb in forum Architecture and General Revit Questions
    Replies: 10
    Last Post: January 30th, 2017, 07:56 AM
  2. Divide by Distance
    By damo3 in forum Dynamo BIM
    Replies: 2
    Last Post: April 25th, 2016, 11:07 PM
  3. How I calculate Area ?
    By Puluthyveran in forum Architecture and General Revit Questions
    Replies: 1
    Last Post: August 28th, 2015, 07:15 PM
  4. Joined walls and Doors- doors with different expected width
    By Hugo Tavares in forum Architecture and General Revit Questions
    Replies: 7
    Last Post: May 8th, 2012, 05:39 PM
  5. Doors: Nesting based on Aaron's Doors
    By MPwuzhere in forum Architecture - Family Creation
    Replies: 6
    Last Post: December 27th, 2011, 08:04 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
  •