Class Distance
Last update: 16.07.2025Namespace: VM.Managed.Symmetric.Constraints
Assembly: VMSymCP.dll
public class Distance : Constraint<Distance, PropertyDistance>, ISymmetricUpdater
Inheritance
object ← Named<Distance> ← Connector<Distance, PropertyDistance> ← Constraint<Distance, PropertyDistance> ← Distance
Implements
ISymmetricUpdater
Inherited Members
Constraint<Distance, PropertyDistance>.Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document), Connector<Distance, PropertyDistance>.Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document), Named<Distance>.Update(ObjectBase, ObjectBase, SymmetricType, Plane, Document), Named<Distance>.Initialize(ISymmetricManager), Named<Distance>.FindObject(string, SymmetricType, Plane, Document), Named<Distance>.SymmetricManager
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Constructors
Distance()
public Distance()
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
true if success; otherwise, false.
UpdateProperty(PropertyDistance, PropertyDistance, SymmetricType, Plane, Document)
public static bool UpdateProperty(PropertyDistance toolProperty, PropertyDistance targetProperty, SymmetricType sym_type, Plane sym_plane, Document doc)
Parameters
toolProperty PropertyDistance
targetProperty PropertyDistance
sym_type SymmetricType
sym_plane Plane
doc Document