About patients specific scaling

I want to create the model includes subject-specific pelvis and femur by Anybody 5.2 and AMMRV1.5.
I am learning how to perform based on a tutorial, and I understood until lesson 3. Even though I followed the tutorial, I could not include custom scaling in the model in lesson 4. Following error was displayed.

“ERROR(SCR.PRS9) : C:/P…s/A…y/A…2/A…5/Body/A…n/L…D/HipNodes.any : ‘Pelvis’ : Unresolved object”

Please give me some advice.

Sincerely yours,

Ryoji Kiyama

I am trying to include custom scaling law to human model.
I modified the code as below based on turial, but this model go wrong.
What am I doing wrong?

#define CUSTOM_SCALING_Left_Thigh 1

Scaling.GeometricalScaling.Left.Thigh = {
#include “MyScalingLaw.any”
AnyFunTransform3D &ScaleFunction = MyScalingLaw.Transform;
};

#include “<ANYBODY_PATH_BODY>\Scaling\ScalingCustom.any”
Scaling = {

// This section below offers the choice between several scaling strategies

#include “<ANYBODY_PATH_BODY>\Scaling\ScalingStandard.any”

// Scaling laws using joint to joint measures
//#include “<ANYBODY_PATH_BODY>\Scaling\ScalingUniform.any”
//#include “<ANYBODY_PATH_BODY>\Scaling\ScalingLengthMass.any”
//#include “<ANYBODY_PATH_BODY>\Scaling\ScalingLengthMassFat.any”

// Scaling laws using external measures
//#include “<ANYBODY_PATH_BODY>\Scaling\ScalingUniformExt.any”
//#include “<ANYBODY_PATH_BODY>\Scaling\ScalingLengthMassExt.any”
//#include “<ANYBODY_PATH_BODY>\Scaling\ScalingLengthMassFatExt.any”

Scaling = {
//#include “<ANYBODY_PATH_BODY>\Scaling\AnyFamily\AnyMan.any”

//#include “<ANYBODY_PATH_BODY>\Scaling\AnyFamily\AnyManUniform.any”

//#include “<ANYBODY_PATH_BODY>\Scaling\AnyFamily\AnyManExternal.any”

//#include “<ANYBODY_PATH_BODY>\Scaling\AnyFamily\AnyManExtPercentile.any”

//#include “<ANYBODY_PATH_BODY>\Scaling\AnyFamily\AnyWomanExtPercentile.any”
};
};

Sincerely yours,

Dear Ryoji,

Could you please specify the error message - it seems that the code that you posted is OK. Probably the problem is in the content of the file.
Regards,
Pavel

And regarding the pelvis - it should be PelvisSeg. Could try changing this line? I suspect that was a minor error in the repository.

Regards,
Pelvis

Thank you for your reply.
I haven’t really gotten used to AnyBody.
I don’t understand which file I should change, MyScalingLaw.any or ScalingCustom.any?
I’m looking forward to your reply.

Sincerely yours,
Ryoji Kiyama

Dear Ryoji,

You need to make a correction in the HipNodes.any:

“&…Scaling.GeometricalScaling.Pelvis.ScaleFunction” to
“&…Scaling.GeometricalScaling.PelvisSeg.ScaleFunction”

Your code seems to be correct and this fix to the repository will help.

Kind regards,
Pavel

Dear Pavel,

Thank you very much for your advice. I could include the custom scaling law to model.
But I can’t understand why hip node should be modified. What is the difference between Pelvis and PelvisSeg?
I am sorry to have taken up your valuable time.

Sincerely yours,
Ryoji Kiyama

Dear Ryoji,

This was a typo introduced by us, which we have not found during testing. It is simply the right name for the scaling folder of the pelvis (which should have been PelvisSeg and not Pelvis).

Basically you were not supposed to see this problem and it is fixed in the later versions of AMMR.

Pavel

Dear Pavel,

Thank you very much for your quick reply.
I am much indebted to you.

Sincerely yours,
Ryoji Kiyama