Click or drag to resize

ThinSurfaceDefinition Class

A Thin Surface definition in EMA3D API.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBaseThinSurfaceDefinition
    ema3d.Api.V25.Core.DefinitionsDefinitionBaseThinSurfaceDefinition
      ema3d.Api.V25.Core.DefinitionsThinSurfaceDefinition

Namespace: ema3d.Api.V25.Core.Definitions
Assembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntax
public class ThinSurfaceDefinition : DefinitionBase<ThinSurfaceDefinition>

The ThinSurfaceDefinition type exposes the following members.

Properties
 NameDescription
Public propertyDisplayColor Gets / Sets the definition display color.
(Inherited from DefinitionBaseT)
Public propertyDisplayName Gets/Sets the display name of the underlying sim object.
(Inherited from DefinitionBaseT)
Public propertyEpsilon Gets/Sets permittivity of isotropic material.
Public propertyMu Gets/Sets permeability of isotropic material.
Public propertySigma Gets/Sets conductivity of isotropic material.
Public propertySigmaM Gets/Sets magnetic conductivity of isotropic material.
Public propertyThickness Gets/Sets thickness of isotropic material (only for composite materials).
Top
Methods
 NameDescription
Public methodAssignBulk Assign a material definition to a collection of document objects.
(Inherited from DefinitionBaseT)
Public methodAssignSingle Assign a material definition to a single document object.
(Inherited from DefinitionBaseT)
Public methodCopy Copy this definition to the same or a new document
Public methodStatic memberCreate Create a new default ThinSurfaceDefinition within the document
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 ThinSurfaceDefinition 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 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.Definitions import ThinSurfaceDefinition as ThinSurfaceDefinition

# Set Sketch Plane
result = ViewHelper.SetSketchPlane(Plane.PlaneXY)
# Sketch Rectangle
point1 = Point2D.Create(MM(-10),MM(-10))
point2 = Point2D.Create(MM(10),MM(-10))
point3 = Point2D.Create(MM(10),MM(10))
result = SketchRectangle.Create(point1, point2, point3)
# Solidify Sketch
result = ViewHelper.SetViewMode(InteractionMode.Solid)

# Set Thin Gap
thindef = ThinSurfaceDefinition.Create()
thindef.Sigma = 1e6
thindef.SigmaM = 1e3
thindef.Name = "Thin Surface Definition"
# Assign to an edge
thinFace = result.GetCreated[IDesignBody]()[0].Faces[0]
thindef.AssignSingle(thinFace)
See Also