sponge.function.set_global_length_unit

View Source On Gitee
sponge.function.set_global_length_unit(unit: Union[str, Units, Length, float, int])[source]

set global length unit.

Parameters

unit (Union[str, Units, Length, float, int]) – Length unit.

Supported Platforms:

Ascend GPU CPU