Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class SolidBody

Last update: 16.07.2025

Namespace: VM.Managed.DAFUL
Assembly: VMDFBase.dll

This class is to represent the solid body.

public class SolidBody : BodyBase<solidbodyproperty>, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IMarkerCreatable, IFacesetCreatable, ICurvesetCreatable, IConnectableNotReference, IReferencable, IConnectableHasGeometry, IBody, IInterface, ITemplateObject, IHasBuilder, IDrawIcon, ITransformable, IGeometryContainer, IMassProp, IChainedSegmentConnector, IArgument, ITransparentable, IMFModalable, IBodyAnalysisType, IAutoContactable, ITemperatureComponent, IHeatGenerationComponent, IGeometricalComponent, IContactableGeometry2Dot5D, IConnectable, IMarkerParent, IEntityRelation, IHasBody, IHasMaterial

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object ← ContainerObject ← EntityBase ← EntityBodyBaseSolidBody

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, IContainer, IEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, IVisible, IDocumentOwner, INamed, INavigatorItem, IVisible, IMultiChangable, IHasProperty, IGroup, IMarkerCreatable, IFacesetCreatable, ICurvesetCreatable, IConnectableNotReference, IReferencable, IConnectableHasGeometry, IBody, IInterface, ITemplateObject, IHasBuilder, IDrawIcon, ITransformable, IGeometryContainer, IMassProp, IChainedSegmentConnector, IArgument, ITransparentable, IMFModalable, IBodyAnalysisType, IAutoContactable, ITemperatureComponent, IHeatGenerationComponent, IGeometricalComponent, IContactableGeometry2Dot5D, IConnectable, IMarkerParent, IEntityRelation, IHasBody, IHasMaterial

Inherited Members

BodyBase.Initialize(Unit.ConvertFactor), BodyBase.GetGeomModelNavigatorInfo(XmlDocument, XmlElement, BodyProperty, Body), BodyBase.GetGeneralMarkerInfo(XmlDocument, XmlElement, Marker), BodyBase.MakeReferenceImpl(LinkedList), BodyBase.FixUp(ObjectBase), BodyBase.GetArgumentList(LinkedList), BodyBase.OnUpdatePropertyImpl(Property, LinkEventArgs), BodyBase.GetLayerImpl(), BodyBase.SetLayerImpl(Layer), BodyBase.GetTargetListForUpdate(), BodyBase.HasLayerExplicitly, BodyBase.ParentType, BodyBase.ParentTypeImpl, BodyBase.ReferenceFrameType, BodyBase.ConnectableName, BodyBase.ConnectableFullName, BodyBase.ConnectablePostfixName, BodyBase.ConnectablePosition, BodyBase.ConnectableBody, BodyBase.Body, BodyBase.Layer, BodyBase.IsVisible, BodyBase.ReferencableImpl, BodyBase.Geometry, Entity.Initialize(Unit.ConvertFactor), Entity.GetUnnamedObjectName(object), Entity.FindLocal(string), Entity.Property, EntityBase.Initialize(Unit.ConvertFactor), EntityBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), EntityBase.PropertyRequestUpdate(object, LinkEventArgs), EntityBase.OnDeserializationForAttribute(), EntityBase.OnUpdatePropertyImpl(Property, LinkEventArgs), EntityBase.LinkRequestDestroying(object, LinkEventArgs), EntityBase.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool), EntityBase.FixUp(ObjectBase), EntityBase.FindLocal(string), EntityBase.WriteTemplateImpl(XmlWriter), EntityBase.ReadTemplateImpl(XmlReader), EntityBase.LinkAddedToDocument(object, AddToDocEventArgs), EntityBase.OnDeserialization(object), EntityBase.Name, EntityBase.FullName, EntityBase.NonSymmetricName, EntityBase.DisplayName, EntityBase.IsEnabled, EntityBase.Comment, EntityBase.HasLayerExplicitly, EntityBase.UntypedProperty, EntityBase.IsFileProperty, EntityBase.Layer, EntityBase.IsVisible, ContainerObject.Find(string), ContainerObject.FindLocal(string), ContainerObject.GetUnnamedObjectName(object), ContainerObject.GetNewEntityName(string), ContainerObject.GetNewEntityName(string, bool, int), ContainerObject.GetNewEntityName(string, bool, int, int), Object.GetKey(), Object.Initialize(Unit.ConvertFactor), Object.SetIconColor(Canvas), Object.OnDeserialization(object), Object.CustomGetObjectData(SerializationInfo, StreamingContext), Object.RollbackEvent(), Object.OnDeserializedCore(object), Object.Key, Object.UntypedEventCore, Object.EventCore, Object.Attributes, ObjectBase.ReplaceEventCore(ObjectEventCore), ObjectBase.SetModifiedCore(ModifiedResult.ModifiedType), ObjectBase.AddPostDeserialize(StreamingContext), ObjectBase.LinkAddedToDocumentCore(IOwned, bool), ObjectBase.SetModified(ModifiedResult.ModifiedType), ObjectBase.SetModified(), ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet), ObjectBase.Verify(VerifiedResult), ObjectBase.ConnectProxy(), ObjectBase.RollbackEvent(), ObjectBase.LinkRequestUpdating(object, LinkEventArgs), ObjectBase.LinkRequestUpdate(object, LinkEventArgs), ObjectBase.LinkRequestDestroying(object, LinkEventArgs), ObjectBase.LinkRequestDestroy(object, LinkEventArgs), ObjectBase.LinkAddedToDocument(object, AddToDocEventArgs), ObjectBase.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), ObjectBase.DisposeManagedResources(), ObjectBase.GetDestroyEventExtraData(), ObjectBase.OnLinkReserved(ILink, object, EventArgs), ObjectBase.CreateEntityWhenUpdateContents(Action), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray(T[], T[]), ObjectBase.IsEqualList(List, List), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.raise_OnContentsUpdated(object, EventArgs), ObjectBase.Dispose(bool), ObjectBase.SkipModified, ObjectBase.ClearChildInfoBeforeDeserialize, ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.OnUpdating, LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

