Xbim.IO.CobieExpress by Steve Lockley, Martin Cerny and XBIMTeam Contributors

<PackageReference Include="Xbim.IO.CobieExpress" Version="5.1.146" />

 CobieModel

public class CobieModel : IModel, IDisposable
public static IModelProviderFactory ModelProviderFactory { get; set; }

Factory to create ModelProvider instances.

public IEntityCache EntityCache { get; }

public IGeometryStore GeometryStore { get; }

public IStepFileHeader Header { get; }

public IEntityCollection Instances { get; }

public IInverseCache InverseCache { get; }

public bool IsTransactional { get; }

public ILogger Logger { get; set; }

public ExpressMetaData Metadata { get; }

public IModelFactors ModelFactors { get; }

protected IModelProvider ModelProvider { get; }

Provides access to model persistance capabilities

public object Tag { get; set; }

public int UserDefinedId { get; set; }

public CobieModel(IModel model)

public CobieModel()

Creates memory model inside

public CobieModel(string esentDbFile)

Creates EsentModel inside

public static ModelMapping GetMapping()

public static CobieModel ImportFromTable(string file, out string report, ModelMapping mapping = null)

public static CobieModel ImportFromTable(Stream file, ExcelTypeEnum typeEnum, out string report, ModelMapping mapping = null)

public static CobieModel OpenEsent(string esentDB)

public static CobieModel OpenStep21(Stream input, long streamSize, int labelFrom)

This factory only opens an in memory model

public static CobieModel OpenStep21(string input, bool esentDB = false)

public static CobieModel OpenStep21(Stream input, long streamSize, bool esentDB = false)

public static CobieModel OpenStep21Zip(string input, bool esentDB = false)

public bool Activate(IPersistEntity owningEntity)

public ITransaction BeginTransaction(string name)

public void Delete(IPersistEntity entity)

public void Dispose()

public void ExportToTable(string file, out string report, ModelMapping mapping = null, Stream template = null)

public void ExportToTable(Stream file, ExcelTypeEnum typeEnum, out string report, ModelMapping mapping = null, Stream template = null)

public void ForEach<TSource>(IEnumerable<TSource> source, Action<TSource> body) where TSource : IPersistEntity

public void InsertCopy(IEnumerable<CobieComponent> components, bool keepLabels, XbimInstanceHandleMap mappings)

public T InsertCopy<T>(T toCopy, XbimInstanceHandleMap mappings, PropertyTranformDelegate propTransform, bool includeInverses, bool keepLabels) where T : IPersistEntity

protected virtual void OnEntityDeleted(IPersistEntity entity)

protected virtual void OnEntityModified(IPersistEntity entity, int property)

protected virtual void OnEntityNew(IPersistEntity entity)

public void SaveAsEsent(string dbName)

public void SaveAsStep21(string file)

public void SaveAsStep21Zip(string file)

public CobieCreatedInfo SetDefaultEntityInfo(DateTime date, string email, string givenName, string familyName)

protected virtual void SetEntityCreatedInfo(IPersistEntity entity, int property)

protected virtual void SetEntityCreatedInfo(IPersistEntity entity)