GeoStudio API - gsi.SetRequest()

Hi, I am trying to set the value for the "CurrentAnalysis.Objects.ReinforcementLines[1].Reinforcement.PulloutReductionFactor" object which is dimensionless.

image.png image.png

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?

Answers