![]() |
Infohub JS API
|
Represents one topic-scoped BCF API resource.
Public Member Functions | |
| comment (commentId) | |
| get | comments () |
| delete () | |
| documentReference (documentReferenceId) | |
| get | documentReferences () |
| get | documents () |
| get | events () |
| get | files () |
| get () | |
| get | relatedTopics () |
| get | snippet () |
| update (topicData) | |
| viewpoint (viewpointId) | |
| get | viewpoints () |
| comment | ( | commentId | ) |
Selects a comment on this topic.
| {string} | commentId - BCF comment identifier. |
| get comments | ( | ) |
Gets this topic's comment collection.
| delete | ( | ) |
| documentReference | ( | documentReferenceId | ) |
Selects a document reference on this topic.
| {string} | documentReferenceId - BCF document-reference identifier. |
| get documentReferences | ( | ) |
Gets this topic's document-reference collection (links to a Document-or-URL).
| get documents | ( | ) |
Gets this topic's document collection.
Documents are uploaded/listed via this route, but stored at PROJECT level - topicId in the URL is only validated, not the storage parent.
| get events | ( | ) |
Gets this topic's event collection.
| get files | ( | ) |
Gets the files referenced by this topic (IFC model pointers, not binaries - see BcfTopicResource#documents for uploaded binaries).
| get | ( | ) |
| get relatedTopics | ( | ) |
Gets the topics related to this topic.
| get snippet | ( | ) |
Gets the topic's BIM snippet - singular, a topic has at most one.
| update | ( | topicData | ) |
Partial update: only fields present in the body are touched.
| {object} | topicData - Topic fields to update. |
| viewpoint | ( | viewpointId | ) |
Selects a viewpoint on this topic.
| {string} | viewpointId - BCF viewpoint identifier. |
| get viewpoints | ( | ) |
Gets this topic's viewpoint collection.