Skip to main content

Motion Standalone Preprocessor C# library 2025 R1

Class SymmetricManager

Last update: 16.07.2025

Namespace: VM.Managed
Assembly: VMObjBase.dll

This class is to represent the symmetric manager.

public sealed class SymmetricManager : SubEntity, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, ISymmetricManager, ITransformable, ISetLinkForSymmetricManager

Inheritance

object ← ObservableObject ← LinkableBase ← ObjectBase ← ObjectSubEntitySymmetricManager

Implements

IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, ISymmetricManager, ITransformable, ISetLinkForSymmetricManager

Inherited Members

SubEntity.Initialize(Unit.ConvertFactor), SubEntity.FixUp(ObjectBase), SubEntity.Name, SubEntity.FullName, SubEntity.NonSymmetricName, SubEntity.DisplayName, SubEntity.IsEnabled, SubEntity.Comment, Object.GetKey(), Object.Initialize(Unit.ConvertFactor), Object.SetIconColor(Canvas), Object.OnDeserializedCore(object), Object.Key, Object.UntypedEventCore, Object.EventCore, Object.Attributes, ObjectBase.SetModified(ModifiedResult.ModifiedType, IDocument), ObjectBase.DestroyObject(object, LinkEventArgs), ObjectBase.DestroyObject(DestroyEventArgs), ObjectBase.DestroyObject(), ObjectBase.Initialize(Unit.ConvertFactor), ObjectBase.FixUp(ObjectBase), ObjectBase.DoWorkAfterUpdateContents(), ObjectBase.SetOldNameWithNewEntity(ObjectBase, ObjectBase), ObjectBase.SetIconColor(Canvas), ObjectBase.RemoveFromCreatedList(), ObjectBase.PostAddToDocument(), ObjectBase.PostRemoveFromDocument(Document), ObjectBase.GetArgumentList(LinkedList), ObjectBase.ResetInvalidEntity(), ObjectBase.GetObjectByKey(UIntPtr), ObjectBase.FindObjectOnXmlDeserialize(string), ObjectBase.UpdateContents(XmlReader, ObjectBase, string), ObjectBase.UpdateContents(XmlReader, ObjectBase), ObjectBase.UpdateContents(string, string), ObjectBase.UpdateContents(string), ObjectBase.SetFlagWhenXMLFile(string, bool), ObjectBase.IsEqualArray(T[], T[]), ObjectBase.IsEqualList(List, List), ObjectBase.SetContainer(IOwned, bool), ObjectBase.GetTargetListForUpdate(), ObjectBase.SkipUpdateObjectImpl(), ObjectBase.raise_OnUpdating(object, LinkEventArgs), ObjectBase.raise_OnUpdate(object, LinkEventArgs), ObjectBase.raise_OnDestroying(object, LinkEventArgs), ObjectBase.raise_OnDestroy(object, LinkEventArgs), ObjectBase.raise_Destroying(object, Identifier), ObjectBase.raise_OnAdded(object, AddToDocEventArgs), ObjectBase.raise_OnRemoved(object, RemoveFromDocEventArgs), ObjectBase.KeyImpl, ObjectBase.ID, ObjectBase.TopologyEntityTypeName, ObjectBase.ObjectStateForCircularError, ObjectBase.ObjectState, ObjectBase.IsChildExternable, ObjectBase.IsExternable, ObjectBase.Container, ObjectBase.Owner, ObjectBase.Document, ObjectBase.UntypedEventCore, ObjectBase.KernelKey, ObjectBase.Key, ObjectBase.OnContentsUpdated, ObjectBase.OnRemoved, ObjectBase.OnAdded, ObjectBase.Destroying, ObjectBase.OnDestroy, ObjectBase.OnDestroying, ObjectBase.OnUpdate, ObjectBase.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), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects(object, LinkPropertyType)

Constructors

SymmetricManager(ObjectBase, Document3D)

Initializes a new instance of the class.

