NX Open C++ Reference Guide
Public Types | Public Member Functions
NXOpen::CAM::CAMAttribute Class Reference

Represents a CAM Feature Attribute
To obtain an instance of this class use CAM::CAMFeature

Created in NX8.0.0. More...

Inheritance diagram for NXOpen::CAM::CAMAttribute:
NXOpen::NXObject NXOpen::TaggedObject NXOpen::INXObject

List of all members.

Public Types

enum  ValueType {
  ValueTypeInteger, ValueTypeDouble, ValueTypeString, ValueTypeBool,
  ValueTypePoint3, ValueTypeVector3
}
 Attribute types. More...

Public Member Functions

NXString DisplayName ()
 Returns the name of the attribute
Created in NX8.0.0.
bool GetBoolValue ()
 Get the feature attribute boolean value for a boolean type attribute.
double GetDoubleValue ()
 Get the feature attribute double value for a double type attribute.
int GetIntegerValue ()
 Get the feature attribute integer value for an integer type attribute.
NXString GetStringValue ()
 Set the feature attribute string value for a string type attribute.
bool IsOverridden ()
 Returns the flag that indicates if the attribute is overridden
Created in NX8.0.0.
NXString Name ()
 Returns the name of the attribute
Created in NX8.0.0.
void RemoveOverriddenValue ()
 Sets the overridden attribute value to undefined
Created in NX8.0.0.
void RemoveValue ()
 Sets the attribute value to undefined
Created in NX8.0.0.
void SetBoolValue (bool attributeValue)
 Set the feature attribute boolean value for a boolean type attribute
Created in NX8.0.0.
void SetDisplayName (const NXString &name)
 Sets the name of the attribute
Created in NX8.0.0.
void SetDoubleValue (double attributeValue)
 Set the feature attribute double value for a double type attribute
Created in NX8.0.0.
void SetIntegerValue (int attributeValue)
 Set the feature attribute integer value for an integer type attribute
Created in NX8.0.0.
void SetStringValue (const NXString &name)
 Get the feature attribute string value for a string type attribute
Created in NX8.0.0.
NXOpen::CAM::CAMAttribute::ValueType Type ()
 Returns the feature attribute type
Created in NX8.0.0.

Detailed Description

Represents a CAM Feature Attribute
To obtain an instance of this class use CAM::CAMFeature

Created in NX8.0.0.



Member Enumeration Documentation

Attribute types.

Enumerator:
ValueTypeInteger 

integer

ValueTypeDouble 

double

ValueTypeString 

string

ValueTypeBool 

bool

ValueTypePoint3 

point3

ValueTypeVector3 

vector3


Member Function Documentation

Returns the name of the attribute
Created in NX8.0.0.



License requirements : None

Get the feature attribute boolean value for a boolean type attribute.

Returns:

Created in NX8.0.0.

License requirements : None

Get the feature attribute double value for a double type attribute.

Returns:

Created in NX8.0.0.

License requirements : None

Get the feature attribute integer value for an integer type attribute.

Returns:

Created in NX8.0.0.

License requirements : None

Set the feature attribute string value for a string type attribute.

Returns:

Created in NX8.0.0.

License requirements : None

Returns the flag that indicates if the attribute is overridden
Created in NX8.0.0.



License requirements : None

Returns the name of the attribute
Created in NX8.0.0.



License requirements : None

Reimplemented from NXOpen::NXObject.

Sets the overridden attribute value to undefined
Created in NX8.0.0.



License requirements : cam_base ("CAM BASE")

Sets the attribute value to undefined
Created in NX8.0.0.



License requirements : cam_base ("CAM BASE")

void NXOpen::CAM::CAMAttribute::SetBoolValue ( bool  attributeValue)

Set the feature attribute boolean value for a boolean type attribute
Created in NX8.0.0.



License requirements : cam_base ("CAM BASE"), cam_base ("CAM BASE")

Parameters:
attributeValueattributevalue

Sets the name of the attribute
Created in NX8.0.0.



License requirements : cam_base ("CAM BASE")

Parameters:
namename
void NXOpen::CAM::CAMAttribute::SetDoubleValue ( double  attributeValue)

Set the feature attribute double value for a double type attribute
Created in NX8.0.0.



License requirements : cam_base ("CAM BASE"), cam_base ("CAM BASE")

Parameters:
attributeValueattributevalue
void NXOpen::CAM::CAMAttribute::SetIntegerValue ( int  attributeValue)

Set the feature attribute integer value for an integer type attribute
Created in NX8.0.0.



License requirements : cam_base ("CAM BASE"), cam_base ("CAM BASE")

Parameters:
attributeValueattributevalue

Get the feature attribute string value for a string type attribute
Created in NX8.0.0.



License requirements : cam_base ("CAM BASE"), cam_base ("CAM BASE")

Parameters:
namename

Returns the feature attribute type
Created in NX8.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.