WriteGeometry / ReadGeometry


I am trying to use a Custom User Data class to store a list of surfaces between sessions.

To do this i’m trying to use the Write and Read methods along with the WriteGeometry and ReadGeometry methods. It seems to be writing geometry from a list of surfaces, one at a time, ok but when I readgeometry in another session i’m getting a list of nulls.

Can these methods be used to read/write surface geometry?


Found it was writing as BrepFace which wasn’t working when Reading. Fixed by retrieving and writing as surface.