> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class SetPatchBase

Namespace: [VM.Managed.DAFUL.FE](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE)\
Assembly: VMFE.dll

This class is to represent the set for patch.

```csharp theme={null}
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](https://learn.microsoft.com/dotnet/api/system.object) ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object\<ObjectEventCore> ←
SubEntity ←
[FESubEntity](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.FESubEntity.md) ←
[SetBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetBase.md) ←
[SetPatchBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetPatchBase.md)

#### Derived

[SetEdge](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetEdge.md),
[SetPatch](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetPatch.md)

#### Implements

IObservableObject,
IDisposableObject,
ILinkable,
ILinkContainerEvent,
IVerifiable,
IHistoryObjectSerializable,
IAttributeContainer,
ISubEntity,
IEntityBase,
IObjectBase,
IObject,
ILinkContainer,
IOwned,
IHasID,
IEventProvider,
IHasKeyObject,
IHasName,
IEnabled,
IHasComment,
INamed,
INavigatorItem,
[IFEObject](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.IFEObject.md),
[IFEMeshChildItem](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.IFEMeshChildItem.md),
IChildItem,
IMultiChangable,
IPostDeserialized,
IContactableFlex3D,
ITieContactable,
IContactable3D,
INTSFContactable,
IContactable,
IEntityRelation,
IBodyAnalysisType,
IHasBody,
IPLoadComponent,
IGeometricalComponent,
IReferencable,
IVisible,
IArgument,
IFaceSetComponent,
ITopologyset,
IGapTarget

#### Inherited Members

[SetBase.FixUp(ObjectBase)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetBase.md#VM_Managed_DAFUL_FE_SetBase_FixUp_VM_Managed_ObjectBase_),
[SetBase.LinkAddedToDocumentCore(IOwned, bool)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetBase.md#VM_Managed_DAFUL_FE_SetBase_LinkAddedToDocumentCore_VM_Models_Pre_IOwned_System_Boolean_),
[SetBase.PostOpenDocument()](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetBase.md#VM_Managed_DAFUL_FE_SetBase_PostOpenDocument),
[SetBase.Color](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetBase.md#VM_Managed_DAFUL_FE_SetBase_Color),
[FESubEntity.GetNodalBodyForReference(Reference, Mesh)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.FESubEntity.md#VM_Managed_DAFUL_FE_FESubEntity_GetNodalBodyForReference_VM_Managed_Reference_VM_Managed_DAFUL_FE_Mesh_),
[FESubEntity.GetNodalBodyForSubsystem(SubSystem, Mesh)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.FESubEntity.md#VM_Managed_DAFUL_FE_FESubEntity_GetNodalBodyForSubsystem_VM_Managed_DAFUL_SubSystem_VM_Managed_DAFUL_FE_Mesh_),
[FESubEntity.FEID](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.FESubEntity.md#VM_Managed_DAFUL_FE_FESubEntity_FEID),
[FESubEntity.OwnerMesh](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.FESubEntity.md#VM_Managed_DAFUL_FE_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)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### SetPatchBase(string, string)

Initializes a new instance of the [SetPatchBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetPatchBase.md) class.

```csharp theme={null}
public SetPatchBase(string strProxyName, string strBuildInfo)
```

#### Parameters

`strProxyName` [string](https://learn.microsoft.com/dotnet/api/system.string)

Name of the proxy.

`strBuildInfo` [string](https://learn.microsoft.com/dotnet/api/system.string)

The build information.

### SetPatchBase()

Initializes a new instance of the [SetPatchBase](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.SetPatchBase.md) class.

```csharp theme={null}
public SetPatchBase()
```

## Fields

### m\_bActionGeometry

```csharp theme={null}
protected bool m_bActionGeometry
```

#### Field Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### m\_bBaseGeometry

```csharp theme={null}
protected bool m_bBaseGeometry
```

#### Field Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### m\_bFailedConnectProxy

```csharp theme={null}
protected bool m_bFailedConnectProxy
```

#### Field Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### m\_lstPatch

```csharp theme={null}
protected List<Patch> m_lstPatch
```

#### Field Value

[List](https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)\<[Patch](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.Patch.md)>

## Properties

### ArgumentType

Gets the type of the argument

```csharp theme={null}
public virtual ArgumentTypes ArgumentType { get; }
```

#### Property Value

ArgumentTypes

### Count

Gets the patch count of this instance.

```csharp theme={null}
public virtual uint Count { get; }
```

#### Property Value

[uint](https://learn.microsoft.com/dotnet/api/system.uint32)

### Gap

The gap

```csharp theme={null}
public virtual Variable Gap { get; }
```

#### Property Value

Variable

### GeometryFullName

Gets the geometry full name

```csharp theme={null}
public string GeometryFullName { get; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### GeometryNameForMultiContact

Gets the name for multiple contact

```csharp theme={null}
public string GeometryNameForMultiContact { get; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### HalfThickness

Gets a half thickness.

```csharp theme={null}
public virtual Variable HalfThickness { get; set; }
```

#### Property Value

Variable

### IsVisible

Gets or sets a value indicating whether object is visible.

```csharp theme={null}
bool IsVisible { get; set; }
```

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### Layer

Gets or sets the layer.

```csharp theme={null}
Layer Layer { get; set; }
```

#### Property Value

Layer

### MaxPenetration

Gets a maximum penetration.

```csharp theme={null}
public virtual Variable MaxPenetration { get; }
```

#### Property Value

Variable

### ReferenceType

Gets the type of the array for argument.

```csharp theme={null}
public virtual string ReferenceType { get; }
```

#### Property Value

[string](https://learn.microsoft.com/dotnet/api/system.string)

### SurfaceSmoothingType

Gets a surface smoothing.

```csharp theme={null}
public virtual SurfaceSmoothing SurfaceSmoothingType { get; set; }
```

#### Property Value

SurfaceSmoothing

### this\[uint]

```csharp theme={null}
public Node this[uint A_0] { get; }
```

#### Property Value

[Node](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.Node.md)

## Methods

### AddPatches(Patch\[])

Add patches.

```csharp theme={null}
public void AddPatches(Patch[] patches)
```

#### Parameters

`patches` [Patch](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.Patch.md)\[]

The patch array.

### AddPatches(ICollection\<Patch>)

```csharp theme={null}
public virtual void AddPatches(ICollection<Patch> patches)
```

#### Parameters

`patches` [ICollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1)\<[Patch](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.Patch.md)>

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

```csharp theme={null}
protected virtual void GetCenterPositionDirectionImpl(uint index, ref VectorBase center, ref VectorBase direction, IReferencable reference)
```

#### Parameters

`index` [uint](https://learn.microsoft.com/dotnet/api/system.uint32)

`center` VectorBase

`direction` VectorBase

`reference` IReferencable

### GetDefaultMaxPenetrationImpl(ref double, IReferencable)

```csharp theme={null}
protected virtual bool GetDefaultMaxPenetrationImpl(ref double dMaxPenetration, IReferencable reference)
```

#### Parameters

`dMaxPenetration` [double](https://learn.microsoft.com/dotnet/api/system.double)

`reference` IReferencable

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### GetPointDirectionImpl(ref VectorBase, ref VectorBase, IReferencable)

```csharp theme={null}
protected virtual bool GetPointDirectionImpl(ref VectorBase point, ref VectorBase direction, IReferencable reference)
```

#### Parameters

`point` VectorBase

`direction` VectorBase

`reference` IReferencable

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### 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.

```csharp theme={null}
public virtual XmlSchema GetSchema()
```

#### Returns

[XmlSchema](https://learn.microsoft.com/dotnet/api/system.xml.schema.xmlschema)

An XmlSchema that describes the XML representation of the object that is produced by the WriteXml() method and consumed by the ReadXml() method.

### InstantiateImpl(Reference, Canvas)

```csharp theme={null}
protected virtual void InstantiateImpl(Reference reference, Canvas canvas)
```

#### Parameters

`reference` Reference

`canvas` Canvas

### MakeReferenceImpl(LinkedList\<Reference>)

```csharp theme={null}
protected virtual void MakeReferenceImpl(LinkedList<Reference> lstRef)
```

#### Parameters

`lstRef` [LinkedList](https://learn.microsoft.com/dotnet/api/system.collections.generic.linkedlist-1)\<Reference>

### ReadXml(XmlReader)

Generates an object from its XML representation.

```csharp theme={null}
public virtual void ReadXml(XmlReader reader)
```

#### Parameters

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

The XmlReader stream from which the object is deserialized.

### ReadXmlCore(XmlReader, ref bool)

```csharp theme={null}
protected virtual void ReadXmlCore(XmlReader reader, ref bool bNeedUpdate)
```

#### Parameters

`reader` [XmlReader](https://learn.microsoft.com/dotnet/api/system.xml.xmlreader)

`bNeedUpdate` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### RemovePatches(Patch\[])

Remove patches.

```csharp theme={null}
public void RemovePatches(Patch[] patches)
```

#### Parameters

`patches` [Patch](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.Patch.md)\[]

The patch array.

### RemovePatches(ICollection\<Patch>)

```csharp theme={null}
public void RemovePatches(ICollection<Patch> patches)
```

#### Parameters

`patches` [ICollection](https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1)\<[Patch](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Managed.DAFUL.FE.Patch.md)>

### SetGap(string)

Sets the gap

```csharp theme={null}
public virtual void SetGap(string strValue)
```

#### Parameters

`strValue` [string](https://learn.microsoft.com/dotnet/api/system.string)

The value

### SetLayer(Layer)

```csharp theme={null}
protected virtual void SetLayer(Layer value)
```

#### Parameters

`value` Layer

### WriteXml(XmlWriter)

Converts an object into its XML representation.

```csharp theme={null}
public virtual void WriteXml(XmlWriter writer)
```

#### Parameters

`writer` [XmlWriter](https://learn.microsoft.com/dotnet/api/system.xml.xmlwriter)

The XmlWriter stream to which the object is serialized.
