RP
Hi,
Can somebody help with this?
Dear Robert,
hereby a small script thats export a model to a PNG-file.
var myModel = ArisData.getSelectedModels()[0] var ModelPicture = myModel.Graphic(false, false, -1); var FileName = "PicureFile.png" ModelPicture.Save(GetCurrentTempPath() +"/" + FileName) Dialogs.shell(FileName) function GetCurrentTempPath(){ var myOutput = Context.createOutputObject(); var CurrentTempPath = myOutput.getCurrentPath().getPath(); myOutput=null; return CurrentTempPath }
Regards, Ariene kroeze