ActiveField™ Help    

Main QuickField Site  

Free Downloads  

Contacts  

ActiveField Technology
What's New
Objects Overview
Hierarchy Chart
How to Start: Application Object
How to work with Problems
How to work with Model
How to work with Data
How to Analyze Results

Objects

Properties

Methods

Parametric Simulation Samples

Grid Object

Grid Object

                                   

Summary

The background grid that makes the creation of model vertices and edges easier.

Details

The Grid object represents the background grid that makes the creation of model vertices and edges easier. Unlike the QuickField graphic user interface, the Model, not ModelWindow, possesses the grid. You can get it by the Grid property of the Model.

You can get and set the Origin of the grid as Point and the cell size by Spacing property as Point.  You can choose different values for cell size in X and Y direction giving non-equal values for the X and Y property of the Point.

The grid cell size affects the vertices and edges creation process in two ways:

  • If the AutoSnap property of Shapes collection is TRUE, each vertex you create automatically aligns to the nearest node of the grid.
    Even if the AutoSnap mode is switched off, you can snap any point to the grid manually using the Snap method of the Grid object.
  • Without regard to AutoSnap mode, the grid cell size is considered as an attraction distance parameter that plays an important role when QuickField makes a decision about coinciding edges or vertices. If the distance between a newly created vertex or edge and an existing one is less than attraction distance, it will be not created or attracted to the neighboring edge. So you may need to set a desired value to the grid cell size even if you do not use the snap to grid feature.