Search objects in project
POST/projects/:sceneId/search
Returns subset of objects matched complicated search criterias with optional continuation token if needed
Request
Path Parameters
- application/json
Body
Array [
]
Path to search start from.
How many generations of descendants to include in search.
search
object[]
nullable
Property pattern to search for.
Property name to find.
Value to find.
Require exact match or not.
Exclude this match from result.
range
object
Values range
Minimal value.
Maxumum value.
Clipping planes.
[[1,0,0,0],[0,1,0,0]]
Preload all matching objects.
Continuation token.
Responses
- 200
- 401
- 404
- 500
Success
- application/json
- text/plain
- Schema
- Example (from schema)
Schema
Array [
- ObjectReference
- ObjectMetadata
]
results
object[]
required
Search results array.
Depending on "full" request param:
true - Server.Models.ObjectMetadata,
false/undefined - Server.Models.ObjectReference
oneOf
Object's reference.
Object id in database
1234
Object path in hierarchy
Path0/Subpath0/ObjectName
Object hierarchy node type.
Possible values: [Internal
, Leaf
]
bounds
object
Object's bounding volume.
box
object
required
Axis-aligned bounding box
minimum coordinates
[-1,-1,-1]
maximum coordinates
[1,1,1]
sphere
object
required
Bounding sphere
Sphere center.
[0,0,0]
Sphere radius.
1
Object's metadata.
Name of object (typically a GUID from IFC database)
Description of object (typically from IFC database)
Url associated with object
String dictionary of any additional metadata properties associated with object
[["Property 1","Value 1"],["Property 2","2"]]
Object id in database
1234
Object path in hierarchy
Path0/Subpath0/ObjectName
Object hierarchy node type.
Possible values: [Internal
, Leaf
]
bounds
object
Object's bounding volume.
box
object
required
Axis-aligned bounding box
minimum coordinates
[-1,-1,-1]
maximum coordinates
[1,1,1]
sphere
object
required
Bounding sphere
Sphere center.
[0,0,0]
Sphere radius.
1
Continuation token
{
"results": [
{},
{}
],
"continuation": "string"
}
- Schema
- Example (from schema)
Schema
Array [
- ObjectReference
- ObjectMetadata
]
results
object[]
required
Search results array.
Depending on "full" request param:
true - Server.Models.ObjectMetadata,
false/undefined - Server.Models.ObjectReference
oneOf
Object's reference.
Object id in database
1234
Object path in hierarchy
Path0/Subpath0/ObjectName
Object hierarchy node type.
Possible values: [Internal
, Leaf
]
bounds
object
Object's bounding volume.
box
object
required
Axis-aligned bounding box
minimum coordinates
[-1,-1,-1]
maximum coordinates
[1,1,1]
sphere
object
required
Bounding sphere
Sphere center.
[0,0,0]
Sphere radius.
1
Object's metadata.
Name of object (typically a GUID from IFC database)
Description of object (typically from IFC database)
Url associated with object
String dictionary of any additional metadata properties associated with object
[["Property 1","Value 1"],["Property 2","2"]]
Object id in database
1234
Object path in hierarchy
Path0/Subpath0/ObjectName
Object hierarchy node type.
Possible values: [Internal
, Leaf
]
bounds
object
Object's bounding volume.
box
object
required
Axis-aligned bounding box
minimum coordinates
[-1,-1,-1]
maximum coordinates
[1,1,1]
sphere
object
required
Bounding sphere
Sphere center.
[0,0,0]
Sphere radius.
1
Continuation token
{
"results": [
{},
{}
],
"continuation": "string"
}
Unauthorized
Not Found
Server Error