Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting a specific timestep #16

Open
jdeyton opened this issue Jun 24, 2015 · 2 comments
Open

Setting a specific timestep #16

jdeyton opened this issue Jun 24, 2015 · 2 comments

Comments

@jdeyton
Copy link
Contributor

jdeyton commented Jun 24, 2015

Is it possible to set a specific timestep through the VisIt Java client?

My impression from the earlier meeting is that it may be possible to send either RPC or python commands. Which type of command does ViewerMethods.processCommands(String commands) support? The RPC calls or python methods?

However, after looking at it again, I'm still unsure of the structure for the arguments. Can I send multiple commands at once, and, if so, how do I pass in multiple lines? This method just makes the input argument into a JsonPrimitive string. Do I need to include newlines between each command in the string?

For setting a timestep, would I just pass in the string "SetTimeSliderState(3)" for the third timestep?

@HarinarayanKrishnan
Copy link
Contributor

I think the easiest way is to look at how the Python Console uses it. That should give you a really easy way of how the process commands are used. Effectively it reads in a list of valid Python commands and executes them in an iterative way.

@SmithRWORNL
Copy link
Contributor

EAVP was able to easily set specific time steps using the Python scripting, so this issue can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants