CST 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 MPHYSICS 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.

 

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

 

Signals:

TimeSignal

 

 

 

Mesh:

Mesh

MeshAdaption3D

 

 

Field Sources:

FieldSource

 

 

 

Source Definitions:

Displacement

Traction

HeatSource

TemperatureSource

ThermalSourceParameter

ThermalSurfaceProperty

 

Solver:

Background

LayerStacking

Boundary

StructuralMechanicsSolver

Optimizer

ParameterSweep

Solver

ThermalSolver

ThermalTDSolver

SolverParameter

 

Post Processing:

ColorRamp

EvaluateFieldAlongCurve

EvaluateFieldOnFace

 

Result1D

Result1DComplex

Result3D

ResultMap

Table

 

Plot:

Plot

Plot1D

ScalarPlot2D

ScalarPlot3D

VectorPlot2D

VectorPlot3D

ColourMapPlot