MDL Function

Hello All,

How to call this lidar tmodel function

//how to bind Dpoint3d and int to form a expression to evaluate using mdlCExpression_getvalue
int FnSurfaceZ( Dpoint3d *Pt, int I) ; // with parameters

mdlCExpression_getValue( &Val, &Res, Expr, VISIBILITY_CALCULATOR);



//For Example in my previous case
int FnSurfaceName( char *Str, int I) ;

sprintf( Expr, "FnSurfaceName(%ld,%d)", (long) Name, 0) ;

mdlCExpression_getValue( &Val, &Res, Expr, VISIBILITY_CALCULATOR);

Parents
  • Please follow the MicroStation Programming forum best practices.

    Identify Your Platform

    Please identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation CONNECT or MicroStation V8i. What is the 8-digit version number (e.g. 10.xx.yy.zz) of MicroStation?

    If you're using MicroStation in a ProjectWise (PW) managed environment, let us know that too.

    The APIs supplied with MicroStation CONNECT are different to those supplied with MicroStation V8i. Consequently, our answers are likely to be different.

    Build Tools

    Are you using Visual Studio or Bentley Make (bmake) to build your project? What version of Visual Studio are you using?

    LIDAR Library

    Please tell us where the FnSurfaceZ function comes from?

     
    Regards, Jon Summers
    LA Solutions

Reply
  • Please follow the MicroStation Programming forum best practices.

    Identify Your Platform

    Please identify the version of MicroStation, or other product such as PowerDraft, that you are using: MicroStation CONNECT or MicroStation V8i. What is the 8-digit version number (e.g. 10.xx.yy.zz) of MicroStation?

    If you're using MicroStation in a ProjectWise (PW) managed environment, let us know that too.

    The APIs supplied with MicroStation CONNECT are different to those supplied with MicroStation V8i. Consequently, our answers are likely to be different.

    Build Tools

    Are you using Visual Studio or Bentley Make (bmake) to build your project? What version of Visual Studio are you using?

    LIDAR Library

    Please tell us where the FnSurfaceZ function comes from?

     
    Regards, Jon Summers
    LA Solutions

Children