Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[Connect API] Attach reference reprojected

$
0
0

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
#endif

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

Regards, Evan


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>