GeoStudio API - gsi.SetRequest()
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?
Answers
-
Hi @LucasSouza @CurtisKelln @DivyanshRaunak @TrevorKent do any of you have any advice on ways of setting the value here?
0 -
@LapPongFung , apologies for the slow response. I can confirm that this is not working and that there is no apparent way around the problem. The units should are optional on all values. For some reason, values that don't have units cannot be set. We are investigating the source of the problem.
0
Categories
- All Categories
- 302 Community
- 3 Get Started
- 17 Latest Releases
- 16 Member Spotlight
- 42 Learning
- 1.1K Products
- 565 Geology
- 538 Leapfrog
- 1 Volsung
- 26 Visible Geology
- 36 Data Management & Collaboration
- 14 MX Deposit
- 13 Central
- 9 Imago
- 137 Geotechnical
- 137 GeoStudio
- 332 Geophysics
- 321 Oasis montaj
- 1 Workbench
- SPIA
- 10 Res2DInv & Res3DInv
- 3 Evo
- 27 GX Developer


