Skip to main content
1-Visitor
August 30, 2018
Solved

activate sub assembly using toolkit

  • August 30, 2018
  • 1 reply
  • 4935 views

Hello

 

I have active assembly in window and i would like to activate sub assembly through toolkit..

 

Is it possible to do same same in pro-toolkit or not? 

 

Thanks and Regards

Ketan

This topic has been closed for replies.
Best answer by FV_01

@Ketan_Lalcheta wrote:

I have assembly having sub assemblies. Just wanted to provide ProAsmcompConstrRedefUI() API for component of sub assembly

 

Suggested API works fine for first level components of assembly. It asks for activation of sub assembly if we need to update component of sub assembly. In manual operation of Creo, Clicking on sub assembly component for redefine activates sub assembly automatically.


AFAIK ProAsmcompConstrRedefUI() works fine. You should check your code which is setting ProAsmcomp from ProAsmcomppath - there must be something wrong there.

1 reply

17-Peridot
August 31, 2018

I can't found a function for this.

But, I think, it is possible by running a mapkey.

~ Command `ProCmdMakeActive`

1-Visitor
August 31, 2018

Yes, but map key load in between different API doesn't work properly...

September 4, 2018

@Ketan_Lalcheta wrote:

Yes, but map key load in between different API doesn't work properly...


Hello all,

Ketan, a component activation UI command essentially manipulates ProAsmcomppath and subsequently ProSelect or ProReference behind the scenes. Just make a new ProAsmcomppath from ProAsmcomppath of a given component to make a parent subassembly in question to be a new ProAsmcomppath owner and shorten up ProIdTable accordingly.

 

HIH.

FV.