NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
NXOpen::MeasureElement Class Reference

Represents an element of a master measurement
Created in NX12.0.1. More...

Inheritance diagram for NXOpen::MeasureElement:
NXOpen::TransientObject

Public Types

enum  Measure { MeasureObject, MeasurePoint, MeasureVector, MeasureCsys }
 Indicates the object to measure. More...
 

Public Member Functions

int AlternateSolution ()
 Returns the alternate solution selection. More...
 
NXOpen::Annotations::AnnotationCreateAnnotation ()
 Creates the on screen annotations for a measure element. More...
 
void CreateGeometry ()
 Creates the saved geometry for a measure element. More...
 
void EditAnnotation ()
 Edits the on screen annotations for a measure element. More...
 
bool GetAnnotationState (int outputIndex)
 Gets value of the show annotation state. More...
 
bool GetApproximateState (int outputIndex)
 Gets value of the approximate calculation state. More...
 
bool GetExpressionState (int outputIndex)
 Gets value of the save expression state. More...
 
bool GetGeometryState (int outputIndex)
 Gets value of the save geometry state. More...
 
NXOpen::MeasureElement::Measure MeasureObject1 ()
 Returns the type of object to measure. More...
 
NXOpen::MeasureElement::Measure MeasureObject2 ()
 Returns the type of object to measure. More...
 
void SetAlternateSolution (int alternateSolution)
 Sets the alternate solution selection. More...
 
void SetAnnotationState (int outputIndex, bool state)
 Sets value of the save geometry state. More...
 
void SetApproximateState (int outputIndex, bool state)
 Sets value of the approximate calculation state. More...
 
void SetExpressionState (int outputIndex, bool state)
 Sets value of the save expression state. More...
 
void SetGeometryState (int outputIndex, bool state)
 Sets value of the save geometry state. More...
 
void SetMeasureObject1 (NXOpen::MeasureElement::Measure measureObject)
 Sets the type of object to measure. More...
 
void SetMeasureObject2 (NXOpen::MeasureElement::Measure measureObject)
 Sets the type of object to measure. More...
 
void SetSingleSelect1 (bool singleSelect)
 Sets the single selection flag. More...
 
void SetSingleSelect2 (bool singleSelect)
 Sets the single selection flag. More...
 
NXOpen::Annotations::AnnotationShowAnnotation ()
 Makes the on screen annotations visible for a measure element. More...
 
bool SingleSelect1 ()
 Returns the single selection flag. More...
 
bool SingleSelect2 ()
 Returns the single selection flag. More...
 
void UpdateRequirements (NXOpen::Validate::RequirementCheck *requirementCheck, int outputIndex)
 Updates requirement checks for a measure element
Created in NX12.0.1. More...
 
virtual ~MeasureElement ()
 Free resources associated with the measure. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents an element of a master measurement
Created in NX12.0.1.


Member Enumeration Documentation

Indicates the object to measure.

Enumerator
MeasureObject 

object

MeasurePoint 

point

MeasureVector 

vector

MeasureCsys 

csys

Constructor & Destructor Documentation

virtual NXOpen::MeasureElement::~MeasureElement ( )
virtual

Free resources associated with the measure.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX12.0.1.

License requirements : None

Member Function Documentation

int NXOpen::MeasureElement::AlternateSolution ( )

Returns the alternate solution selection.


Created in NX12.0.1.

License requirements : None

NXOpen::Annotations::Annotation* NXOpen::MeasureElement::CreateAnnotation ( )

Creates the on screen annotations for a measure element.

Returns

Created in NX12.0.1.

License requirements : None
void NXOpen::MeasureElement::CreateGeometry ( )

Creates the saved geometry for a measure element.


Created in NX12.0.1.

License requirements : None

void NXOpen::MeasureElement::EditAnnotation ( )

Edits the on screen annotations for a measure element.


Created in NX12.0.1.

License requirements : None

bool NXOpen::MeasureElement::GetAnnotationState ( int  outputIndex)

