.. highlightlang:: us .. index:: LayerGet3DBoxRatio .. _layerget3dboxratio: LayerGet3DBoxRatio ================== .. us.tag LayerGet3DBoxRatio ENGLISH Layer3D :ref:`LayerGet3DBoxRatio` gets the length of the 3D diagram edges. .. function:: rvRatio = LayerGet3DBoxRatio(hLayer) .. us.params **Parameters** .. uparam:: rvRatio is a vector with 3 elements that specifies the ratio of the x-, y- and z-axes. .. uparam:: hLayer Identifies the layer. .. us.example **Example** The following call returns the vector [100,100,50]. This means the diagram z-axis appears to the viewer half as long as the x- and y-axes. :: LayerGet3DBoxRatio(hLayer) 100.00 100.00 50.00 .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`LayerSet3DBoxRatio` :sub:`id-1733085`