Reorder OccurrencePattern to another assembly

Reorder OccurrencePattern to another assembly

mateusz_baczewski
Advocate Advocate
332 Views
0 Replies
Message 1 of 1

Reorder OccurrencePattern to another assembly

mateusz_baczewski
Advocate
Advocate

 

Hi,

I know that it’s possible to move occurrences from one assembly to another using:

 

oPane.Reorder(oTargetNode, False, oSourceNode)
 

However, is there any way to perform the same operation for an OccurrencePattern?

 

In the Inventor browser, I can drag and drop both a single occurrence and a component pattern into a subassembly, and it works. But when using the API, BrowserPane.Reorder seems to work only for changing order, not for actually moving an OccurrencePattern to a different assembly level.

Is there a supported way in the API to move (demote) an OccurrencePattern to another assembly, similar to how it works in the UI?

 

Thanks in advance!

If you found it helpful, a "Like" would be much appreciated!
If this post solved your problem, please mark it as "Solution.".

0 Likes
333 Views
0 Replies
Replies (0)