How to hide and unhide a component or part in an assembly with otk java
I am using creo object toolkit java to make some secondary developing.
Suppose I have get the ComponentPath of a part or component in an assembly model. Which function can I use to hide and unhide the part or check its hidden status. I read the usergudie a thousand times and could not find one. Belows are functions I have tested.
com.ptc.pfc.pfcModel.Model.Display
com.ptc.pfc.pfcSelect.Selection.Display
com.ptc.wfc.wfcSolid.WSolid.DisplaySolid
Sadly, none of them help.

Does the toolkit provide the function to programmatically hide and unhide part, just like hit the button in this picture?

