Hi guys,
When a record is loaded twice in STK, e.g. via get_record_by_id(), this results in two record objects of the same record, but with different Python IDs and hashes. Hence, it's not possible to avoid such duplicates entering record lists via "if rec not in list()" or to clean an already existing record list via list(set()).
In the past, I my workaround was creating a dictionary, containing the record names as key and the record objects as value. But this isn't really an elegant workaround.
So I'd like to know whether there's a best practice to keep record lists free of such multiple record objects?
Thanks in advance & bests,
Daniel