<
From version < 59.1 >
edited by Isak Björhag
on 2020/02/10 15:35
To version < 60.1 >
edited by Isak Björhag
on 2020/02/10 15:36
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -168,25 +168,8 @@
168 168  
169 169  It is possible to read the material GUID which is the same as the bar_part attribute. Moreover, we can also read the specific material properties of this material as attributes.
170 170  
171 +
171 171  
172 -
173 -(% style="text-align: justify;" %)
174 -The StruXML format uses different elements in a hierarchy and the different elements and 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>##
175 -
176 -(% style="text-align: justify;" %)
177 -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.
178 -
179 -
180 -[[image:1557223235184-585.png||height="271" width="1200"]]
181 -
182 -
183 -(% style="text-align: justify;" %)
184 -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, marked in yellow.
185 -
186 -
187 -[[image:1557224680285-333.png||height="158" width="800"]]
188 -
189 -
190 190  There are two different types of XML files in FEM-Design: struxml and fdscript.
191 191  
192 192  (% style="text-align: justify;" %)
Copyright 2020 StruSoft AB
FEM-Design Wiki