SolidBody()

Initializes a new instance of the class.

public SolidBody()

SolidBody(string)

Initializes a new instance of the class.

public SolidBody(string strName)

Parameters

strName string

Name of the solid body.

SolidBody(string, Builder)

Initializes a new instance of the class.

public SolidBody(string strName, Builder builder)

Parameters

strName string

Name of the solid body.

builder Builder

The builder.

Fields

m_MeshFreeProperty

The SolidBody property object to use MeshFree Analysis

[Obsolete]
protected MeshFreePropertyForSolidBody m_MeshFreeProperty

Field Value

MeshFreePropertyForSolidBody

Properties

AnalysisType

Gets or sets the type of the analysis.

public BodyAnalysisType AnalysisType { get; set; }

Property Value

BodyAnalysisType

ArgumentType

Gets the type of the argument

public ArgumentTypes ArgumentType { get; }

Property Value

ArgumentTypes

Connectable

Gets the connectable interface.

public IConnectable Connectable { get; }

Property Value

IConnectable

DFMFPath

Gets or sets the DFMF file path.

public string DFMFPath { get; set; }

Property Value

string

Geometry

Gets the geometry.

public override List<body> Geometry { get; }

Property Value

List

HalfThickness

Gets or sets the half thickness [Not Implemented].

public ExpressionValueVariable HalfThickness { get; set; }

Property Value

ExpressionValueVariable

IsActionGeometry

Gets or sets a value indicating whether this instance is action geometry.

public bool IsActionGeometry { get; set; }

Property Value

bool

IsBaseGeometry

Gets or sets a value indicating whether this instance is base geometry.

public bool IsBaseGeometry { get; set; }

Property Value

bool

IsEditCM

Gets a value indicating whether this instance is edit CM.

public virtual bool IsEditCM { get; }

Property Value

bool

IsInterface

Gets or sets a value indicating whether this instance is interface.

public bool IsInterface { get; set; }

Property Value

bool

IsRepresentedAsBSurface

Gets or sets a value indicating whether this instance is represented as Bsurface.

public bool IsRepresentedAsBSurface { get; set; }

Property Value

bool

LastModifiedTimeToDFMFFile

Gets or sets the last modified time to DFMF file.

public string LastModifiedTimeToDFMFFile { get; set; }

Property Value

string

MaxPenetration

