Application Options, File Tab, Texture folder - change the path using the API

Application Options, File Tab, Texture folder - change the path using the API

ACEDeSmedt
Advocate Advocate
636 Views
3 Replies
Message 1 of 4

Application Options, File Tab, Texture folder - change the path using the API

ACEDeSmedt
Advocate
Advocate

I can't seem to find the API key to change the Texture folder option.

=================================
If this is the solution, push the solution button 😉 (and maybe some kudos)
Autodesk Product Design Suit - Ultimate edition (Subscription)
0 Likes
Accepted solutions (1)
637 Views
3 Replies
Replies (3)
Message 2 of 4

chandra.shekar.g
Autodesk Support
Autodesk Support
Accepted solution

Hi Klass,

 

Please find the following VBA code to change Texture folder path through API.

 

ThisApplication.FileOptions.TexturePath = "Folder path"

Please feel free to contact if there is any doubt.

 

If solves your problem, click on "Accept as solution" / give a "kudo".

 

Thanks and regards,

 


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes
Message 3 of 4

ACEDeSmedt
Advocate
Advocate

I see I forgot to mention my Inventor Version. This option is not present in Inventor 2015. Do you know when this options was introduced?

=================================
If this is the solution, push the solution button 😉 (and maybe some kudos)
Autodesk Product Design Suit - Ultimate edition (Subscription)
0 Likes
Message 4 of 4

chandra.shekar.g
Autodesk Support
Autodesk Support

Hi Klass,

 

"TexturePath" API is available in Inventor 2017 and above versions.

 

Please feel free to contact if there is any doubt.

 

If solves your problem, click on "Accept as solution" / give a "Kudo".

 

Thanks and regards,


CHANDRA SHEKAR G
Developer Advocate
Autodesk Developer Network



0 Likes