CST EM STUDIO VBA Objects

CST STUDIO SUITE is implemented as OLE automation server. The application is registered under "CSTStudio.Application". An instance can be created through the CreateObject  VBA command:

Dim app As Object

Set app = CreateObject ("CSTStudio.Application")

This application object provides methods to open and create projects. Refer to the Application Object  for details.

If you open the built-in CST STUDIO SUITE VBA-Interpreter for a CST EM STUDIO project all of these objects are already available. To call the method AMethod of the object AnObject simply type AnObject.AMethod ( Parameters ). All functions and methods of the Project Object and the Units Object can be called directly, because you are in the scope of this object.

The VBA commands for the associated canvas can be accessed for a CST EM STUDIO project as well. Refer to the CST DESIGN STUDIO objects page that gives a short overview over their usage.

 

Reference by group:

Global:

Project

Units

 

Material:

Material

 

 

Component:

Component

 

 

Group:

Group

 

 

Solids:

Brick

Cone

Cylinder

ECylinder

Sphere

Torus

Wire

 

Operations on Solids:

Pick

Solid

Transform

Align

WCS

Bending Local Modifications

 

2D-Profiles to Solids:

Extrude

Loft

Rotate

TraceFromCurve

 

 

Curves:

Arc

Circle

Ellipse

Line

Polygon

Rectangle

Spline

Polygon3D

 

Operations on Curves:

BlendCurve

ChamferCurve

CoverCurve

EdgeCurve

ExtrudeCurve

LoftCurves

SweepCurve

TrimCurves

 

 

Import / Export:

ASCIIExport

CATIA

CoventorWare

DRC and DRC-RZ

DXF

Mecadtron

GERBER

GDSII

HumanModel

IGES

PRO/E

NASTRAN

SAT

STEP

STL

OBJ

 

Monitors:

TimeMonitor

TimeMonitor2D

TimeMonitor0D

TimeMonitor3D

TimeMonitor1D

 

Signals:

TimeSignal

 

 

 

Mesh:

Mesh

MeshAdaption3D

 

 

Field Sources:

SourceField

 

 

 

Source Definitions:

Charge

Coil

CurrentPath

CurrentPort

Magnet

Potential

VoltageWire

 

Solver:

Background

LayerStacking

Boundary

EStaticSolver

LFSolver

MStaticSolver

Optimizer

ParameterSweep

Solver

StationaryCurrentSolver

SolverParameter

 

Post Processing:

ColorRamp

EvaluateFieldAlongCurve

EvaluateFieldOnFace

 

Force

Result1D

Result1DComplex

Result3D

ResultMap

Table

 

Plot:

Plot

Plot1D

ScalarPlot2D

ScalarPlot3D

VectorPlot2D

VectorPlot3D

ColourMapPlot