Script Problems

Hii sir…
I tried including some .any files in my model but it failed in loading could u please let me know where is the problem in program?

#include “…/libdef.any”

/**
This application shows all the scaling laws available.
The model can be scaled either regarding to measures between joint center,
or exteranal measures of bony tips, or by representation of a certain percentile of the population.
For further details see the tutorial about scaling at anybodytech.com
*/
Main = {

// ----------------------------------------------------------
// Model configuration:
// For more info on body model configuration options please load the model and double click on:
// #include “<ANYBODY_PATH_BODY>\Documentation\BodyModel.parameters.any”
// ----------------------------------------------------------

/--------------- GENERAL CONFIGURATION SECTION ------------------/
// Initial positions and velocities file used by this model
#path BM_MANNEQUIN_FILE “<ANYBODY_PATH_MAINFILEDIR>/Model/Mannequin.any”

// Custom drawing settings used by this model
#path BM_DRAWSETTINGS_FILE “<ANYBODY_PATH_MAINFILEDIR>/Model/DrawSettings.any”

// Switch off all muscles for convenience of display
#define BM_LEG_MUSCLES_BOTH CONST_MUSCLES_NONE
#define BM_ARM_MUSCLES_BOTH CONST_MUSCLES_NONE
#define BM_TRUNK_MUSCLES CONST_MUSCLES_NONE

//--------------- END OF GENERAL CONFIGURATION -------------------

/------------- SCALING CONFIGURATION SECTION --------------------/
// Actual scaling law
#define BM_SCALING CONST_SCALING_STANDARD

// Scaling laws using joint to joint measures
// #define BM_SCALING CONST_SCALING_UNIFORM
// #define BM_SCALING CONST_SCALING_LENGTHMASS
// #define BM_SCALING CONST_SCALING_LENGTHMASSFAT

// Scaling laws using external measures
// #define BM_SCALING CONST_SCALING_UNIFORM_EXTMEASUREMENTS
// #define BM_SCALING CONST_SCALING_LENGTHMASS_EXTMEASUREMENTS
// #define BM_SCALING CONST_SCALING_LENGTHMASSFAT_EXTMEASUREMENTS

// Anthropometric data file (unchanged files can be found in AAUHuman\Scaling\AnyFamily)
// #path BM_SCALING_ANTHRO_FILE “Model\AnyFamily\AnyMan.any”
// #path BM_SCALING_ANTHRO_FILE “Model\AnyFamily\AnyManUniform.any”
// #path BM_SCALING_ANTHRO_FILE “Model\AnyFamily\AnyManExternal.any”
// #path BM_SCALING_ANTHRO_FILE “Model\AnyFamily\AnyManExtPercentile.any”
// #path BM_SCALING_ANTHRO_FILE “Model\AnyFamily\AnyWomanExtPercentile.any”
#include “C:\Users\csio\AppData\Roaming\AnyBody Technology\AnyBody.6.0.x\AMMR.v1.6.1-My Demo\Body\AAUHuman\Scaling\ScalingLengthMassFat.any”
Scaling {
#include “C:\Users\csio\AppData\Roaming\AnyBody Technology\AnyBody.6.0.x\AMMR.v1.6.1-My Demo\Body\AAUHuman\Scaling\AnyFamily\AnyMan.any”

//--------------- END OF SCALING CONFIGURATION -------------------

//#include “Model\CustomScaling.any”

#include “<ANYBODY_PATH_BODY>/HumanModel.any”

// This folder collects the elements of the model. It is referred by the
// study section below as the target of the analyses.
AnyFolder Model = {
/// Body model without default drivers
AnyFolder &HumanModel=.HumanModel.BodyModel;
/// Reference to the mannequin folder (used by drivers)
AnyFolder &Mannequin =.HumanModel.Mannequin;

// Environment files are used to include objects surrounding human, e.g. global reference frame
#include "Model\Environment.any"   

AnyFolder ModelEnvironmentConnection = {
 // All added constraints reaction forces to simulate standing human
 #include "Model\JointsAndDrivers.any"
};

// Visualization of the external measures
//#include "Model\DrawExternalMeasures.any"

};

AnyBodyStudy Study = {
AnyFolder &Model = .Model;

tEnd = 1.0;
Gravity = {0.0, -9.81, 0.0};
nStep = 1;
// these settings are needed for adding drivers without removing the default set 
InitialConditions.SolverType = KinSolOverDeterminate;
Kinematics.SolverType = KinSolOverDeterminate;

}; // End of study

// Include an operation sequence to run all required steps of your application (see Operations tab)
#include “<ANYBODY_PATH_TOOLBOX>\Operations\RunAppSequence.any”

}; //Main

and the error was …
ERROR(SCR.SCN1) : C:/U…s/csio/A…a/R…g/A…y/A…x/A…o/A…n/E…s/S…y/StandingModelScalingDisplay.Main.any(53) : Cannot open file : C:\Users\csio\AppData\Roaming\AnyBody Technology\AnyBody.6.0.x\AMMR.v1.6.1-MyDemo\Application\Examples\StandingModelScalingDisplay\OS (C:)\Users\Csio\App data\Roaming\AnyBody Technology\AnyBody.6.0.x\AMMR.v1.6.1-My Demo\Body\AAUHuman\Scaling\ScalingLengthMassFat.any
Model loading skipped

Hi,

I’ve made a simple test model for scaling.

You can test ScalingStandard, ScalingUniform and ScalingLengthMassFat by using different BM statements in the main file.

I hope that this model may help you.

Best regards,
Moonki

Thank you sir.