Table of Contents

Class vdIFCDocument

Namespace
vdIFC
Assembly
vdIFC.dll

An object that manage IFC files

It is derived from vdFigure type and can be added to a Entities or Entities of a vdDocument object.

public sealed class vdIFCDocument : vdFigure, IDisposable, IvdProxyFigure, IvdProxySerializer, IVDSerialise, IBaseObject
Inheritance
vdIFCDocument
Implements
Inherited Members

Constructors

vdIFCDocument()

Initializes a new instance of the object.

Fields

globals

The Global Settings object Manager

Properties

BoundingBox

overrides the base type BoundingBox

Draw3DFlag

Get/Set a property value used when drawing an object in 3d.

It always returns ExcludeFromList for this object type.

Elevation

The elevation of the lower element in World Co-ordinate system

FILE_SCHEMA

Returns the File Schema(ifc version) that this object is created from.

IFCFileName

Returns the filename that this object is created from of saved to.

Default value is "IFCDocument"

LUnits

Returns Units used for ifc document coordinates and length property values

Default value is Millimetre

Project

Get /Set the vdIFCProject of this object.

RenderProperties

Returns a reference to vdIFCRenderProperties that defines rendering representation properties of this object.

Methods

AddToSelection(vdSelection, bool, AddItemCheck)

overrides the AddToSelection(vdSelection, bool, AddItemCheck)

Instead of this object the collection of Project.GetAllEntities added

ConvertToUnit(double, LengthUnits)

Convert the passed value from LUnits to destination units.

DeSerialize(DeSerializer, string, object)

overrides the base type DeSerialize(DeSerializer, string, object)

Dispose()

overrides the base type Dispose()

Draw(vdRender)

overrides the base type Draw(vdRender)

Explode()

overrides the base type Explode() Returns a collection of a copy of all vdIFCProduct in all collections that own to this object

GetObjectFromGlobalId(string)

Returns an object that implements the vdIFC.IIFCGlobalId interface and is added to this object.

It can be vdIFCProduct or vdIFCProject or vdIFCSite or vdIFCBuilding or vdIFCBuildingStorey

GetTableDependecies(vdTableDependeciesArgs)

overrides the GetTableDependecies(vdTableDependeciesArgs)

InternalSetOwner(vdBaseObject)

overrides the base type InternalSetOwner(vdBaseObject)

MatchProperties(vdPrimary, vdDocument)

overrides the base type MatchProperties(vdPrimary, vdDocument)

OnDocumentSelected(vdDocument)

overrides the base type OnDocumentSelected(vdDocument)

OnOwnerChanged()

overrides the base type OnOwnerChanged()

Serialize(Serializer)

overrides the base type Serialize(Serializer)

ToVDFComponent()

Retunrs a new vdDocumentComponent that contains all IFC items exploded to VDF logic as follow:

The Document Model Entities contains one vdInsert that reference the a Block filled with Project Sites

Each Site is also represented as Block reference filled with Buildings and Products of the Site

Each Building is also represented as Block reference filled with BuildingStoreys

Each BuildingStorey is also represented as Block reference filled with products of BuildingStorey

Each Product is also represented as Block reference filled with figure items of Product

All Block reference that represent an IFC object are named with a prefix 'IFC' follow by an index number, IFC type name, Name , Description,IFC GlobalId

ToVDFStreamData(bool)

Calls the ToVDFComponent() and returns the ToStream(bool) as byte array.

Transformby(Matrix)

overrides the base type Transformby(Matrix)

Update()

overrides the base type Update()