algorithmic modeling for Rhino
Rhino.FileIO.File3dm file_in = Rhino.FileIO.File3dm.Read(@"I:\Users\m.sprinzl\test.3dm");
Rhino.FileIO.File3dmObject file_objects = file_in.Objects[1];
file_objects.Geometry.EnsurePrivateCopy();
A = file_objects.Geometry;
B = file_objects.Geometry.GetUserStrings();
file_objects.Geometry.GetObjectData(xxx, yyy);
can someone explain me how GetObjectData works ??? do i get the name of the object by this method?
Tags:
Hi Michael,
GetObjectData is a function used to support .NET serialization and is not something you will likely ever directly call.
http://msdn.microsoft.com/en-us/library/system.runtime.serializatio...
I still need to write the code that let's you look at the attributes for each object in the File3dmObject class. Are you trying to get the "name" string for each object or looking to do something else?
Thanks,
-Steve
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by