PartFamilyMemberValues Class¶
-
class
NXOpen.
PartFamilyMemberValues
¶ Bases:
NXOpen.TransientObject
This class is responsible for storing part family member attribute values.
Use the method
Part.NewPartFamilyMemberValues()
to create new instance of this class. .. versionadded:: NX6.0.0Deprecated since version NX9.0.0: Use
PartFamily.InstanceDefinition
instead.
Methods¶
Method | Description |
---|---|
Dispose | Free resources associated with the instance. |
SetMemberValues | Set the part family member data |
Method Detail¶
Dispose¶
-
PartFamilyMemberValues.
Dispose
¶ 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.
Signature
Dispose()
New in version NX6.0.0.
Deprecated since version NX9.0.0: PartFamilyMemberValues object is deprecated, so dispose of this object is not needed
License requirements: None.
SetMemberValues¶
-
PartFamilyMemberValues.
SetMemberValues
¶ Set the part family member data
Signature
SetMemberValues(memberValues)
Parameters: memberValues (list of str) – array of attribute values for a member New in version NX6.0.0.
Deprecated since version NX9.0.0: Use
PartFamily.InstanceDefinition.SetValueOfAttribute()
andPartFamily.TemplateManager.GetPartFamilyAttribute()
instead.License requirements: None.