Table of Contents

Method ToVDFComponent

Namespace
vdIFC
Assembly
vdIFC.dll

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

public vdDocumentComponent ToVDFComponent()

Returns

vdDocumentComponent

Examples

Export IFC to standard VDML format.

vdIFCDocument vdifcdoc = vdIFCComponent1.Open(fileName);
vdDocumentComponent dc = vdifcdoc.ToVDFComponent();
dc.Document.Save("c:\\testifcTovdml.vdml");
dc.Dispose();

Remarks

This can be used from AddFromDocument(string, vdDocument, bool) to be added to a vdDocument as block reference

Or to exported to an other format using the SaveAs(string)