Go Back   Forums > Self-Supported Forum > Debug model


Thread Tools Display Modes
Old 07-13-2016, 11:04 PM
cmoore18 cmoore18 is offline
Junior Member
Join Date: Apr 2016
Posts: 12
Default Trouble with reference when using Insert Object Name

AnyBody Version 5.00
AMMR Version 1.3

I have modified the GaitFullBody motion capture-driven model for my needs. The model is working correctly, until I try to include an output file. The code I inserted, briefly, is...

AnyOutputFile output = {
FileName = "EMGOutput.txt";
AnyFloat DeltScap1 = Main.Studies.InverseDynamicStudy.Output.HumanModel .Right.ShoulderArm.Mus.deltoideus_scapular_part_1. CorrectedActivity;

Before adding this code, and after running the inverse dynamic model, I used the "Insert Object Name" function to insert the reference above, but when I try to run the model with that additional code, I get the following error:

ERROR(SCR.PRS9) : X:/D..n/A..s/C..s/S..n/A..n/E..s/G..y/GaitFullBody.main.any : 'HumanModel' : Unresolved object

I've followed the example from "create an output file" section on the All about Anybody Modeling System. I've tried inserting the code above in several places in the AnyBodyStudy folder for the InverseDynamicStudy section, always as a direct "subfolder".

Why can it not resolve the object when I used "Insert Object Name" after running the model? Am I overlooking something? I'll post the model, if necessary.
Reply With Quote
Old 07-15-2016, 03:51 PM
mkjung9980's Avatar
mkjung9980 mkjung9980 is offline
Senior Member
Join Date: Aug 2009
Posts: 893

Dear Christopher Moore,

Your post is in the self-supported forum where you can't expect our official support.

If you want us to have a look at your model for debug, then could you please upload your model as a zip file in the following place?

Best regards,

Moon Ki Jung, Ph.D, Application Engineer, AnyBody Technology A/S.

※ AnyScript™ Reference Manual is the bible.
※ AnyScript™ wiki page is the best supplementary information(
※ When you would upload your models, please write information about your AMS and AMMR versions.
※ If you want to get more intensive support, please update your information(profile, organization and signature).
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 02:17 AM.