Project Parameters

Project Parameters

Anonymous
Not applicable
508 Views
1 Reply
Message 1 of 2

Project Parameters

Anonymous
Not applicable
I am trying to write something that will get the categories that a certain project parameter is assigned to, and can't seem to find where in Revit API that you can access that info. I found in the help how to set new shared parameters, but that didn't seem to help. Thanks
0 Likes
509 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

Try looking in the Revit 2011 SDK (download from Autodesk if you haven't already)

The sample that should demonstrate what you're after is: ..\Revit SDK 2011\Samples\BrowseBindings

 

You can translate to C# here:

http://www.developerfusion.com/tools/convert/vb-to-csharp/

 

Or try poking around in Jeremy's example that is similar:

http://thebuildingcoder.typepad.com/blog/2009/09/adding-a-category-to-a-parameter-binding.html

 

-Don

0 Likes