Skip to main content
Sep 6, 2022 9:36 AM UTC
Question

Unplaced component cannot be selected by using ProSelect toolkit API

I am using Creo Parametric Release 7.0 and Datecode7.0.7.0

How to select unplaced component of an assembly by using ProSelect ?

2 replies

Sep 7, 2022 10:34 AM UTC

ProSelect() with Type "membfeat".

 

You get back the feature, not the model.

 

After you get the feature (ProAsmComp) you can check if the component is unplaced or not and change it.

 

UPDATE:

   You can use ProSelect Functions for pre selection behaivior and filters ( I haven't known that, but it looks like a good and easy way ).

   https://community.ptc.com/t5/Customization/Mouse-events-in-Creo-Parametric-API/m-p/816204#M11543

 

Br,

Eike

Sep 7, 2022 3:14 PM UTC

Hello,

Thanks @Eike_Hauptmann for this solution, but I already tried this: the component is still not selectable by ProSelect.

Gaël