Does not exist in the c3d file

I tried to insert my C3D file in anybody, it isn't
image

Except for the Pelvis Marker, nothing else is working.

// EXAMPLE of MarkerProcol file for the plug-in-gait protocol.

//head markers
////#define _RFHD
////#define _LFHD
////#define _RBHD
////#define _LBHD

//torso markers
//#define _T10
//#define _C7
#define _VStern
//#define _Clavicle

//pelvis markers
#define _LPSI
#define _RPSI
#define _RASI
#define _LASI

//#define _VSacral
////
//#define _RThigh
//#define _RKnee
//#define _RShank
//#define _RAnkle
//#define _RToe
//#define _RHeel
////#define _R_FM5
//#define _LThigh
//#define _LKnee
//#define _LShank
//#define _LAnkle
//#define _LToe
//#define _LFoot
//#define _L_FM5
//
//#if INCLUDE_UPPERBODY == ON
//#define _RShoulder
//#define _R_Back << need to note

//#define _RUPA
//#define _R_UOA
//#define _RFRA
//#define _RWRA
//#define _RWRB
//#define _RFIN
//#define _LShoulder
//#define _LUPA
//#define _L_UOA
//#define _LFRA
//#define _R_RSP
//#define _LWRB
//#define _LFIN
//#endif

#ifdef _LPSI
// Marker on the Left Posterior Superior Iliac
CreateMarkerDriver LPSI (
UseC3DWeightResiduals = ON,
MarkerPlacement=Trunk.SegmentsLumbar.PelvisSeg,
OptX=ON, OptY=OFF, OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.145,0.02, -0.04};
};
#endif

#ifdef _RPSI
// Marker on the Right Posterior Superior Iliac
CreateMarkerDriver RPSI (
MarkerPlacement=Trunk.SegmentsLumbar.PelvisSeg,
OptX=ON, OptY=OFF, OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.145,0.02, 0.04};
};
#endif

#ifdef _RASI
// Marker on the Right Anterior Superior Iliac
CreateMarkerDriver RASI (
MarkerPlacement=Trunk.SegmentsLumbar.PelvisSeg,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.015, 0.005, 0.125};
};
#endif

#ifdef _LASI
// Marker on the Left Anterior Superior Iliac
CreateMarkerDriver LASI (
MarkerPlacement=Trunk.SegmentsLumbar.PelvisSeg,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.015,0.005, -0.125};
};
#endif

//// Head

#ifdef _RFHD
// Marker on the Right Front Head
CreateMarkerDriver RFHD (
MarkerPlacement=Trunk.SegmentsCervicalSpine.SkullSeg,
OptX=OFF,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.115,0.08,0.045};
};
#endif

#ifdef _LFHD
// Marker on the Left Front Head
CreateMarkerDriver LFHD (
MarkerPlacement=Trunk.SegmentsCervicalSpine.SkullSeg,
OptX=OFF,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.115,0.08,-0.045};
};
#endif

#ifdef _RBHD
// Marker on the Right Back Head
CreateMarkerDriver RBHD (
MarkerPlacement=Trunk.SegmentsCervicalSpine.SkullSeg,
OptX=ON ,OptY=OFF ,OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.07,0.09,0.08};
};
#endif

#ifdef _LBHD
// Marker on the Left Back Head
CreateMarkerDriver LBHD (
MarkerPlacement=Trunk.SegmentsCervicalSpine.SkullSeg,
OptX=ON,OptY=OFF,OptZ= ON ,
WeightX=1.0,WeightY=1.0,WeightZ=1.0,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.07,0.09,-0.08};
};
#endif

//// Thorax

#ifdef _VStern
// Marker on the Sternum
CreateMarkerDriver VStern (
MarkerPlacement=Trunk.SegmentsRibCage.SternumSeg,
OptX=ON,OptY=ON,OptZ=OFF,
WeightX=1.0,WeightY=1.0,WeightZ=1.0,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.20,0.18,0.0};
};
#endif

#ifdef _Clavicle
// Marker on the Clavicle
CreateMarkerDriver Clavicle (
MarkerPlacement=Trunk.SegmentsRibCage.SternumSeg,
OptX=OFF,OptY=OFF,OptZ=OFF,
WeightX=1.0,WeightY=1.0,WeightZ=1.0,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.12,0.42,0.0};
};
#endif

#ifdef _T10
// Marker on the Thoracic Vertebra 10
CreateMarkerDriver T10 (
MarkerPlacement=Trunk.SegmentsThorax.T10Seg,
OptX=OFF,OptY=ON,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.03,0.187,0};
};
#endif

