Click or drag to resize

PartServicesRemovePartAttributeValue Method

Removes a part attribute from the specified internal part. If the attribute is not associated to the specified internal part, no changes will be made and no exceptions thrown.

Namespace:  FactoryLogix.xTend.PartDefinition
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public void RemovePartAttributeValue(
	Guid sessionId,
	InternalPart part,
	string attributeName
)

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 from whom the attribute will be removed. The Id property of this object must be valid.
attributeName
Type: SystemString
The name of the attribute to be removed. This must correspond to a valid pre-existing attribute name in the system.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThe specified part was not found in the system.
UnknownAttributeExceptionThe specified part attribute does not exist in the system.
See Also