Skip to main content

Motion Standalone Preprocessor C# library 2026 R1

Class SetPatchBase

Last update: 09.03.2026

Namespace: VM.Managed.DAFUL.FE
Assembly: VMFE.dll

This class is to represent the set for patch.

public abstract class SetPatchBase : SetBase, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IFEObject, IFEMeshChildItem, IChildItem, IMultiChangable, IPostDeserialized, IContactableFlex3D, ITieContactable, IContactable3D, INTSFContactable, IContactable, IEntityRelation, IBodyAnalysisType, IHasBody, IPLoadComponent, IGeometricalComponent, IReferencable, IVisible, IArgument, IFaceSetComponent, ITopologyset, IGapTarget

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← Object<ObjectEventCore> ← SubEntity ← FESubEntity ← SetBase ← SetPatchBase

Derived

SetEdge, SetPatch

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IFEObject, IFEMeshChildItem, IChildItem, IMultiChangable, IPostDeserialized, IContactableFlex3D, ITieContactable, IContactable3D, INTSFContactable, IContactable, IEntityRelation, IBodyAnalysisType, IHasBody, IPLoadComponent, IGeometricalComponent, IReferencable, IVisible, IArgument, IFaceSetComponent, ITopologyset, IGapTarget

Inherited Members

SetBase.FixUp(ObjectBase), SetBase.LinkAddedToDocumentCore(IOwned, bool), SetBase.PostOpenDocument(), SetBase.Color, FESubEntity.GetNodalBodyForReference(Reference, Mesh), FESubEntity.GetNodalBodyForSubsystem(SubSystem, Mesh), FESubEntity.FEID, FESubEntity.OwnerMesh, SubEntity.Initialize(Unit.ConvertFactor), SubEntity.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool), SubEntity.FixUp(ObjectBase), SubEntity.WriteTemplateImpl(XmlWriter), SubEntity.ReadTemplateImpl(XmlReader), SubEntity.Name, SubEntity.FullName, SubEntity.NonSymmetricName, SubEntity.DisplayName, SubEntity.IsEnabled, SubEntity.Comment, Object<ObjectEventCore>.GetKey(), Object<ObjectEventCore>.Initialize(Unit.ConvertFactor), Object<ObjectEventCore>.SetIconColor(Canvas), Object<ObjectEventCore>.OnDeserialization(object), Object<ObjectEventCore>.CustomGetObjectData(SerializationInfo, StreamingContext), Object<ObjectEventCore>.RollbackEvent(), Object<ObjectEventCore>.OnDeserializedCore(object), Object<ObjectEventCore>.Key, Object<ObjectEventCore>.UntypedEventCore, Object<ObjectEventCore>.EventCore, Object<ObjectEventCore>.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>), ObjectBase.ResetInvalidEntity(), ObjectBase.OnDeserialization(object), ObjectBase.IsSerializableEvent(Delegate), ObjectBase.CustomGetObjectData(SerializationInfo, StreamingContext), ObjectBase.CheckAndUpdateLink(HashSet<ObjectBase>), 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[], T[]), ObjectBase.IsEqualList(List<double>, List<double>), 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<T>(object, LinkPropertyType)

Constructors

SetPatchBase(string, string)

Initializes a new instance of the class.

public SetPatchBase(string strProxyName, string strBuildInfo)

Parameters

strProxyName string

Name of the proxy.

strBuildInfo string

The build information.

SetPatchBase()

Initializes a new instance of the class.

public SetPatchBase()

Fields

m_bActionGeometry

protected bool m_bActionGeometry

Field Value

bool

m_bBaseGeometry

protected bool m_bBaseGeometry

Field Value

bool

m_bFailedConnectProxy

protected bool m_bFailedConnectProxy

Field Value

bool

m_lstPatch

protected List<Patch> m_lstPatch

Field Value

List<Patch>

Properties

ArgumentType

Gets the type of the argument

public virtual ArgumentTypes ArgumentType { get; }

Property Value

ArgumentTypes

Count

Gets the patch count of this instance.

public virtual uint Count { get; }

Property Value

uint

Gap

The gap

