Skip to content

Commit

Permalink
fix(revit): exclude element params which are not visible (#3332)
Browse files Browse the repository at this point in the history
  • Loading branch information
teocomi authored May 2, 2024
1 parent 612ff3f commit 4b9ae23
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,13 @@ private void AddElementParamsToDict(
continue;
}

//ignore parameters that are not visible by the end users
//these could be set by plugins, and historically have conflited with our send operation
if (param.Definition is InternalDefinition internalDef && !internalDef.Visible)
{
continue;
}

var speckleParam = ParameterToSpeckle(param, internalName, isTypeParameter);
paramDict[internalName] = speckleParam;
}
Expand Down

0 comments on commit 4b9ae23

Please sign in to comment.