Convert unit based on unit system

Ayush Kumar
Ayush Kumar Member, Moderator, Employee Posts: 389
First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
edited June 2023 in Structures

Convert unit based on unit system

Tagged:

Answers

  • Ayush Kumar
    Ayush Kumar Member, Moderator, Employee Posts: 389
    First Anniversary Ansys Employee Solution Developer Community of Practice Member First Answer
    Answer ✓

    ConvertToUnitSystem(self: Quantity, unitSystem: str, quantityName: str)

    Example:

    my_quantity.ConvertToUnitSystem("SI", "Length")
    

    The following unit-system names can be used: “SI”, “CGS”, “British Technical”, “US Engineering”