- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
There are a few things to go over for a rule like this. It is all certainly possible with iLogic unless you're looking for a way to manipulate the contents of the PDF file itself, which isn't possible with iLogic, you'll have to go through VBA to possibly get that kind of functionality.
Are you just looking for a rule that checks if there's an attached PDF matching the same name as the document, and if none exists copy a PDF from a template matching the drawing name and attaching it?
If this file is meant for checking that a drawing is checked properly, you can directly use iLogic to check parameters and other things without referring to a document at all. For example, if the part number is supposed to be a specific format, you can check that with iLogic and prompt the user to fix it on the spot.
If you want to use a document for double-checking work that non-Inventor users can see, I recommend you use an Excel spreadsheet since Inventor has the ability to manipulate Excel spreadsheets.
Could you detail the exact workflow you plan on achieving with this rule? That will help us nail down the steps we need to take in the iLogic code, thanks.
In the meantime, if you're new to using iLogic, I recommend you look into learning all you can about it since it can be a very powerful tool to fill in those gaps that Autodesk hasn't filled yet. iLogic is based on a coding language called Visual Basic (VB), here's a playlist that teaches each function of VB, it's not exact to what iLogic uses, but it does contain all of the VB functionality so you can use the best methods while writing this code:
https://www.youtube.com/watch?v=mM3zB3QWuv8&list=PLC601DEA22187BBF1&index=1