NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
NXOpen.Selection.MaskTriple Struct Reference

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

Public Member Functions

 MaskTriple (int Type, int Subtype, int SolidBodySubtype)
 Constructor for the MaskTriple struct. More...
 

Public Attributes

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

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  Type,
int  Subtype,
int  SolidBodySubtype 
)
inline

Constructor for the MaskTriple struct.

Parameters
TypeObject 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.
SubtypeObject 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.
SolidBodySubtypeSolid 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

int NXOpen.Selection.MaskTriple.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

int NXOpen.Selection.MaskTriple.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.

int NXOpen.Selection.MaskTriple.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.


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