NXOpen.UF.Assem.SetSuppressionExp

Assem.SetSuppressionExp()

Refer to UF_ASSEM_set_suppression_exp for documentation.

Signature: SetSuppressionExp(instance, expString)

Parameters:
  • instance (Tag) – The tag of the instance to assign thesuppression expression for.
  • expString (str) – Expression string to use. If the expression already exists in the instance’s part, then that expression will be used. You can use UF_MODL_ask_exp_tag_string to get the expression string for an existing expression.
Returns:

Expression tag for the given expression string.

Return type:

Tag

License requirements: ASSEMBLIES MODULE