What is the internal identifier of a parameter, which is also used in formulas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am developing an addin in which I can define my own formulas in the family editor. Similar to the family type dialog.
Let's assume the formula is:
Window {Width} x {Height} {GlassType}
I don't want to save this internally because if I rename a parameter, it will no longer match the formula. Or If I start Revit in another language - for example German - the width and height parameters are no longer found.
I would like to save it as follows instead:
Window {GUID} x {GUID} {GUID}
Now to GUID:
What can I use here? The most obvious is the ID of InternalDefinition.
However, there have been several changes here in the last versions of Revit:
Revit 2020 Id: 4111
Revit 2021 Id: 4111
Revit 2022 GetTypeId: autodesk.parameter.aec.revit.family:4111-1.0.0
Revit 2023 GetTypeId: revit.local.family:5da7dc0b7e9c4288adb7f24b3b6923d80000100f-1.0.0
Revit 2025 GetTypeId: revit.local.family:5da7dc0b7e9c4288adb7f24b3b6923d80000100f-1.0.0
I am interested in how the following formulas are saved internally by Revit. I strongly suspect that the parameter names are replaced by a unique identifier. But which one?
@jeremy_tammik Perhaps you could ask the developers about this? Many thanks in advance.
Developer Advocacy and Support +