PartServicesSetPartAttributeValue Method |
Sets the key values of a particular attribute (specification) for a particular internal part.
The nominal, min, and max values may be specified, as well as other settings like the EnforceValue property.
If this attribute presently exists for this part, it's values will be updated. Otherwise, the attribute
will be added to the part's list of attribute values.
Namespace:
FactoryLogix.xTend.PartDefinition
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public void SetPartAttributeValue(
Guid sessionId,
InternalPart part,
PartAttributeValue attributeValue
)
Public Sub SetPartAttributeValue (
sessionId As Guid,
part As InternalPart,
attributeValue As PartAttributeValue
)
public:
virtual void SetPartAttributeValue(
Guid sessionId,
InternalPart^ part,
PartAttributeValue^ attributeValue
) sealed
abstract SetPartAttributeValue :
sessionId : Guid *
part : InternalPart *
attributeValue : PartAttributeValue -> unit
override SetPartAttributeValue :
sessionId : Guid *
part : InternalPart *
attributeValue : PartAttributeValue -> unit
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - part
- Type: FactoryLogix.xTend.DataObjectsInternalPart
The InternalPart whose attributes are to be updated. The Id property of this object must be valid. - attributeValue
- Type: FactoryLogix.xTend.DataObjectsPartAttributeValue
A PartAttributeValue object representing the new attribute values for the part. The Name property of the object must represent a valid, pre-existing attribute name in the system.
Exceptions See Also