Skip to content

Saved parameters: built-in parameters' names and a family's built-in slots (#35 follow-up, RE-207) #1962

Open

Description

@DrunkOnJava

Split out of #35, whose acceptance criteria are met (CLI, Python, IFC sets and the viewer's info panel all list an element's saved parameters). These are the two parts of RE-207 §7 ("Not read") that are still open on main.

What

  1. Built-in parameters have no name. A saved value whose parameter id is negative (a BuiltInParameter) keeps its id and no name: the file holds no definition for a negative id (src/research/native_element_parameters.rs:10-12). Naming them needs a catalog of id to name. Any catalog has to stay within CLEANROOM.md's sources (for example, names published in Autodesk's public API documentation or RevitAPI.dll's exported symbol names), and feat(parser): add native model attributes and geometry extraction #255, which carried one, was closed unmerged.
  2. A family's built-in slots are not resolved. A window type's Width (−1001301) and Height (−1001300) sit in its FamilyParams with every slot field filled, and nothing in the file says which field holds the value (RE-207 §7). None is guessed.

Done when

  • (1) Built-in parameters carry a name from a catalog whose source is recorded and allowed by CLEANROOM.md, or the decision not to ship one is recorded here.
  • (2) The field holding a built-in slot's value is measured against Revit's own export (a window type's OverallWidth/OverallHeight, RE-382/383) on the reference models, then read; or the negative is recorded with its evidence.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:elementspriority:P3type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions