[Connect API] Attach reference reprojected

In V8i you could something like this to attach a reference reprojected:

mdlRefFile_setParameters ((void *) ATTACHMETHOD_GeographicProjected, REFERENCE_ATTACHMETHOD, ModelRef);

I want to do the same in Connect:

mdlRefFile_setIntegerParameters(ATTACHMETHOD_GeographicProjected, REFERENCE_ATTACHMETHOD, ModelRef);

The problem is that the enum value "ATTACHMETHOD_GeographicProjected" can't be found in the headerfiles.

I've made a small workaround:

#ifndef ATTACHMETHOD_GeographicProjected
#define ATTACHMETHOD_GeographicProjected 31

This will work but I think that the headerfiles should be updated to include the enum values.

Regards, Evan

Parents Reply Children
No Data