« Model Line Sketch Plane | Main | VB Samples and Other Questions »

May 09, 2009

Comments

At an operating system level, what is the difference between an external command and an external application? Do both run in the same process space as Revit?

Dear J,

At an operating system level, the difference between an external command and an external application is small. They both run in the same process space as Revit, and are called by Revit in a specific context.

The external application implements methods OnStartup and OnShutdown, which are called when Revit itself starts up and shuts down.

The external command implements a method named Execute, which is called when the user launches the command.

Both can define additional call-backs, cf.

http://thebuildingcoder.typepad.com/blog/2010/04/asynchronous-api-calls-and-idling.html

Cheers, Jeremy.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Your Information

(Name and email address are required. Email address will not be displayed with the comment.)

Jeremy Tammik

AboutTopicsIndexSource