Revit Railing Structure through Revit API

Revit Railing Structure through Revit API

sbiradar
Explorer Explorer
966 Views
2 Replies
Message 1 of 3

Revit Railing Structure through Revit API

sbiradar
Explorer
Explorer

Is there any ways to access the Railing Structure through Revit API? Similar to accessing Wall Sweep thr compound structure.

Autodesk documentation says "Some material properties contained in other compound parameters are not accessible from the API. As an example, in the following figure, for System Family: Railing, the Rail Structure parameter's StorageType is StorageType.None. As a result, you cannot get material information in this situation.
"
Wondering is there any back door entry? 

Thanks,
Satish

0 Likes
967 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

Dear Satish,

 

What Autodesk documentation are you referring to, please?

 

As far as I know, you can access all railing subcomponents in Revit 2013, but only of the new 2013 railing elements.

 

Pre-2013 railing element subcomponents are not accessible.

 

Here is a discussion of some possiblilities working with pre-2013 railings:

 

http://thebuildingcoder.typepad.com/blog/2011/07/retrieve-railing-elements.html

 

I hope this helps.



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

0 Likes
Message 3 of 3

jeremytammik
Autodesk
Autodesk

Oh, and if the storage type is none, then there really is no access to the underlying parameter data. Sorry!



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

0 Likes