Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VBA to print "All Sheets"

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
karthur1
1750 Views, 4 Replies

VBA to print "All Sheets"

I am trying to get the PDF macro to be hard coded to print all the sheets in an idw.  I added this line (guessed at code basically), but it didnt work.  Where do I find what the correct syntax should be for this code?

 

Thanks

 

2013-01-22_1153.png

4 REPLIES 4
Message 2 of 5
karthur1
in reply to: karthur1

Nevermind... just figured it out.

 

oPrintMgr.PrintRange=kPrintAllSheets

 

Message 3 of 5
mmoucka
in reply to: karthur1

Good morning.

Thank You for help.

Please, why are the parameters hidden (not visible in list of members) ? Are there more important things ?

Thank You.

Message 4 of 5
MechMachineMan
in reply to: mmoucka

You just need to know where to look.

 

http://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-C11168B3-80C0-4A03-9525-77381C503B96

 

 


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
Message 5 of 5
mmoucka
in reply to: MechMachineMan

Many thanks ! Smiley Happy

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report