Skip to main content
16-Pearl
August 29, 2018
Solved

ForceHidden issues on HoloLens

  • August 29, 2018
  • 1 reply
  • 2357 views

Hi All,

 

Well now that Creo Illustrate sequences work on the HoloLens, I've been going back to update some of my experiences with animations that I couldn't use before and have encountered a problem with forceHidden not working as expected when viewing the experience.

 

I've got an experience that shows 4 doors opening on a vehicle when a user clicks on them.  But sometimes I'll have a 2 door vehicle, so I don't want to see the rear doors.  The rear doors are a separate model widget with their own PVZ file with the sequence selected and I'm setting the widget property forceHidden = true when I don't want to see them.

 

It all works perfectly in the preview, but on the HoloLens, it ignores the setting and doesn't hide the rear doors when it should.

 

Anyone else seeing this?

 

Cheers,

 

Allan

This topic has been closed for replies.
Best answer by AllanThompson

So to get it to work, I used an application parameter to control the transparency of the model widget.  When I don't want to see it, I set the application parameter to 0 and the model disappears

1 reply

16-Pearl
August 30, 2018

So doing a bit more troubleshooting and it seems that when viewing an experience on the HoloLens, there's no support for dynamic model loading where there's a sequence in play.

 

Since I couldn't hide the elements that I wanted to, I though I'd just use JS change their source to an empty PVZ file.  Again this works fine in the preview, but doesn't work on the HoloLens. Smiley Frustrated

AllanThompson16-PearlAuthorAnswer
16-Pearl
October 1, 2018

So to get it to work, I used an application parameter to control the transparency of the model widget.  When I don't want to see it, I set the application parameter to 0 and the model disappears