iLogicVault.GetFileByFullFilePath

iLogicVault.GetFileByFullFilePath

chendersonCRKPU
Contributor Contributor
1,140 Views
10 Replies
Message 1 of 11

iLogicVault.GetFileByFullFilePath

chendersonCRKPU
Contributor
Contributor

@Markus.Koechl

 

Firstly, thank you very much for developing this extremely useful library. It's helped to advance our automation capabilities massively!

 

I have a question about the iLogicVault.GetFileByFullFilePath function. Is there an option to exclude dependent and attachment files?

 

I'm using the function in a custom iLogic rule which checks if the active document (assembly/part file) has an equivalent drawing file on the user's local drive, if not it uses the function to download the drawing file from Vault.

 

The problem I'm facing is that while it downloads the drawing file from Vault it closes the active document file. I'm assuming this is because it is also downloading the dependent file which is my active document.

 

Any suggestions would be much appreciated!

 

Craig 

 

0 Likes
1,141 Views
10 Replies
Replies (10)
Message 2 of 11

Markus.Koechl
Autodesk
Autodesk

Thank you for the feedback!

As of now, there is no option to exclude additional files. Technically, it could be extended in the code. The exclusion of dependent files might impact parents' consistency, so I am careful with it. Attachments are without any risk.

However, I wonder if the download closed the file. I'd expect an override (as the download enforces).



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
0 Likes
Message 3 of 11

Maxim-CADman77
Advisor
Advisor

@Markus.Koechl 
When developing some code for Inventor or Vault I find myself constantly read local *.CHM from appropriate SDK:

 - C:\Users\Public\Documents\Autodesk\Inventor 2024\Local Help\admapi_28_0.chm

 - C:\Program Files\Autodesk\Autodesk Vault 2024 SDK\docs\VaultSDK.chm

(I know there are also web version in appropriate online Helps).

Nowadays I start studying "iLogic-Vault_SampleRules" pack available at Inventor Sample Files
I see the code uses methods for iLogicVault object (not mentioned in any of the two mentioned CHMs) and I see there is online description for iLogicVaultClass, and I also expect to have some local iLogicVault.CHM but fail to find any.

Could you, please, comment if there should be any local iLogicVault.CHM?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 4 of 11

Markus.Koechl
Autodesk
Autodesk

I got a local chm file for the iLogic API 2024 documentation. Please note - unlike the online version, the local file does not link to the Inventor API documentation. Don't miss to remove the security block after downloading it ;).



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
Message 5 of 11

Maxim-CADman77
Advisor
Advisor

Dear @Markus.Koechl 

I wonder where you got it from?
Is there a 2025 version here?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 6 of 11

Maxim-CADman77
Advisor
Advisor

Dear @Markus.Koechl 

I wonder where you got it from?
Is there a 2025 version available?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 7 of 11

Markus.Koechl
Autodesk
Autodesk

Here we go.



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
Message 8 of 11

Maxim-CADman77
Advisor
Advisor

@Markus.Koechl 

It doesn't show the content (except in right panel) for me

MaximCADman77_0-1713508051288.png

 

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 9 of 11

Markus.Koechl
Autodesk
Autodesk
You need to remove the security block: right-click the file -> Unblock.


Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe
Message 10 of 11

Maxim-CADman77
Advisor
Advisor

Dear @Markus.Koechl 
Yesterday it was a day of Inventor 2026 release.
Could you now share the CHM for iLogic 30?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 11 of 11

Markus.Koechl
Autodesk
Autodesk

Hi @Maxim-CADman77, there shouldn't be major changes. The latest offline version has been uploaded below. Please remember that the latest is always available in the online help.



Markus Koechl

Solutions Engineer PDM, Autodesk Central Europe