NXOpen .NET Reference Guide
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
NXOpen.MeasureElement Class Reference

Represents an element of a master measurement More...

Inheritance diagram for NXOpen.MeasureElement:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Types

enum  Measure { Object, Point, Vector, Csys }
 Indicates the object to measure More...
 

Public Member Functions

unsafe
NXOpen.Annotations.Annotation 
CreateAnnotation ()
 Creates the on screen annotations for a measure element. More...
 
unsafe void CreateGeometry ()
 Creates the saved geometry for a measure element. More...
 
unsafe void EditAnnotation ()
 Edits the on screen annotations for a measure element. More...
 
unsafe bool GetAnnotationState (int outputIndex)
 Gets value of the show annotation state. More...
 
unsafe bool GetApproximateState (int outputIndex)
 Gets value of the approximate calculation state. More...
 
unsafe bool GetExpressionState (int outputIndex)
 Gets value of the save expression state. More...
 
unsafe bool GetGeometryState (int outputIndex)
 Gets value of the save geometry state. More...
 
unsafe void SetAnnotationState (int outputIndex, bool state)
 Sets value of the save geometry state. More...
 
unsafe void SetApproximateState (int outputIndex, bool state)
 Sets value of the approximate calculation state. More...
 
unsafe void SetExpressionState (int outputIndex, bool state)
 Sets value of the save expression state. More...
 
unsafe void SetGeometryState (int outputIndex, bool state)
 Sets value of the save geometry state. More...
 
unsafe
NXOpen.Annotations.Annotation 
ShowAnnotation ()
 Makes the on screen annotations visible for a measure element. More...
 
unsafe void UpdateRequirements (NXOpen.Validate.RequirementCheck requirementCheck, int outputIndex)
 Updates requirement checks for a measure element More...
 
- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override void FreeResource ()
 Free resources associated with the measure. More...
 

Properties

unsafe int AlternateSolution [get, set]
 Returns or sets the alternate solution selection. More...
 
unsafe
NXOpen.MeasureElement.Measure 
MeasureObject1 [get, set]
 Returns or sets the type of object to measure. More...
 
unsafe
NXOpen.MeasureElement.Measure 
MeasureObject2 [get, set]
 Returns or sets the type of object to measure. More...
 
unsafe bool SingleSelect1 [get, set]
 Returns or sets the single selection flag. More...
 
unsafe bool SingleSelect2 [get, set]
 Returns or sets the single selection flag. More...
 
- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 
- Properties inherited from NXOpen.Utilities.NXRemotableObject
IMessageSink NextSink [get]
 Gets the next message sink in the sink chain. More...
 

Detailed Description

Represents an element of a master measurement

Created in NX12.0.1

Member Enumeration Documentation

Indicates the object to measure

Enumerator
Object 
Point 
Vector 
Csys 

Member Function Documentation

unsafe NXOpen.Annotations.Annotation NXOpen.MeasureElement.CreateAnnotation ( )
inline

Creates the on screen annotations for a measure element.

Created in NX12.0.1

License requirements: None.

Returns
unsafe void NXOpen.MeasureElement.CreateGeometry ( )
inline

Creates the saved geometry for a measure element.

Created in NX12.0.1

License requirements: None.

unsafe void NXOpen.MeasureElement.EditAnnotation ( )
inline

Edits the on screen annotations for a measure element.

Created in NX12.0.1

License requirements: None.

override void NXOpen.MeasureElement.FreeResource ( )
inlineprotectedvirtual

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.

Implements NXOpen.TransientObject.

unsafe bool NXOpen.MeasureElement.GetAnnotationState ( int  outputIndex)
inline

Gets value of the show annotation state.

Created in NX12.0.1

License requirements: None.

Parameters
outputIndex
Returns
unsafe bool NXOpen.MeasureElement.GetApproximateState ( int  outputIndex)
inline

Gets value of the approximate calculation state.

Created in NX12.0.1

License requirements: None.

Parameters
outputIndex
Returns
unsafe bool NXOpen.MeasureElement.GetExpressionState ( int  outputIndex)
inline

Gets value of the save expression state.

Created in NX12.0.1

License requirements: None.

Parameters
outputIndex
Returns
unsafe bool NXOpen.MeasureElement.GetGeometryState ( int  outputIndex)
inline

Gets value of the save geometry state.

Created in NX12.0.1

License requirements: None.

Parameters
outputIndex
Returns
unsafe void NXOpen.MeasureElement.SetAnnotationState ( int  outputIndex,
bool  state 
)
inline

Sets value of the save geometry state.

Created in NX12.0.1

License requirements: None.

Parameters
outputIndex
state
unsafe void NXOpen.MeasureElement.SetApproximateState ( int  outputIndex,
bool  state 
)
inline

Sets value of the approximate calculation state.

Created in NX12.0.1

License requirements: None.

Parameters
outputIndex
state
unsafe void NXOpen.MeasureElement.SetExpressionState ( int  outputIndex,
bool  state 
)
inline

Sets value of the save expression state.

Created in NX12.0.1

License requirements: None.

Parameters
outputIndex
state
unsafe void NXOpen.MeasureElement.SetGeometryState ( int  outputIndex,
bool  state 
)
inline

Sets value of the save geometry state.

Created in NX12.0.1

License requirements: None.

Parameters
outputIndex
state
unsafe NXOpen.Annotations.Annotation NXOpen.MeasureElement.ShowAnnotation ( )
inline

Makes the on screen annotations visible for a measure element.

Created in NX12.0.1

License requirements: None.

Returns
unsafe void NXOpen.MeasureElement.UpdateRequirements ( NXOpen.Validate.RequirementCheck  requirementCheck,
int  outputIndex 
)
inline

Updates requirement checks for a measure element

Created in NX12.0.1

License requirements: None.

Parameters
requirementCheck
outputIndex

Property Documentation

unsafe int NXOpen.MeasureElement.AlternateSolution
getset

Returns or sets the alternate solution selection.

Created in NX12.0.1

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.MeasureElement.Measure NXOpen.MeasureElement.MeasureObject1
getset

Returns or sets the type of object to measure.

Created in NX12.0.1

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.MeasureElement.Measure NXOpen.MeasureElement.MeasureObject2
getset

Returns or sets the type of object to measure.

Created in NX12.0.1

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.MeasureElement.SingleSelect1
getset

Returns or sets the single selection flag.

Created in NX12.0.1

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.MeasureElement.SingleSelect2
getset

Returns or sets the single selection flag.

Created in NX12.0.1

License requirements to get this property: None.

License requirements to set this property: None.


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