Page 1 of 1

UpdateMaterialStage Command in STKO

Posted: Sun Dec 29, 2019 3:38 pm
by vokumus
Hi;

Using PressureDepend and PressureIndepend soil materials in a model. I want to use UpdateMaterialStage command to activate plastic response of the material after gravity analysis. I couldn't find any information about how to do it in the STKO manual. Please help.

Regards.

Re: UpdateMaterialStage Command in STKO

Posted: Mon Dec 30, 2019 9:02 am
by STKO Team
The updateMaterialStage command is not directly available in STKO since we use the "parameter" and "updateParameter" commands.

However if you want to use the updateMaterialStage command you can do the following:
  1. new AnalysisStep
  2. choose Model -> Misc_commands -> customCommand
  3. in the TCLscript attribute, click with the mouse in the right column, and click on the "+" sign that appears on the right
  4. a window with a TCL script editor will appear
  5. there you can write any custom TCL command that is not directly available in STKO.
    In this case you can just write:
    updateMaterialStage -material $tag -stage $sNum
    where $tag is the ID of the physical property as given in the worktree of STKO
    and $sNum is the stage (0 = elastic , 1 = plastic)
Let us know if you have any problem using this procedure

Re: UpdateMaterialStage Command in STKO

Posted: Tue Dec 31, 2019 6:40 pm
by vokumus
Ah I see. Looks like custom command is a great feature in STKO. I'll check it out.

Regards.