Author Topic: Macro for Interactive mode  (Read 3667 times)

Lukas_Poggenpohl

  • New Member
  • *
  • Posts: 3
Macro for Interactive mode
« on: September 06, 2018, 12:27:35 AM »
Dear FEAP-Forum,

I am currently using something which I named myself a macro for interactive mode. The file (t.pcd) is attached. Here, n1 is a specified number of steps calculated (e.g. t,,10 would calculate ten additional time steps).

I would like to write another macro for the plot comand as it can be seen in the second file (p.pcd). As you can see, I need two input variables to perform the zoom command. But so far I did not manage to get two input variables for this macro.

Does anybody have an Idea about this?


PS: I am using FEAP 8.4.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Macro for Interactive mode
« Reply #1 on: September 06, 2018, 06:52:09 AM »
I think you need to save as a parameter first:

This procedure worked:

n1             n2
param np n3
plot wipe
plot cont n1 0 np

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Macro for Interactive mode
« Reply #2 on: September 06, 2018, 06:56:28 AM »
Ooops!

param np n2  (not n3)