Hi Pavel
I am sorry to bother you again
I follow your suggestion and manage to morph some of the bone.
however , now I have some problem to position my morphed femur back in proper place.
here are my code
// ----------------------------------------------------------
// Patient Specific Settings
// ----------------------------------------------------------
#define BM_SCALING CONST_SCALING_STANDARD
“Model\AnyFamily\AnyManExtPercentile.any”
“Model\AnyFamily\AnyWomanExtPercentile.any”
// Transformation of the model to investigate resultant hip force.
//
// Default setting (0) scales the whole body using body height and mass.
// Custom 3D-Transformation (1) of the pelvis and its RefNodes
// scales the pelvis to a patient specific geometry using 14 bony
// landmarks from CT. For the remaining model parts default scaling
// using patient height and mass is applied.
// The selected scaling law is applied in “HumanModel.any” which can
// be found in both study sections.
//
// Turn pelvis transformation on (1) or off (0) and choose a patient:
#ifndef PELVIS_TRANSFORMATION
#define PELVIS_TRANSFORMATION 1
#endif
/------------- SCALING CONFIGURATION SECTION --------------------/
// Turn patient-specific transformation of proximal femur on (1, 2) or off (0)
// ‘0’: Scaling of femur using body height and weight only
// ‘1’: Scaling of femur using body height and weight, patient-specific
// positioning of hip joint centers only
// ‘2’: See ‘1’ with medio-lateral scaling using hip joint center and
// trochanter major (not recommended)
// ‘3’: See ‘1’ with additional surface transformation of proximal femur
#ifndef FEMUR_TRANSFORMATION
#define FEMUR_TRANSFORMATION 3
#endif
// Scaling of remaining bones in longitudinal direction only (1) or use
// standard length-mass scaling law affecting transverse directions
// of the bones and muscles strength as well (0)
#ifndef LONGITUDINAL_SCALING
#define LONGITUDINAL_SCALING 0
#endif
// Choose patient number (1 to 10)
#ifndef PATIENT
#define PATIENT 8
#endif
AnyInt Patient = PATIENT;
// Read patient specific data: mass, height, CT resolution
#include “ReadPatientData.any”
// Custom scaling law is used for the pelvis only
#include “PelvisCustomScaling.any”
// Custom scaling law is used for the femur only
#include “FemurCustomScaling.any”
#include “<ANYBODY_PATH_BODY>/HumanModel.any”
but it give error
ERROR(SCR.SCN6) : H:/H…s/m…g/AMMR/Body/A…n/B…s/G…l/BodyModel.any(20) : ‘TLEM_PATH_VERSION’ : Unexpected character.
Model loading skipped
Where else should I have to change