Control Inventor Application Option using Macro

Control Inventor Application Option using Macro

Anonymous
Not applicable
898 Views
6 Replies
Message 1 of 7

Control Inventor Application Option using Macro

Anonymous
Not applicable

Hi Team,

Is there a  way to control the Inventor Application Option settings using macro?

 

I would like to change the folder location to new one

 

Application.FileOptions.DesignDataPath

 

 

Is it possible? Or through Project settings?

 

 

 

Regards

Alex

0 Likes
Accepted solutions (2)
899 Views
6 Replies
Replies (6)
Message 2 of 7

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Dim ap As Application
Set ap = ThisApplication


ap.FileOptions.DefaultVBAProjectFileFullFilename = "c:\..........."

 

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 7

Anonymous
Not applicable
Accepted solution

Hi All,

Yes. Was making silly mistake.

I could able to change the Settings of below to a new path;

 

Msgbox CAD Templates Path  : " & ThisApplication.FileOptions.TemplatesPath
Msgbox Design Data Path    : " & ThisApplication.FileOptions.DesignDataPath
Msgbox Symbol Library Path : " & ThisApplication.FileOptions.SymbolLibraryPath

 

 

RegarRegRERegards,REga

Regards

Alex

0 Likes
Message 4 of 7

Anonymous
Not applicable

Hi

 

Yes. Was making silly mistake. Now I could able to change the Settings of below to a new path;

 

Msgbox CAD Templates Path  : " & ThisApplication.FileOptions.TemplatesPath
Msgbox Design Data Path    : " & ThisApplication.FileOptions.DesignDataPath
Msgbox Symbol Library Path : " & ThisApplication.FileOptions.SymbolLibraryPath

 

 

 

Regards

Alex

0 Likes
Message 5 of 7

bradeneuropeArthur
Mentor
Mentor

solved then for you.

 

Or do you need further support?

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 6 of 7

Anonymous
Not applicable

Hi,

I think I am ok now.

 

Thank you..

 

Will post if I get any new problems 🙂

 

 

 

Regards

Alex

 

0 Likes
Message 7 of 7

bradeneuropeArthur
Mentor
Mentor

Then mark  this post as solved solution please

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