SIMPROPCONTAINER OBJECT EXAMPLE

This section presents a simple example of how to write a SimPropContainer Objects file. For more information about the xml specifications, see SimPropContainer XML Properties.

<?xml version="1.0" encoding="UTF-8"?>
<SimBase.Document>
    <SimPropContainer.SimPropContainers>
        <SimPropContainer InstanceId="{D30A75F2-62B7-4A3D-97C8-0A6C2E3E82D6}">
            <GUID>{6C079388-24AD-4306-8291-6BA700E17400}</GUID>
            <Descr>Building-NE-CarparkCopy</Descr>
            <SimPropBase InstanceId="{BF8BC0CF-9461-4039-9AD1-7C45B80B39ED}">
                <EmptyWorldObject InstanceId="{BEE6794C-F2DD-4CC4-A038-58CF9194B405}">
                </EmptyWorldObject>
            </SimPropBase>
            <SimPropAttachs InstanceId="{895149F8-FC80-464D-8743-66D1A70493E1}">
                <SimPropAttach InstanceId="{C382BACA-32F5-4EFF-88D1-73688CCD7EFC}">
                    <Transform InstanceId="{74B0FA51-1172-4D1B-A293-3E813C869215}">
                        <AttachedWorldObject>
                            <OffsetXYZ>-0.204,1.382,19.664,0.000</OffsetXYZ>
                            <Orientation>0.000,0.000,0.000</Orientation>
                        </AttachedWorldObject>
                    </Transform>
                    <LibraryObject InstanceId="{FC686017-FDDF-4E3B-93C8-7A92F9C95723}">
                        <MDLGuid>{D644CFFE-3CA0-481F-ADCA-291A1D3B99A5}</MDLGuid>
                    </LibraryObject>
                </SimPropAttach>
                <SimPropAttach InstanceId="{16EBF219-1D59-4487-A99D-A5AE0454C03F}">
                    <Transform InstanceId="{7D40F21E-63B2-475F-AF4F-BBB49DA8D56A}">
                        <AttachedWorldObject>
                            <OffsetXYZ>1.935,-0.000,19.664,0.000</OffsetXYZ>
                            <Orientation>0.000,0.000,0.000</Orientation>
                        </AttachedWorldObject>
                    </Transform>
                    <LibraryObject InstanceId="{AA7B67BF-59AE-498A-B66F-75F3FCC807FE}">
                        <MDLGuid>{D644CFFE-3CA0-481F-ADCA-291A1D3B99A5}</MDLGuid>
                    </LibraryObject>
                </SimPropAttach>
                <SimPropAttach InstanceId="{273393D3-870A-47D5-A003-1C1DDE8BB17F}">
                    <Transform InstanceId="{0DDD7F57-48AD-4A64-A9B2-F0138A693616}">
                        <AttachedWorldObject>
                            <OffsetXYZ>-5.666,-0.000,20.921,0.000</OffsetXYZ>
                            <Orientation>0.000,0.000,0.000</Orientation>
                        </AttachedWorldObject>
                    </Transform>
                    <LibraryObject InstanceId="{10D02A06-EF49-40B0-BE86-AD375EFA70BB}">
                        <MDLGuid>{25D9DD99-6B62-4041-B2C0-1F9A1581BD79}</MDLGuid>
                    </LibraryObject>
                </SimPropAttach>
            </SimPropAttachs>
        </SimPropContainer>
    </SimPropContainer.SimPropContainers>
</SimBase.Document