You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not able to read the template IDTA 02012-1-0_Template_DEXPI.aasx with the basyx-python-sdkaasx.AASXReader.
When reading the file, multiple AASConstraintViolations of type Constraint AASd-123 and Constraint AASd-127 occurs.
I have tested with the Handover Documentation template, and the aasx.AASXReader works fine.
The following changes made the Submodel template readable:
Removing the Submodel Elements of type “ReferenceElement” and “RelationshipElement”. This solved the constraint violations.
Remove the value of the File elements ModelFile and ModelRepresentation. The files are not attached in the AASX file.
It seems the error is with these elements.
The text was updated successfully, but these errors were encountered:
Hi @Rudra-sandeep,
Any status on updating the DEXPI template to a working example?
To solve the constraint violation for the ReferenceElement in the MappingDirectory, you can follow these steps. Note that I have not investigated the other issues with the template.
ValueError: Key(type=FRAGMENT_REFERENCE, value=ProteusXML@ID=ProcessInstrumentationFunction-3) is not preceeded by a key of type File or Blob, but Key(type=SUBMODEL_ELEMENT, value=ModelFile) (Constraint AASd-127)
I am not able to read the template
IDTA 02012-1-0_Template_DEXPI.aasx
with the basyx-python-sdkaasx.AASXReader
.When reading the file, multiple AASConstraintViolations of type
Constraint AASd-123
andConstraint AASd-127
occurs.I have tested with the Handover Documentation template, and the aasx.AASXReader works fine.
The following changes made the Submodel template readable:
It seems the error is with these elements.
The text was updated successfully, but these errors were encountered: