Accessing scene primitives by ID

Hi, is there a way to access scene primitives through an id? similar to entities?

Yes you can. There’s no special accessor to get primitives by ID like with Entities. But you can provide the id option parameter when constructing a new primitive, and then iterate through the scene primitives using PrimitiveCollection.get and compare to id.

Thanks for the info! Will try out your solution.