Use REST API to export visualization
Hi,
my goal is to export an specific amount of parts (or better the model with a subset of parts) from an existing model from windchill via the rest api, in order to use/convert the model for further applications (okino polytrans -> unity, ....)
Detailed description:
There is a complete model with all variants/features within windchill - we call it the 150% model. The task is to export a specific variant of the model.
What I have done/reached so far: I'm able to get the part tree list for the model via the rest api (parts for the 150% model), filter the tree in order to get the specific variant and get the visualization data (pvz/ol file) for each part.
The Problem:
For my understanding the pvs file is the "glue" (I guess it contains the coordinates) between each ol file. Using the PTC visualization domain will give me a lot of pvz files - one for each part. It is not possible to open this e.g. in polytrans. Another solution was to export a pvs from creoview and copy only the ol files for the specific variant. But the pvs is from the 150% model and so does not work either.
I would be very grateful on every hint on this topic.
Many thanks in advance,
Marcus
