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

Hidden features

berry
1-Newbie

Hidden features

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
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
3 REPLIES 3
sergio72
1-Newbie
(To:berry)

May be using "ProFeatureStatusGet()"??? that function retrieve the
following feature status codes for tk2001 maybe in wf2.0 will be more codes
PRO_FEAT_INVALID: /* input was invalid */
PRO_FEAT_ACTIVE: /* feature is active */
PRO_FEAT_INACTIVE: /* feature is inactive */
PRO_FEAT_FAMTAB_SUPPRESSED: /* feature is suppressed by family
*/
PRO_FEAT_SIMP_REP_SUPPRESSED: /* feature is suppressed by
*/
PRO_FEAT_PROG_SUPPRESSED: /* feature is suppressed by
*/
PRO_FEAT_SUPPRESSED: /* feature is suppressed */
PRO_FEAT_UNREGENERATED: /* feature is active but
*/

let me know if you find a solution for it




"Stefano
Berretta"
<stefano_berretta to=" <br="/> @virgilio.it> lista-toolkit
<->
23/08/2007 11:31 cc

Subject
Please respond to [proecus] - Hidden features
"Stefano
Berretta"
<stefano_berretta <br="/> @virgilio.it>






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
bokir
1-Newbie
(To:berry)

> 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
commands.

Currently, I am not aware of any way to check if an item is hidden or
to show/hide it.

--
Bojan Resnik

Hi Stefano,

In WF 2.0 build M260 they added new Hide/Unhide functionality.
Specifically they added:

ProModelitemIsHidden
ProModelitemHide
ProModelitemUnhide

There is a TAN 136836 describing them in more detail.

Here's a link:

Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.

NEW Creo+ Topics:
PTC Control Center
Creo+ Portal
Real-time Collaboration