BIMserver
BIMserver copied to clipboard
getDataObjectByGuid vs getExtendedData
Version 1.5.172: I am trying to get a complete dataset about an object ( like IfcDoor). The method LowLevelInterface::getDataObjectByGuid() returns some of the data - but it seems that I have to look for extra property sets - and fetch them separately.
Is there a way to get the information with all p-sets in one go?
ServiceInterface::getExtendedData() is not working (for me) - "Unhandled exception..."
Regards
Not sure what ExtendedData has to do with this, ExtendedData are extra pieces of data you can attach to BIMserver Revisions or Projects.
You can try this query to load all property sets and properties of all IfcProducts in your model:
{
"type": {
"name": "IfcProduct",
"includeAllSubTypes": true
}, "include": "ifc2x3tc1-stdlib:AllProperties"
}
Thanks for the tip. this one gave me a lot more:
{ "guid": "3cVEcftE5DtRX0GlhOvV$2", "include": "ifc2x3tc1-stdlib:AllProperties" }
Is the possible input-variants to queries to be found somewhere?
Are you asking for documentation of the query language?