Click or drag to resize

VariableGrid Class

A variable grid object in EMC Plus
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBaseVariableMeshSubgrid
    ema3d.Api.V25.Core.DomainVariableGrid

Namespace: ema3d.Api.V25.Core.Domain
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public sealed class VariableGrid : APISimObjectBase<VariableMeshSubgrid>

The VariableGrid type exposes the following members.

Properties
 NameDescription
Public propertyDisplayColor Gets/Sets color of variable grid lattice.
Public propertyDisplayName Gets/Sets the display name of the underlying sim object.
(Inherited from APISimObjectBaseTWrapper)
Public propertyEnableXAxis Gets/sets whether to impose step size in the X direction.
Public propertyEnableYAxis Gets/sets whether to impose step size in the Y direction.
Public propertyEnableZAxis Gets/sets whether to impose step size in the Z direction.
Public propertyIsMHARNESS Gets/Sets whether MHARNESS elements are supported in this variable grid.
Public propertyMaximum Gets/Sets the maximum point in the lattice.
Public propertyMinimum Gets/Sets the minimum point in the lattice.
Public propertyPriority Gets/Sets the variable grid priority for the meshing engine.
Public propertyStepSize Gets/Sets the lattice step size in meters.
Top
Methods
 NameDescription
Public methodStatic memberCreate(Document) Create a new variable grid.
Public methodStatic memberCreate(Point, Point, Document) Create a new variable grid.
Public methodDelete Deletes sim object.
(Inherited from APISimObjectBaseTWrapper)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetAll Retrieve all VariableGrid objects in the document.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetName Returns the name of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodGetSiblings Get all objects that share this object's type in the document.
(Overrides APISimObjectBaseTWrapperGetSiblings(Document))
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetBounds Set the bounds of a variable grid with a Box object.
Public methodSetName Sets the name of the object
(Inherited from APISimObjectBaseTWrapper)
Public methodSetVisibility Sets the visibility status of the object.
(Inherited from APISimObjectBaseTWrapper)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Example
Python
from ema3d.Api.V25.Core.Domain import VariableGrid as VariableGrid
# Create Grid
vg1 = VariableGrid.Create(Point.Create(0, 0, 0), Point.Create(0.02, 0.02, 0.02))
vg1.StepSize = Point.Create(0.001, 0.001, 0.001)
See Also