AGI STK Engine (4DX) Blog

September 21, 2010

Vector Geometry Tool API in STK 9.2 – Part 2

Filed under: C#, STK Object Model, VGT, Vectory Geometry API — Peter @ 11:00 am

In this article I will continue the discussion about the new Vector Geometry Tool API. Last time we talked about the VGT points. Today's topic is the VGT planes.

Vector Geometry Planes

Plane components define 2D planes placed and oriented in 3D space and are one of the fundamental geometric constructs available through the Vector Geometry Tool API. Planes are useful for defining other elements, such as flight path angles, dihedral angles, etc. A plane can be defined using a point and a normal vector to the plane, through three points, or by selecting a quadrant from a reference coordinate system (e.g., XY, XZ, YX, YZ, ZX, ZY). (more...)

August 19, 2010

Fix for Visual Studio 2010: Failed to import ActiveX control…

Filed under: .Net, C#, VB.Net, Visual Studio — Sylvain @ 1:34 pm

A fix is now available from Microsoft for the Visual Studio 2010 issue that causes a design time error when adding our Engine ActiveX controls to the form designer. (more...)

July 7, 2010

STK Engine Online Showcase

Filed under: .Net, C#, STK Object Model, XBAP, stk — Sylvain @ 5:40 pm

A sidebar in the February 2010 issue of Inview alluded to running STK Engine in a browser. To demonstrate this capability we created a showcase now available online at the following URL: http://spacedata.agi.com/stk. (more...)

April 15, 2010

Visual Studio 2010: Failed to import ActiveX control…

Filed under: .Net, C#, VB.Net, Visual Studio — Tags: — Sylvain @ 2:13 pm

Update to this post available here.

Visual Studio 2010 shipped earlier this week. Some of you have already tried to use STK Engine within the new IDE, and reported a problem to us. Basically, using the STK Engine ActiveX controls in the designer fails with the following error: "Failed to import ActiveX control. Please ensure it is properly registered.". We are working with Microsoft to resolve this issue (SR#110041547733980). In the meantime and until a better resolution is identified, this post provides workarounds that will allow you to use STK Engine with VS2010. (more...)

November 9, 2009

Avoid casting to types ending with ‘Class’

Filed under: .Net, C#, UI Plugins — Peter @ 10:44 am

Preamble

Avoid casting a COM object to a type ending with ‘Class’. Casting to a type ending ‘Class’ is not guaranteed to succeed and may throw an exception:

"No such interface supported Unable to cast COM object of type .... Instances of types that represent COM components cannot be cast to different types that represent COM components; however they can be cast to interfaces as long as the underlying COM component supports QueryInterface calls for the IID of the interface."

(more...)

August 18, 2009

Visual Studio Tools for STK9 1.0

Filed under: .Net, C#, VB.Net, Visual Studio — Tags: , , — Sylvain @ 9:14 am

Visual Studio Tools for STK9 is a new download on the ADN Download Center. This package adds a set of tools and utilities to Visual Studio, facilitating the development of STK Engine applications and STK plugins. The following capabilities are added to the Visual Studio IDE (C# and VB.Net): Toolbox controls, IntelliSense Code Snippets, and Add STK Reference context menu. (more...)

May 18, 2009

What’s New in STK 9: User Interface Plugins

Filed under: .Net, C#, UI Plugins — Tags: , , — Peter @ 10:17 am

With the upcoming release of STK 9 we are shipping a new API called “User Interface Plugins” or “UI Plugins”. The purpose of the new API is to allow end users extend the STK User Interface in order to implement custom workflows, automate repetitive tasks, etc. Users will be able to add your custom windows, toolbars and context menus to the STK environment, and receive notifications when their custom UI elements are activated (a button on a toolbar is clicked or a menu item is selected). (more...)

May 13, 2009

STK 9 Astrogator Object Model

Filed under: .Net, C#, Java — Tags: , , , , , — Matthew @ 5:15 pm

With STK 9 just about wrapped up, I have time to talk about some of the new features added to the STK Object Model. I'll be focusing today on one of the major pieces that was added, Astrogator. For those who aren't too familiar with Astrogator, it is a specialized analysis module for interactive orbit maneuver and spacecraft trajectory design. Astrogator acts as one of the propagators available for a satellite object. This module calculates the satellite's ephemeris by executing a Mission Control Sequence, or MCS, that you define according to the requirements of your mission. By exposing it through the STK Object Model you now have more options for automating repetitive tasks, integrating with other applications or even developing your own custom application. (more...)

March 16, 2009

What’s cooking in STK Engine 9.0…

Filed under: .Net, C#, Java — Tags: , , , , — Sylvain @ 9:04 am

Hi everybody! Sorry for not posting more articles on this blog for the last couple of months. We have been busy working on STK 9.0! We have lots of exciting Engine features currently in the final stages of development (this is in addition of many, many new features in the STK Desktop application as well, both on the user interface usability and the computational capabilities). The STK 9 Seminar Series will be held tomorrow and (more...)

November 3, 2008

mono

Filed under: .Net, C#, Linux, mono — Tags: , , , — Sylvain @ 11:50 am

Update to this post available here

In the past few months a couple of requests for information have been posted on ADN forums regarding using STK Engine (4DX) with mono on Linux (see here and here). This question also comes up from time to time directly from customers. In the past the missing piece has been COM interop (STK Engine is written in C++ with the API exposed to .Net using COM Interop). Therefore when mono 2.0 came out at the beginning of October the mention of better COM interop support sparked my interest. From Miguel de Icaza's blog announcing mono 2.0: «COM interop is now complete (works on Windows with "real COM" and can be used on Unix with Mainsoft's COM or Mozilla's XPCOM)». However I could not find anywhere a list of what is or is not supported at this point. The documentation is somehow sparse, or outdated and still referring to mono 1.1 in most places. So I decided to take a look and evaluate what is possible (more...)

Powered by WordPress