How to get/set non-shared Parameter ToolTip in Revit 2015?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The Revit 2015 GUI allows the user to set a tool tip string of up to 250 characters. This appears to be the case both when defining shared parameters but also when defining non-shared parameters (e.g. family parameters in a family, or non-shared project parameters in a project).
For shared parameters, it looks like the way you access that value is via the ExternalDefinition.Description property.
However, for non-shared parameters the InternalDefinition object does not have a Description property.
Neither any property called "Description" (nor even called "Tooltip") appears to be on the Parameter object nor the FamilyParameter object. Though per the platform changes documentation it says the FamilyManager object has a SetDescription method, but there does not appear to be a parallel GetDescription method on the FamilyManager object.
So the question is: how do we access the new Tooltip value for non-shared parameters using the Revit API?
I poked around in the latest 2015 SDK and didn't see any example code either.
Thanks much.