+ if (aType == BOX_DX_DY_DZ)
+ {
+ AddParam( theParams, "Dx", aBI.GetDX() );
+ AddParam( theParams, "Dy", aBI.GetDY() );
+ AddParam( theParams, "Dz", aBI.GetDZ() );
+ }
+ else if (aType == BOX_TWO_PNT)
+ {
+ AddParam( theParams, "Point 1", aBI.GetRef1() );
+ AddParam( theParams, "Point 2", aBI.GetRef2() );
+ }
+ else {
+ return false;
+ }
+
+ return true;