Skip to main content

Motion Standalone Preprocessor C# library 2024 R2

Class Constraint<T, TProp\>

Last update: 16.07.2025

Namespace: VM.Managed.Symmetric.Constraints
Assembly: VMSymCB.dll

public class Constraint<T, TProp> : Connector<T, TProp>, ISymmetricUpdater where T : Connector<TProp>, new() where TProp : PropertyConstraint, new()

Type Parameters

T

TProp

Inheritance

object ← Named<T> ← Connector<T, TProp> ← Constraint<T, TProp>

Implements

ISymmetricUpdater

Inherited Members

Connector<T, TProp>.Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document), Named<T>.Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document), Named<T>.Initialize(ISymmetricManager), Named<T>.FindObject(string, SymmetricType, Plane, Document), Named<T>.SymmetricManager

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

Constraint()

public Constraint()

Methods

Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document)

Updates the symmetric objects.

public override bool Update(ObjectBase tool, ObjectBase target, SymmetricType sym_type, Plane sym_plane, Document doc)

Parameters

tool ObjectBase

The reference object.

target ObjectBase

The target object.

sym_type SymmetricType

Specifies type of symmetric.

sym_plane Plane

Plane of symmetric.

doc Document

Returns

bool

true if success; otherwise, false.

Connect with Ansys