<
From version < 5.1 >
edited by Isak Björhag
on 2019/05/07 12:24
To version < 5.2 >
edited by Isak Björhag
on 2019/05/07 12:26
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -15,12 +15,20 @@
15 15  
16 16  This is an introduction to the FEM-Design API functionality. The program is accessed by different XML files which can be generated from scratch, modified or used as a template. This can be done in many different ways and with many different programming languages. This makes the API functionality in FEM-Design very versatile. The following examples on this wiki is done in python but the same work flow can be used together with VB, C++ or other common languages.
17 17  
18 -XML is a common markup language that is used to store and transport data. The file format uses different elements in a hierarchy, much like HTLM. The different elements is found inside the tag for example ##<entities>##. The element can have other elements below it in the hierarchy. These elements further describes the content of the element. For example the ##<bar>## element contains ##<bar_part>## which in turn contains the ##<curve>## element which defines the geometry of the bar.
18 +**<EMBEDDED VIDEO>**
19 19  
20 +XML is a common markup language that is used to store and transport data. The file format uses different elements in a hierarchy, much like HTLM. The different elements is found inside the tag for example ##<entities>##. The element can have other elements below it in the hierarchy. These elements further describes the content of the element. For example the ##<bar>## element contains ##<bar_part>## which in turn contains the ##<curve>## element which defines the geometry of the bar. The start of the element is defined with the name between tags: ##<bar>.## The end of the element is defined with a slash in front of the name: ##</bar>##
20 20  
22 +The top element is called the root element, in the example below it is the ##<database>## element (marked in red). The elements below the database element is called child elements, for example the ##<entities>## element (marked in green). The ##<bar>## element (marked in blue) is a child to ##<entities>## and thus a grand child to the ##<database>## element, and so on.
23 +
21 21  [[image:1557223235184-585.png||height="271" width="1200"]]
22 22  
23 23  
27 +An element can have an attribute. This information is found inside the tag, an example of this is marked in red in the picture below. It can also have a text value which is found between the tags, example marked in yellow.
28 +
29 +[[image:1557224680285-333.png||height="158" width="800"]]
30 +
31 +
24 24  (% class="wikigeneratedid" %)
25 25  == chapter 1.1 ==
26 26  
Copyright 2020 StruSoft AB
FEM-Design Wiki