Skip to main content
8-Gravel
September 6, 2022
Question

Unplaced component cannot be selected by using ProSelect toolkit API

  • September 6, 2022
  • 1 reply
  • 1230 views

I am using Creo Parametric Release 7.0 and Datecode7.0.7.0

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

1 reply

15-Moonstone
September 7, 2022

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

8-Gravel
September 7, 2022

Hello,

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

Gaël