Message 1 of 9
Shared and Project Parameter cannot be assigned to certain categorys

Not applicable
10-02-2019
02:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there, I created an addin to create multiple shared and meanwhile project parameters in Revit at once. For the main part it works perfect. However some of the categories I implemented keep on failing, such as OST_ConduitFitting, OST_CableTrayRun, MEP-Spaces, OST_Wires...
It is all the same code so I wonder what it could be relied on? I am using Revit 2019.
if (categoryName == "Kabel")
{
myCategory = Category.GetCategory(m_doc, BuiltInCategory.OST_Wire);
categoryFound = true;
}
Any idea what could cause the problem? Thanks in advance!