Article | 70002463 |
Type | Wish |
Product | Engine |
Version | 1005 |
Date Added | 1/10/2024 12:00:00 AM |
Fixed | 11.0.1.0 (1/12/2024 12:00:00 AM) |
Submitted by | VectorDraw Team |
Summary
Open Save IFC using vdDocument Open and Save methods
Solution
Added in version 11.0.1.0
Open and Save methods of vdDocument supports also .ifc file types.
NOTE:It is supported for Applications that target FrameWork 4.0 and up
When open IFC, a single Figure of vdIFCDocument type is added to the vdDocument.Model.Entities
Also the following initializations are called for the active vdDocument object
document.RenderingQuality = VectorDraw.Render.vdRender.RenderingQualityMode.HighQuality; document.RenderMode = VectorDraw.Render.vdRender.Mode.RenderOn; document.PerspectiveMod = vdRender.VdConstPerspectiveMod.PerspectON; document.GlobalRenderProperties.EdgeColor = Color.DimGray; document.LensAngle = 75; document.Background = Color.White; document.Palette.Forground = Color.LightGray; Matrix mat = new Matrix(); mat.ApplyWCS2ECS(new Vector(1.0d, 1.0d, 1.0d)); document.World2ViewMatrix = mat; document.ZoomExtents();
When save a vdDocument as IFC then
If it contains one(1) item in the model entities of type vdIFCDocument it simply calls the vdIFCDocument Save of that entitiy
Else if it contains more entities a default vdIFCSite is created with a single vdIFCProduct that reference all entities