Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class DirectionLink

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMAppCore.dll

This class is to represent information of direction through Design Frame.

public class DirectionLink : DirectionBase, IObservableObject, IDisposableObject, ILinkable, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, ILinkContainerEvent, IVerifiable, IReservable

Inheritance

object ← ObservableObject ← LinkableBase ← LinkContainerDirectionBaseDirectionLink

Implements

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

Inherited Members

DirectionBase.m_bReverse, DirectionBase.IsParametric(Primitive.enRefType), DirectionBase.IsParametric(string), DirectionBase.ReadXml(XmlReader), DirectionBase.WriteXml(XmlWriter), DirectionBase.GetSchema(), DirectionBase.Reverse, DirectionBase.IsParameterized, DirectionBase.Value, 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.IsSerializableEvent(Delegate), LinkContainer.CustomGetObjectData(SerializationInfo, StreamingContext), LinkContainer.GetSerializedData(SerializationInfo, StreamingContext), LinkContainer.LinkRequestUpdating(object, LinkEventArgs), LinkContainer.LinkRequestUpdate(object, LinkEventArgs), LinkContainer.LinkRequestDestroying(object, LinkEventArgs), LinkContainer.LinkRequestDestroy(object, LinkEventArgs), LinkContainer.LinkAddedToDocument(object, AddToDocEventArgs), LinkContainer.LinkRemovedFromDocument(object, RemoveFromDocEventArgs), LinkContainer.OnLinkReserved(ILink, object, EventArgs), LinkContainer.CanBeDestroy(object), LinkContainer.DisposeManagedResources(), LinkContainer.SetContainer(IOwned, bool), LinkContainer.OnChildUpdated(object, LinkEventArgs), LinkContainer.OnContainerDestroy(object, LinkEventArgs), LinkContainer.OnDeserialization(object), LinkContainer.Verify(VerifiedResult), LinkContainer.GetCopy(object), LinkContainer.Dispose(bool), LinkContainer.ClearChildInfoBeforeDeserialize, LinkContainer.Container, LinkContainer.Owner, LinkContainer.Document, LinkContainer.ID, LinkContainer.IsChildExternable, LinkContainer.IsExternable, LinkContainer.OnRemoved, LinkContainer.OnAdded, LinkContainer.OnDestroy, LinkContainer.OnDestroying, LinkContainer.OnUpdate, LinkContainer.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

DirectionLink(IDirectionContainer, string)

Initializes a new instance of the class.

public DirectionLink(IDirectionContainer pDirectionContainer, string strDirectionType)

Parameters

pDirectionContainer IDirectionContainer

The data of direction of Design Frame.

strDirectionType string

Direction type(x,y,z).

Initializes a new instance of the class.

public DirectionLink()

Fields

m_linkDirectionContainer

protected Link<idirectioncontainer linkcontainer.none> m_linkDirectionContainer

Field Value

LinkIDirectionContainer, LinkContainer.Update, LinkContainer.Destroy, LinkContainer.None&gt;

m_strDirectionType

protected string m_strDirectionType

Field Value

string

Properties

DirectionContainer

Gets or sets the object of design frame.

public IDirectionContainer DirectionContainer { get; set; }

Property Value

IDirectionContainer

DirectionType

Gets the direction type of design frame.

public string DirectionType { get; }

Property Value

string

IsParameterized

Gets the parametric.

public override bool IsParameterized { get; }

Property Value

bool

Position

Gets the position of design frame.

public VectorBase Position { get; }

Property Value

VectorBase

Value

Gets the VectorBase(x, y, z).

public override VectorBase Value { get; }

Property Value

VectorBase

_DirectionContainer

Gets or sets the object of design frame.

public Linker<idirectioncontainer> _DirectionContainer { get; set; }

Property Value

LinkerIDirectionContainer&gt;

Methods

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

ReadXml(XmlReader)

Generates an object from its XML representation.

public override void ReadXml(XmlReader reader)

Parameters

reader XmlReader

The XmlReader stream from which the object is deserialized.

WriteXml(XmlWriter)

Converts an object into its XML representation.

public override void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter

The XmlWriter stream to which the object is serialized.

Connect with Ansys