Rhino4 Multi Version User Data Support
Last changed: stevebaer-204.177.179.132

.
DeveloperC++
VersionRhino 4

The SaveAs feature in Rhino 4.0 can be used to write files Rhino 3.0 can use. By default, no plug-in user data will be saved when a user saves a V3 file from Rhino 4.0. If you feel it is necessary, and you are willing to do some extra coding and lots of detailed testing, it is possible to round-trip plug-in user data between Rhino 3.0 and Rhino 4.0.

There are several approaches that can be used and the one you choose depends on what you want to accomplish.

There is not a V3 version of the plug-in. You want your V4 plug-in to be able to round-trip information through V3 files.

There is a V3 version of the plug-in. You want your V4 plug-in to be able to be able to round-trip information through V3 files. You do not want the V3 and V4 plug-ins to exchange information.

There are V3 and V4 versions of your plug-in. You want the V3 and V4 plug-ins to share information.

This level of support requires expert programming, through testing, and thoughtful file IO code design. In particular, if you have changed the information your plug-in saves and you did not carefully plan for this situation when you wrote your V3 plug-in's IO code, then it is likely you cannot provide this level of file support for your users. In order to properly test your code, you must be able to run your V3 and V4 plug-ins in a debugger.