When cloning and subsequently storing a locked ElementSet (e.g. All_Elements), the resulting Element Set is empty.
The reason is that locked Element Sets do not expose their element_labels (i.e., it is empty), as it is not editable.
Proposed resolution: return the filled element_labels from the API, but disallow changing them for locked objects.
Note that this behavior is different from the ACP GUI scripting, where the value is always [] (empty list). However, it would produce copy / paste behavior consistent with the GUI.
When cloning and subsequently storing a locked
ElementSet
(e.g.All_Elements
), the resulting Element Set is empty.The reason is that locked Element Sets do not expose their
element_labels
(i.e., it is empty), as it is not editable.Proposed resolution: return the filled
element_labels
from the API, but disallow changing them for locked objects. Note that this behavior is different from the ACP GUI scripting, where the value is always[]
(empty list). However, it would produce copy / paste behavior consistent with the GUI.Will need to be changed in the backend.
Tagging @roosre for comment.