Hi all, kindly help me with the following
I am facing an issue with Appling contour values using TCl folling command, if i use OP2 files the contour values are applied, if i use .res file type the contour values are not applied to the displayed elemnts.
set t [::hw::GetT];
hwi OpenStack;
hwi GetSessionHandle sess$t;
sess$t GetProjectHandle proj$t;
proj$t GetPageHandle page$t [proj$t GetActivePage];
page$t GetWindowHandle win$t [page$t GetActiveWindow];
win$t GetViewControlHandle view$t
win$t GetClientHandle anim$t;
anim$t GetModelHandle model$t [anim$t GetActiveModel] ;
model$t GetResultCtrlHandle result$t;
result$t GetContourCtrlHandle cont$t;
cont$t SetDataType "VonMises Strs (max,all)";
cont$t SetDataComponent "Scalar value";
cont$t SetEnableState True