SelectionMaskTriple_Struct Struct

NXOpen.Selection.MaskTriple is an alias for NXOpen.SelectionMaskTriple_Struct

class NXOpen.SelectionMaskTriple_Struct

Bases: object

Used in selection methods to set the types of objects that are selectable.

Commonly used:

For C++: in order to select… set… any edge type=UF_solid_type, subtype=UF_all_subtype, solid_body_subtype=UF_UI_SEL_FEATURE_ANY_EDGE any face type=UF_solid_type, subtype=UF_all_subtype, solid_body_subtype=UF_UI_SEL_FEATURE_ANY_FACE

For .NET: in order to select… set… any edge type=NXOpen.UF.UFConstants.UF_solid_type, subtype=0, solid_body_subtype=NXOpen.UF.UFConstants.UF_UI_SEL_FEATURE_ANY_EDGE any face type=NXOpen.UF.UFConstants.UF_solid_type, subtype=0, solid_body_subtype=NXOpen.UF.UFConstants.UF_UI_SEL_FEATURE_ANY_FACE

. Constructor: NXOpen.Selection.MaskTriple()

Fields

Field Description
Type Object type.
Subtype Object subtype.
SolidBodySubtype Solid body subtype.

Type

SelectionMaskTriple_Struct.Type

Object type.

This can be one of the object types that are listed in uf_object_types.h. For example, for point, use UF_point_type in C++ and NXOpen.UF.UFConstants.UF_point_type in .NET. -------------------------------------

Field Value Type:int

Subtype

SelectionMaskTriple_Struct.Subtype

Object subtype.

This can either be 0 (UF_all_subtype) for any subtype, or a subtype of the selected type. The subtypes are listed in uf_object_types.h.

-------------------------------------

Field Value Type:int

SolidBodySubtype

SelectionMaskTriple_Struct.SolidBodySubtype

Solid body subtype.

This is only meaningful when the type is UF_solid_type. In that case, this should be set to one of the solid type constants listed in uf_ui_types.h under “Constants for selection solid_type”. For example, to select any face, use UF_UI_SEL_FEATURE_ANY_FACE in C++ and NXOpen.UF.UFConstants.UF_UI_SEL_FEATURE_ANY_FACE in .NET -------------------------------------

Field Value Type:int