.. highlightlang:: us .. index:: LayerWCtoCM .. _layerwctocm: LayerWCtoCM =========== .. us.tag LayerWCtoCM NOTREADYENGLISH LayerSet :ref:`LayerWCtoCM` returns centimeter coordinates for the given world coordinates. .. function:: rmXY = LayerWCtoCM(hLayer, rvX, rvY) .. us.return **Return Value** *rmXY* is a matrix with two columns. The first column are the x-coordinates and the second the y-coordinates in centimeters. .. us.params **Parameters** .. uparam:: hLayer Identifies the layer. .. uparam:: rvX *rvX* is a vector with word coordinates (diagram coordinates x-axis). .. uparam:: rvY *rvY* is a vector with word coordinates (diagram coordinates y-axis). .. seealso:: :ref:`overview-diagrams`, :ref:`LayerCreate`, :ref:`LayerCMtoWC` :sub:`id-1735997`