Automate Stair Builder

Automate Stair Builder

MiguelVJC82W
Enthusiast Enthusiast
566 Views
3 Replies
Message 1 of 4

Automate Stair Builder

MiguelVJC82W
Enthusiast
Enthusiast

Hello everyone,

 

I am currently attempting to build a Revit Add-in that will allow for the automatic creation of stairs from a set number of certain variables that will be retrieved from a user input form. Current, my code will create the walls and landings exactly as I want them from the user Input form. My issue is determining how to create the method that will actually create a staircase. I've dove through the Revit Documentation and it seems like every method requires a Stair Element Id which then in turn will manipulate that specific stair to the desired requirements. But there appears to be absolutely no way to programmatically create that stair Element? This seems like something that should exist. Can anyone point me in the right direction? 

0 Likes
Accepted solutions (1)
567 Views
3 Replies
Replies (3)
Message 2 of 4

jeremy_tammik
Alumni
Alumni

Have you looked at the Revit SDK StairsAutomation sample?

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 3 of 4

harrymattison
Advocate
Advocate

Look at StairsPath.Create, the StairsLanding creation methods, and the documentation in the CHM for StairsEditScope

0 Likes
Message 4 of 4

MiguelVJC82W
Enthusiast
Enthusiast
Accepted solution

Thank you Everyone for you help here. I checked over these but ended up actually finding the answer in the link below that really helped guide me in the right direction and worked from there: 

https://help.autodesk.com/view/RVT/2015/ENU/?guid=GUID-C60041FB-069E-4C89-BE67-A0593E790995



0 Likes