[{"data":1,"prerenderedAt":77},["ShallowReactive",2],{"article:interoperability-xml:en":3},{"title":4,"seoTitle":5,"description":6,"label":7,"lead":8,"blocks":9},"Interoperability XFEM4U, XFrame2D XML","XML import and export in XFEM4U and XFrame2D · Struct4U","XML import and export in XFEM4U and XFrame2D: models from Python or VBA, from XFrame2D to XFEM4U, and parametric structures from Excel. November 2023.","Interoperability · November 2023","In XFrame2D and XFEM4U there is an XML import and XML export function for interoperability with other software packages.",[10,13,19,32,42,52,62,64,69],{"type":11,"text":12},"p","You can use this in many ways:",{"type":14,"items":15},"list",[16,17,18],"fetching models from XFrame2D into XFEM4U;","generating models with Python or VBA;","but also creating parametric structures, for example in Microsoft Excel for trusses or other structures. Think with us! Share your ideas via [Struct4U Ideas](https:\u002F\u002Fforum.struct4u.com\u002Fc\u002Fstruct4u-ideas\u002F9).",{"type":20,"image":21,"caption":31},"figure",{"src":22,"width":23,"height":24,"alt":25,"sources":26},"\u002Fimg\u002Fresources\u002Fblog\u002Finteroperability-xml-python-1600.webp",1600,1036,"Python code describing a castellated beam, the beam as a 3D model, and XFEM4U showing its displacements in colour",[27,30],{"src":28,"width":29},"\u002Fimg\u002Fresources\u002Fblog\u002Finteroperability-xml-python-800.webp",800,{"src":22,"width":23},"A castellated beam, described parametrically in Python (left), as a 3D model (top right) and calculated in XFEM4U (bottom right).",{"type":20,"image":33,"caption":41},{"src":34,"width":23,"height":35,"alt":36,"sources":37},"\u002Fimg\u002Fresources\u002Fblog\u002Finteroperability-xml-exchange-1600.webp",972,"The same steel industrial building in a web viewer, in XFEM4U and in Revit",[38,40],{"src":39,"width":29},"\u002Fimg\u002Fresources\u002Fblog\u002Finteroperability-xml-exchange-800.webp",{"src":34,"width":23},"Exchange as shown in November 2023: one steel structure in XFEM4U (bottom left), in the Speckle web viewer (top) and in Revit (bottom right).",{"type":20,"image":43,"caption":51},{"src":44,"width":23,"height":45,"alt":46,"sources":47},"\u002Fimg\u002Fresources\u002Fblog\u002Finteroperability-xml-excel-1600.webp",962,"An Excel sheet with a roof truss drawing, input cells for width, height, floor beam height, gutter height and spacing, loads, and the steps to save it as an XML file",[48,50],{"src":49,"width":29},"\u002Fimg\u002Fresources\u002Fblog\u002Finteroperability-xml-excel-800.webp",{"src":44,"width":23},"An Excel sheet that builds a roof truss from a few dimensions and writes it as an XML file for XFrame2D. The steps are in the sheet: fill in the parameters, save the XML tab as Unicode text with the extension .xml, and import it in XFrame2D.",{"type":20,"image":53,"caption":61},{"src":54,"width":23,"height":55,"alt":56,"sources":57},"\u002Fimg\u002Fresources\u002Fblog\u002Finteroperability-xml-xframe2d-1600.webp",958,"XFrame2D with the imported roof truss: a frame 6 metres wide with a floor beam, and the node table on the right",[58,60],{"src":59,"width":29},"\u002Fimg\u002Fresources\u002Fblog\u002Finteroperability-xml-xframe2d-800.webp",{"src":54,"width":23},"The imported truss in XFrame2D.",{"type":11,"text":63},"Currently we are finalising new functions in our tools:",{"type":14,"items":65},[66,67,68],"XFEM4U API V1;","new modules in XConstruct: a pile cap on two piles, and a masonry wall according to NPR 9096;","IFC export.",{"type":70,"tone":71,"date":72,"text":73},"callout","editor","2026-09-28",[74,75,76],"What shipped since: the pile cap on two piles and the check of a cavity wall under wind load (NPR 9096-1-1) arrived in XConstruct version 2025-01-01 (September 2024), and IFC export in XFEM4U version 2027-04-01 (July 2026). The release notes do not mention an “API V1”; scripting runs through XML, DirectCommands and Python (see [integrations](page:tools-integrations)).","Since XFEM4U version 2025-01-01 (January 2024), a parametric model made in Excel or Python loads straight into XFEM4U and XFrame2D (DirectCommands). Since XFEM4U version 2027-03-01 (May 2026), you can export nodes, beams, load cases, combinations and loads to Excel, edit them there and import them back. Ready-made parametric modules for recurring structures are now collected in [XSpreadsheets](product:xspreadsheets).","The exchange through Speckle into Revit shown above still works (September 2026).",1792702121032]