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

RE: Attached raster gets removed after closing the design file.

$
0
0

[quote user="Mohammad Aryafar"]mdlRaster_extendedInfoGet(&extendedInfo,rasterHandle); mdlRaster_extendedInfoSet(&extendedInfo,rasterHandle,EVENT_UPDATE);[/quote]

Getting data and setting the same data without modification is not likely to have any effect.

Possibly the MDL Function Reference might help you.  Here's an extract...

[quote user="Mohammad Aryafar"]mdlRaster_extendedInfoGet(&extendedInfo,rasterHandle); mdlRaster_extendedInfoSet(&extendedInfo,rasterHandle,EVENT_UPDATE);[/quote]

Getting data and setting the same data without modification is not likely to have any effect.

Possibly the MDL Function Reference might help you.  Here's an extract...

mdlRaster_extendedInfoSet

Function

StatusInt                  mdlRaster_extendedInfoSet  
( 
RasterExtendedInfo const*  extendedInfo , 
DgnRasterP                 rasterHandle , 
int                        eventMode  
); 

Description

Modifies extended file information for the specified raster according to the content of the
RasterExtendedInfo structure. 
You can attach the raster to the active model by setting attachMode to ATTACH_REFERENCE. 
Conversely, setting attachMode to ATTACH_NONE will detach the raster.

Viewing all articles
Browse latest Browse all 7260

Trending Articles



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