    

 ## On this page

  

 

 # Class SplineFile

 Last update: 09.03.2026 

<a id="VM_Managed_DAFUL_SplineFile"></a>

Namespace: [VM.Managed.DAFUL](VM.Managed.DAFUL.md)  
Assembly: VMDSB.dll

This base class is to represent the spline file.

```csharp
public sealed class SplineFile : SplineData, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

```

#### Inheritance

object ← ObservableObject ← [LinkableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Pre/Data/VM.Models.Pre/Models/LinkableBase.cs) ← LinkContainer ← [SplineData](VM.Managed.DAFUL.SplineData.md) ← [SplineFile](VM.Managed.DAFUL.SplineFile.md)

#### Implements

IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable

#### Inherited Members

[SplineData.GetPoints()](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints), [SplineData.GetPoints(string)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints_System_String_), [SplineData.GetPoints(List&lt;double&gt;, List&lt;double&gt;)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints_System_Collections_Generic_List_System_Double__System_Collections_Generic_List_System_Double__), [SplineData.GetPoints(List&lt;double&gt;, List&lt;double&gt;, string)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetPoints_System_Collections_Generic_List_System_Double__System_Collections_Generic_List_System_Double__System_String_), [SplineData.GetSchema()](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_GetSchema), [SplineData.ReadXml(XmlReader)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_ReadXml_System_Xml_XmlReader_), [SplineData.WriteXml(XmlWriter)](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_WriteXml_System_Xml_XmlWriter_), [SplineData.Type](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_Type), [SplineData.ContainsNegativeNumber](VM.Managed.DAFUL.SplineData.md#VM_Managed_DAFUL_SplineData_ContainsNegativeNumber), LinkContainer.SetModified(), LinkContainer.raise\_OnUpdating(object, LinkEventArgs), LinkContainer.raise\_OnUpdate(object, LinkEventArgs), LinkContainer.raise\_OnDestroying(object, LinkEventArgs), LinkContainer.raise\_OnDestroy(object, LinkEventArgs), LinkContainer.raise\_OnAdded(object, AddToDocEventArgs), LinkContainer.raise\_OnRemoved(object, RemoveFromDocEventArgs), LinkContainer.GetTargetListForUpdate(), LinkContainer.SkipUpdateObjectImpl(), LinkContainer.Initialize(Unit.ConvertFactor), LinkContainer.SetFlagWhenXMLFile(string, bool), LinkContainer.SetContainer(IOwned, bool), LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.OnUpdating, ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChanged

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### <a id="VM_Managed_DAFUL_SplineFile__ctor"></a> SplineFile()

Initializes a new instance of the  class.

```csharp
public SplineFile()

```

## Properties

### <a id="VM_Managed_DAFUL_SplineFile_ContainsNegativeNumber"></a> ContainsNegativeNumber

Gets the flag whether number is negative or not.

```csharp
public override bool ContainsNegativeNumber { get; }

```

#### Property Value

bool

### <a id="VM_Managed_DAFUL_SplineFile_FilePath"></a> FilePath

Gets or sets the file path.

```csharp
public string FilePath { get; set; }

```

#### Property Value

string

### <a id="VM_Managed_DAFUL_SplineFile_SelectedSplineName"></a> SelectedSplineName

Gets or sets the name of the selected spline.

```csharp
public string SelectedSplineName { get; set; }

```

#### Property Value

string

### <a id="VM_Managed_DAFUL_SplineFile_Type"></a> Type

Gets or sets the type.

```csharp
public override SplineData.DataType Type { get; protected set; }

```

#### Property Value

[SplineData](VM.Managed.DAFUL.SplineData.md).[DataType](VM.Managed.DAFUL.SplineData.DataType.md)

## Methods

### <a id="VM_Managed_DAFUL_SplineFile_GetPoints"></a> GetPoints()

Gets the points.

```csharp
public override IEnumerable<SplineData.Point> GetPoints()

```

#### Returns

IEnumerable&lt;[SplineData](VM.Managed.DAFUL.SplineData.md).[Point](VM.Managed.DAFUL.SplineData.Point.md)&gt;

The point list.

### <a id="VM_Managed_DAFUL_SplineFile_GetPoints_System_String_"></a> GetPoints(string)

Gets the points.

```csharp
public override IEnumerable<SplineData.Point> GetPoints(string documentFilePath)

```

#### Parameters

`documentFilePath` string

The Document file path.

#### Returns

IEnumerable&lt;[SplineData](VM.Managed.DAFUL.SplineData.md).[Point](VM.Managed.DAFUL.SplineData.Point.md)&gt;

The point list.

### <a id="VM_Managed_DAFUL_SplineFile_GetPoints_System_Collections_Generic_List_System_Double__System_Collections_Generic_List_System_Double__"></a> GetPoints(List&lt;double&gt;, List&lt;double&gt;)

Gets the points.

```csharp
public override void GetPoints(List<double> lstX, List<double> lstY)

```

#### Parameters

`lstX` List&lt;double&gt;

The LST X.

`lstY` List&lt;double&gt;

The LST Y.

### <a id="VM_Managed_DAFUL_SplineFile_GetPoints_System_Collections_Generic_List_System_Double__System_Collections_Generic_List_System_Double__System_String_"></a> GetPoints(List&lt;double&gt;, List&lt;double&gt;, string)

Gets the points.

```csharp
public override void GetPoints(List<double> lstX, List<double> lstY, string strDocumentFilePath)

```

#### Parameters

`lstX` List&lt;double&gt;

The LST X.

`lstY` List&lt;double&gt;

The LST Y.

`strDocumentFilePath` string

The Document file path.

### <a id="VM_Managed_DAFUL_SplineFile_GetSchema"></a> GetSchema()

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

```csharp
public override XmlSchema GetSchema()

```

#### Returns

XmlSchema

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

### <a id="VM_Managed_DAFUL_SplineFile_ReadXml_System_Xml_XmlReader_"></a> ReadXml(XmlReader)

Generates an object from its XML representation.

```csharp
public override void ReadXml(XmlReader reader)

```

#### Parameters

`reader` XmlReader

The  stream from which the object is deserialized.

### <a id="VM_Managed_DAFUL_SplineFile_WriteXml_System_Xml_XmlWriter_"></a> WriteXml(XmlWriter)

Converts an object into its XML representation.

```csharp
public override void WriteXml(XmlWriter writer)

```

#### Parameters

`writer` XmlWriter

The  stream to which the object is serialized.