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 add a property to that smc. The following code below gives error: AttributeError: 'SubmodelElementCollectionUnordered' object has no attribute 'submodel_element'.
smc.submodel_element.add(property_)
Is there a way to add a property to a SubmodelElementCollection?
The text was updated successfully, but these errors were encountered:
Hi,
How do I add a property to a SubmodelElementCollection?
With the following code I am able to create and add a SubmodelElementCollection to a Submodel.
I am not able to add a property to that smc. The following code below gives error: AttributeError: 'SubmodelElementCollectionUnordered' object has no attribute 'submodel_element'.
smc.submodel_element.add(property_)
Is there a way to add a property to a SubmodelElementCollection?
The text was updated successfully, but these errors were encountered: