@MingboPeng ,
Your specific case there is fine because the Room’s autogenerated name is the same as the ID but, for other cases, you should use the identifier
property instead of the display_name
since the identifier is ultimately what is used to uniquely identify the object in all simulation engines. Also you can get the identifier
all without the need for a custom Python component like so:
2 Likes