XML file PointSupportPoint

Join the discussion in our Structural Analysis Software forum. Publishing your message in English will result in a higher response rate.

Moderators: Mischa, Ing. R. Engelen, Rudi Vanmechelen

XML file PointSupportPoint

Postby SHoekstra » 18 Feb 2020, 17:33

I’m working on a python script that create’s the xml and xml.def file where I can add the nonlinear functionality.

At the moment I’m stuck on PointSupportPoint. The pointsupport is added to the model, but they are always fixed.

I’t seems that I can’t upload the .xml and .xml.def files;

XML file:
Code: Select all
<container id="{1CBCA4DE-355B-40F7-A91D-8EFD26A6404D}"
    t="DataAddSupport.EP_PointSupportPoint.1">

        <table id="B400A151-4AC5-4343-8E91-C1169A8AC126" name="Supports in node" t="DataAddSupport.EP_PointSupportPoint.1">

            <h>
                <h0 t="Name"/>
                <h1 t="Reference Table"/>
                <h2 t="X"/>
                <h3 t="Stiffness X"/>
                <h4 t="Function X"/>
                <h5 t="Y"/>
                <h6 t="Stiffness Y"/>
                <h7 t="Function Y"/>
                <h8 t="Z"/>
                <h9 t="Stiffness Z"/>
                <h10 t="Function Z"/>
                <h11 t="Rx"/>
                <h12 t="Ry"/>
                <h13 t="Rz"/>
            </h>

            <obj id="1" nm="steunpunt">
                <p0 v="steunpunt"/>
                <p1 t="">
                    <h>
                        <h0 t="Member Type"/>
                        <h1 t="Member Type Name"/>
                        <h2 t="Member Name"/>
                    </h>
                    <row id="0">
                        <p0 v="{39A7F468-A0D4-4DFF-8E5C-5843E1807D13}"/>
                        <p1 v="EP_DSG_Elements.EP_StructNode.1"/>
                        <p2 v="N0"/>
                    </row>
                </p1>
                <p2 v="1"/>
                <p5 v="0" t="Vrij"/>
                <p8 v="1"/>
                <p9 v="0"/>
                <p10 i="0"/>
                <p11 v="1"/>
                <p12 v="1"/>
                <p13 v="1"/>
            </obj>

            <obj id="2" nm="steunpunt1">
                <p0 v="steunpunt1"/>
                <p1 t="">
                    <h>
                        <h0 t="Member Type"/>
                        <h1 t="Member Type Name"/>
                        <h2 t="Member Name"/>
                    </h>
                    <row id="0">
                        <p0 v="{39A7F468-A0D4-4DFF-8E5C-5843E1807D13}"/>
                        <p1 v="EP_DSG_Elements.EP_StructNode.1"/>
                        <p2 v="N2"/>
                    </row>
                </p1>
                <p2 v="2"/>
                <p3 v="4000"/>
                <p5 v="0"/>
                <p8 v="1"/>
                <p11 v="1"/>
                <p12 v="1"/>
                <p13 v="1"/>
            </obj>
        </table>
    </container>


XML.DEF file:
Code: Select all
<def_container clsid="{1CBCA4DE-355B-40F7-A91D-8EFD26A6404D}"
     id="{1CBCA4DE-355B-40F7-A91D-8EFD26A6404D}"
     progid="DataAddSupport.EP_PointSupportPoint.1">
        <def_table clsid="{1CBCA4DE-355B-40F7-A91D-8EFD26A6404D}"
     id="B400A151-4AC5-4343-8E91-C1169A8AC126"
     name="XML\default"
     progid="DataAddSupport.EP_PointSupportPoint.1" size="22" type="vertical">

            <def_property id="{4364BC01-AAB7-11D4-B3D9-00104BC3B531}"
