Modify raster's name

Hello,

I attach raster files with a macro

How to list the raster by macro?

How to edit a raster file by another raster file by macro?

thank you

Patrice

  • Hi Patrice,

    I would suggest that your start by checking the RasterManager object in the MVBA Object browser. From there you could probably find the kind of functions available in MVBA regarding raster.

    More specifically, browsing the raster by macro can be done using the RasterManager.Rasters.Count and  RasterManager.Rasters.Item properties.

    I'm not sure there is a way to edit raster file though because Raster Manager doesn't permit the editing of image data. You can get the pixels thought with the help of the function raster.GetBItmap.

    HTH,

    Mathieu