How to get the working folder path to use on my iLogic code.

How to get the working folder path to use on my iLogic code.

gabriel_deber
Enthusiast Enthusiast
686 Views
2 Replies
Message 1 of 3

How to get the working folder path to use on my iLogic code.

gabriel_deber
Enthusiast
Enthusiast

I want to use some excel files to store a values list to reuse on several models, this way I can update those list and this values would be avaible for everybody instantly to fill parameters on different files. I use code to link those list in my templates. But we dont store this configuration files in a common location, is stored in Vault and everybody get those files from there, and everybody has a different working folder location. So I want to reference the location of those spreadsheets not as a static location but one relative to the working folder location.

How I can get the working folder location to use in my code?

 

Thanks in advance.

0 Likes
Accepted solutions (1)
687 Views
2 Replies
Replies (2)
Message 2 of 3

bradeneuropeArthur
Mentor
Mentor

You still use a different Project (ipj) file, isn't it?

Then use the rooth of this project file as prefix for your excel file path!

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 3

Michael.Navara
Advisor
Advisor
Accepted solution