create Model view from AnyBodyCon.exe

Hi,

i like AnyBodyCon.exe very much. Sometimes, however, after having used it for a large number of jobs, i would like to inspect the results graphically. It would thus be very helpful if a model view could be exported from within AnyBodyCon.

This would however mean that also the view parameters (background color, perspective, which entities are visible etc.) can be defined within AnyBody.

Kind regards,

Thomaz

Hi Thomaz,

Just a small comment which i guess you already know.

If you save the .h5 output file then you can use it for replaying the model afterwards in AMS.

Best regards
Søren

Hi Søren,

thanks. Can the h5 file be saved from within AnyBodyCon?

I think i will have to have a look how to work with this file. I would like to concatenate several h5 files containing each a static analysis with nStep=1.

Kind regards,

Thomaz

Hi Thomaz,

Yes this should be possible,

From the the InverseDynamic.any file in the C3DProject model i have found these lines.

[SIZE=3]
[/SIZE] 
[SIZE=3]AnyOperationMacro[/SIZE] SaveResults = { 
MacroStr={
"classoperation Main.Studies.InverseDynamicStudy.Output" + " " + strquote("Save data") + " --file=" + strquote(FilePathCompleteOf(Main.ModelSetup.FileNames.Results )) + " --type=Deep"
};
};

So add something similar to your model and execute the operation from the console or add the operation above to the operation you are already executing.

Then all output data are saved… and you can later extract graphs or use it for replay

Best regards
Søren

Hi Thomaz,

One more comment, you can also use the camera class in the console application to make pics of the model.

See for example http://forge.anyscript.org/gf/snippet/?action=SnippetBrowse&id=18

Best regards
Søren