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 Reloading ProgeCad2016

by caddit

Wed Apr 05, 2017 11:33 pm

Default Avatar Start ProgeCad by C# dll Error

by ftauto

Mon Mar 20, 2017 3:44 pm

User avatar Mathcad Prime 4.0 Released

by caddit

Wed Mar 08, 2017 10:40 pm

User avatar Lisp routine help

by caddit

Wed Mar 08, 2017 10:30 pm

Default Avatar Classic/Ribbon menu help

by SClapham

Sun Feb 19, 2017 11:04 am

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