Click or drag to resize

ThinSeamDefinition Class

A Thin Seam definition in EMA3D API.
Inheritance Hierarchy
SystemObject
  ema3d.Api.V25APISimObjectBaseThinSeamDefinition
    ema3d.Api.V25.Core.DefinitionsDefinitionBaseThinSeamDefinition
      ema3d.Api.V25.Core.DefinitionsThinSeamDefinition

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

The ThinSeamDefinition type exposes the following members.

Properties
 NameDescription
Public propertyCapacitance Gets/Sets capacitance of thin seam.
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 propertyInductance Gets/Sets inductance of thin seam.
Public propertyResistance Gets/Sets resistance of thin seam.
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 ThinSeamDefinition 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 ThinSeamDefinition 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 ThinSeamDefinition as ThinSeamDefinition

# 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 = ThinSeamDefinition.Create()
thindef.Resistance = 1e3
thindef.Name = "Thin Seam Definition"
# Assign to an edge
thinEdge = result.GetCreated[IDesignBody]()[0].Edges[0]
thindef.AssignSingle(thinEdge)
See Also