GeoStudio API - gsi.SetRequest()

LapPongFung
Posts: 2

in GeoStudio
Hi, I am trying to set the value for the "CurrentAnalysis.Objects.ReinforcementLines[1].Reinforcement.PulloutReductionFactor" object which is dimensionless.
However, passing an empty string in target_data.struct_value.update({"Value": 2.0, "Units": ""}) caused an error "The units do not match what was expected."
Having inspected the dict of this object using the gsi.GetRequest() it seems the unit is indeed an empty string "".
'PulloutReductionFactor': {'Units': '', 'Value': 1.0}
May anyone advice what is the correct way of setting the value of dimenionaless object?
1
Answers
-
Hi @LucasSouza @CurtisKelln @DivyanshRaunak @TrevorKent do any of you have any advice on ways of setting the value here?
0