Hi,
I cannot find any enumeration or 'List' of all the ForgeTypeId parameters so that I can for example filter out parameters that I don't want from my list. The only way to use ForgeTypeId Operators I have figured out is to create ForgeTypeId parameter with hardcoded string value which seems rather unsafe. For example:
List<ForgeTypeId> filterOutForgeTypeIds = new List<ForgeTypeId>
{
new ForgeTypeId("autodesk.revit.parameter:allModelDescription-1.0.0"),
new ForgeTypeId("autodesk.revit.parameter:doorCost-1.0.0")
};
if (_groupParameters.Any(param => filterOutForgeTypeIds.Any(forgeTypeId => forgeTypeId == param.GetTypeId())))
{
Is this the only way to get ForgeTypeId parameters?
Solved! Go to Solution.
Solved by Moustafa_K. Go to Solution.
Can't find what you're looking for? Ask the community or share your knowledge.