Gets the max penetration [Not Implemented].

public ExpressionValueVariable MaxPenetration { get; }

Property Value

ExpressionValueVariable

MeshFreeProperty

Gets or sets the SolidBody property to use MeshFree Analysis.

[Obsolete]
public MeshFreePropertyForSolidBody MeshFreeProperty { get; set; }

Property Value

MeshFreePropertyForSolidBody

ModalReferencePosition

Gets or sets the modal reference modal.

public PointBase ModalReferencePosition { get; set; }

Property Value

PointBase

ModeArray

Gets or sets the modes.

public ModeForMFModal[] ModeArray { get; set; }

Property Value

ModeForMFModal[]

MovingReferenceFrame

Gets or sets the moving reference frame.

public IMarker MovingReferenceFrame { get; set; }

Property Value

IMarker

ParentTypeImpl

Gets the parent type [implementation].

protected override MarkerParentType ParentTypeImpl { get; }

Property Value

MarkerParentType

ReferenceType

Gets the type of the array for argument.

public virtual string ReferenceType { get; }

Property Value

string

SurfaceSmoothingType

Gets or sets the type of the surface smoothing [Not Implemented].

public SurfaceSmoothing SurfaceSmoothingType { get; set; }

Property Value

SurfaceSmoothing

TopologyEntityTypeName

Topology type name

public override string TopologyEntityTypeName { get; }

Property Value

string

UseAdvancedOption

Gets or sets use advanced option.

public bool UseAdvancedOption { get; set; }

Property Value

bool

UseModalReferencePosition

Gets or sets use modal reference modal.

public bool UseModalReferencePosition { get; set; }

Property Value

bool

UseRMovingReferenceFrame

Gets or sets use rotational modal reference modal.

public bool UseRMovingReferenceFrame { get; set; }

Property Value

bool

UseTMovingReferenceFrame

Gets or sets use translational modal reference modal.

public bool UseTMovingReferenceFrame { get; set; }

Property Value

bool

_MovingReferenceFrame

Gets or sets the moving reference frame.

public Linker<imarker> _MovingReferenceFrame { get; set; }

Property Value

Linker

Methods

DoWorkAfterUpdateContents()

After update contents, do work.

public override void DoWorkAfterUpdateContents()

FindLocal(string)

Finds an object that matches a specified name in local.

public override IObjectBase FindLocal(string strName)

Parameters

strName string

Name to search for.

Returns

IObjectBase

An object that matches a specified name.

FixUp(ObjectBase)

Fixes up.

public override bool FixUp(ObjectBase ob)

Parameters

ob ObjectBase

The ob.

Returns

bool

GetAnalysisLevelInfo(ref List, ref List)

Get node distance and count for each analysis level

public bool GetAnalysisLevelInfo(ref List<double> lstNodeDistance, ref List<uint> lstNodeCount)

Parameters

lstNodeDistance Listdouble&gt;

Node distance list

lstNodeCount Listuint&gt;

Node count list

Returns

bool

Whether it's successful.

GetBuilder()

Gets the geometry.

public ObjectBase[] GetBuilder()

Returns

ObjectBase[]

geometry container

GetContactables()

Get contactable objects.

public ObjectBase[] GetContactables()

Returns

ObjectBase[]

The contactable objects.

GetDefaultMaxPenetration(ref double, IReferencable)

Gets the geometry's default max penetration.

public bool GetDefaultMaxPenetration(ref double dMaxPenetration, IReferencable reference)

Parameters

dMaxPenetration double

The max penetration.

reference IReferencable

The reference [no use].

Returns

bool

true if success; otherwise, false.

GetGeometryNavigatorInformation(XmlDocument, XmlElement)

Gets the geometry information for model navigator.

public bool GetGeometryNavigatorInformation(XmlDocument xmlDom, XmlElement xmlEle)

Parameters

xmlDom XmlDocument

The XmlDocument for geometry.

xmlEle XmlElement

The XmlElement for geometry.

Returns

bool

true if success; otherwise, false.

GetLayerImpl()

Gets the layer [implementation].

protected override Layer GetLayerImpl()

Returns

Layer

true if success; otherwise, false.

GetMarkerArrayModelNavigatorInfo(XmlDocument, XmlElement, NamedObjectDictionary)

