[Solved] External calls

All topics about specific development with COM interface, LIP language, API in VB, ...

Moderators: remi77, jacs, Daniel

User avatar
olaio
Second Officer Cadet
Second Officer Cadet
Posts: 194
Joined: Thu Mar 01, 2007 11:42 am
Answers: 2
Location: Leiria

[Solved] External calls

Unread post by olaio »

Hi everyone,

Can we call an external aplication on a toplip macro?
Fabrice
Private
Private
Posts: 7
Joined: Thu Feb 22, 2007 10:33 am
Location: Toulouse

Unread post by Fabrice »

Hi,

There is presently no way to call directly an external executable from within a TopLIP macro... But you could do so if driving TopSolid with its COM API ...
.oOO[... Fabrice ...]OOo.
Mark Oostveen
Chief
Chief
Posts: 107
Joined: Mon Mar 26, 2007 9:40 am
TopSolid Module: TopSolid'Cam
TopSolid Version: 6.26
Location: The netherlands
Contact:

Unread post by Mark Oostveen »

Well I did do it... With a macro....

So copy the text below in a lip file. Put the complete path of the executable between the brackets. Convert to lob and add to the menu of TopSolid... Now you can run a executable from the interface of TopSolid.

Don't forget the QuitMacro command :)

----------------------
(
FUNCTION launch Exe

WHEN WHO WHAT
23/04/06 MJO creation

STK IN :
STK OUT :
)

"[path and name of the exe file]" 0 CreateProcess

QuitMacro
----------------------

Mark
User avatar
olaio
Second Officer Cadet
Second Officer Cadet
Posts: 194
Joined: Thu Mar 01, 2007 11:42 am
Answers: 2
Location: Leiria

Unread post by olaio »

That´s it :D

Thanks a lot!!!
Fabrice
Private
Private
Posts: 7
Joined: Thu Feb 22, 2007 10:33 am
Location: Toulouse

Unread post by Fabrice »

Oooouups ! :oops:

I missed that one !! :?

You are right, it can be done !

Thanx a lot Mark !
.oOO[... Fabrice ...]OOo.
Post Reply