Forums Anyscript.org  

Go Back   Forums Anyscript.org > Self-Supported Forum > AnyBody Model Repository

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-12-2014, 06:03 AM
regretful regretful is offline
Junior Member
 
Join Date: Aug 2014
Posts: 8
Default System variable related with nstep

In the mainfile, we can set
tEnd = 10;
nStep = 100;

In the model, we can access t as a system variable,
But if I wanna access the current step number(e.g. I want to apply a force changing with the step), how?
Reply With Quote
  #2  
Old 08-12-2014, 05:34 PM
mkjung9980's Avatar
mkjung9980 mkjung9980 is offline
Senior Member
 
Join Date: Aug 2009
Posts: 889
Default

Hi,

In the AnyBodyStudy class, there is a property 'iStep' which represents the current step.

Best regards,
Moonki

P.S) Please update your profile(organization, lab name, professor name) to let us know where your are. Thanks for your understanding.
__________________

Moon Ki Jung, Ph.D, Application Engineer, AnyBody Technology A/S.

※ AnyScript™ Reference Manual is the bible.
※ AnyScript™ wiki page is the best supplementary information(http://wiki.anyscript.org).
※ When you would upload your models, please write information about your AMS and AMMR versions.
※ If you want to get more intensive support, please update your information(profile, organization and signature).
Reply With Quote
  #3  
Old 08-12-2014, 06:26 PM
regretful regretful is offline
Junior Member
 
Join Date: Aug 2014
Posts: 8
Default

Quote:
Originally Posted by mkjung9980 View Post
Hi,

In the AnyBodyStudy class, there is a property 'iStep' which represents the current step.

Best regards,
Moonki

P.S) Please update your profile(organization, lab name, professor name) to let us know where your are. Thanks for your understanding.
Thank you very much. I will update my information as soon as possible
Reply With Quote
Reply

Tags
nstep, system variable

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:43 PM.