Author Topic: Cube Builds .pyi or .mdl  (Read 10932 times)

Offline Skidly

  • Full Member
  • ***
  • Join Date: Jul 2005
  • Posts: 14
  • Forum Citizenship: +1/-0
Cube Builds .pyi or .mdl
« on: 26 Jul 2005 03:23:21 pm »
I am building cubes using .bat files.
Which is the best file to use for cube builds the .mdl or the .pyi file.

Offline cognostechie

  • Statesman
  • ******
  • Join Date: Jul 2005
  • Posts: 1,666
  • Forum Citizenship: +133/-7
    • Pervisol
Re: Cube Builds .pyi or .mdl
« Reply #1 on: 26 Jul 2005 05:27:03 pm »
I am not sure what you mean by .bat files. Those are usually batch files on Windows.

I have built a bunch of cubes from flat files and from databases and always used .pyi as the model file in Transformer and I think .mdl is the compiled version of .pyi which can be used to upgrade models from one version to another.

Edited : Sorry, I switched by mistake. .pyi is the compiled/encrypted file. 
« Last Edit: 27 Jul 2005 06:38:41 pm by cognostechie »

Offline Draoued

  • Global Moderator
  • Community Leader
  • *****
  • Join Date: Jul 2005
  • Posts: 96
  • Forum Citizenship: +12/-0
Re: Cube Builds .pyi or .mdl
« Reply #2 on: 27 Jul 2005 03:57:39 am »
Pyi are binary files, they are able to save the password. It seems that they are a bit faster than mdl files.
If you are making lots of changes in the Pyi , from time to time save it as MDL , and resave the mdl to Pyi. All the changes in the Pyi are making the Pyi bigger and bigger, by saving it to mdl then to pyi again , you are removing the un-necessary data from the pyi and making the pyi file smaller.

MDL files can be opened in notepad.
Recommandation if you are working with PYI, is to have always a backup in MDL. If the pyi is corrupted ( it happens ...) there is no way to fix it.

Have a look to this post

Offline Skidly

  • Full Member
  • ***
  • Join Date: Jul 2005
  • Posts: 14
  • Forum Citizenship: +1/-0
Re: Cube Builds .pyi or .mdl
« Reply #3 on: 27 Jul 2005 11:17:57 am »
Thanks so much for the info.