Methods
Product
getProducts
returns product data for the specified objects example usage const objectids = \["object id 1, object id 2"]; const products = viewer3d getproducts(objectids); parameters objectids list of object ids to limit result, returns all products by default true 330,331left unhandled content type left unhandled content type left unhandled content type left unhandled content type return value list of product data true 661left unhandled content type left unhandled content type if any of the ids in the list are invalid, the corresponding entry in the returned list will be null properties true 220,220,221left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type attributes only supports attribute type of globalid true 661left unhandled content type left unhandled content type properties true 220,220,221left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type example \[ { ifctype "ifcwall", modelid "model id", objectid "object id 1", attributes { globalid { ifctype "ifcgloballyuniqueid", type "string", value "2 tmt90td0x9tjstsytb1j" } } }, { ifctype "ifcdoor", modelid "model id", objectid "object id 2", attributes { globalid { ifctype "ifcgloballyuniqueid", type "string", value "2 let78tf0x5tdsrsyht5k" } } } ];