Changing object name creates a problem in the project (API)

Issue #211 on hold
Ali Ozdemir created an issue

Assume that we have an object with name testOBJ1 Assume that we have another object named testOBJ2 and its type is material Assume testOBJ1 has a parameter and its type is material Let's set testOBJ1.material to testOBJ2 Change the name of the testOBJ2 Now we have to search&modify every object that uses testOBJ2 as a parameter.

Should we do this in our code or is this openBrIM's responsibility?

Comments (2)

  1. Ali Koc

    This is something basic that OpenBrIM should be able to handle for you. In the meantime, keep in mind that you can always use the ID of the object for assignment. Because ID of the object never changes, the change of name will have no effect on object assignment.

  2. Log in to comment