[connect c++] where to find ConsHdr

Hello

MdlApi\mscons.h(380) : error C2504: 'ConsHdr' : base class undefined

I miss this baseclass! Where can I find it?

Thanks and kind regards

Sigi

Parents
  • The mdlCons API remaining in the MicroStation CONNECT Edition was intended to be completely removed.  However as you point out we need to remove mscons.h and mscons.fdf from the SDK.  Thank you for reporting this.

    The replacement for the mdlCons API is the new and robust Constraint2d API providing: Constraint2dData Constraint2dSolverData.

    The list below has some additional Constraint2d related header files that may also be helpful:

    ..\include\Constraint2d\Constraint2dCoreAPI.h
    ..\include\DgnPlatform\ParametricModeling.h
    ..\include\Mstn\Constraint2dElement\Constraint2dElementAPI.h
    ..\include\Mstn\Constraint2dElement\Constraint2dManager.h
    ..\include\Mstn\Constraint2dElement\ConstraintHandlerBase.h

    HTH,
    Bob



    Answer Verified By: Sigi Hornig 

Reply
  • The mdlCons API remaining in the MicroStation CONNECT Edition was intended to be completely removed.  However as you point out we need to remove mscons.h and mscons.fdf from the SDK.  Thank you for reporting this.

    The replacement for the mdlCons API is the new and robust Constraint2d API providing: Constraint2dData Constraint2dSolverData.

    The list below has some additional Constraint2d related header files that may also be helpful:

    ..\include\Constraint2d\Constraint2dCoreAPI.h
    ..\include\DgnPlatform\ParametricModeling.h
    ..\include\Mstn\Constraint2dElement\Constraint2dElementAPI.h
    ..\include\Mstn\Constraint2dElement\Constraint2dManager.h
    ..\include\Mstn\Constraint2dElement\ConstraintHandlerBase.h

    HTH,
    Bob



    Answer Verified By: Sigi Hornig 

Children