PmiFilterCollection Class

class NXOpen.Annotations.PmiFilterCollection

Bases: object

Represents the collection of all PMI filters in the part.

To obtain an instance of this class, refer to NXOpen.Annotations.AnnotationManager

New in version NX4.0.0.

Methods

Method Description
CreateByPartsFilter Creates a PMI filter defined by a set of components @return
CreateByTypesFilter Creates a PMI filter defines by a set of PMI types.
CreateByViewsFilter Creates a PMI filter defined by a set of model views.

Method Detail

CreateByPartsFilter

PmiFilterCollection.CreateByPartsFilter

Creates a PMI filter defined by a set of components

Signature CreateByPartsFilter(componentMethod, components)

Parameters:
Returns:

Return type:

NXOpen.Annotations.PmiFilter

New in version NX4.0.0.

License requirements: geometric_tol (“GDT”)

CreateByTypesFilter

PmiFilterCollection.CreateByTypesFilter

Creates a PMI filter defines by a set of PMI types.

Signature CreateByTypesFilter(componentMethod, components, types)

Parameters:
Returns:

Return type:

NXOpen.Annotations.PmiFilter

New in version NX4.0.0.

License requirements: geometric_tol (“GDT”)

CreateByViewsFilter

PmiFilterCollection.CreateByViewsFilter

Creates a PMI filter defined by a set of model views.

Signature CreateByViewsFilter(componentMethod, components, views)

Parameters:
  • componentMethod (NXOpen.Annotations.PmiFilterComponentMethod) – Specifies the component method applied to the components
  • components (list of NXOpen.Assemblies.Component) – Specifies the components in which the filter applies
  • views (list of str) – Specified the views in which the filter applies NOTE: The full Unicode character set is not supported for this parameter.
Returns:

Return type:

NXOpen.Annotations.PmiFilter

New in version NX4.0.0.

License requirements: geometric_tol (“GDT”)