NX Open C++ Reference Guide
Public Member Functions
NXOpen::PDM::DatabaseAttributeManager Class Reference

This class is responsible for setting and getting NX Manager database attribute. More...

Inheritance diagram for NXOpen::PDM::DatabaseAttributeManager:
NXOpen::TransientObject

List of all members.

Public Member Functions

NXString GetAttribute (const NXString &attributeTitle)
 Gets the value of a writable database attribute.
void LoadAttributes (bool reload)
 Load the Database Attributes from Teamcenter.
void LoadAttributesRecursively (bool reload)
 Recursively load the Database Attributes of this part and all its partially or fully loaded components from Teamcenter.
void RefreshAttributes ()
 This method is now a NOOP.
void SetAttribute (const NXString &attributeTitle, const NXString &attributeValue)
 Sets the value of a writable database attribute.
void StoreAttributes ()
 Register DB_PART_NAME and DB_PART_DESC attributes with values set in the attribute_manager
Created in NX4.0.0.
virtual ~DatabaseAttributeManager ()
 Free resources associated with the instance.

Detailed Description

This class is responsible for setting and getting NX Manager database attribute.


Use PDM::PartBuilder::NewDatabaseAttributeManager or PDM::PdmPart::NewDatabaseAttributeManager to get the instance of this class.

Created in NX4.0.0.


Constructor & Destructor Documentation

Free resources associated with the instance.

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

Gets the value of a writable database attribute.

Returns:
the value of the attribute
Created in NX4.0.0.

License requirements : None
Parameters:
attributeTitlethe title of the attribute

Load the Database Attributes from Teamcenter.

This operation will not discard any changes made in this session that aren't committed to Teamcenter. If 'reload' is set to 'true', attributes that have already been loaded will be loaded again, if otherwise allowed.


Created in NX8.0.0.

License requirements : None

Parameters:
reloadReload attributes that have already been loaded, if otherwise allowed.

Recursively load the Database Attributes of this part and all its partially or fully loaded components from Teamcenter.

This operation will not discard any changes made in this session that aren't committed to Teamcenter.


Created in NX8.0.0.

License requirements : None

Parameters:
reloadReload attributes that have already been loaded, if otherwise allowed.

This method is now a NOOP.

It will be removed in a future release

Deprecated:
Deprecated in NX8.0.0.


Created in NX6.0.0.

License requirements : None

void NXOpen::PDM::DatabaseAttributeManager::SetAttribute ( const NXString attributeTitle,
const NXString attributeValue 
)

Sets the value of a writable database attribute.


Created in NX4.0.0.

License requirements : None

Parameters:
attributeTitlethe title of the attribute to be set
attributeValuethe new value the attribute is to be set to

Register DB_PART_NAME and DB_PART_DESC attributes with values set in the attribute_manager
Created in NX4.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.