🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Hyper View Contour Application using TCL script

User: "Ram Manohar"
Altair Community Member
Updated by Ram Manohar

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

Find more posts tagged with

Sort by:
1 - 2 of 21