Import Hidden Point Bar XML File

Imports an XML file containing a list of hidden point bar definitions. This is specific to the hidden-point bar database definitions in the Users Options. Refer to the Points chapter of the Users Manual for more information on hidden point bar definitions.

 

Input Arguments

 

0

File Path or Embedded File

XML File Path

The path to the file to import.

 

1

 

Boolean

 

Replace Existing Entries?

True replaces any existing hidden point definitions in the User Options with those defined in the specified file.

Return Arguments

None.

 

Returned Status

 

SUCCESS

The file was successfully imported.

FAILURE

The source file could not be found.

Remarks

Here is a basic example of an XML file with one of each type of bar definition included as an example of the expected formatting:

<?xml version=”1.0” encoding=”UTF-8”?>

-<HiddenPointAdapters>

<!-- Units: M = 0, CM = 1, MM = 2, FT = 3, IN = 4 -->

<UnitsUnits=”4”/>

-<HiddenPointAdapter>

<Type Type=”Two Point Bar”/>

<Name Name=”PtBar0”/>

<AToB AToB=”10.000000”/>

<ToC ToC=”15.000000”/>

<FromA FromA=”TRUE”/>

<InterPointTolerance InterPointTolerance=”0.000000”/>

<PlanarOffset PlanarOffset=”0.000000”/>

<RadialOffset RadialOffset=”0.000000”/>

</HiddenPointAdapter>

 

-<HiddenPointAdapter>

<Type Type=”GravityBar”/>

<Name Name=”PtBar1”/>

-<FrameOfReference Name=”A::WORLD”>

<VectorNamed Name=”X-Axis” Z=”0.000000” Y=”0.000000” X=”1.000000”/>

<VectorNamed Name=”Y-Axis” Z=”0.000000” Y=”1.000000” X=”0.000000”/>

<VectorNamed Name=”Z-Axis” Z=”1.000000” Y=”0.000000” X=”0.000000”/>

</FrameOfReference>

<VerticalOffset VerticalOffset=”8.000000”/>

</HiddenPointAdapter>

 

 

-<HiddenPointAdapter>

<Type Type=”Multiple Point Fixture”/>

<Name Name=”PtBar2”/>

<InterPointTolerance InterPointTolerance=”0.000000”/>

<PlanarOffset PlanarOffset=”0.000000”/>

<RadialOffset RadialOffset=”0.000000”/>

-<ReferencePoints>

<VectorNamed Name=”r0” Z=”0.800592” Y=”53.596606” X=”39.176611”/>

<VectorNamed Name=”r1” Z=”-0.563036” Y=”95.184179” X=”101.150548”/>

<VectorNamed Name=”r2” Z=”0.318155” Y=”35.621204” X=”139.086581”/>

</ReferencePoints>

-<ProbePoint>

<VectorNamed Name=”r3” Z=”0.261696” Y=”95.217750” X=”107.248146”/>

</ProbePoint>

</HiddenPointAdapter>

</HiddenPointAdapters>