CAMAttributeCollection Class¶
-
class
NXOpen.CAM.CAMAttributeCollection¶ Bases:
objectRepresents the CAM Attribute collection
To obtain an instance of this class, refer to
NXOpen.CAM.CAMFeatureNew in version NX8.0.0.
Methods¶
| Method | Description |
|---|---|
| AddAttribute | Add an attribute |
| FindObject | Finds the CAM. |
Method Detail¶
AddAttribute¶
-
CAMAttributeCollection.AddAttribute¶ Add an attribute
Signature
AddAttribute(name, type)Parameters: - name (str) – attribute name
- type (
NXOpen.CAM.CAMAttributeValueType) – attribute type
Returns: Return type: New in version NX8.0.0.
License requirements: cam_base (“CAM BASE”)
FindObject¶
-
CAMAttributeCollection.FindObject¶ Finds the CAM.
CAMAttribute object with the given identifier as recorded in a journal.
Signature
FindObject(sid)Parameters: sid (str) – the name of the object Returns: the found object Return type: NXOpen.CAM.CAMAttributeNew in version NX8.0.0.
License requirements: None.