progeCAD support, tips and troubleshooting forum. progeCAD works very similar to some versions of AutoCAD. Moderated.

Moderators: caddit, Moderators

#2248 by ftauto
Mon Jun 22, 2015 11:00 am
Hello Team,

How i can copy a Layout Tab using with VBA ?
Manualy it is very easy but i can not do that in the VBA Code.

Thank you very much.

#2253 by caddit
Tue Jun 23, 2015 11:09 pm
Dear ftauto

You will only be able to copy-paste a drawing layout manually. You can't control the process using VBA.

VBA really doesn't have much of a future. Like with Autodesk, VBA for progeCAD is limited and no longer under development (in favour of VSTA, DRX and AutoLISP). If your application gets much more advanced with low-level interface functionality you should really be looking at DRX C++.

#2254 by ftauto
Wed Jun 24, 2015 6:17 am
Dear caddit,

thank you for your answer.

I found a solution with the RunCommand Process