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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Create multiple pvi files in one pvz file in creo illustrate

dsengupta-21
2-Guest

Create multiple pvi files in one pvz file in creo illustrate

Hi,

I want to make multiple sequence files in one pvz file. Can anyone please tell me how to do it?

Regards,

Dipika

1 ACCEPTED SOLUTION

Accepted Solutions

Hello Sengupta,

In Creo Illustrate, a Figure can only have one sequence.

So, to have more than one sequence, it is needed to create a new Figure.

To do that, in the Figure tab, click the New Figure button.

In the .pvz file, two .pvi files are present.

In Thingworx Studio, both sequences are available.

I hope that it will help you.

Best regards,

Samuel

View solution in original post

8 REPLIES 8

Hello Sengupta,

In Creo Illustrate, a Figure can only have one sequence.

So, to have more than one sequence, it is needed to create a new Figure.

To do that, in the Figure tab, click the New Figure button.

In the .pvz file, two .pvi files are present.

In Thingworx Studio, both sequences are available.

I hope that it will help you.

Best regards,

Samuel

Hi Samuel,

It worked!!  Thank you...

Regards,

Dipika

Hi Samuel,Dipika

Good Day!

 

I have created 2 figures and used File > Publish > Publish Separate Files. I obtained 2 .pvz files however, I can not see .pvi format. 

 

Could you please help me with the command flow.

 

Thank You

Ravi A

You won't see the PVI files as they are contained inside the PVZ files.  To use the sequence, add the model widget and select the PVZ file as the resource.  Then scroll down through the list of widget properties and then click on the drop down for Sequence and you'll see the sequences available to use:

 

Untitled.png

 

In older versions of Studio, you needed to extract the PVI file and upload it separately, but now Studio can read the PVI files inside the PVZ.

 

Regards,

 

Allan

Thank You!!  Allan. It worked.

 

Ravi A

Allen,

 

Have you found a way to use multiple sequences within the same experience?

 

Thanks,

guy4

You need to use Java to change the PVI in use by the model widget.

 

So if you have two sequences in different figures in your PVZ file, then you can use the JS below to switch between them:

 

$scope.seqfig1 = function (widget) {
$scope.view.wdg[widget].sequence = "Uploaded/l-Creo 3D - Figure 1.pvi";
}

 

$scope.seqfig2 = function (widget) {
$scope.view.wdg[widget].sequence = "Uploaded/l-Creo 3D - Figure 2.pvi";
}

 

Regards,

 

Allan

Thank a lot Allan!

Had the same question and your code does the trick Thanks again.

Top Tags