NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::PartFamily::InstanceDefinition Class Reference

This class repesents a part family table record (or instance definition on the template) and is created/deleted by PartFamily::TemplateManager . More...

Inheritance diagram for NXOpen::PartFamily::InstanceDefinition:
NXOpen::TransientObject

Public Member Functions

NXString GetValueOfAttribute (NXOpen::PartFamily::FamilyAttribute *partFamAttr)
 Get the value for passed atribute. More...
 
void SetValueOfAttribute (NXOpen::PartFamily::FamilyAttribute *partFamAttr, const NXString &value)
 Set the value for passed atribute with the value. More...
 
void SetValueOfAttribute (NXOpen::PartFamily::FamilyAttribute *partFamAttr, const char *value)
 Set the value for passed atribute with the value. More...
 
virtual ~InstanceDefinition ()
 Free resources associated with the instance. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

This class repesents a part family table record (or instance definition on the template) and is created/deleted by PartFamily::TemplateManager .


Use PartFamily::TemplateManager::AddInstanceDefinition to create a new instance defintion.

Created in NX9.0.0.

Constructor & Destructor Documentation

virtual NXOpen::PartFamily::InstanceDefinition::~InstanceDefinition ( )
virtual

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

License requirements : None

Member Function Documentation

NXString NXOpen::PartFamily::InstanceDefinition::GetValueOfAttribute ( NXOpen::PartFamily::FamilyAttribute partFamAttr)

Get the value for passed atribute.

Returns

Created in NX9.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")
Parameters
partFamAttrpartfamattr
void NXOpen::PartFamily::InstanceDefinition::SetValueOfAttribute ( NXOpen::PartFamily::FamilyAttribute partFamAttr,
const NXString value 
)

Set the value for passed atribute with the value.


Created in NX9.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
partFamAttrpartfamattr
valuevalue
void NXOpen::PartFamily::InstanceDefinition::SetValueOfAttribute ( NXOpen::PartFamily::FamilyAttribute partFamAttr,
const char *  value 
)

Set the value for passed atribute with the value.


Created in NX9.0.0.

License requirements : solid_modeling ("SOLIDS MODELING")

Parameters
partFamAttrpartfamattr
valuevalue

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