HasData (DataRepository)
Description
Verifies if the specified Object, ID or GUID is present in the database. This is used for debugging purposes to find out whether an object is valid or not. Trying to work with an invalid object is a serious problem. In the case of ID or GUID, it may mean that the object has been deleted.
Scripting Syntax
DataRepository.HasData( Object )
C# Syntax
Boolean DataRepository.HasData( Object in_varObject );Parameters
|
Parameter |
Type |
Description |
|
Object |
Object to test the presence. |
Return Value
Examples
• See DataRepository.HasData.1.vbs
Autodesk Softimage 2011