#ifdef _C7
// Marker on the Cervical Vertebra 10
CreateMarkerDriver C7 (
MarkerPlacement=Trunk.SegmentsThorax.T1Seg,
PlaceMarkerAt = T1C7JntNode,
OptX=ON,OptY=ON,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.075,0.05,0};
};
#endif

//// Lower Extremity Markers
#ifdef _RThigh
// Marker on the Right Thigh
CreateMarkerDriver RThigh (
OptX=ON,OptY=ON,OptZ=ON,
MarkerPlacement =Right.Leg.Seg.Thigh,
UseC3DWeightResiduals=ON
)= {
sRelOpt = {0.00, -0.15, 0.1};
};
#endif

#ifdef _RKnee
// Marker on the Right Knee
CreateMarkerDriver RKnee (
MarkerPlacement= Right.Leg.Seg.Thigh,
PlaceMarkerAt = EpicondylusFemorisLateralis,
OptX=OFF,OptY=OFF,OptZ=OFF,
WeightX=1.0,WeightY=1.0,WeightZ=1.0,
UseC3DWeightResiduals=ON

) = {
sRelOpt = {0.01, 0.0, 0.015};
};
#endif

#ifdef _RShank
// Marker on the Right Tibia
CreateMarkerDriver RShank (
MarkerPlacement=Right.Leg.Seg.Shank,
OptX=ON,OptY=ON,OptZ=ON
) = {
sRelOpt = {0.0, -0.1, 0.05};
};
#endif

#ifdef _RAnkle
// Marker on the Right Lateral Ankle
CreateMarkerDriver RAnkle (
MarkerPlacement=Right.Leg.Seg.foot,
PlaceMarkerAt = LateralMalleolus,
OptX=OFF,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.00, -0.0, 0.015};
};
#endif

#ifdef _RToe
// Marker on the Right Toe
CreateMarkerDriver RToe (
MarkerPlacement=Right.Leg.Seg.Foot,
PlaceMarkerAt = MetatarsalJoint1Node,
OptX=OFF , OptY=OFF , OptZ=OFF,
WeightX=1.0,WeightY=1.0,WeightZ=1.0,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.014, 0.02, 0.00};
};
#endif

#ifdef _RHeel
// Marker on the Right Heel
CreateMarkerDriver RHeel (
MarkerPlacement=Right.Leg.Seg.Foot,
PlaceMarkerAt = HeelNode,
OptX=OFF, OptY=OFF , OptZ=OFF,
WeightX=1.0,WeightY=1.0,WeightZ=1.0,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.025, 0.01, -0.0};
};
#endif

// Marker on the Right Metatarsel 5
#ifdef _R_FM5
CreateMarkerDriver R_FM5 (
MarkerPlacement=Right.Leg.Seg.Foot,
PlaceMarkerAt = MetatarsalJoint5Node,
OptX=ON,OptY=OFF,OptZ=OFF,
WeightX=1.0,WeightY=1.0,WeightZ=1.0,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.0, 0.01, 0.015};
};
#endif

#ifdef _LThigh
// Marker on the Left Thigh
CreateMarkerDriver LThigh (
MarkerPlacement=Left.Leg.Seg.Thigh,
OptX=ON,OptY=ON,OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.0, -0.28, -0.1};
};
#endif

#ifdef _LKnee
// Marker on the Left Knee
CreateMarkerDriver LKnee (
MarkerPlacement=Left.Leg.Seg.Thigh,
PlaceMarkerAt = EpicondylusFemorisLateralis,
OptX=OFF,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.01, -0.0, -0.015};
};
#endif

#ifdef _LShank
// Marker on the Left Tibia
CreateMarkerDriver LShank (
MarkerPlacement=Left.Leg.Seg.Shank,
OptX=ON,OptY=ON,OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.0, -0.1, -0.05};
};
#endif

#ifdef _LAnkle
// Marker on the Left Ankle
CreateMarkerDriver LAnkle (
MarkerPlacement=Left.Leg.Seg.Shank,
PlaceMarkerAt = LateralMalleolus,
OptX=ON,OptY=ON,OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.0, -0.0, -0.015};
};
#endif

#ifdef _LToe
// Marker on the Left Toe
CreateMarkerDriver LToe (
MarkerPlacement=Left.Leg.Seg.Foot,
PlaceMarkerAt = MetatarsalJoint1Node,
OptX=OFF,OptY=OFF ,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.014, 0.02, 0.00};
};
#endif

#ifdef _LHeel
// Marker on the Left Heel
CreateMarkerDriver LHeel (
MarkerPlacement=Left.Leg.Seg.Foot,
PlaceMarkerAt = HeelNode,
OptX=OFF, OptY=OFF, OptZ=OFF,
WeightX=1.0,WeightY=1.0,WeightZ=1.0,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.025, 0.01, 0.0};
};
#endif

