UpdateMaterialStage Command in STKO

Post Reply
User avatar
vokumus
Posts: 65
Joined: Thu Nov 14, 2019 7:07 pm

UpdateMaterialStage Command in STKO

Post by vokumus » Sun Dec 29, 2019 3:38 pm

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.
Vefa OKUMUS
MSc. Structural Engineer
PhD candidate.
Software Developer.
Istanbul - Turkey

STKO Team
Posts: 325
Joined: Tue Oct 29, 2019 8:45 am

Re: UpdateMaterialStage Command in STKO

Post by STKO Team » Mon Dec 30, 2019 9:02 am

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

User avatar
vokumus
Posts: 65
Joined: Thu Nov 14, 2019 7:07 pm

Re: UpdateMaterialStage Command in STKO

Post by vokumus » Tue Dec 31, 2019 6:40 pm

Ah I see. Looks like custom command is a great feature in STKO. I'll check it out.

Regards.
Vefa OKUMUS
MSc. Structural Engineer
PhD candidate.
Software Developer.
Istanbul - Turkey

Post Reply