Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an external rule with straight VB code containing some classes I want to be able to re-use across rules. This works by adding the following line at the top of the rule:
AddVbFile "C:\Users\mathijs.stevens\Glas Ceyssens NV\Autodesk Inventor - General\Inventor Instellingen\R2025\iLogicSDK\ContentCenterReynaers.iLogicVb"
However, when migrating to a new release I will also create a whole new folder for all my settings, styles, ... Because of that the "R2025" should become "R2026" after migrating. Is there a way to make this dynamic? I tried this, but it doesn't seem to accept an expression:
AddVbFile "C:\Users\mathijs.stevens\Glas Ceyssens NV\Autodesk Inventor - General\Inventor Instellingen\R" & ThisApplication.SoftwareVersion.DisplayVersion.Substring(0, 4) & "\iLogicSDK\ContentCenterReynaers.iLogicVb"
Solved! Go to Solution.