Binding Shared Parameters to Stair Supports

Binding Shared Parameters to Stair Supports

stephen_harrison
Advocate Advocate
505 Views
1 Reply
Message 1 of 2

Binding Shared Parameters to Stair Supports

stephen_harrison
Advocate
Advocate

I hope someone can help?

I am using Revit 2017 and code in c#.

 

I have used code identical to that form Revit Help to bind shared parameters to selected Categories.

The code works perfectly for everything with the exception of Stair Supports.

When it comes to Binding the Stair Support to the document I received the following error.

 

Binding Stair Support Error.png

 

I have substituted all the variables for constants but still receive the same error.

I have also tried binding my Shared parameters within Revit to Stair Supports with no problem, just in case there was a problem with the Shared Parameters.

 

I am completely dumfounded by what is the problem and can only assume there is a problem with the API?

 

 

 

0 Likes
506 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk

In order to answer your question, it is important to understand exactly what you are doing and how.

 

In achieve this and be able to explore this matter further, the development team requires a minimal reproducible case:

 

 

  • A short exact description of what you are trying to achieve.
  • The behaviour you observe versus what you expect, and why this is a problem.
  • A complete yet minimal Revit sample model to run a test in.
  • A complete yet minimal macro embedded in the sample model or Visual Studio solution with add-in manifest that can be compiled, loaded, run and debugged with a single click to analyse its behaviour live in the sample model.
  • Detailed step-by-step instructions for reproducing the issue, e.g. which element to pick, what command to launch etc.

 

http://thebuildingcoder.typepad.com/blog/about-the-author.html#1b

 

Thank you!

 

Cheers,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes