VEV from SAP GUI (monolithic JT): How to receive highlighted parts from VEV and highlight parts in VEV
I integrate the 3D VEV (Version 8.0.300.42588, May 5 2015) in SAP-GUI via the Interface IF_GUI_VIEWER_CONSUMER_MODEL.
- If I load the file via the IF_GUI_VIEWER_CONSUMER_MODEL~LOAD_VIEWER method I can pass the parameter IV_ID_FIELD. If I Ieave it initial, the system sets '$RH.POSID'. The result if I handle the SAP_VISUALIZATION event is an ID like 'POSID_16BA8CE0' e.g. What is '$RH.POSID'? For each viewer call the value is calculated new. Can I use other ID's?
Now I request the metadata. I receive the data in the event handler for event IF_GUI_VIEWER_CONSUMER_MODEL~SAP_METADATA. But without the relation to the ID above.
- If I like to higlight a part in VEV I use the method IF_GUI_VIEWER_CONSUMER_MODEL~SET_VISUALIZATION. I tried to use the ID from above, but without success.
It would be great to get some hints.