RhinoCommon API
UserDataMoveUserDataFrom Method |
Moves the user data from objectWithUserData to a temporary data storage
identifierd by the return Guid. When MoveUserDataFrom returns, the
objectWithUserData will not have any user data.
Namespace: Rhino.DocObjects.Custom
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Guid MoveUserDataFrom( CommonObject objectWithUserData )
Public Shared Function MoveUserDataFrom ( objectWithUserData As CommonObject ) As Guid
Parameters
- objectWithUserData
- Type: Rhino.RuntimeCommonObject
Object with user data attached.
Return Value
Type: GuidGuid identifier for storage of UserData that is held in a temporary list by this class. This function should be used in conjunction with MoveUserDataTo to transfer the user data to a different object. Returns Guid.Empty if there was no user data to transfer.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14