Skip to main content

getmodelUnit

Returns the measurement unit of the currently active 3D model.

Syntax

RxCore.getmodelUnit()

Parameters

  • None

Returns

  • Unit — An integer representing the measurement unit:
    • 0 = mm
    • 1 = meter
    • 2 = feet
    • 3 = inch
    • 4 = cm