NX Open C++ Reference Guide
Public Member Functions
NXOpen::Assemblies::SelectComponent Class Reference

Represents a single object selection. More...

Inheritance diagram for NXOpen::Assemblies::SelectComponent:
NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

List of all members.

Public Member Functions

void GetValue (NXOpen::Assemblies::Component **selection, NXOpen::View **view, NXOpen::Point3d *point)
 The object being selected with the object's view and point.
void GetValue (NXOpen::InferSnapType::SnapType *snapType, NXOpen::Assemblies::Component **selection1, NXOpen::View **view1, NXOpen::Point3d *point1, NXOpen::Assemblies::Component **selection2, NXOpen::View **view2, NXOpen::Point3d *point2)
 The object being selected with the objects view and point and snap information.
NXOpen::Assemblies::ComponentGetValue (NXOpen::CaeObjectType::CaeSubType *caeSubType, int *caeSubId)
 The object being selected with CAE set object information.
void SetValue (NXOpen::Assemblies::Component *selection)
 Sets the object being selected.
void SetValue (NXOpen::Assemblies::Component *selection, NXOpen::View *view, const NXOpen::Point3d &point)
 The object being selected with the object's view and object's point.
void SetValue (NXOpen::InferSnapType::SnapType snapType, NXOpen::Assemblies::Component *selection1, NXOpen::View *view1, const NXOpen::Point3d &point1, NXOpen::Assemblies::Component *selection2, NXOpen::View *view2, const NXOpen::Point3d &point2)
 The object being selected with the objects view and objects point and snap information.
void SetValue (NXOpen::Assemblies::Component *selection, NXOpen::CaeObjectType::CaeSubType caeSubType, int caeSubId)
 The object being selected with CAE set object information.
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called.
NXOpen::Assemblies::ComponentValue ()
 Returns the object being selected.

Detailed Description

Represents a single object selection.


Created in NX5.0.0.


Member Function Documentation

The object being selected with the object's view and point.


Created in NX5.0.0.

License requirements : None

Parameters:
selectionselected object
viewselected object view
pointselected object point

The object being selected with the objects view and point and snap information.


Created in NX5.0.0.

License requirements : None

Parameters:
snapTypesnap point type
selection1first selected object
view1first selected object view
point1first selected object point
selection2second selected object
view2second selected object view
point2second selected object point

The object being selected with CAE set object information.

Returns:
selected object
Created in NX5.0.0.

License requirements : None
Parameters:
caeSubTypeCAE set object sub type
caeSubIdCAE set object sub id

Sets the object being selected.


Created in NX5.0.0.

License requirements : None

Parameters:
selectionselected object

The object being selected with the object's view and object's point.


Created in NX5.0.0.

License requirements : None

Parameters:
selectionselected object
viewselected object view
pointselected object point

The object being selected with the objects view and objects point and snap information.


Created in NX5.0.0.

License requirements : None

Parameters:
snapTypesnap point type
selection1first selected object
view1first selected object view
point1first selected object point
selection2second selected object
view2second selected object view
point2second selected object point

The object being selected with CAE set object information.


Created in NX5.0.0.

License requirements : None

Parameters:
selectionselected object
caeSubTypeCAE set object sub type
caeSubIdCAE set object sub id

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Returns:
Was self validation successful
Created in NX3.0.1.

License requirements : None

Implements NXOpen::GeometricUtilities::IComponentBuilder.

Returns the object being selected.


Created in NX5.0.0.

License requirements : None


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