Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:sdksamples:getuuid [2015/09/14]
127.0.0.1 external edit
developer:sdksamples:getuuid [2015/10/26] (current)
sandy
Line 1: Line 1:
-====== How To: Get an Object'​s UUID ====== +====== How to Get an Object'​s UUID ====== 
-====== C++, .NET ======+===== C++, .NET =====
 > **Summary:​** //​Demonstrates how to get an object'​s UUID using the Rhino SDK.// > **Summary:​** //​Demonstrates how to get an object'​s UUID using the Rhino SDK.//
-> **NOTICE:** //The Rhino.NET SDK is deprecated in Rhino 5.  ​This example adapted for the new RhinoCommon SDK is [[developer:​rhinocommonsamples:​getuuid|here]]//​ +> **Notice:** //The Rhino.NET SDK is deprecated in Rhino 5.  ​An example adapted for the new RhinoCommon SDK is [[developer:​rhinocommonsamples:​getuuid|here]].//
-=====Overview===== +
-Rhino can create and manipulate a number of geometric objects, including points, point clouds, curves, surfaces, b-reps, meshes, lights, annotations,​ and references. Each object in the Rhino document is identified by a globally unique identifier, or UUID, that is generated and assigned to objects when they are created. ​ Because identifiers are saved in the 3DM file, an object'​s identifier will be the same between editing sessions.+
  
-=====Example=====+Rhino can create and manipulate many geometric objects, including points, point clouds, curves, surfaces, b-reps, meshes, lights, annotations,​ and references. A globally unique identifier, or UUID, is assigned to each object in the Rhino document when the objects are created. ​ Because identifiers are saved in the 3DM file, an object'​s identifier will be the same between editing sessions. 
 + 
 +====Example====
 The following code sample demonstrates how to obtain an object'​s unique identifier, or UUID, using the Rhino SDK. The following code sample demonstrates how to obtain an object'​s unique identifier, or UUID, using the Rhino SDK.
  
-===== C++ =====+==== C++ ====
 <code c++> <code c++>
 CRhinoCommand::​result CCommandTestID::​RunCommand(const CRhinoCommandContext&​ context) CRhinoCommand::​result CCommandTestID::​RunCommand(const CRhinoCommandContext&​ context)
developer/sdksamples/getuuid.txt · Last modified: 2015/10/26 by sandy