Autodesk

architecture, sustainability, building performance, environmental design, architectural science...


VB to Ecotect

Hi, I'm trying to manage Ecotect from Excel and I'm getting hung up at the very beginning. How do you call the application? The following doesn't seem to work:

ECO = CreateObject("Ecotect.Application")

so that everything after that is

ECO.cmd("app.activate") .... etc

Is 'ecotect' the wrong registry title? What am I missing? Quite lost.

The next step is to export coordinates from excel to creat points in Ecotect. Would be extremely grateful for some help there as well.

Thank you.

daniel

Sunshine hours script for v5.5
Grphical interface thru scripting

VB to Ecotect

comment posted by Olivier :: 15 May 2007 - 3:58am

Daniel,

You should be able to call the application with the command:

cmd("app.activate")

You should not have to write "ecotect" as the application. Not that I know of at least.
However, I know this work when running the script straight from the Script manager. Not sure how that works from Excel.

Someone else on the forum, Anbu, has been working on a similar project: running Ecotect from Excel.

Best,
Olivier



Related websites

Translate This Site

User login