Hi Shinya,
Metadata fields are currently the only consistent way to identify nodes across all APIs:
In the Direct API, the GetByMetadata method (of SceneObjectList, and NodeCollection) can retrieve nodes based on matching metadata.
In the ABAP API the metadata field can be passed in via the ID_FIELD attribute in the call to SAP_LOAD_VIEWER_SINGLE. This metadata field is then used wherever the ID_FIELD is used in other api calls.
Query GUI can query by metadata.
In all cases, this metadata needs to be applied to the model via VE Generator (or potentially author)
Best Regards,
Anthony.
Anthony Cassidy
IMS for Visual Enterprise
SAP New Zealand
151 Queen Street, Auckland, New Zealand.
T +64 93555608 | F | M