Open bschorno opened 1 year ago
This is possible but certainly not suggested as entity label is used as a stable internal unique key in many places. Why do you need to change it?
I don't realy want to change the label afterwards, but rather set it when I create the entity, so to don't mix up the connections. The case I have is hard to explane, but I want to add new entities to an existing model from a dataset which already provides the entity labels. The labels I get are also unique and wont overlap with the existing ones in the model.
Our IModel.InsertCopy()
method takes an argument which allows you to keep the original labels if you can guarantee they won't clash.
Is it possible to create an new entity (e.g. IfcWall) and assign the EntityLabel by myself? Or otherwhise is it possible to change the EntityLabel of a given entity?