name="Name" type="string" x="0"/>

            <def_property id="{8F96D00B-2125-411D-9218-EF0038D0056F}" name="Reference Table" type="table" x="1">

                <def_subtable size="3" type="vertical">
                    <def_property id="{3334884C-E566-404D-A135-4093CC88257D}" name="Member Type" type="string" x="0"/>
                    <def_property id="{FF14758E-BC03-4650-88B5-5EA8F1016952}" name="Member Type Name" readonly="yes" type="string" x="1"/>
                    <def_property id="{66D67076-ED1C-44EC-BA07-93E993F493CB}" name="Member Name" type="string" x="2"/>
                </def_subtable>
            </def_property>
            <def_property flag="262144" id="{49F8018F-A4E5-11D4-A43A-000000000000}" name="X" type="enum" x="2">
                <def_enum size="8">
                    <it_enum t="Vrij" v="0"/>
                    <it_enum t="Vast" v="1"/>
                    <it_enum t="Verend" v="2"/>
                    <it_enum t="Enkel starre druk" v="3"/>
                    <it_enum t="Enkel starre trek" v="4"/>
                    <it_enum t="Enkel flexibele druk" v="5"/>
                    <it_enum t="Enkel flexibele trek" v="6"/>
                    <it_enum t="Niet-lineair" v="7"/>
                </def_enum>
            </def_property>
            <def_property flag="33619968" id="{49F80190-A4E5-11D4-A43A-000000000000}" name="Stiffness X" type="param" x="3"/>
            <def_property flag="131072" id="{49F80191-A4E5-11D4-A43A-000000000000}" name="Function X" type="ref" x="4">
                <def_ref id="{2C78B173-A1D3-11D4-A433-000000000000}" progid="DataLibScia.EP_NonLinearFunction.1"/>
            </def_property>
            <def_property flag="262144" id="{49F8018F-A4E5-11D4-A43A-000000000000}" name="Y" type="enum" x="5">
                <def_enum size="0"/>
            </def_property>
            <def_property flag="33619968" id="{49F80193-A4E5-11D4-A43A-000000000000}" name="Stiffness Y" type="param" x="6"/>
            <def_property flag="131072" id="{49F80191-A4E5-11D4-A43A-000000000000}" name="Function Y" type="ref" x="7">
                <def_ref id="{2C78B173-A1D3-11D4-A433-000000000000}" progid="DataLibScia.EP_NonLinearFunction.1"/>
            </def_property>
            <def_property flag="262144" id="{49F8018F-A4E5-11D4-A43A-000000000000}" name="Z" type="enum" x="8">
                <def_enum size="0"/>
            </def_property>
            <def_property flag="33619968" id="{49F80196-A4E5-11D4-A43A-000000000000}" name="Stiffness Z" type="param" x="9"/>
            <def_property flag="131072" id="{49F80191-A4E5-11D4-A43A-000000000000}" name="Function Z" type="ref" x="10">
                <def_ref id="{2C78B173-A1D3-11D4-A433-000000000000}" progid="DataLibScia.EP_NonLinearFunction.1"/>
            </def_property>
            <def_property flag="262144" id="{49F80198-A4E5-11D4-A43A-000000000000}" name="Rx" type="enum" x="11">
                <def_enum size="0"/>
            </def_property>
            <def_property flag="262144" id="{49F80198-A4E5-11D4-A43A-000000000000}" name="Ry" type="enum" x="12">
                <def_enum size="0"/>
            </def_property>
            <def_property flag="262144" id="{49F80198-A4E5-11D4-A43A-000000000000}" name="Rz" type="enum" x="13">
                <def_enum size="0"/>
            </def_property>
        </def_table>
    </def_container>
SHoekstra
 
Posts: 1
Joined: 10 Oct 2019, 12:29

Re: XML file PointSupportPoint

Postby Jaroslav Broz » 03 Mar 2020, 16:35

It could be language sensitivity. Try to use XML in English and the same for xml.def. Some of the components have numeric value and string. I have noticed that you want to use nonlinear supports defined by NL function - do you have it this defined in XML?
Product Manager at Scia
Jaroslav Broz
 
Posts: 43
Joined: 26 Jun 2013, 20:31
Location: Prague


Return to SCIA Engineer (English)



Who is online

Users browsing this forum: Google [Bot] and 2 guests

About this forum

Welcome to this SCIA Engineer forum and read here for more info on Structural Analysis Software.