Copy/Retrieve EarthAnchorPoint from .3dm file

Is it possible to retrieve a RhinoDocument’s EarthAnchorPoint property - without opening the file? I am typically using Rhino.FileIO methods but these do not seem to expose EarthAnchorPoint (even in the dump!) Is there a way I can get around this? Or alternately, a way to tell my active rhino document to “import” the earth anchor point from another file?

Hi Andrew,

There currently is not a way of access a document’s EarthAnchorPoint data from FileIO. I’ve added a YouTrack item so we can hopefully get something in a future Rhino.

http://mcneel.myjetbrains.com/youtrack/issue/RH-34447

If you are willing to write some C++ code, you can do what you want. Here is a sample command that imports the EarthAnchorPoint data from a selected file.

https://github.com/mcneel/Rhino5Samples_CPP/blob/master/SampleCommands/cmdSampleImportEarthAnchor.cpp

– Dale