#ifdef _L_FM5
// Marker on the Right Metatarsel 5
CreateMarkerDriver L_FM5 (
MarkerPlacement=Left.Leg.Seg.Foot,
PlaceMarkerAt = MetatarsalJoint5Node,
OptX=ON,OptY=OFF,OptZ=OFF,
WeightX=1.0,WeightY=1.0,WeightZ=1.0,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.0, 0.01, -0.015};
};
#endif

//// Trunk markers

#ifdef _RShoulder
CreateMarkerDriver RShoulder (
MarkerPlacement=Right.ShoulderArm.Seg.Scapula,
OptX=ON,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.00,-0.005,0.015};
};
#endif

#ifdef _LShoulder
// Marker on the Left Acromio-clavicular joint
CreateMarkerDriver LShoulder (
MarkerPlacement=Left.ShoulderArm.Seg.Scapula,
OptX=ON,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.00,0.005,0.015};
};
#endif

#ifdef _RUPA
// Marker on the Right Upper Arm
CreateMarkerDriver RUPA (
MarkerPlacement=Right.ShoulderArm.Seg.Humerus,
OptX=ON,OptY=ON,OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt ={0.03,-0.24,0.01};
};
#endif

#ifdef _LUPA
// Marker on the Left Upper Arm
CreateMarkerDriver LUPA (
MarkerPlacement=Left.ShoulderArm.Seg.Humerus,
OptX=ON,OptY=ON,OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt ={-0.03,-0.19,0.01};
};
#endif

#ifdef _R_UOA
// Marker on the Right Elbow
CreateMarkerDriver R_UOA (
MarkerPlacement=Right.ShoulderArm.Seg.Humerus,
OptX=OFF,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {0.045,-0.325, 0.010};
};
#endif

#ifdef _L_UOA
// Marker on the Left Elbow
CreateMarkerDriver L_UOA (
MarkerPlacement=Left.ShoulderArm.Seg.Humerus,
OptX=OFF,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.045,-0.325, 0.010};
};
#endif

#ifdef _LFRA
// Marker on the Left Radius
CreateMarkerDriver LFRA (
MarkerPlacement=Left.ShoulderArm.Seg.Radius,
OptX=ON,OptY=ON,OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.13, 0.03, 0.01};
};
#endif

#ifdef _RFRA
// Marker on the Right Radius
CreateMarkerDriver RFRA (
MarkerPlacement=Right.ShoulderArm.Seg.Radius,
OptX=ON,OptY=ON,OptZ=ON,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.13, -0.03, 0.01};
};
#endif

#ifdef _RWRA
// Marker on the Right Wrist A
CreateMarkerDriver RWRA (
MarkerPlacement=Right.ShoulderArm.Seg.Radius,
OptX=OFF,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.21, -0.05, 0.01};
};
#endif

#ifdef _R_RSP
// Marker on the Right Wrist B
CreateMarkerDriver R_RSP (
MarkerPlacement=Right.ShoulderArm.Seg.Radius,
OptX=ON ,OptY=ON,OptZ=OFF,
WeightX=0.1,WeightY=0.1,WeightZ=0.1,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.22, 0.05, 0.025};
};
#endif

#ifdef _LWRA
// Marker on the Left Wrist A
CreateMarkerDriver LWRA (
MarkerPlacement=Left.ShoulderArm.Seg.Radius,
OptX=OFF,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.21, 0.05, 0.01};
};
#endif

#ifdef _LWRB
// Marker on the Left Wrist B
CreateMarkerDriver LWRB (
MarkerPlacement=Left.ShoulderArm.Seg.Radius,
OptX=ON ,OptY=ON ,OptZ=OFF,
WeightX=0.1,WeightY=0.1,WeightZ=0.1,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.22, -0.05, 0.025};
};
#endif

#ifdef _RFIN
// Marker on the Right Finger
CreateMarkerDriver RFIN (
MarkerPlacement=Right.ShoulderArm.Seg.Hand,
OptX=ON ,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.065,-0.03,0.02};
};
#endif

#ifdef _LFIN
// Marker on the Left Finger
CreateMarkerDriver LFIN (
MarkerPlacement=Left.ShoulderArm.Seg.Hand,
OptX=ON ,OptY=OFF,OptZ=OFF,
UseC3DWeightResiduals=ON
) = {
sRelOpt = {-0.065,-0.03,-0.02};
};
#endif

Hi

Welcome to the AnyScript forum!

The error indicates that it can't find the marker in the c3d file. Most likely, the marker names are different in your c3d file.

You can see that by making a new model and just using the AnyInputC3D class to load your c3d file. Then you can explore the data in the c3d file in the model tree.

Hope that helps.

Best regards,
Dave