Hide last authors
Isak Björhag 1.1 1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
Isak Björhag 40.1 5 = =
Isak Björhag 2.1 6
Isak Björhag 12.1 7 {{video url="https://youtu.be/A4NZuiVovQg" width="50%"/}}
Isak Björhag 10.1 8
Isak Björhag 11.1 9
Isak Björhag 25.1 10
Isak Björhag 1.1 11 FEM-Design comes with an application programming interface (API) which can be used for parametric design and task automation. The API for FEM-Design is based on the extensible markup language (XML: https:~/~/en.wikipedia.org/wiki/XML) and allows FEM-Design users to communicate and command FEM-Design via XML.
12
13 XML is a common markup language used to store and communicate data. XML files can be generated and/or modified using a variety of different programming languages (e.g. Python, C#, VBA, C++). Moreover, existing XML files can be used as templates without any modification.
14
15 The API is built up by two distinct purpose types of XML-files:
16
Isak Björhag 37.1 17 * [[StruXML>>doc:FEM-Design API.StruXML.WebHome]] (.struxml filename extension) which is used to store object data such as geometry and loads of the model. StruXML is also the format used to exchange models with Revit and Tekla.
Isak Björhag 38.1 18 * [[FdScript>>doc:.FdScript.WebHome]] (.fdscript filename extension) which is used to execute commands such as running analysis and exporting results.
Isak Björhag 1.1 19
20 In other words the StruXML file is a representation of the FEM-Design model and the FdScript file contains all commands to execute on the model (StruXML-file).
21
Isak Björhag 32.1 22 In order to facilitate the generation of .struxml and .fdscript files as well as execution of commands in FEM-Design we offer a set of API functionality for Python, Revit/Dynamo as well as Rhino/Grasshopper.
Isak Björhag 1.1 23
Isak Björhag 3.1 24 ----
Isak Björhag 1.1 25
Isak Björhag 28.1 26 = StruXML and FdScript =
Isak Björhag 3.1 27
Isak Björhag 38.1 28 * [[StruXML>>doc:.StruXML.WebHome]]
29 * [[FdScript>>doc:.FdScript.WebHome]]
Isak Björhag 30.1 30
31 ----
32
Isak Björhag 39.1 33 = Customer cases =
34
35 * [[Customer cases>>doc:FEM-Design API.Customer cases.WebHome]]
36
37 ----
38
Isak Björhag 33.1 39 = Python, Dynamo and Grasshopper =
Isak Björhag 30.1 40
Isak Björhag 34.1 41 * [[Python>>doc:FEM-Design API.Python.WebHome]]
Isak Björhag 30.1 42 * [[Dynamo API toolbox>>doc:FEM-Design API.Dynamo API.WebHome]]
43 * [[Grasshopper API toolbox>>doc:FEM-Design API.Grasshopper API.WebHome]]
Copyright 2020 StruSoft AB
FEM-Design Wiki