Class BcfArchive
- Namespace
- IfcIO.Bcf
- Assembly
- IfcIO.dll
A managed buildingSMART BIM Collaboration Format (BCF 2.1) archive container holding issues, viewpoints, and comments.
public sealed class BcfArchiveInheritance
Inherited Members
Constructors
BcfArchive()
public BcfArchive()BcfArchive(string?)
public BcfArchive(string? projectName = null)Parameters
projectNamestring?
Properties
ProjectName
Optional project name or document title associated with this issue archive.
public string? ProjectName { get; set; }Property Value
Topics
The collection of coordination topics contained in this archive.
public List<BcfTopic> Topics { get; }Property Value
Methods
AddTopic(string, string?, string, string)
Creates and adds a new topic to the archive.
public BcfTopic AddTopic(string title, string? description = null, string topicType = "Issue", string priority = "Normal")Parameters
Returns
FindTopicsByElement(string)
Finds all topics that reference or select a given building element by its IFC GlobalId.
public IReadOnlyList<BcfTopic> FindTopicsByElement(string ifcGuid)Parameters
ifcGuidstring
Returns
FindTopicsByStatus(string)
Finds all topics matching a given status (e.g. "Open", "Resolved", "Closed").
public IReadOnlyList<BcfTopic> FindTopicsByStatus(string status)Parameters
statusstring
Returns
Open(string)
Opens and parses a BCF 2.1 (.bcfzip) file from disk.
public static BcfArchive Open(string path)Parameters
pathstring
Returns
Open(Stream)
Opens and parses a BCF 2.1 (.bcfzip) zip archive from a stream.
public static BcfArchive Open(Stream stream)Parameters
streamStream
Returns
Save(string)
Saves all topics into a BCF 2.1 (.bcfzip) file on disk.
public void Save(string path)Parameters
pathstring
Save(Stream)
Saves all topics into a stream as a BCF 2.1 (.bcfzip) zip archive.
public void Save(Stream stream)Parameters
streamStream