Class Magnetic
Last update: 16.07.2025Namespace: VM.Models.Pre.Force
Assembly: VM.Models.Pre.Force.dll
Magnetic force
public class Magnetic : SubEntity, IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IReportable, IMultiChangable, ILinkOwner, ILinkUpdateOwner
Inheritance
object ←
ObservableObject ←
LinkableBase ←
ObjectBase ←
Object
Implements
IObservableObject, IDisposableObject, ILinkable, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializable, IAttributeContainer, ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment, INamed, INavigatorItem, IReportable, IMultiChangable, ILinkOwner, ILinkUpdateOwner
Inherited Members
SubEntity.Initialize(Unit.ConvertFactor),
SubEntity.GetModelNavigatorInformationImpl(XmlDocument, XmlElement, bool),
SubEntity.FixUp(ObjectBase),
SubEntity.WriteTemplateImpl(XmlWriter),
SubEntity.ReadTemplateImpl(XmlReader),
SubEntity.Name,
SubEntity.FullName,
SubEntity.NonSymmetricName,
SubEntity.DisplayName,
SubEntity.IsEnabled,
SubEntity.Comment,
Object
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType),
LinkPropertyItemCache.GetLinkedObjects
Constructors
Magnetic()
Initializes a new instance of the
public Magnetic()
Magnetic(string)
Initializes a new instance of the
public Magnetic(string strName)
Parameters
strName string
Name of the string.
Fields
__a$_a_VM.Models.Pre.LinkAttribute
protected LinkAttribute __a$_a_VM.Models.Pre.LinkAttribute
Field Value
LinkAttribute
__a$_a_VM.Models.Pre.LinkUpdateAttribute
protected LinkUpdateAttribute __a$_a_VM.Models.Pre.LinkUpdateAttribute
Field Value
LinkUpdateAttribute
Properties
Criterion
Gets or sets the criterion.
public ExpressionValueVariable Criterion { get; set; }
Property Value
ExpressionValueVariable
DesignName
Gets or sets the design name.
public string DesignName { get; set; }
Property Value
GroupInformations
Gets or sets the path data.
public Magnetic.GroupInformation[] GroupInformations { get; set; }
Property Value
InterfaceStepFactor
Gets or sets the interface step factor.
public CompositeFieldUsable InterfaceStepFactor { get; set; }
Property Value
CompositeFieldUsable
MeasurementType
Gets or sets the measurement type.
public MeasurementType MeasurementType { get; set; }
Property Value
ProjectRelativeFilePath
Gets or sets the project relative file path.
public string ProjectRelativeFilePath { get; set; }
Property Value
StopAutomatically
Gets or sets the stop automatically flag.
public bool StopAutomatically { get; set; }
Property Value
Methods
AddGroupInformation(Group)
Add group information.
public void AddGroupInformation(Group group)
Parameters
group Group
The group
AddGroupInformation(Group, IMarker)
Add group information.
public void AddGroupInformation(Group group, IMarker marker)
Parameters
group Group
The group
marker IMarker
The marker
FixUp(ObjectBase)
Before destroy the old object, perform a work.
public override bool FixUp(ObjectBase objectBase)
Parameters
objectBase ObjectBase
The old object.
Returns
true if success; otherwise, false.
GetDefaultMarkerInGroup(Group)
Gets default marker in group
public static IMarker GetDefaultMarkerInGroup(Group group)
Parameters
group Group
The group
Returns
IMarker
The marker
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 [has child].
Returns
true if success; otherwise, false.
GetTransformInGroup(IMarker, Group)
Getst transform in group.
public static TMatrix GetTransformInGroup(IMarker marker, Group group)
Parameters
marker IMarker
The marker
group Group
The group
Returns
TMatrix
The marker transform
Initialize(ConvertFactor)
Initializes member through unit convert factor.
public override void Initialize(Unit.ConvertFactor factor)
Parameters
factor Unit.ConvertFactor
The unit convert factor.
OnLinkReserved(ILink, object, EventArgs)
protected override void OnLinkReserved(ILink reserved, object objNotifier, EventArgs args)
Parameters
reserved ILink
objNotifier object
args EventArgs