Batch Export To PDF Code

Batch Export To PDF Code

amarinXG8V6
Advocate Advocate
1,696 Views
15 Replies
Message 1 of 16

Batch Export To PDF Code

amarinXG8V6
Advocate
Advocate

Hi Autodesk Community,

 

First off I want to say how helpful it has been to pose questions here and search the database of questions that others have posted! It's awesome to see everyone involved in helping each other out.

 

I'm looking for some iLogic Code that will allow me to batch export IDW's to PDF's. I've tried using Task Scheduler but unfortunately that only has the Print to PDF option. We work in a non-vaulted system with many project files (IPJ's). I would like to see if it is possible to get some iLogic code (rule or form is fine) that can be launched from a "top level" assembly (IAM) which allows the user to manually batch select sub-folders that exist under the active IPJ structure. The function would locate the IDW's in each sub-folder and output them as See example below.

 

amarinXG8V6_0-1671726431600.png

amarinXG8V6_1-1671726440830.png

 

Thanks in advance and Happy Holidays!

0 Likes
Accepted solutions (1)
1,697 Views
15 Replies
Replies (15)
Message 2 of 16

bradeneuropeArthur
Mentor
Mentor

Means like:
For Each idw in folder and subfolder 

Print pdf

Next

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 16

amarinXG8V6
Advocate
Advocate

@bradeneuropeArthur ,

 

Yes, that is correct. For each IDW in the selected sub-folder, export to PDF. 

 

Thank you,
Alex

0 Likes
Message 4 of 16

bradeneuropeArthur
Mentor
Mentor
I can make quickly an addin for you in vb.net. are you happy with that?

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 5 of 16

amarinXG8V6
Advocate
Advocate

@bradeneuropeArthur ,

 

That would be amazing! Best Christmas present thus far. It would save me time and headache! 

 

Thank you,

Alex Marin-Serghie

0 Likes
Message 6 of 16

bradeneuropeArthur
Mentor
Mentor

Could you have a test.

Place the unzipped folder in "C:\Users\UserName\AppData\Roaming\Autodesk\ApplicationPlugins"

bradeneuropeArthur_1-1671805644605.png

 

if loaded you will find this button in the assembly Tools Tab.

bradeneuropeArthur_0-1671805479396.png

The export folder (where the Pdf is saved) is: C:\TEMP

 

Hope that this is what you need in principle.

We can make adjustments of course.

 

If you have questions please send me a message.

 

Regards,

 

Arthur Knoors

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

amarinXG8V6
Advocate
Advocate

@bradeneuropeArthur ,

 

Hi Arthur,

 

Thank you for taking the time to do this. Unfortunately I can't seem to extract the files from the zipped folder. This is the error message I get when I try to "Extract All" using the typical Windows function. Do you have any suggestions on how I can get the .dll and .addin files out of the zipped folder?

amarinXG8V6_0-1671820785743.png

 

Thank you,

Alex Marin-Serghie

 

0 Likes
Message 8 of 16

amarinXG8V6
Advocate
Advocate

@bradeneuropeArthur 

 

Hi Arthur,

 

I also tried using 7-Zip to extract the files but it looks like the folder may be password protected. Could you provide the password please?

 

amarinXG8V6_0-1671821392724.png

Thank you,

Alex Marin-Serghie

0 Likes
Message 9 of 16

bradeneuropeArthur
Mentor
Mentor

Just send you a PM.

 

Regards,

 

Arthur Knoors

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 10 of 16

amarinXG8V6
Advocate
Advocate
Thank you! I just responded to the PM.
0 Likes
Message 11 of 16

bradeneuropeArthur
Mentor
Mentor
Accepted solution

Hi,

 

As promised an update of the add-in.

If you have question please send me a message.

 

Regards

 

Arthur Knoors

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

Message 12 of 16

amarinXG8V6
Advocate
Advocate
Thank you sir! I haven't had a chance to try this out but will give it a go this afternoon. I appreciate you creating the code and updating it for me.

Have a good day,
Alex
0 Likes
Message 13 of 16

bradeneuropeArthur
Mentor
Mentor
Appreciate you appraisal!
Let me know if I can help you again in future.

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 14 of 16

Yogesh_SapkaleFNFVA
Explorer
Explorer

Hi,

 

I  am unable to extract this zip file as it is password protected, could you please provide password of file to extract this.

 

Yogesh

0 Likes
Message 15 of 16

bradeneuropeArthur
Mentor
Mentor
Please send me a private message with you request.
Thanks.

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

Yogesh_SapkaleFNFVA
Explorer
Explorer

Thank you! I just responded my request in PM.

 

Regards,

Yogesh Sapkale

0 Likes