public virtual ExpressionValueVariable Gap { get; }

Property Value

ExpressionValueVariable

GeometryFullName

Gets the geometry full name

public string GeometryFullName { get; }

Property Value

string

GeometryNameForMultiContact

Gets the name for multiple contact

public string GeometryNameForMultiContact { get; }

Property Value

string

HalfThickness

Gets a half thickness.

public virtual ExpressionValueVariable HalfThickness { get; set; }

Property Value

ExpressionValueVariable

IsVisible

Gets or sets a value indicating whether object is visible.

bool IsVisible { get; set; }

Property Value

bool

Layer

Gets or sets the layer.

Layer Layer { get; set; }

Property Value

Layer

MaxPenetration

Gets a maximum penetration.

public virtual ExpressionValueVariable MaxPenetration { get; }

Property Value

ExpressionValueVariable

ReferenceType

Gets the type of the array for argument.

public virtual string ReferenceType { get; }

Property Value

string

SurfaceSmoothingType

Gets a surface smoothing.

public virtual SurfaceSmoothing SurfaceSmoothingType { get; set; }

Property Value

SurfaceSmoothing

this[uint]

public Node this[uint A_0] { get; }

Property Value

Node

Methods

AddPatches(Patch[])

Add patches.

public void AddPatches(Patch[] patches)

Parameters

patches Patch[]

The patch array.

AddPatches(ICollection<Patch>)

public virtual void AddPatches(ICollection<Patch> patches)

Parameters

patches ICollection<Patch>

GetAllNodeIndexes()

Gets all node.

public uint[] GetAllNodeIndexes()

Returns

uint[]

GetCenterPositionDirectionImpl(uint, ref VectorBase, ref VectorBase, IReferencable)

protected virtual void GetCenterPositionDirectionImpl(uint index, ref VectorBase center, ref VectorBase direction, IReferencable reference)

Parameters

index uint

center VectorBase

direction VectorBase

reference IReferencable

GetDefaultMaxPenetrationImpl(ref double, IReferencable)

protected virtual bool GetDefaultMaxPenetrationImpl(ref double dMaxPenetration, IReferencable reference)

Parameters

dMaxPenetration double

reference IReferencable

Returns

bool

GetPointDirectionImpl(ref VectorBase, ref VectorBase, IReferencable)

protected virtual bool GetPointDirectionImpl(ref VectorBase point, ref VectorBase direction, IReferencable reference)

Parameters

point VectorBase

direction VectorBase

reference IReferencable

Returns

bool

GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return nullNothingnullptra null reference (Nothing in Visual Basic) (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.

public virtual XmlSchema GetSchema()

Returns

XmlSchema

An that describes the XML representation of the object that is produced by the method and consumed by the method.

InstantiateImpl(Reference, Canvas)

protected virtual void InstantiateImpl(Reference reference, Canvas canvas)

Parameters

reference Reference

canvas Canvas

MakeReferenceImpl(LinkedList<Reference>)

protected virtual void MakeReferenceImpl(LinkedList<Reference> lstRef)

Parameters

lstRef LinkedList<Reference>

ReadXml(XmlReader)

Generates an object from its XML representation.

public virtual void ReadXml(XmlReader reader)

Parameters

reader XmlReader

The XmlReader stream from which the object is deserialized.

ReadXmlCore(XmlReader, ref bool)

protected virtual void ReadXmlCore(XmlReader reader, ref bool bNeedUpdate)

Parameters

reader XmlReader

bNeedUpdate bool

RemovePatches(Patch[])

Remove patches.

public void RemovePatches(Patch[] patches)

Parameters

patches Patch[]

The patch array.

RemovePatches(ICollection<Patch>)

public void RemovePatches(ICollection<Patch> patches)

Parameters

patches ICollection<Patch>

SetGap(string)

Sets the gap

public virtual void SetGap(string strValue)

Parameters

strValue string

The value

SetLayer(Layer)

protected virtual void SetLayer(Layer value)

Parameters

value Layer

WriteXml(XmlWriter)

Converts an object into its XML representation.

public virtual void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter

The XmlWriter stream to which the object is serialized.

Connect with Ansys