Inventor crash when replacing Tube and Pipe fitting during placement

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.
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