public SymmetricManager(ObjectBase Obj, Document3D docOwner)

Parameters

Obj ObjectBase

The object.

docOwner Document3D

The document.

Fields

dgOnlyUpdateName

delegate for update name

public SymmetricManager.OnlyUpdateName dgOnlyUpdateName

Field Value

SymmetricManager.OnlyUpdateName

Properties

Left

Gets or sets the left object.

public ObjectBase Left { get; }

Property Value

ObjectBase

NonSymmetric

Gets or sets a value indicating whether [non symmetric].

public bool NonSymmetric { get; set; }

Property Value

bool

Original

Gets the original object.

public ObjectBase Original { get; }

Property Value

ObjectBase

Gets or sets the right object.

public ObjectBase Right { get; }

Property Value

ObjectBase

SymType

Gets or sets the type of the symmetric.

public SymmetricType SymType { get; set; }

Property Value

SymmetricType

SymmetricBuilder

Gets the symmetric builder.

public static SymmetricManager.SymmetricFactory<isymmetricbuilder> SymmetricBuilder { get; }

Property Value

SymmetricManager.SymmetricFactory

SymmetricUpdater

Gets the symmetric updater.

public static SymmetricManager.SymmetricFactory<isymmetricupdater> SymmetricUpdater { get; }

Property Value

SymmetricManager.SymmetricFactory

Methods

FixUp(ObjectBase)

Before destroy the old object, perform a work.

public override bool FixUp(ObjectBase ob)

Parameters

ob ObjectBase

The old object.

Returns

bool

true if success; otherwise, false.

GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool)

Gets the object information for model navigator [implementation].

protected override bool GetModelNavigatorInformationImpl(XmlDocument xmlDom, XmlElement xmlEle, bool bHasChild)

Parameters

xmlDom XmlDocument

The XmlDocument for object.

xmlEle XmlElement

The XmlElement for object.

bHasChild bool

if set to true [b has child].

Returns

bool

true if success; otherwise, false.

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.

public XmlSchema GetSchema()

Returns

XmlSchema

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

LinkRequestDestroy(object, LinkEventArgs)

Request for destroy the linked object.

protected override void LinkRequestDestroy(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

LinkRequestUpdate(object, LinkEventArgs)

Request for update the linked object.

protected override void LinkRequestUpdate(object objNotifier, LinkEventArgs arg)

Parameters

objNotifier object

The linked object.

arg LinkEventArgs

The instance containing the event data.

ReadXml(XmlReader)

Generates an object from its XML representation.

public void ReadXml(XmlReader reader)

Parameters

reader XmlReader

The stream from which the object is deserialized.

SetDataAfterAddManager(Document)

Sets the data after add manager.

public void SetDataAfterAddManager(Document doc)

Parameters

doc Document

SetSymType(SymmetricType)

Set symmetric type.

public void SetSymType(SymmetricType type)

Parameters

type SymmetricType

The symmetric type.

SetSymmetricDictionary(string)

Sets the symmetric dictionary.

public static bool SetSymmetricDictionary(string fileDir)

Parameters

fileDir string

The file directory.

Returns

bool

true if success; otherwise, false.

SkipUpdateObjectImpl()

Skip the object that updated.

public override bool SkipUpdateObjectImpl()

Returns

bool

UpdateAssembly(Document, ObjectBase)

Updates the assembly.

public void UpdateAssembly(Document doc, ObjectBase target)

Parameters

doc Document

The document.

target ObjectBase

The target object.

UpdateSymmetric()

Updates the symmetric objects.

public void UpdateSymmetric()

UpdateSymmetric(ObjectBase)

Updates the symmetric objects.

The target.
public void UpdateSymmetric(ObjectBase objTarget)

Parameters

objTarget ObjectBase

WriteXml(XmlWriter)

Converts an object into its XML representation.

public void WriteXml(XmlWriter writer)

Parameters

writer XmlWriter

The stream to which the object is serialized.

Connect with Ansys