AcSmDatabase.GetNewObjectId

AutoCAD Sheet Set Manager API

Up a level to AcSmDatabase      
AcSmDatabase.GetNewObjectId Method

Retrieves the IAcSmObjectId for a handle or generates a new ID.

The caller must release the interface when the operation is complete.

Syntax

GetNewObjectId(

hand As String,

idcookie As Long) As IAcSmObjectId

hand Input object handle, or null if a new ID is requested
idcookie Output returned cookie from the database to use as a security key for changing ownership and for other access to the object ID properties
   Comments?