NXOpen .NET Reference
12.0.0
|
This class is responsible for setting and getting NX Manager database attribute. More...
Public Member Functions | |
unsafe void | SetAttribute (string attributeTitle, string attributeValue) |
Sets the value of a writable database attribute. More... | |
unsafe string | GetAttribute (string attributeTitle) |
Gets the value of a writable database attribute. More... | |
unsafe void | StoreAttributes () |
Register DB_PART_NAME and DB_PART_DESC attributes with values set in the attribute_manager More... | |
unsafe void | RefreshAttributes () |
Force load the Database Attributes from Teamcenter. More... | |
unsafe void | LoadAttributes (bool reload) |
Load the Database Attributes from Teamcenter. More... | |
unsafe void | LoadAttributesRecursively (bool reload) |
Recursively load the Database Attributes of this part and all its partially or fully loaded components from Teamcenter. More... | |
Protected Member Functions | |
override void | FreeResource () |
Free resources associated with the instance. More... | |
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
|
protected |
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.
unsafe string NXOpen.PDM.DatabaseAttributeManager.GetAttribute | ( | string | attributeTitle | ) |
Gets the value of a writable database attribute.
Created in NX4.0.0
License requirements: None.
attributeTitle | the title of the attribute |
unsafe void NXOpen.PDM.DatabaseAttributeManager.LoadAttributes | ( | bool | reload | ) |
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.
reload | Reload attributes that have already been loaded, if otherwise allowed. |
unsafe void NXOpen.PDM.DatabaseAttributeManager.LoadAttributesRecursively | ( | bool | reload | ) |
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.
reload | Reload attributes that have already been loaded, if otherwise allowed. |
unsafe void NXOpen.PDM.DatabaseAttributeManager.RefreshAttributes | ( | ) |
Force load the Database Attributes from Teamcenter.
This removes changes to values made in NX.
Created in NX6.0.0
License requirements: None.
unsafe void NXOpen.PDM.DatabaseAttributeManager.SetAttribute | ( | string | attributeTitle, |
string | attributeValue | ||
) |
Sets the value of a writable database attribute.
Created in NX4.0.0
License requirements: None.
attributeTitle | the title of the attribute to be set |
attributeValue | the new value the attribute is to be set to |
unsafe void NXOpen.PDM.DatabaseAttributeManager.StoreAttributes | ( | ) |
Register DB_PART_NAME and DB_PART_DESC attributes with values set in the attribute_manager
Created in NX4.0.0
License requirements: None.