Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: JBerns

Hey Jerry,

 

The way I ended up doing this was by saving a template assembly that was empty, but had the ilogic code programmed to add the parts I wanted on startup.

 

Then from your current assembly (or in my case it was a part file) run code to just open that template

 

In my case that was this:

'Open Assembly File
	ThisDoc.Launch("S:\Engineering\Inventor\Styles and Standards\Templates\iLogic-Conduit-ASM.iam")

 

As soon as that opens all the ilogic programmed to run on startup kicks in and treats that assembly as active to place everything.

 

Hopefully this helps, can provide some more specific code from my scenario if needed, but I suspect it won't be directly relatable.

 

Cheers,

Luke