Thank you Jon, what you suggested has resolved my issue and it attaches a reference to my design file.
[quote user="Jon Summers"]Possibly the MDL Function Reference might help you. Here's an extract...[/quote]
It seems my help file is different from yours. What I see in mdlRaster_extendedInfoSet is below, and it doesn't mention anything about attachement. I also searched for ATTACH_REFERENCE keyword and it doesn't exist in my Microstation V8 MDL Help.
Function
long mdlRaster_extendedInfoSet
(
RasterExtendedInfo const* extendedInfo ,
long rasterHandle ,
int eventMode
);
Description
Modifies extended file information for the specified raster according to the content of the RasterExtendedInfo structure.
Required Header
<msraster.fdf>
Required Library
rasterlib.libThanks a lot again.
Kind regards,
Mohammad