Announcement

Collapse
No announcement yet.

Creating rooms from a list

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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.
    Julie Kidder
    Architect + BIM Director
    Hartman + Majewski Design Group

    #2
    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 Files

    Sol Amour

    Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
    Portfolio Website @ Cargo Collective

    Comment


      #3
      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.
      Julie Kidder
      Architect + BIM Director
      Hartman + Majewski Design Group

      Comment

      Related Topics

      Collapse

      Working...
      X