Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Eventcontroller without animation

Legend
Legend

Hello everyone,

 

I'd like to know if the model is running with or without animation ? 

Something like this : 

if (The Model is running with animation) then
...
else
...
end;

Thank you very much 

 

BR 
O.C

 

2 REPLIES

Re: Eventcontroller without animation

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi ocsim56,
how do you think about this idea?

 

 local b:boolean := true;
if NOT animation(b) then
print "No animation";
animation(false)
else
print "With animation";
end;

Regards,
Peter

Re: Eventcontroller without animation

Legend
Legend
Hello Peter,

Thank you it's exaclty what I was trying to do !

Have a nice day !
BR
O.C