Why shouldn I use the Viewport.SaveFile()/OpenFile() methods to store my models?
These commands can be very attractive to save and load models in you program but have a serious pitfall: they are based on standard .NET serialization. This means that any change on the Eyeshot binaries (dll versions, dll names, type names, etc.) will invalidate all your existing files. We strongly recommend to implement your own file format (simply writing entities properties and recreating entities during file loading) if you need continuity between different Eyeshot DLL versions. Another option can be to use one of the standard format supported (DWG/DXF/IGES) where applicable.
Related Questions
- Can I take ACTU 4821 Actuarial Models, ACTU 4823 Actuarial Methods, ACTU 4830 Stochastic Processes for Actuaries or other actuarial courses without enrolling in the program?
- How can I store a given document in a specific format using CreateSerializerWriter methods ?
- Is is possible to take the Deterministic Models / Numerical Methods courses out of sequence?