Methods
Object

getObjectColors

returns a map of the specified objects and their colors the map only contains objects assigned a custom color using setobjectcolors docid\ o aj55esoim34jza6mkpf example usage const objectids = \["object 1", "object 2"]; const objectcolormap = viewer3d getobjectcolors(objectids); parameters objectids list of object ids type required array\[string] yes return value map of object ids and their colors type map\[object] properties name type description color object rgb color components of the object opacity number opacity of the object style string rgba hex value of the color, i e #ff0000ff color name type description r number red component g number green component b number blue component example { objectid { color { r 1, g 0, b 0, }, opacity 1, style "#ff0000ff", }, };