Skip to main content
1-Visitor
June 2, 2021
Question

Is there any toolkit API for Component Placement?

  • June 2, 2021
  • 2 replies
  • 2637 views

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

 

 

2 replies

14-Alexandrite
June 2, 2021

Have you tried ProAsmcompAssemble ?

Also use ProAsmcompconstraintAlloc() with PRO_ASM_DEF_PLACEMENT

1-Visitor
June 2, 2021

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

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

15-Moonstone
July 26, 2021

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