- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I've created an ipt file that uses iLogic to automate the design of the part I want to make. With each part, I also need to generate a drawing, so I was wondering if there is some sort of coding in iLogic that I can put in a rule to run whenever I want to generate a drawing from the part I have. The placement of the dimensions and types of views are always the same, so if the drawing could automate those as well that would be awesome.
I've researched this already, but all the solutions I've found utilize imports, and I don't know how to access those libraries. So, if there's a way around that I'd like to know, and if not then how do you utilize imports?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Could you do a "tabulated drawing" so you only need 1 drawing to apply to ALL parts?
Something like this http://www.cadalyst.com/files/cadalyst/nodes/2008/11176/0208SolidEdge1.jpg
-------------------------------------------------------------------------------------------
Inventor 2023 - Dell Precision 5570
Did you find this reply helpful ? If so please use the Accept Solution button below.
Maybe buy me a beer through Venmo @mcgyvr1269
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
If you have an existing part and drawing already created in the same workspace, I have some code that will do that for you.
Essentially it performs a Save Copy As for both the part and the drawing and then uses the Replace Model Reference to switch out the model reference in the drawing to the new file. This code would not work if the drawing does not already exist.
Is that scenario acceptable?
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
Mark Flayler - Engagement Engineer
IMAGINiT Manufacturing Solutions Blog: https://resources.imaginit.com/manufacturing-solutions-blog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Here is the information on the code I have...
http://blogs.rand.com/manufacturing/2016/06/ilogic-inventor-enhanced-save-as.html
Disclaimer...I didn't write it, but i slightly modified it.
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
Mark Flayler - Engagement Engineer
IMAGINiT Manufacturing Solutions Blog: https://resources.imaginit.com/manufacturing-solutions-blog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report