Open bahugunaashish opened 4 months ago
You have to define a parameter first, e.g.,
ops.parameter(12,'element',1234,'material',2,'-refB')
ops.updateParameter(12,G*2/3.0)
thank you @mhscott for your response. I am still getting some error.
Parameter::addComponent 12 -- no objects were able to identify parameter material 2 -refB
I was trying to replicate the example "PressureDependMultiYield-Example 11" given at https://opensees.berkeley.edu/wiki/index.php?title=PressureDependMultiYield-Example_11
Getting error with "updateParameter" in openseespy
WARNING: parameter - failed to get parameter tag Traceback (most recent call last):
File ~.conda\envs\py39\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec exec(code, globals, locals)
File c:\users\abahugu\onedrive - clemson university\scdot project\openseesbridgemodel\openseesbridgemodel\1element.py:90 ops.updateParameter('-material', 2, '-refB' , G*2/3.0)
OpenSeesError: See stderr output