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

Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By jmk

Thread: Creating rooms from a list

  1. #1
    jmk
    jmk is offline
    Forum Addict jmk's Avatar
    Join Date
    December 31, 2012
    Location
    NM, USA
    Posts
    1,415
    Current Local Time
    04:22 AM

    Creating rooms from a list

    How would I go about creating rooms using dynamo? The built in "Room.ByLocation" node initially complained about me feeding it arrays.

    "Warning: One or more of the input types are not matching. Couldn't find a version of ByLocation that takes arguments of type (string,Autodesk.DesignScript.Geometry.Point,strin g,string)"


    I tried just feeding it one set of information, and it says it can't use the location data I'm feeding it (from the built in node "Element.GetLocation".

    "Warning: One or more of the input types are not matching. Couldn't find a version of ByLocation that takes arguments of type (string,Autodesk.DesignScript.Geometry.Point,strin g,string)


    If it doesn't want the location data in the format provided by Element.GetLocation what does it want? I tried the Steam "Tool.CreateRoomAtPointAndLevel" and while it doesn't throw any errors it also doesn't create any rooms.

    The goal of this script is to create rooms from areas (client provided data needed in rooms as Revit areas, and I don't want to hand transfer the information). My current workflow intended to get the location, number, name and level of the area, create rooms with the same information, then to fill out additional information by transferring it between matching room numbers. Any help would be much appreciated.

  2. #2
    Senior Member amoursol's Avatar
    Join Date
    November 21, 2012
    Location
    London, United Kingdom
    Posts
    612
    Current Local Time
    11:22 AM
    Hello Jmk,

    Make sure that you are feeding in the correct data structures. I've got it working as showcased below:



    Hopefully this helps!
    Attached Thumbnails Attached Thumbnails Creating rooms from a list-room-location.jpg  

  3. #3
    jmk
    jmk is offline
    Forum Addict jmk's Avatar
    Join Date
    December 31, 2012
    Location
    NM, USA
    Posts
    1,415
    Current Local Time
    04:22 AM
    Thank you! I was feeding it the level information in the wrong format.

    P.S. I thought that specifying an array of parameter names would decrease the number of nodes I needed, but unfortunately feeding it that instead of asking for each parameter name into a separate get parameter name node only got the value for the first element instead of all of them.
    amoursol likes this.

Similar Threads

  1. Detail item list not show full list (2017)
    By ledgewood33 in forum Architecture and General Revit Questions
    Replies: 0
    Last Post: November 18th, 2016, 03:41 PM
  2. Creating rooms using an excel file
    By Jorgensen in forum Dynamo BIM
    Replies: 5
    Last Post: March 30th, 2016, 08:21 AM
  3. Replies: 0
    Last Post: March 12th, 2015, 06:16 AM
  4. List an opening space only in the finish schedule without listing imaginary rooms
    By rabbitcookies in forum Architecture and General Revit Questions
    Replies: 8
    Last Post: November 20th, 2014, 04:48 PM
  5. Phases - creating rooms in a demo state with demoed walls
    By gogreengo in forum Architecture and General Revit Questions
    Replies: 2
    Last Post: November 19th, 2014, 05:56 PM

Tags for this Thread

Posting Permissions

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