Hi Dipika Sengupta,
Is there any specific reason to write the service in ThingWorx.
You can directly add following code in ThingWorx Studio to make the 3D label widget visible:
$scope.view.wdg['3DLabel-2']['visible'] = true;
And call the function on click event of 3D label1.
I hope it helps.
Hi Ankit Gupta
Thank you for the solution. It worked!!
I have another doubt. I have tried the same thing with model-items. I tried the click event of the model-item to show some 3d Label. It is working in the preview but not working while experiencing it from mobile device. Is there any work around?