mcneel/rhinocommon — Issue #64: set ObjectAttributes.ObjectId ???
Author: tmakin
Created: 2011-10-27 14:55:19+00:00
State: open

Hi there,
I have been searching for way to manually set the object Guid before the object is added to the document. I use Guids to keep track of my internal objects and in the old sdk I used to be able to use this id when the time came to add some associated geomoetry to the rhino model. I see from the code in rhinosdkobjectattributes.cs that the set operator for objectId has been deliberatly left out. Any chance it could find its way back in?

Many thanks,
Tom

https://github.com/mcneel/rhinocommon/blob/master/dotnet/rhino/rhinosdkobjectattributes.cs
```C#
public Guid ObjectId
{
get
{
IntPtr ptr = ConstPointer();
return UnsafeNativeMethods.ON_3dmObjectAttributes_m_uuid(ptr);
}
// I don't think I've ever seen a "set" case so leave out
}
```