Gets value of the show annotation state.

Returns

Created in NX12.0.1.

License requirements : None
Parameters
outputIndexoutput index
bool NXOpen::MeasureElement::GetApproximateState ( int  outputIndex)

Gets value of the approximate calculation state.

Returns

Created in NX12.0.1.

License requirements : None
Parameters
outputIndexoutput index
bool NXOpen::MeasureElement::GetExpressionState ( int  outputIndex)

Gets value of the save expression state.

Returns

Created in NX12.0.1.

License requirements : None
Parameters
outputIndexoutput index
bool NXOpen::MeasureElement::GetGeometryState ( int  outputIndex)

Gets value of the save geometry state.

Returns

Created in NX12.0.1.

License requirements : None
Parameters
outputIndexoutput index
NXOpen::MeasureElement::Measure NXOpen::MeasureElement::MeasureObject1 ( )

Returns the type of object to measure.


Created in NX12.0.1.

License requirements : None

NXOpen::MeasureElement::Measure NXOpen::MeasureElement::MeasureObject2 ( )

Returns the type of object to measure.


Created in NX12.0.1.

License requirements : None

void NXOpen::MeasureElement::SetAlternateSolution ( int  alternateSolution)

Sets the alternate solution selection.


Created in NX12.0.1.

License requirements : None

Parameters
alternateSolutionalternate solution
void NXOpen::MeasureElement::SetAnnotationState ( int  outputIndex,
bool  state 
)

Sets value of the save geometry state.


Created in NX12.0.1.

License requirements : None

Parameters
outputIndexoutput index
statestate
void NXOpen::MeasureElement::SetApproximateState ( int  outputIndex,
bool  state 
)

Sets value of the approximate calculation state.


Created in NX12.0.1.

License requirements : None

Parameters
outputIndexoutput index
statestate
void NXOpen::MeasureElement::SetExpressionState ( int  outputIndex,
bool  state 
)

Sets value of the save expression state.


Created in NX12.0.1.

License requirements : None

Parameters
outputIndexoutput index
statestate
void NXOpen::MeasureElement::SetGeometryState ( int  outputIndex,
bool  state 
)

Sets value of the save geometry state.


Created in NX12.0.1.

License requirements : None

Parameters
outputIndexoutput index
statestate
void NXOpen::MeasureElement::SetMeasureObject1 ( NXOpen::MeasureElement::Measure  measureObject)

Sets the type of object to measure.


Created in NX12.0.1.

License requirements : None

Parameters
measureObjectmeasure object
void NXOpen::MeasureElement::SetMeasureObject2 ( NXOpen::MeasureElement::Measure  measureObject)

Sets the type of object to measure.


Created in NX12.0.1.

License requirements : None

Parameters
measureObjectmeasure object
void NXOpen::MeasureElement::SetSingleSelect1 ( bool  singleSelect)

Sets the single selection flag.


Created in NX12.0.1.

License requirements : None

Parameters
singleSelectsingle select
void NXOpen::MeasureElement::SetSingleSelect2 ( bool  singleSelect)

Sets the single selection flag.


Created in NX12.0.1.

License requirements : None

Parameters
singleSelectsingle select
NXOpen::Annotations::Annotation* NXOpen::MeasureElement::ShowAnnotation ( )

Makes the on screen annotations visible for a measure element.

Returns

Created in NX12.0.1.

License requirements : None
bool NXOpen::MeasureElement::SingleSelect1 ( )

Returns the single selection flag.


Created in NX12.0.1.

License requirements : None

bool NXOpen::MeasureElement::SingleSelect2 ( )

Returns the single selection flag.


Created in NX12.0.1.

License requirements : None

void NXOpen::MeasureElement::UpdateRequirements ( NXOpen::Validate::RequirementCheck requirementCheck,
int  outputIndex 
)

Updates requirement checks for a measure element
Created in NX12.0.1.



License requirements : None

Parameters
requirementCheckrequirementcheck
outputIndexoutputindex

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