Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hai Team,
Once after extracting the .zip file, i got the .pvi, .pvs,.ol file.
which file need to import whether .pvz file or extracting .zip files.
if i imported .pvz file i got 4 figures in sequence tab.
how to call these sequence with the button in home.js.
could you please explain about this.
if you have any related project please attach here.
below mentioned codes are we are using.
$scope.r1= function()
{
$scope.view.wdg['model-1']['sequence'] = 'app/resources/Uploaded/l-Creo 3D - Figure 1.pvi';
}
$scope.r2= function()
{
$scope.view.wdg['model-1']['sequence'] = 'app/resources/Uploaded/l-Creo 3D - Figure 2.pvi';
}
Hi @Rakesh_kumar_S ,
please, see also that I mentioned in the post https://community.ptc.com/t5/Vuforia-Studio/Play-sequence-by-buttons/m-p/957359#M12497 so I think is related to the issue.
You mentioned a zip file. So acctually when you received data from creo Illustrate or Creo parametric export to pvz the file should be a fileName.pvz
So the question is how id you import that ? we need to use zip file only when we will import some cad native data with import tool. When you have already files with pvz you can use the UI for the import.
When you check the file and it contains
let say -
if you see in the UI test as sequence property of the model widget
then the name what you need to use in the sequence property is used
// here as string concate
"app/resources/Uploaded/smallengine3/"+"test"+".pvi"
An example to play via button is in the post