Hi again anybody community,
I was also using the anybody command prompt and successfully getting
data output for several files, and the tutorial mentioned using a
macro,in which the name of the macro could merely be entered and it
would execute the commands, my questions is there a format for this
macro, and how do you make it?
For instance if I wanted to make a macro for the example file in the
tutorial what would I do?
I created an .anymcr file containing:
load “C:\demo.outputfile.any”
operation Main.ArmStudy.InverseDynamicAnalysis
run
exit
And then entered the name of my macro file into the AnyBody Command
Prompt,with no avail
If you write “AnyBodyCon YourMacroName.mcr” the macro should be
executed provided that the AnyBodyCon can be activated from the
location where you have the file.
I am a little unsure on your description of the problem, did nothing
happen? maybee it did run the macro without that you noticed it,
you will not see much it will take a few seconds and a new output
file will have be created.
Best regards
Søren, AnyBody Support
— In anyscript@yahoogroups.com, “smitswil” <smitswil@…> wrote:
>
> Hi again anybody community,
> I was also using the anybody command prompt and successfully
getting
> data output for several files, and the tutorial mentioned using a
> macro,in which the name of the macro could merely be entered and
it
> would execute the commands, my questions is there a format for
this
> macro, and how do you make it?
>
> For instance if I wanted to make a macro for the example file in
the
> tutorial what would I do?
>
> I created an .anymcr file containing:
> load “C:\demo.outputfile.any”
> operation Main.ArmStudy.InverseDynamicAnalysis
> run
> exit
>
> And then entered the name of my macro file into the AnyBody
Command
> Prompt,with no avail
>
AnyBodyCon is an unrecognized command,
if i have the demo.outputfile located at c:\ and my macro called
macro.mcr what do i type into the anybodyconsole to execute it?
i’ve tried AnyBodyCon C:\macro.mcr
the tutorial mentions command line application can be given such a
file as its command line argument, and it will perform the commands
in it.
so i tried c:\macro.mcr (with and without parenthesis)so on,
everything unrecognized command,
— In anyscript@yahoogroups.com, “AnyBody Support” <support@…>
wrote:
>
> Hi William
>
> The macro you have written looks ok.
>
> If you write “AnyBodyCon YourMacroName.mcr” the macro should be
> executed provided that the AnyBodyCon can be activated from the
> location where you have the file.
>
> I am a little unsure on your description of the problem, did
nothing
> happen? maybee it did run the macro without that you noticed it,
> you will not see much it will take a few seconds and a new output
> file will have be created.
>
> Best regards
> Søren, AnyBody Support
>
> — In anyscript@yahoogroups.com, “smitswil” <smitswil@> wrote:
> >
> > Hi again anybody community,
> > I was also using the anybody command prompt and successfully
> getting
> > data output for several files, and the tutorial mentioned using a
> > macro,in which the name of the macro could merely be entered and
> it
> > would execute the commands, my questions is there a format for
> this
> > macro, and how do you make it?
> >
> > For instance if I wanted to make a macro for the example file in
> the
> > tutorial what would I do?
> >
> > I created an .anymcr file containing:
> > load “C:\demo.outputfile.any”
> > operation Main.ArmStudy.InverseDynamicAnalysis
> > run
> > exit
> >
> > And then entered the name of my macro file into the AnyBody
> Command
> > Prompt,with no avail
> >
>
This must be because AnyBodyCon.exe can not be found. Please try to
locate the AnyBodyCon.exe in the folder in which you installed
AnyBody, then copy the file to the directory where you want to
execute it in.
Best regards
Søren AnyBody Support
— In anyscript@yahoogroups.com, “smitswil” <smitswil@…> wrote:
>
> AnyBodyCon is an unrecognized command,
> if i have the demo.outputfile located at c:\ and my macro called
> macro.mcr what do i type into the anybodyconsole to execute it?
> i’ve tried AnyBodyCon C:\macro.mcr
> the tutorial mentions command line application can be given such a
> file as its command line argument, and it will perform the
commands
> in it.
> so i tried c:\macro.mcr (with and without parenthesis)so on,
> everything unrecognized command,
>
>
>
>
>
>
>
> — In anyscript@yahoogroups.com, “AnyBody Support” <support@>
> wrote:
> >
> > Hi William
> >
> > The macro you have written looks ok.
> >
> > If you write “AnyBodyCon YourMacroName.mcr” the macro should be
> > executed provided that the AnyBodyCon can be activated from the
> > location where you have the file.
> >
> > I am a little unsure on your description of the problem, did
> nothing
> > happen? maybee it did run the macro without that you noticed
it,
> > you will not see much it will take a few seconds and a new
output
> > file will have be created.
> >
> > Best regards
> > Søren, AnyBody Support
> >
> > — In anyscript@yahoogroups.com, “smitswil” <smitswil@> wrote:
> > >
> > > Hi again anybody community,
> > > I was also using the anybody command prompt and successfully
> > getting
> > > data output for several files, and the tutorial mentioned
using a
> > > macro,in which the name of the macro could merely be entered
and
> > it
> > > would execute the commands, my questions is there a format for
> > this
> > > macro, and how do you make it?
> > >
> > > For instance if I wanted to make a macro for the example file
in
> > the
> > > tutorial what would I do?
> > >
> > > I created an .anymcr file containing:
> > > load “C:\demo.outputfile.any”
> > > operation Main.ArmStudy.InverseDynamicAnalysis
> > > run
> > > exit
> > >
> > > And then entered the name of my macro file into the AnyBody
> > Command
> > > Prompt,with no avail
> > >
> >
>
Thanks Soren,
Thought the AnyBodyCon was a command for inside the AnyBody Console,
thats where I was trying to execute the macro. Just realized that
was for the command console, that solved the problem
— In anyscript@yahoogroups.com, “AnyBody Support” <support@…>
wrote:
>
> Hi William
>
> This must be because AnyBodyCon.exe can not be found. Please try
to
> locate the AnyBodyCon.exe in the folder in which you installed
> AnyBody, then copy the file to the directory where you want to
> execute it in.
>
>
> Best regards
> Søren AnyBody Support
>
> — In anyscript@yahoogroups.com, “smitswil” <smitswil@> wrote:
> >
> > AnyBodyCon is an unrecognized command,
> > if i have the demo.outputfile located at c:\ and my macro called
> > macro.mcr what do i type into the anybodyconsole to execute it?
> > i’ve tried AnyBodyCon C:\macro.mcr
> > the tutorial mentions command line application can be given such
a
> > file as its command line argument, and it will perform the
> commands
> > in it.
> > so i tried c:\macro.mcr (with and without parenthesis)so on,
> > everything unrecognized command,
> >
> >
> >
> >
> >
> >
> >
> > — In anyscript@yahoogroups.com, “AnyBody Support” <support@>
> > wrote:
> > >
> > > Hi William
> > >
> > > The macro you have written looks ok.
> > >
> > > If you write “AnyBodyCon YourMacroName.mcr” the macro should
be
> > > executed provided that the AnyBodyCon can be activated from
the
> > > location where you have the file.
> > >
> > > I am a little unsure on your description of the problem, did
> > nothing
> > > happen? maybee it did run the macro without that you noticed
> it,
> > > you will not see much it will take a few seconds and a new
> output
> > > file will have be created.
> > >
> > > Best regards
> > > Søren, AnyBody Support
> > >
> > > — In anyscript@yahoogroups.com, “smitswil” <smitswil@> wrote:
> > > >
> > > > Hi again anybody community,
> > > > I was also using the anybody command prompt and successfully
> > > getting
> > > > data output for several files, and the tutorial mentioned
> using a
> > > > macro,in which the name of the macro could merely be entered
> and
> > > it
> > > > would execute the commands, my questions is there a format
for
> > > this
> > > > macro, and how do you make it?
> > > >
> > > > For instance if I wanted to make a macro for the example
file
> in
> > > the
> > > > tutorial what would I do?
> > > >
> > > > I created an .anymcr file containing:
> > > > load “C:\demo.outputfile.any”
> > > > operation Main.ArmStudy.InverseDynamicAnalysis
> > > > run
> > > > exit
> > > >
> > > > And then entered the name of my macro file into the AnyBody
> > > Command
> > > > Prompt,with no avail
> > > >
> > >
> >
>