Writing out older file versions?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 30/10/2010 at 17:11, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R12
Platform: Windows ;
Language(s) : C++ ;---------
Can the R12 Melange library write out older version C4D files?
There is a SetFileVersion() function in the HyperFile class, but I don't know what values to
send it for older versions, R11.5, R11, etc...
LONG GetFileVersion();
void SetFileVersion(LONG version); -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/11/2010 at 14:13, xxxxxxxx wrote:
I don't know why this SetFileVersion() method is available. The file written is always version 12.
Changing it to 11000 does not change the version of the written file. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/11/2010 at 14:48, xxxxxxxx wrote:
Hmm, I couldn´t find the SetFileVersion in the docs but the docs say that GetFileVersion returns the Cinema 4D version the file was written with, so you won´t be able to change that I guess.
Also, afaik you cannot write older c4d file formats (maybe a v5 format in pre-r12 versions at max), especially not in R12 due to the double precision.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/11/2010 at 16:19, xxxxxxxx wrote:
Melange has SetFileVersion(). Melange can load older C4D files, so I assume it can save older C4D files too, but apparently not.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/11/2010 at 18:21, xxxxxxxx wrote:
ah sorry, haven´t notied you were talking about Melange. I don´t know but it could have the same limitation that the R12 version has (which is not downward compatible due to the double precision), of course loading older files is no problem.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/11/2010 at 06:42, xxxxxxxx wrote:
hi,
yes, this is the same limitation cinema r12 has. 3d designer has already explained it very well (SetFileVersion() should be private, we'll change this for the next version of melange).
cheers
jens