iLogic locking Vault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to get some iLogic rules up and running. A common task is to open a template file, make some changes, and save the file somewhere. I most often then want to continue working in the new file. The problem is that anytime I use iLogic to save a file, with SaveCopyAs set to False, the Vault tab is locked out. If I then close and open the document vault is active once more. I normally do not get an error, just the symptom. If I do get an error it is after I try to modify the file, the error will say that the file I am modifying is checked out by me but on machine ....<My current workstation>...
See attached error messages.
Method to duplicate error on any workstation in my company
Create file, with some geometry.
Add rule to save Document as something, in this case i added:
Dim oDoc As Document = ThisDoc.Document oDoc.SaveAs("C:\_FCPWorkspace\Designs\Engineering Projects\15301-15400\15338\Outputs\Drawings\Part2.ipt", False) oDoc = ThisApplication.ActiveDocument d1 = 4
Check part template into Vault.
Open template, Run rule (Checked out or in does not matter).
If I leave off the last parameter change, I get no error messages, until I try to change it manually. With the parameter change I get the attached error messages. Even without the change, I cannot check items into Vault.
I could change the SaveAs to True, then Open the associated document. But that is not ideal if I want the save as rule to trigger my next operation.