Click or drag to resize

UserDataMoveUserDataFrom Method

Moves the user data from objectWithUserData to a temporary data storage identified by the return Guid. When MoveUserDataFrom returns, the objectWithUserData will not have any user data.

Namespace:  Rhino.DocObjects.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
public static Guid MoveUserDataFrom(
	CommonObject objectWithUserData


Type: Rhino.RuntimeCommonObject
Object with user data attached.

Return Value

Type: Guid
Guid 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.
See Also