Sepasoft MES Module Suite
Getting Sample Definition UUID
To get an attribute UUID, you can load the Sample Definition Object to get the attribute property and then you can get the UUID of that property.
getPropertyUUID()
Python |
# Get MESSampleDefinition, extends from AbstractMESObject sampleDefinition = system.mes.spc.definition.getSampleDefinition('Individual') # Get MESSampleAttributeProperty, extends from AbstractComplexProperty attribute = sampleDefinition.getSampleAttributeProperty('X') # Get UUID from AbstractMESComplexProperty getPropertyUUID() attributeUUID = attribute.getPropertyUUID() print attributeUUID |
Sepasoft MES Module Suite