How to get Parameter Sample Value?

How to get Parameter Sample Value?

wklawitter
Explorer Explorer
151 Views
1 Reply
Message 1 of 2

How to get Parameter Sample Value?

wklawitter
Explorer
Explorer

Hello, I'm relatively new to the Revit API so please excuse me as I'm a beginner and trying learn on the fly.  I trying to figure out how to get the Sample Value of a Sheet Parameter.  For example, the BuiltInParameter SHEET_CHECKED_BY.

Basically I have a requirement to step through the sheets and their titleblocks and make sure that Parameters (Labels) are filled out correctly - one of the rules being that the value must not equal the Sample Value.  But so far I've had no luck in figuring out how to read the Sample Value.

 

Any help would be greatly appreciated!!

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

wklawitter
Explorer
Explorer

A quick search using Visual Studio's Object Browser windows show the only object that has a Property named SampleValue is the Autodesk.Revit.DB.TableCellCombinedParameterData object.  However, I can find much documentation or sample code on this object - or if this is even the correct object to use.

0 Likes