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

User avatar Progecad on wine

by davecoventry

Thu Apr 30, 2020 6:49 am

User avatar progeCAD 2020 Update Released on CADDIT

by caddit

Mon Nov 25, 2019 2:57 pm

Default Avatar Closing loops in reference paths

by Ken Russ

Mon Nov 25, 2019 10:40 am

User avatar Restoring a .bak file

by caddit

Mon Nov 25, 2019 7:49 am

Default Avatar Progecad 2017 > Missing Poup menus

by BayDviBerg

Fri May 17, 2019 3:34 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