Using part of file name as iProperty for BOM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Currently I am in a process of partly automating some aspects of 2D drawing at work.
One of the points of interest is the BOM.
We use file names structured as: [part number] [description] [rev. date].
Currently we have to manually add the iProperty 'PART NUMBER' and value for the BOM creation to work, but I'm really looking to automate this.
What I'm trying to archive is the following (3D level);
When a part/assembly is saved a check is performed if the iProperty 'PART NUMBER' exist, and if the value is equal to the first 10 characters of the file name.
If not a popup gives the user the ability to automatically create/change this to match the first 10 characters.
This way backwards compatibility is granted as well as the opportunity to work with parts that don't have a number.
The problem is that I am a complete rookie at programming iLogic rules so I am really hoping someone can help me out a bit.
Thanks in advance!