GVladislavG

Results 60 comments of GVladislavG

Thanks! And also similar question. How can I get tree of all IFC-classes (for IFC2x3 and IFC4)? In this case I need only names of the classes?

Can you give some code sample please?

I do such steps ` var bldElProxyIfc2x3= model.Instances.New(); bldElProxyIfc2x3.Name = "MyIfcBuildingElementProxy";` `var relContainedIn = model.Instances.New(); relContainedIn.RelatedElements.Append(bldElProxyIfc2x3); building.ContainsElements.Append(relContainedIn);` But there is still no bldElProxyIfc2x3 in result IFC-file...

I also have some more questions. xBim produce IFCXML according to IFC4ADD2 schema. Are the differences from IFC4ADD2TC1 schema critical? And is there any ability to change/choose XML-schema? If I...

But xBim does not have any tools to read SAT or export it's geometry to IFC? Do I have to read SAT by myself?

OK. And may I create IFC geometry from my triangulated meshes?

May I create IfcTriangulatedFaceSet with some property sets? So I need elements with properties in IFC-file with my custom triangulated mesh.

So can I attach IfcTriangulatedFaceSet to some product with properties, that I will create? In other words, may geometry representation be an IfcTriangulatedFaceSet?

I use this code. It's incorrect. Where is my mistake? `var ifc4Product = ifcProduct as Xbim.Ifc4.Kernel.IfcProduct; var shapeRepr = ifc4Product.Representation.Representations[0] as Xbim.Ifc4.RepresentationResource.IfcShapeRepresentation; shapeRepr.Items[0] = trFaceSet;` trFaceSet is IfcTriangulatedFaceSet Thanks!

Thanks. This code compiles well. But there is no geometry in file, if I open it in BimVision. Is it necessarily to add normals and colors? And does it mean...