Announcement

Collapse
No announcement yet.

Placing a massive number of families in A PLan

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

    Placing a massive number of families in A PLan

    I was given the task of placing 2500 sprinkler heads on a large Airport Layout.

    I have been studying and playing with Dynamo lately but this is my first big real-world problem I am trying to solve.....

    What I have done:

    • I have a ACAD dwg layout with circles at the locations of the Sprink heads.
    • I was able to extract the center points of the Sprinkler heads and get the coordinates pushed into lists
    • I pushed the lists into excel


    What I need to do:
    • Insert the sprink heads at the coordinates I have listed out


    Has anyone ever done anything similiar to this and maybe be able to point me in the right direction on this....
    Regards,
    Emmett Cruey
    ConnectedBIM.Design
    925-695-6000

    #2
    If you have a list of location points in Excel then it should be relatively simple - providing your family has been modelled in the correct way.

    The insertion point (Crossing of the Reference Planes in the family) will pair with the points list you have. Bear in mind however that the coordinate system logic behind Dynamo and Revit differ somewhat. The 'Project Base Point' is in fact 0,0,0 (XYZ) and matches to the 0,0,0 (XYZ) in Dynamo. So you may need to do a little math if the coordinates are based off your Survey Point.

    After that, simply look at Excel.ReadFromFile, a little math operations after pulling the Survey Point and Project Base Point double values and look at FamilyInstance.ByPoint.

    If you run into issues feel free to post here and i'll help you out

    Sol Amour

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

    Comment


      #3
      I created a complete script at work to extract....It ran as expected.

      • I ran it at home the very first node, Element.location is returing all null..

      • Drove me nuts thinking I had done something wrong/different
      • I ran it again at work next day and works 100%


      Same Programs on both..Revit 2015 r2 + Dynamo 1.2.1
      Work is on Windows 7... Windows 10 at home
      What could be causing this issue?
      All help is greatly appreciated.
      Attached Files
      Last edited by ecraider; January 16, 2017, 12:05 AM.
      Regards,
      Emmett Cruey
      ConnectedBIM.Design
      925-695-6000

      Comment


        #4
        Originally posted by ecraider View Post
        I created a complete script at work to extract....It ran as expected.

        • I ran it at home the very first node, Element.location is returing all null..

        • Drove me nuts thinking I had done something wrong/different
        • I ran it again at work next day and works 100%


        Same Programs on both..Revit 2015 r2 + Dynamo 1.2.1
        Work is on Windows 7... Windows 10 at home
        What could be causing this issue?
        All help is greatly appreciated.
        If you're trying to automate repetitive tasks, please I would love to hit a link to a good intro YouTube channel or website. Thanks for posting! Cheers,

        Comment


          #5
          Try using the in-built Element.GetLocation​ node instead.

          Sol Amour

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

          Comment

          Related Topics

          Collapse

          Working...
          X