It works perfectly except that my files are not georeferenced anymore. So I tried to replace the command “Export” with “ExportWithOrigin” but there is a problem. Unlike the first script, it doesn’t recognize the “strFile” to export and save the file… so it asks me that :
“Enregistrer le fichier sous ( Version=5 EnregistrementCompacté=Non GéométrieUniquement=Non EnregistrerTextures=Non EnregistrerDonnéesModules=Oui Parcourir ):”
Which means “save as …”. and the ask me for a file path and a name. Which is given in the script. This simple change is ruining my worklfow…
So I Wonder is anyone already had such a problem and is there a solution (I tried for hours) ?
To be tranparant here’s my script ( it’s the same than the one earlier but we never know…):
I tried with 3dm and dale’s correction in the enventuakity that it’s not possible with sat.
But i feel the script doesn’t understand Something (more likely i don’t)…
Because before asking me the origin it reads the strFile as the input for the origin. So it says “unkonwn command : C:…blabla”. And it re asks me the origin and the the strFile.
So I would like a way to force the origin and then the strFile name.in that order.
And @dale for some reasons when i write exactly the same thing than you It doesn’t even consider the export fonction.
So i am lost… haha.
I tried to define a new variable “origin” but it doesnt work either…