iLogicVault.addFile parent/child relations ship
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hallo All
I am working on creating a code snippet that copy designs into a specific folder, the reason for this is the fact that the build in vault code snippets does not have a specific option for specifying a new path to copy to but rather copies to the same locations as the original file
My solution to this is doing a lot of local filemanagement, getting the part and drawing from vault, copy the files, changing the drawing reference, etc.
All of this is done at assembly level
All of this is working fine, but getting the files into vault via ilogic is proving a bit difficult
I can do it manually by simply right clicking on the assembly and under setting include children and include related files (marked by red in picture below)
However I would like it to be done by ilogic automatically
I have been trying to use the iLogicVault.AddFile function, but it specifically states that it should not be used on Assemblies and Drawings because it does not build parent/child relations
I have tried it a couple of times and indeed it seems I cannot right click on the part and use "open drawing form vault"
Could someone elaborate on how "parent/child" is define in Ilogic/Inventor, I have tried to find the definition in the reference material but with no luck
Would a part file be the "parent" and the drawing a "child" or vice versa ?
Is there any why by ilogic to add this parent/child relationship ?