Donate Now Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By morning0508

Thread: What is Dynamo script to create a beam with known start point and end point?

  1. #1
    New Member
    Join Date
    March 14, 2012
    Posts
    3
    Current Local Time
    08:38 PM

    Question What is Dynamo script to create a beam with known start point and end point?

    I'm using Dynamo for Revit 2016. Could anyone share your knowledge of how to create a beam with a set of known start point (x1, y1, z1) and end point (x2, y2, z2)?

  2. #2
    Senior Member amoursol's Avatar
    Join Date
    November 21, 2012
    Location
    London, United Kingdom
    Posts
    612
    Current Local Time
    09:38 PM
    Hello Morning,

    The following graph is one way to do it. If you have a list of data from Excel for example, you would simply import that data and manipulate your lists to get the correct points.

    What you have to create, effectively, is lines within Dynamo. Beyond that you simply plug in a loaded Structural Framing family and a Level.

    Attached Thumbnails Attached Thumbnails What is Dynamo script to create a beam with known start point and end point?-revitforumquery_beams.jpg  

  3. #3
    New Member
    Join Date
    March 14, 2012
    Posts
    3
    Current Local Time
    08:38 PM
    Thank you very much. I managed to create 1000+ members by modifying the script as follow,

    Attached Thumbnails Attached Thumbnails What is Dynamo script to create a beam with known start point and end point?-capture.png  
    amoursol likes this.

  4. #4
    New Member
    Join Date
    March 14, 2012
    Posts
    3
    Current Local Time
    08:38 PM
    Is there a way to do the similar thing in Revit 2016 VB? I found an example but it was no longer workable as the following API was obsolete.

    NewLineBound (pt1, pt2)

  5. #5
    Senior Member amoursol's Avatar
    Join Date
    November 21, 2012
    Location
    London, United Kingdom
    Posts
    612
    Current Local Time
    09:38 PM
    You can call the Revit API either through Python (Directly in Dynamo) or C# (Compiled into a .dll or through the custom C# Interpreter) yes. I'm not proficient enough with that yet to help much though I'm afraid.

    Best of luck exploring it if you do and please do post your findings here!

Similar Threads

  1. Project Base Point | Survey Point | Absolute Elevation Issue
    By siqbal16 in forum Structure - General Questions
    Replies: 1
    Last Post: March 29th, 2016, 10:16 PM
  2. What is a vector in Dynamo? Its not a point
    By Simply Complex in forum Blog Feeds
    Replies: 0
    Last Post: February 2nd, 2015, 05:45 AM
  3. Replies: 0
    Last Post: June 4th, 2013, 05:45 PM
  4. Add new control point to existing spline through points? - Not a hosted point
    By tjgreatrex in forum Architecture - Conceptual Massing and Adaptive Components
    Replies: 4
    Last Post: April 7th, 2013, 02:56 PM
  5. Replies: 0
    Last Post: July 23rd, 2012, 12:16 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
  •