Previous Topic: FetchAllModelObjectsNext Topic: FetchModelInfo


FetchAllModelTypeObjs

This method will fetch all the objects of a given type in the current model. The only parameter is the object type code and it returns a MetaModelObjects collection object.

Syntax

object. FetchAllModelTypeObjs nObjTypeCode

Parameters

object

An expression that evaluates to an OpenAPI object.

nObjTypeCode

A long value indicating the type of object to fetch.

Remarks

EAPI_SUCCESSFUL_RC - indicates a successful execution

EAPI_OTC_INVALID_RC - if object type code is invalid