FEAP User Forum

FEAP => Input File Issues => Topic started by: Lukas_Poggenpohl on September 06, 2018, 12:27:35 AM

Title: Macro for Interactive mode
Post by: Lukas_Poggenpohl 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.
Title: Re: Macro for Interactive mode
Post by: Prof. R.L. Taylor 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
Title: Re: Macro for Interactive mode
Post by: Prof. R.L. Taylor on September 06, 2018, 06:56:28 AM
Ooops!

param np n2  (not n3)