- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Team,
The open drawing from part dialogue has now started digging down 5 layers deep in folders! Which now searches our entire projects folder for the drawing you haven't yet created (and locks up inventor for 10 minutes while it searches 40Gb...)
I found this code that checks in about 1 second for the drawing in the current folder which is fantastic
ThisApplication.Documents.Open(ThisDoc.PathAndFileName(True).Replace("ipt", "idw"))
However, I want to start the "create drawing" function if it doesn't find one. Currently it throws an error, so I think I can run a catch/throw function to insert a create drawing.
Does anyone know how to start the dialogue for create drawing? I've found automations (https://clintbrown.co.uk/2018/10/07/automatic-drawings-with-ilogic/)
but we have many different templates for customers so I don't want to automatically generate the drawing & place views etc.
I just want to open this dialogue here:
Solved! Go to Solution.