Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Group

Generic
Description

This function takes an existing object and returns its associated ID.

Required Controlnone
UsageoutputId = RtlabApi.FindObjectId(ObjectType, path)
Input
  • ObjectType: The appropriate enum related to the desired object.
  • path: The absolute path to the desired object (the path is case sensitive).
Output
  • objects: object ID.
Exceptions
  • If multiple objects passed: Multiple results found. Please verify that the given path is unique.
  • Wrong path: No results found. Please verify that the given path exists => check for case sensitivity.
ExamplesRefer to API → Multi_Models example
Related ItemsOP_OBJECT_TYPE, OP_REF_ID
Modulesimport RtlabApi
  • No labels