Message 1 of 4

Not applicable
07-05-2016
05:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm using Inventor 2013 Pro, and I use iLogic to change some iProperty of my parts (ipt).
With iLogic, I'd like to open a part (ipt) in an other folder, change his iProperty, save it and close it.
My code is :
Dim redDoc As String = "red.ipt" Dim redPath As String = "G:\CAO\00 - Production\99 - Tests (BER)\tttttt\" Dim oDoc As String oDoc = ThisApplication.Documents.Open(redPath+redDoc, True) iProperties.Value(oDoc, "Project", "Description") = "Description changed !" InventorVb.Application.activedocument.Save InventorVb.Application.activedocument.Close (True)
Why it doesn't work ?
Best regards
Solved! Go to Solution.