cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Extract metadata outside of Vuforia Studio

leonardosella
Amethyst

Extract metadata outside of Vuforia Studio

Hi everyone, I appreciate the tutorial on How to incorporate metadata inside of Vuforia. 

Now, I want to extract the metadata BEFORE loading the pvz into Studio.

How can I extract the file model.metadata.json outside of Vuforia? 

 

I want to create a procedure that could access to a series of pvz file into a folder of my desktop and copy/paste the metadata into the "/.../Resources/Uploaded" folder. 

 

Anyone has some help?

1 REPLY 1

Re: Extract metadata outside of Vuforia Studio

Hi @leonardosella ,

 

so far, I know the current implementation of Studio for the extraction of the metadata is working only in the context of the UI as integral part of the Studio dev UI. 

It seems that there is not a Studio library which could be used as standalone call - means to be called outside the Studio Dev environment. I believe, also such usage of the tool as standalone utility  is not intended /supported by PTC

The supported way currently for customers to extract the data form PVZ to json  is:

To use the Studio dev UI to load the pvz file to the upload folder  and to create the json file by selecting the metadata check box (also multi file select) later the files could be used in other projects

  • Another option is to use the Creo View Toolkit programming option to develop such tool / Creo View Java /JavaScript TOOLKIT  or Creo View WebToolkit (please see e.g.:

https://community.ptc.com/t5/Vuforia-Studio-and-Chalk-Tech/Extracting-the-viewables-and-the-seqnece-...

 https://community.ptc.com/t5/Vuforia-Studio-and-Chalk-Tech/How-to-extract-the-components-with-proper...

 )

  • Or to purchase some tools developed by third party company /PTC dev partners /which implements this task. You can also contact the PTC presale team. Possibly some PTC presales departments has already develop such tools which are offered as extras service.

Unfortunately, I could not find information about such officially supported PTC tools for the general use.

I checked also the pvsoptimize tools argument sbut seem that the Documents\VuforiaStudio\Projects\node_modules\cad-import-filters\import_filters\bin\pvsoptimize.exe -? or -H 

There are not any supported parameters for metadata output. So far my observation the metadata extraction is done by some code written to temp files metadataService.js - commonProperties.js which are generated in the  UserProfile\Documents\VuforiaStudio\Projects\node_modules\.cache\nyc  directory but I  do not think that it is easy to use them because the javascript code there is encrpyted 

Announcements
Join an
AR Working Group!

Topics available:
AR/VR for Data Optimization AR/VR for Security and Control AR/VR for Inspection