Crashes on attempt to move Tube and Pipe components during insertion

Crashes on attempt to move Tube and Pipe components during insertion

Anonymous
Not applicable
294 Views
0 Replies
Message 1 of 1

Crashes on attempt to move Tube and Pipe components during insertion

Anonymous
Not applicable

Hello Community,

 

I have a requirement to move Content Center components to be alongside with a main assembly during their insertion. A basic implementation does so inside AssemblyEvents.OnNewOccurence() callback by simply copying inserted file to a desired location and using ComponentOccurence.Replace() method . Everything works fine for interaction with regular Content Center parts. But it seems to conflict with Tube and Pipe functionality somehow: when trying to place a fitting, mentioned API calls are successful, but later on an error is shown from T&P add-in and Inventor crashes afterwards.Inventor_error_tube_hose_data.png

Last time I checked there was no Automation support for Tube and Pipe. But is such hack valid from Inventor and Tube&Pipe point of view (replacing inserted Content Center file in AssemblyEvents.OnNewOccurence()) ?

 

Thanks in advance,

Paul

0 Likes
295 Views
0 Replies
Replies (0)