NX Open C++ Reference Guide
Public Member Functions
NXOpen::Annotations::Associativity Class Reference

Represents an associativity object. More...

Inheritance diagram for NXOpen::Annotations::Associativity:
NXOpen::TransientObject

List of all members.

Public Member Functions

double Angle ()
 Returns the angle.
NXOpen::Point3d FirstDefinitionPoint ()
 Returns the first definition point.
NXOpen::NXObjectFirstObject ()
 Returns the first associativity object
Created in NX4.0.0.
NXOpen::Annotations::AssociativityLineOption LineOption ()
 Returns the line option
Created in NX4.0.0.
NXOpen::ViewObjectView ()
 Returns the object view.
NXOpen::Point3d PickPoint ()
 Returns the pick point
Created in NX4.0.0.
NXOpen::Annotations::AssociativityPointOption PointOption ()
 Returns the point option
Created in NX4.0.0.
NXOpen::Point3d SecondDefinitionPoint ()
 Returns the second definition point.
NXOpen::NXObjectSecondObject ()
 Returns the second associativity object, if the annotation is associated to an intersection point.
void SetAngle (double angle)
 Sets the angle.
void SetFirstDefinitionPoint (const NXOpen::Point3d &firstDefinitionPoint)
 Sets the first definition point.
void SetFirstObject (NXOpen::NXObject *object)
 Sets the first associativity object
Created in NX4.0.0.
void SetLineOption (NXOpen::Annotations::AssociativityLineOption lineOption)
 Sets the line option
Created in NX4.0.0.
void SetObjectView (NXOpen::View *objectView)
 Sets the object view.
void SetPickPoint (const NXOpen::Point3d &pickPoint)
 Sets the pick point
Created in NX4.0.0.
void SetPointOption (NXOpen::Annotations::AssociativityPointOption pointOption)
 Sets the point option
Created in NX4.0.0.
void SetSecondDefinitionPoint (const NXOpen::Point3d &secondDefinitionPoint)
 Sets the second definition point.
void SetSecondObject (NXOpen::NXObject *object2)
 Sets the second associativity object, if the annotation is associated to an intersection point.
virtual ~Associativity ()
 Frees the object from memory.

Detailed Description

Represents an associativity object.

The associativity object describes how an annotation is attached to geometry. The associativities are specified at indices starting with 1. In most cases, the index corresponds to the order in which objects are selected to create an annotation. So, the associativity at index 1 specifies first object selectd, the associativity at index 2 specifies second object selected and so on...
Dimensions can only have associativities at indices {1, 2, 3}. Please note the following special cases for the dimension associativities -

1. For ordinate dimensions Annotations::OrdinateDimension , the associativity at index 1 stores the ordinate origin data.

2. The associativity at index 3 stores the following -

A. Fold location for the folded radius dimension

B. Margin data for the ordinate dimensions

3. Set the associativities at index 1 when creating chain and baseline dimensions. The associativity at index 2 and 3 are ignored.

To create a new instance of this class, use Annotations::AnnotationManager::NewAssociativity

Created in NX4.0.0.


Constructor & Destructor Documentation

Frees the object from memory.

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 NX4.0.0.

License requirements : None


Member Function Documentation

Returns the angle.

Required for following line option - Annotations::AssociativityLineOptionAngle
Created in NX4.0.0.

License requirements : None

Returns the first definition point.

Required for following line options - Annotations::AssociativityLineOptionPointVector
Created in NX4.0.0.

License requirements : None

Returns the first associativity object
Created in NX4.0.0.



License requirements : None

Returns the line option
Created in NX4.0.0.



License requirements : None

Returns the object view.

Both the associativity objects must have the same view.
Created in NX4.0.0.

License requirements : None

Returns the pick point
Created in NX4.0.0.



License requirements : None

Returns the point option
Created in NX4.0.0.



License requirements : None

Returns the second definition point.

Required for following line options - Annotations::AssociativityLineOptionPointVector
Created in NX4.0.0.

License requirements : None

Returns the second associativity object, if the annotation is associated to an intersection point.


Created in NX4.0.0.

License requirements : None

Sets the angle.

Required for following line option - Annotations::AssociativityLineOptionAngle
Created in NX4.0.0.

License requirements : None

Parameters:
angleNew angle in radians

Sets the first definition point.

Required for following line options - Annotations::AssociativityLineOptionPointVector
Created in NX4.0.0.

License requirements : None

Parameters:
firstDefinitionPointNew first definition point in absolute coordinates

Sets the first associativity object
Created in NX4.0.0.



License requirements : None

Parameters:
objectNew first associativity object

Sets the line option
Created in NX4.0.0.



License requirements : None

Parameters:
lineOptionNew line option

Sets the object view.

Both the associativity objects must have the same view.
Created in NX4.0.0.

License requirements : None

Parameters:
objectViewNew object view

Sets the pick point
Created in NX4.0.0.



License requirements : None

Parameters:
pickPointNew pick point in absolute coordinates

Sets the point option
Created in NX4.0.0.



License requirements : None

Parameters:
pointOptionNew point option

Sets the second definition point.

Required for following line options - Annotations::AssociativityLineOptionPointVector
Created in NX4.0.0.

License requirements : None

Parameters:
secondDefinitionPointNew second definition point in absolute coordinates

Sets the second associativity object, if the annotation is associated to an intersection point.


Created in NX4.0.0.

License requirements : None

Parameters:
object2New second associativity object

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