How to Managing Key Parameters in Speckle?

Good day,

I have a question regarding Revit’s interaction with key specifications affecting Speckle parameter management. I recently encountered an unusual feature of how Revit works with key specifications, which impacts the handling of parameters in Speckle.

To summarize, “Key Parameters” in Revit are not exported correctly to Speckle. Below is an example:

I’ve identified the source of the issue. The “Key Parameter” I’m working with in Revit is an “Element” that contains all the necessary parameters, including “Room Type” — the argument that is displayed in my program. This is visible on the attached screenshot where the LookUp feature is used.

  1. The “Key Parameter” is named “Room Type” and has its argument.
  2. The “Room Type” parameter is defined as an ID 2575 element corresponding to the value displayed in Speckle.
  3. This element includes a range of additional parameters.
  4. The parameter I am searching for is the “name” of the element.

Question: Is it possible to make changes in Speckle so that instead of the identifier of the key parameter element, the “name” argument is displayed?

#help #Revit

This is a legit use case; thanks for bringing it to my attention. I’ll raise a ticket for consideration.

If you discover other examples of parameters resolving to the id and not the object data, let us know; it may be simpler to enact a generic change.

OR

If this is not enabled by the API directly, it is complicated, but your Snoop reports suggest it could be, but perhaps on a case-by-case basis.

Thanks again

1 Like