> Hi everybody,
> as far as you know, is it possible to determine via toolkit (proe wf
> 2.0) whether a subcomponent is hidden in the model tree? I mean a
> component on which the user did the "Hide" operation from the context menu.
> I've tried two functions, ProFeatureVisibilityGet() and
> ProAsmcomppathVisibilityGet(), but their purposes are different...
> Thank you very much
> -Stefano Berretta
When the user hides an item in Pro/ENGINEER, it is actually placed on
a special layer called ".BLACK_HOLE". This layer is not visible in
Pro/ENGINEER interface, but in earlier builds of Pro/ENGINEER it was
possible to access this layer programmatically. PTC has disabled
access to the layer in one of WF2 builds. Before, while it was still
possible to access the layer, you could use
ProLayerItemsGet() on the black hole layer to check if an item is
there. It was also possible, by placing and removing the item from
this layer, to emulate the funcionality of Hide and Show interface
Currently, I am not aware of any way to check if an item is hidden or
to show/hide it.