Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 723 Bytes

File metadata and controls

37 lines (29 loc) · 723 Bytes

ObjectType

Description

Returns the type identifier an object. If more than one object matches the search criteria, the type identifier of the last matching object will be returned.

FUNCTION ObjectType(c : CRITERIA): INTEGER;
def vs.ObjectType(c):
    return INTEGER

Parameters

Name Type Description
c CRITERIA Search criteria.

Examples

VectorScript:

TypeValue:=ObjectType(N='Mystery Object');
{returns the type of the object named 'Mystery Object'}

Python:

TypeValue = vs.ObjectType( "N='Mystery Object'" );
# returns the type of the object named 'Mystery Object'

Version

Availability: from All Versions

Category

  • Criteria