Thank you.bernd wrote: ↑Tue May 08, 2018 4:15 pmhttps://github.com/FreeCAD/FreeCAD/blob ... portIFC.py
Code: Select all
myDict = myObject.IfcAttributes myDict["MyNewPropertyName":"IfcText(Hello, world!)"] myObject.IfcAttributes = myDict
I agree. I did some workout for this on Revit. I tried custom mapping but it is very limited. Revit performs mapping only to those IFC entities which it recognises. For eg: A column could be mapped to IfcBeam or IfcFurniture, etc but when I tried mapping it to IfcStructuraItem or IfcStructuralAnalysisModel, the export turned out into IfcBuildingElementProxy. I'm doubtful there must be some other mapping table that Revit uses somewhere in its hidden backend other than the 'exportlayers-ifc-IAI' file.yorik wrote: ↑Thu May 10, 2018 1:44 pmNow, of course, the whole thing is that other applications won't be aware of the custom properties you add. In the best case, they will read it and keep its value stored somewhere. So one has to look at the IFC specs if there is something "standard" to deal with such structural properties, or analyze the IFC file produced by other structural BIM apps to see how they do it, and we can try doing the same.
These changes are for V0.17 or 0.18?yorik wrote: ↑Sun May 13, 2018 6:36 pmI just changed things in FreeCAD yesterday, now each BIM/Arch object has an IfcRole property, instead of its former Role property. This IfcRole can be any IFC entity derived from IfcProduct, which are the ones that can have a Representation. I think this will make things clearer and more universal (ie. any FreeCAD Arch object can be exported to any IFC entity). In the BIM WB there is now a new "Ifc Element Manager" tool to manage IFC mappings all at once.
are you talking about StructuralAnalysisView (import supported by FreeCAD, https://github.com/berndhahnebach/Ifc_S ... alysisView ) or CoordinationView ( standard ifc import or export supported by FreeCAD) ?hardeeprai wrote: ↑Wed May 09, 2018 12:19 amThank you.bernd wrote: ↑Tue May 08, 2018 4:15 pmhttps://github.com/FreeCAD/FreeCAD/blob ... portIFC.py
Will go through, try to understand, and if there is any query, will come back.
In the mean time, if anyone has any suggestion, can give me some direction, pointer to other information available elsewhere, which could be useful.
I wanted to see "capacity of structural members" in ifc files. Is that possible?
I will calculate Moment carrying capacity of I-section used as beam or Reinforced Beam, and that should become property of structural member. Like wise a column will be having equivalent of P-M Load-Moment interaction Curve.
CoordinationViewbernd wrote: ↑Wed May 16, 2018 8:24 pmare you talking about StructuralAnalysisView (import supported by FreeCAD, https://github.com/berndhahnebach/Ifc_S ... alysisView ) or CoordinationView ( standard ifc import or export supported by FreeCAD) ?