Skip to main content
1-Visitor
Jun 2, 2021 2:16 AM UTC
Question

Is there any toolkit API for Component Placement?

I want to use toolkit to link a components list which corresponding .prt files are located in WindChill.

Once user choose one component from the list for assembly, after retrieving the model,

I want to let it in the Component Placement status like below picture. Would like to ask is there any API can achieve this? Thanks a lot.

Bryan_Chen_0-1622600155031.png

 

 

6 replies

14-Alexandrite
Jun 2, 2021 3:35 AM UTC

Have you tried ProAsmcompAssemble ?

Also use ProAsmcompconstraintAlloc() with PRO_ASM_DEF_PLACEMENT

Translate
1-Visitor
Jun 2, 2021 5:18 AM UTC

Thanks for your information, originally I tried the ProAsmcompCreateCopy(),

I will try to study your suggestion and look at the effect, thanks.

Translate
15-Moonstone
Jul 26, 2021 10:18 AM UTC

So you start the redefine UI ... you can simply add the change into mapkey and load it to the Mapkey Stack ... not a good solution, but it should work if you are in a synchronous app.

 

Br,

Eike

Translate