background preloader

ECOTECT

Facebook Twitter

NDde. Python - python-win32 - dde trouble. Hi all, I am having some trouble with controlling a Windows application through dde The application in question is Ecotect: . This app provides a dde interface for scripting. The application comes bundled with Lua, and this works fine. However, for various reasons, I need to use Python, so I have been trying to get Python talking to Ecotect using Marc Hammonds very nice win32 tools. This seemed to work well, like this: import win32ui import dde server = dde.CreateServer() server.Create("TestClient") conversation = dde.CreateConversation(server) conversation.ConnectTo("Ecotect", "request") conversation.Exec("model.new") This opens up a new file in Ecotect.

Conversation.Exec("get.app.computer") returns an error message: Traceback (most recent call last): File "D:\Documents\Eclipse\z_test_ecotect\test1.py", line 11, in <module> error: Exec failed Any thoughts on how I might discover what is going wrong? Regards Patrick. Connecting to Ecotect using DDE and VB.NET. | Ecotect Tutorials. Computational Fluid Dynamic (CFD) using WinAir for Ecotect « WeWantToLearn.net.

Below is a tutorial by Mario Vergara on how to install and use Winair (this link also contains a tutorial). WinAir is a plugin to perform CFD analysis (wind flow) on a mesh using Ecotect. The video tutorial is in Spanish but very easy to follow even without sound. There are couple questions already online on the Autodesk forum about Win Air. and some work on the GH forum related to it. Above: The Winair Interface on ecotect Above: The kind of results extracted from Winair Work by Alessio Erioli using WinAir Like this: Like Loading... 루아 (프로그래밍 언어) 위키백과, 우리 모두의 백과사전. 루아 로고 루아(Lua) 프로그래밍 언어는 가벼운 명령형/절차적 언어로, 확장 언어로 쓰일 수 있는 스크립팅 언어를 주 목적으로 설계되었다. 루아는 "달"을 의미하는 포르투갈어 단어이다. 루아는 1993년에 브라질의 리우 데자네이로에 있는 교황청 대학교의 컴퓨터 그래픽 기술 그룹 회원인 Luiz Henrique de Figueiredo, 호베르투 이에루잘림스시와 Waldemar Celes가 만들었다. 5.0 버전 이전의 루아는 BSD 라이선스와 비슷한 라이선스에 따라 공개되었고, 5.0부터는 MIT 라이선스에 따라 공개되고 있다.

루커스아츠의 원숭이 섬으로부터의 탈출 어드벤처 게임과 같은 많은 상업적 응용 프로그램과, 앵그리 버드와 그 변형들과 같은 비상업적 응용 프로그램들이 루아를 사용하고 있다. 루아는 디자인 면에서는 아이콘과 프로그래머가 아닌 사람들이 사용하기 쉽다는 면에서 파이썬과 유사하다. 루아에서 연산식들의 의미는 메타테이블에 있는 내장 함수들을 재지정해서 확장하거나 변경할 수 있다. 다음은 "Hello, world! " 다음은 계승을 계산하는 프로그램으로, 재귀 호출 함수의 예시를 보이고 있다. function factorial(n) if n == 0 then return 1 end return n * factorial(n - 1) end 다음은 위에 있는 계승을 계산하는 프로그램의 바이트 코드이다: (루아 5.0 기준) 루아는 특히 게임에서 많이 사용된다. Lua.org저, 권상구 역, 루아 프로그래밍 가이드.