Gets the marker array information for model navigator.

public bool GetMarkerArrayModelNavigatorInfo(XmlDocument xmlDom, XmlElement xmlEle, NamedObjectDictionary<marker> arMarker)

Parameters

xmlDom XmlDocument

The XmlDocument for marker array.

xmlEle XmlElement

The XmlElement for marker array.

arMarker NamedObjectDictionaryMarker&gt;

The marker array.

Returns

bool

true if success; otherwise, false.

GetMarkerModelNavigatorInfo(XmlDocument, XmlElement, Marker)

Gets the marker information for model navigator.

protected bool GetMarkerModelNavigatorInfo(XmlDocument xmlDom, XmlElement xmlEle, Marker marker)

Parameters

xmlDom XmlDocument

The XmlDocument for marker.

xmlEle XmlElement

The XmlElement for marker.

marker Marker

The marker.

Returns

bool

true if success; otherwise, false.

GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)

Gets the object information for model navigator [implementation].

protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlEle, bool bHasChild)

Parameters

xmlDom XmlDocument

The XmlDocument for object.

xmlEle XmlElement

The XmlElement for object.

bHasChild bool

if set to true [has child].

Returns

bool

true if success; otherwise, false.

GetPointDirection(ref VectorBase, ref VectorBase, IReferencable)

Gets the geometry's point and direction.

public bool GetPointDirection(ref VectorBase point, ref VectorBase direction, IReferencable reference)

Parameters

point VectorBase

The point.

direction VectorBase

The direction.

reference IReferencable

The reference [no use].

Returns

bool

true if success; otherwise, false.

GetPointDirectionOnGeometry(ref VectorBase, ref VectorBase, IReferencable)

Gets the geometry's point and direction.

public bool GetPointDirectionOnGeometry(ref VectorBase point, ref VectorBase direction, IReferencable reference)

Parameters

point VectorBase

The point.

direction VectorBase

The direction.

reference IReferencable

The reference [no use].

Returns

bool

true if success; otherwise, false.

GetUnnamedObjectName(object)

Gets the name of the unnamed object.

public override string GetUnnamedObjectName(object obUnnamed)

Parameters

obUnnamed object

The ob unnamed.

Returns

string

The unnamed object name.

Initialize(ConvertFactor)

Initializes member through unit convert factor.

public override void Initialize(Unit.ConvertFactor factor)

Parameters

factor Unit.ConvertFactor

The unit convert factor.

IsAutoContactable()

Determines whether the specified auto contactable.

public bool IsAutoContactable()

Returns

bool

true if the specified auto contactable; otherwise, false.

LinkRemovedFromDocument(object, RemoveFromDocEventArgs)

Remove Anlaysis Type in the Analysis Setting to a document.

protected override void LinkRemovedFromDocument(object objNotifier, RemoveFromDocEventArgs arg)

Parameters

objNotifier object

The linked object.

arg RemoveFromDocEventArgs

The instance containing the event data.

LinkRequestDestroy(object, LinkEventArgs)

Request for destroy the linked object.

protected override void LinkRequestDestroy(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

MakeReferenceImpl(LinkedList)

Makes the reference [implementation].

protected override void MakeReferenceImpl(LinkedList<reference> lstRef)

Parameters

lstRef LinkedList

The container.

OnDeserialization(object)

Called when [deserialization].

protected override void OnDeserialization(object sender)

Parameters

sender object

The sender.

PostAddToDocument()

Call when post [add to document].

public override void PostAddToDocument()

ReDraw()

Redraw.

public void ReDraw()

ReadTemplateImpl(XmlReader)

Reads the template document [implementation].

protected override void ReadTemplateImpl(XmlReader reader)

Parameters

reader XmlReader

The reader.

ResetInvalidEntity()

Reset invalid entity.

public override void ResetInvalidEntity()

SetLayerImpl(Layer)

Sets the layer [implementation].

protected override void SetLayerImpl(Layer layer)

Parameters

layer Layer

The layer.

WriteTemplateImpl(XmlWriter)

Writes the template document [implementation].

protected override void WriteTemplateImpl(XmlWriter writer)

Parameters

writer XmlWriter

The writer.

Connect with Ansys