![]() |
COLNEO Pro 1.0
|
Core API interface for Property Scripts.
internal
This API provides only methods that reads information.
(c) COLNEO GmbH
Functions | |
OBJECTS | |
| ApiJsonResponse | getObjects (QStringList &domains=QStringList()<< "geo", QString &filterexpression=QString()) |
HIERARCHIES / DOMAINS | |
| ApiJsonResponse | getParent (QString &objId) |
| ApiJsonResponse | getChildren (QString &objId, int depth=0) |
OBJECT PROPERTIES | |
| ApiJsonResponse | getPropertyValue (QStringList &objIds, QString &name, QString &xsDataType) |
| ApiJsonResponse | getProperties (QString &objId, QVariantMap &filter=QVariantMap()) |
RELATIONS | |
| ApiJsonResponse | getLinkedObjects (QStringList &sourceIds, QVariantMap &options=QVariantMap()) |
|
slot |
Get children of object with given id recursivly up to given depth.
| objId | ID of the object |
| depth | [optional] Recursion depth, default = 0 (maximum depth). |
|
slot |
Get all objects linked to given objects.
| sourceIds | |
| options | {
...
}
|
|
slot |
Get objects.
| domains | Domain short code or combination as array, e.g. [ 'geo', 'act' ] |
| filterexpression | Object filter "$ifc:Entity##xs:string ~like~ 'IfcWall%'"
|
|
slot |
Get parent of object with given ID.
| objId | ID of the object |
|
slot |
Get map of properties of a given object.
| objId | ID of the object. |
| filter | [optional] Filter specification for getting properties. If defined the filter affects the name and data type of the fetched properties. {
name: "MyNumber",
datatype : ["xs:double", "xs:float"]
}
|
|
slot |
Get property value for a one or more objects and property type.
| objIds | Object ID or list of object IDs |
| name | Name of property. |
| xsDataType | Datatype of property, one of
|