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

intellApp.RunCommand("_layout")
intellApp.RunCommand("Copy")
intellApp.RunCommand(LayoutName)
intellApp.RunCommand(newLayout)

Recent Topics

Default Avatar Progecad 2017 > Missing Poup menus

by BayDviBerg

Fri May 17, 2019 3:34 pm

Default Avatar ProgeCAD as default drawing app.

by shanncon

Mon Mar 18, 2019 7:54 am

Default Avatar Progecad 2018 Mleader mtext width resize

by fging

Mon Nov 26, 2018 4:33 pm

Default Avatar Steel sections

by shanncon

Mon Sep 18, 2017 8:33 am

Default Avatar 'Quick Select' window

by SClapham

Thu Aug 24, 2017 1:32 pm

Twitter

About Us

Welcome to Ausstralia/New Zealand's CADDIT CAD software forum. CAD CAM Forum for support and discussion regarding AutoCAD, progeCAD IntelliCAD, Geomagic Freeform, Mathcad, CNC software.

This forum offers free support for progeCAD by qualified technical staff. Thank you for visiting.

CADDIT.net

The CADDIT.net team