TkFab® De En Fr tree
  QuickField : Programmierung

        Allgemeines

        2D screenshots

        3D screenshots

        2D-Funktionen

        3D-Funktionen

        Programmierung

Inhaltsverzeichnis


QuickField : Programming

 

Allgemeines

Programming with QuickField™ amounts to using a scripting language which makes it possible to access to the functionalities of it. It provides the interpreter an environment and an interface which frees itself from low-level constraints and so benefit from a syntax of high level.

An advantage of using script is to avoid going through the compilation of the written program because it is directly interpreted.


structure ActiveField
ActiveField Structure
 

Programmiersprache

Aimed at designers familiar with a programming language VBA, Python,... It is sufficient for this language to have a connection with Windows COM objects to create a program allowing particular or even repetitive functions to be used within QuickField™ .

This approach allows the use of loops, value control conditions, specialized library algorithms.

The image on the right shows a subroutine example in Visual Basic.



ActiveField : this image displays Visual Basic subroutine which function is to move shapes
VBA subroutine
 

Example : LabelMover

The LabelMover utility included in the QuickField™ distribution allows you to program your calculations step by step (here movement of a magnetic core and calculation of the magnetic force). Based on ActiveField, it provides access to problem data with a simple mouse click.

The images below give you the definition of the calculation steps and then the results.

Steps

  • Parameters choice
  • Variations choice
  • Results


LabelMover : interface
Parameters choice
LabelMover : interface
Variations choice
LabelMover : interface
Results