+ fixes #0001410: Base::Quantity::getValueAs does not properly check the dimension
This commit is contained in:
@@ -41,7 +41,7 @@ Quantity(string) -- arbitrary mixture of numbers and chars defining a Quantity
|
||||
|
||||
Following parameters are allowed:
|
||||
getValueAs('m/s') # unit string to parse
|
||||
getValueAs(2.45,1) # translatrion value and unit signatur
|
||||
getValueAs(2.45,1) # translatrion value and unit signature
|
||||
getValueAs(FreeCAD.Units.Pascal) # predefined standard units
|
||||
getValueAs(Qantity('N/m^2')) # a quantity
|
||||
getValueAs(Unit(0,1,0,0,0,0,0,0)) # a unit
|
||||
|
||||
Reference in New Issue
Block a user