BCFMarkup
-
class
Bcf.BCFMarkup()
Constructors
Methods
addComment()addViewpoint()deleteComment()export()getComments()getFilename()getMarkupHeaderFiles()getProjectGuid()getTopicAssignedTo()getTopicCreationAuthor()getTopicCreationDate()getTopicDescription()getTopicDueDate()getTopicId()getTopicIndex()getTopicLabels()getTopicModifiedAuthor()getTopicModifiedDate()getTopicPriority()getTopicReferenceLink()getTopicStage()getTopicStatus()getTopicTitle()getTopicType()getViewpoints()setTopicAssignedTo()setTopicCreationAuthor()setTopicCreationDate()setTopicDescription()setTopicDueDate()setTopicId()setTopicIndex()setTopicLabels()setTopicModifiedAuthor()setTopicModifiedDate()setTopicPriority()setTopicReferenceLink()setTopicState()setTopicStatus()setTopicTitle()setTopicType()updateComment()
Constructors
-
BCFMarkup.constructor(filename, document, bcfTopic) Arguments: - filename (
string()) – None - document (
null | Document()) – None - bcfTopic (
BCFTopic()) – None
Return type: BCFMarkup
- filename (
Methods
addComment
-
BCFMarkup.addComment(date, author, text[, viewpointGuid[, modifiedDate[, modifiedAuthor]]]) Arguments: - date (
Date()) – None - author (
string()) – None - text (
string()) – None - viewpointGuid (
string()) – optional None - modifiedDate (
Date()) – optional None - modifiedAuthor (
string()) – optional None
Adds a comment to the topic.
Return type: BCFComment - date (
addViewpoint
-
BCFMarkup.addViewpoint(guid[, viewpointFilename[, snapshotFilename[, index]]]) Arguments: - guid (
string()) – None - viewpointFilename (
string()) – optional None - snapshotFilename (
string()) – optional None - index (
string()) – optional None
Return type: void
- guid (
deleteComment
-
BCFMarkup.deleteComment(guid) Arguments: - guid (
string()) – None
Deletes a comment from the topic..
Return type: void - guid (
export
-
BCFMarkup.export() Returns: XML document containing the markup data. Return type: XMLDocument
getComments
-
BCFMarkup.getComments() Gets a map of GUIDs and corresponding comments.
Return type: Map <string, BCFComment>
getMarkupHeaderFiles
-
BCFMarkup.getMarkupHeaderFiles() Returns: a list of [[BCFMarkupHeaderFile]] containing data related to IFC files. Return type: [BCFMarkupHeaderFile]
getTopicAssignedTo
-
BCFMarkup.getTopicAssignedTo() The user to whom this topic is assigned to. Recommended to be in email format. The list of possible values are defined in the extension schema.
Return type: null | string
getTopicCreationAuthor
-
BCFMarkup.getTopicCreationAuthor() Gets the name of the user that created the markup topic.
Return type: string
getTopicCreationDate
-
BCFMarkup.getTopicCreationDate() Gets the creation date of the markup topic.
Return type: Date
getTopicDescription
-
BCFMarkup.getTopicDescription() Description of the topic.
Return type: null | string
getTopicDueDate
-
BCFMarkup.getTopicDueDate() Date when the issue needs to be resolved by.
Return type: null | Date
getTopicIndex
-
BCFMarkup.getTopicIndex() Number to maintain the order of the topics.
Return type: null | number
getTopicModifiedAuthor
-
BCFMarkup.getTopicModifiedAuthor() User who modified the topic. Exists only when Topic has been modified after creation.
Return type: null | string
getTopicModifiedDate
-
BCFMarkup.getTopicModifiedDate() Date when the topic was last modified. Exists only when Topic has been modified after creation.
Return type: null | Date
getTopicReferenceLink
-
BCFMarkup.getTopicReferenceLink() List of references to the topic, for example, a work request management system or an URI to a model.
Return type: null | string
getViewpoints
-
BCFMarkup.getViewpoints() Gets a map of GUIDs and corresponding viewpoints.
Return type: Map <string, BCFMarkupViewpoint>
setTopicAssignedTo
-
BCFMarkup.setTopicAssignedTo(assignedTo) Arguments: - assignedTo (
null | string()) – None
Sets the user that the topic is assigned to.
Return type: void - assignedTo (
setTopicCreationAuthor
-
BCFMarkup.setTopicCreationAuthor(author) Arguments: - author (
string()) – None
Sets the name of the user that created the markup topic.
Return type: void - author (
setTopicCreationDate
-
BCFMarkup.setTopicCreationDate(date) Arguments: - date (
Date()) – None
Sets the creation date of the markup topic;
Return type: void - date (
setTopicDescription
-
BCFMarkup.setTopicDescription(description) Arguments: - description (
null | string()) – None
Sets the topic description;
Return type: void - description (
setTopicDueDate
-
BCFMarkup.setTopicDueDate(date) Arguments: - date (
null | Date()) – None
Sets the topic due date.
Return type: void - date (
setTopicId
-
BCFMarkup.setTopicId(guid) Arguments: - guid (
string()) – None
Sets the topic id.
Return type: void - guid (
setTopicIndex
-
BCFMarkup.setTopicIndex(index) Arguments: - index (
null | number()) – None
Sets the topic index.
Return type: void - index (
setTopicLabels
-
BCFMarkup.setTopicLabels(labels) Arguments: - labels (
[string]()) – None
Sets the topic labels.
Return type: void - labels (
setTopicModifiedAuthor
-
BCFMarkup.setTopicModifiedAuthor(modifiedAuthor) Arguments: - modifiedAuthor (
null | string()) – None
Sets the author that last modified the topic.
Return type: void - modifiedAuthor (
setTopicModifiedDate
-
BCFMarkup.setTopicModifiedDate(date) Arguments: - date (
null | Date()) – None
Sets the topic modified date.
Return type: void - date (
setTopicPriority
-
BCFMarkup.setTopicPriority(priority) Arguments: - priority (
null | string()) – None
Sets the topic priority.
Return type: void - priority (
setTopicReferenceLink
-
BCFMarkup.setTopicReferenceLink(referenceLink) Arguments: - referenceLink (
null | string()) – None
Sets the ReferenceLink.
Return type: void - referenceLink (
setTopicState
-
BCFMarkup.setTopicState(stage) Arguments: - stage (
null | string()) – None
Sets the topic stage;
Return type: void - stage (
setTopicStatus
-
BCFMarkup.setTopicStatus(topicStatus) Arguments: - topicStatus (
null | string()) – None
Sets the topic status.
Return type: void - topicStatus (
setTopicTitle
-
BCFMarkup.setTopicTitle(title) Arguments: - title (
string()) – None
Sets the title of the markup topic.
Return type: void - title (
setTopicType
-
BCFMarkup.setTopicType(topicType) Arguments: - topicType (
null | string()) – None
Sets the topic type.
Return type: void - topicType (
updateComment
-
BCFMarkup.updateComment(comment) Arguments: - comment (
BCFComment()) – None
Updates a topic comment.
Return type: void - comment (