08-14-2018 01:03 AM - last edited on 08-15-2018 08:04 AM by ian.anderson
Hi. I'd like to use the hpfmerge.pmdl function in Spatial Modeler. Is there any way I can do this? Ta, Johnnie
Solved! Go to Solution.
08-15-2018 05:07 AM
You cannot directly open old mdl scripts into the new Spatial Model Editor. However there is a .gmd which you could open direcotlly, save as... to a .gmdx, and modify to give the exact desired processing. IMAGINE_HOME\etc\models\HPF_ResolutionMerge.gmd
08-15-2018 06:37 AM
Ta Ian. I thought I remembered that the pmdl was slightly different to the gmd but looking at it apparantly not. Anyhow, I now have an all singing, all dancing model that automatically selects the correct matrix and weighting factor so I'm happy! Cheers, Johnnie
08-15-2018 06:50 AM
They should be very different. A (p)mdl is a Spatial Modelling Language (SML) script model. Whereas a .gmd is a Model Maker graphical model. Obviously the latter is based on the former, but has a lot of other stuff included to support the graphical aspects. The lack of the graphical aspects are what means you can't open a (p)mdl directly in either of the graphical editors.
A .gmdx is the new Spatial Model Editor graphical model format.
You should post your .gmdx back to the community for the benefit of all!