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

How to hide a part in an assembly ?

SOLVED
Highlighted
Granite

How to hide a part in an assembly ?

Hello all,

I would like to show and hide a part (in a model) when I click on a checkbox, how to do that ?

And I have the same question as before, but I was unanswered, how to play only a step in an illustrate animation ?

Thanks !

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to hide a part in an assembly ?

Selected is an event and it is supposed to bind with services, besides that, you can also directly bind the value property (of checkbox) to modelItem and in the pop-up you can select invisible.

Yes it is possible to put a name on the part. Also, the drag-n-drop can be targeted to the name of the model-item in the left-panel, as shown below:

12 REPLIES 12

Re: How to hide a part in an assembly ?

You can drag a Model-Item on the desired part and bind the checkbox click to the Model-item's invisible property.

Let me know if that works.

-Giri

Re: How to hide a part in an assembly ?

When I am on the properties of the checkbox, and I drag the "Selected" value on the model-item, only services appears, how to bind to invisibility ?

Is that possible to put a name on the part instead a drag and drop, if the part is very small, it can be hard to find it.

Re: How to hide a part in an assembly ?

Selected is an event and it is supposed to bind with services, besides that, you can also directly bind the value property (of checkbox) to modelItem and in the pop-up you can select invisible.

Yes it is possible to put a name on the part. Also, the drag-n-drop can be targeted to the name of the model-item in the left-panel, as shown below:

Re: How to hide a part in an assembly ?

Thank you very much ! And is that possible to do the opposite ? I mean, isolate a part.

Re: How to hide a part in an assembly ?

Interesting!! I guess that should be possible. By isolate, do you mean moving the part out of the scope? If so, yes it  is possible and varies how you handle that part.

Re: How to hide a part in an assembly ?

I mean, only show this specific part and hide all others parts.

Re: How to hide a part in an assembly ?

Hej,

You will be able to do that show/hide by using a JS call.

For example: You can put the complete model invisible (without any coding) and just show the part, which has the model-item on it (e.g. by a button)...

Regarding the model-item placement:

- you can use the structure point of the part within sBom from Creo (e.g. Illustrate) and put the good value inside the occurence of the model-item.

After pressing enter it will then hookup with the good part from hierarchical point of view in the structure.

Re: How to hide a part in an assembly ?

Hello, when I try to create a model item and modify manually the component occurrence to get an assembly, everything is okay. But when I scan the thingmark each model item I have created are moved and put at the wrong place. If I remove the model item in the view, everything goes back to the right place. I do nothing else, not even a action on it, I only modify the component occurrence.

Any ideas ?

In the studio :

Preview

Re: How to hide a part in an assembly ?

Yes...

I've got the same issue... I already reported it :-).

You can manually resolve when you delete the coordinates inside the model-item (after it has moved to somewhere).

Don't set it to zero - just remove the values and press enter...

It seems to me like a bug

Martin