NX Open C++ Reference Guide
Public Member Functions | Public Attributes
NXOpen::Selection::MaskTriple Struct Reference

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

List of all members.

Public Member Functions

 MaskTriple (int typeInitial, int subtypeInitial, int solidBodySubtypeInitial)
 Constructor for the MaskTriple struct.

Public Attributes

int SolidBodySubtype
 Solid body subtype.
int Subtype
 Object subtype.
int Type
 Object type.

Detailed Description

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 & Destructor Documentation

NXOpen::Selection::MaskTriple::MaskTriple ( int  typeInitial,
int  subtypeInitial,
int  solidBodySubtypeInitial 
)

Constructor for the MaskTriple struct.

Parameters:
typeInitialObject 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.
subtypeInitialObject 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.
solidBodySubtypeInitialSolid 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

Member Data Documentation

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

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.

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.


The documentation for this struct was generated from the following file:
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.