Table of Contents

Class DriveList

Namespace
CADability
Assembly
CADability.dll

The list of the IDrives of a Model (see AllDrives), which move objects in the AnimatedView. Drives are added with Add(IDrive) and removed with Remove(IDrive); the list is serialized together with the model.

public class DriveList : IEnumerable<IDrive>, IEnumerable, ISerializable, IDeserializationCallback, IJsonSerialize
Inheritance
DriveList
Implements
Inherited Members
Extension Methods

Constructors

DriveList()

public DriveList()

DriveList(SerializationInfo, StreamingContext)

protected DriveList(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo
context StreamingContext

Methods

Add(IDrive)

public void Add(IDrive toAdd)

Parameters

toAdd IDrive

Find(string)

public IDrive Find(string name)

Parameters

name string

Returns

IDrive

GetObjectData(IJsonWriteData)

public void GetObjectData(IJsonWriteData data)

Parameters

data IJsonWriteData

Remove(IDrive)

public void Remove(IDrive drive)

Parameters

drive IDrive

SetObjectData(IJsonReadData)

public void SetObjectData(IJsonReadData data)

Parameters

data IJsonReadData