Show / Hide Table of Contents

Class Assembly

Inheritance
System.Object
Assembly
Intersectable
Tool
Implements
IAssembly
IEntity
System.IDisposable
ILabel
ISelectedObject
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Assemblies
Assembly: Experior.Core.dll
Syntax
[TypeConverter(typeof(ObjectConverter))]
public abstract class Assembly : IAssembly, IEntity, IDisposable, ILabel, ISelectedObject

Constructors

Assembly(AssemblyInfo)

Declaration
protected Assembly(AssemblyInfo info)
Parameters
Type Name Description
AssemblyInfo info

Fields

Pivot

Declaration
[Obsolete("Use the info.heigt or override the Inserted method to define the position when inserted the first time", true)]
public Vector3 Pivot
Field Value
Type Description
System.Numerics.Vector3

solutionExplorerName

Declaration
protected string solutionExplorerName
Field Value
Type Description
System.String

Properties

Active

Declaration
[Browsable(false)]
public virtual bool Active { get; }
Property Value
Type Description
System.Boolean

Assemblies

Declaration
[Browsable(false)]
public IReadOnlyCollection<Assembly> Assemblies { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyCollection<Assembly>

AssociatedControlPanelName

Declaration
[PropertyOrder(1)]
[TypeConverter(typeof(Assembly.ControlPanelConverter))]
[Display(Order = 1, GroupName = "Association")]
[PropertyAttributesProvider("DynamicPropertyAssociatedControlPanel")]
public virtual string AssociatedControlPanelName { get; set; }
Property Value
Type Description
System.String

Attachments

Declaration
[Browsable(false)]
public IReadOnlyDictionary<string, Assembly> Attachments { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyDictionary<System.String, Assembly>

CanMove

Declaration
[Browsable(false)]
public bool CanMove { get; }
Property Value
Type Description
System.Boolean

Category

Declaration
[Browsable(false)]
public abstract string Category { get; }
Property Value
Type Description
System.String

CategoryType

Declaration
[PropertyAttributesProvider("DynamicPropertyMultiselection")]
[PropertyOrder(1)]
[Display(Order = 0, GroupName = "Identification")]
public string CategoryType { get; }
Property Value
Type Description
System.String

Collector

Declaration
[PropertyAttributesProvider("DynamicPropertyCollector")]
[TypeConverter(typeof(ObjectConverter))]
[Display(Order = 1, GroupName = "Association")]
[PropertyOrder(1)]
public Collector Collector { get; }
Property Value
Type Description
Collector

Color

Declaration
[Browsable(false)]
public virtual Color Color { get; set; }
Property Value
Type Description
System.Windows.Media.Color

ConfiguratorEditor

Declaration
[Browsable(false)]
public bool ConfiguratorEditor { get; set; }
Property Value
Type Description
System.Boolean

ConfiguratorEditorProperties

Declaration
[Browsable(false)]
public static AssemblyConfigurationProperties ConfiguratorEditorProperties { get; }
Property Value
Type Description
Experior.Core.Assemblies.AssemblyConfigurationProperties

Configured

Declaration
[Browsable(false)]
public bool Configured { get; }
Property Value
Type Description
System.Boolean

Context

Declaration
[Browsable(false)]
public Assembly.ContextMenu Context { get; }
Property Value
Type Description
Assembly.ContextMenu

Disposed

Declaration
[Browsable(false)]
public bool Disposed { get; }
Property Value
Type Description
System.Boolean

Disposing

Declaration
[Browsable(false)]
public bool Disposing { get; protected set; }
Property Value
Type Description
System.Boolean

EditAssembly

Declaration
[Browsable(false)]
public bool EditAssembly { get; set; }
Property Value
Type Description
System.Boolean

Embedded

Declaration
[Browsable(false)]
public virtual bool Embedded { get; set; }
Property Value
Type Description
System.Boolean

Enabled

Declaration
public virtual bool Enabled { get; set; }
Property Value
Type Description
System.Boolean

Entities

Declaration
[Browsable(false)]
public IReadOnlyList<IEntity> Entities { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<IEntity>

EntityId

Declaration
[Browsable(false)]
public virtual ulong EntityId { get; }
Property Value
Type Description
System.UInt64

Error

Declaration
[Browsable(false)]
public virtual bool Error { get; }
Property Value
Type Description
System.Boolean

ErrorIsOverriden

Declaration
[Browsable(false)]
public bool ErrorIsOverriden { get; }
Property Value
Type Description
System.Boolean

EventCommand

Declaration
[Browsable(false)]
public ICommand EventCommand { get; }
Property Value
Type Description
System.Windows.Input.ICommand

Events

Declaration
[TypeConverter(typeof(ExpandableObjectConverter))]
[PropertyOrder(1)]
public virtual EventCollection Events { get; set; }
Property Value
Type Description
EventCollection

FixPoints

Declaration
[Browsable(false)]
public IReadOnlyList<FixPoint> FixPoints { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<FixPoint>

HasAttachments

Declaration
[Browsable(false)]
public bool HasAttachments { get; }
Property Value
Type Description
System.Boolean

Help

Declaration
[Browsable(false)]
public virtual string Help { get; set; }
Property Value
Type Description
System.String

Image

Declaration
[Browsable(false)]
public abstract ImageSource Image { get; }
Property Value
Type Description
System.Windows.Media.ImageSource

Info

Declaration
[Browsable(false)]
public AssemblyInfo Info { get; }
Property Value
Type Description
AssemblyInfo

InitialDragingPart

Declaration
[Browsable(false)]
public virtual IRigidPart InitialDragingPart { get; }
Property Value
Type Description
IRigidPart

InsertActionPointIsOverriden

Declaration
[Browsable(false)]
public bool InsertActionPointIsOverriden { get; }
Property Value
Type Description
System.Boolean

InsertMotorIsOverriden

Declaration
[Browsable(false)]
public bool InsertMotorIsOverriden { get; }
Property Value
Type Description
System.Boolean

InvokeRequired

Declaration
[Browsable(false)]
public bool InvokeRequired { get; }
Property Value
Type Description
System.Boolean

IsAttached

Declaration
[Browsable(false)]
public bool IsAttached { get; }
Property Value
Type Description
System.Boolean

IsCollected

Declaration
[Browsable(false)]
public bool IsCollected { get; }
Property Value
Type Description
System.Boolean

IsConnected

Declaration
[Browsable(false)]
public bool IsConnected { get; }
Property Value
Type Description
System.Boolean

Items

Declaration
public static IAssemblyCollection Items { get; }
Property Value
Type Description
IAssemblyCollection

ListSolutionExplorer

Declaration
[Browsable(false)]
public virtual bool ListSolutionExplorer { get; set; }
Property Value
Type Description
System.Boolean

LocalOrientation

Declaration
[Browsable(false)]
public virtual Matrix4x4 LocalOrientation { get; set; }
Property Value
Type Description
System.Numerics.Matrix4x4

LocalPitch

Declaration
[PropertyOrder(10)]
[PropertyAttributesProvider("DynamicPropertyBrowsableAttachments")]
[TypeConverter(typeof(RadiansToDegreesPI))]
public virtual float LocalPitch { get; set; }
Property Value
Type Description
System.Single

LocalPosition

Declaration
[PropertyOrder(8)]
[PropertyAttributesProvider("DynamicPropertyBrowsableAttachments")]
[TypeConverter(typeof(Vector3MeterToMillimeter))]
public virtual Vector3 LocalPosition { get; set; }
Property Value
Type Description
System.Numerics.Vector3

LocalRoll

Declaration
[PropertyOrder(11)]
[PropertyAttributesProvider("DynamicPropertyBrowsableAttachments")]
[TypeConverter(typeof(RadiansToDegreesPI))]
public virtual float LocalRoll { get; set; }
Property Value
Type Description
System.Single

LocalYaw

Declaration
[PropertyOrder(9)]
[PropertyAttributesProvider("DynamicPropertyBrowsableAttachments")]
[TypeConverter(typeof(RadiansToDegreesPI))]
public virtual float LocalYaw { get; set; }
Property Value
Type Description
System.Single

Locked

Declaration
[PropertyAttributesProvider("DynamicPropertyLocked")]
public virtual bool Locked { get; set; }
Property Value
Type Description
System.Boolean

Menu

Declaration
[Browsable(false)]
[Obsolete("Use Context instead (renaming)")]
public Assembly.ContextMenu Menu { get; }
Property Value
Type Description
Assembly.ContextMenu

Monitorable

Declaration
[Browsable(false)]
public bool Monitorable { get; }
Property Value
Type Description
System.Boolean

Movable

Declaration
[Browsable(false)]
public bool Movable { get; set; }
Property Value
Type Description
System.Boolean

MoveRotateAssembly

Declaration
[Browsable(false)]
public bool MoveRotateAssembly { get; set; }
Property Value
Type Description
System.Boolean

Name

Declaration
[Display(Order = 0, GroupName = "Identification")]
[PropertyAttributesProvider("DynamicPropertyMultiselection")]
[PropertyOrder(2)]
[Required(ErrorMessage = "Name is required")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Notification

Declaration
[Browsable(false)]
public virtual string Notification { get; }
Property Value
Type Description
System.String

ObjectType

Declaration
[Display(Order = 0, GroupName = "Identification", Description = "Type", Name = "Type")]
[PropertyAttributesProvider("DynamicPropertyMultiselection")]
[PropertyOrder(0)]
public string ObjectType { get; }
Property Value
Type Description
System.String

Observable

Declaration
[Browsable(false)]
public virtual bool Observable { get; }
Property Value
Type Description
System.Boolean

Observe

Declaration
[PropertyOrder(0)]
[PropertyAttributesProvider("DynamicPropertyObservable")]
[Assembly.CustomEditor("ButtonEdit")]
public virtual bool Observe { get; set; }
Property Value
Type Description
System.Boolean

OnlySnappedAttachments

Declaration
[Browsable(false)]
public bool OnlySnappedAttachments { get; }
Property Value
Type Description
System.Boolean

Orientation

Declaration
[Browsable(false)]
public virtual Matrix4x4 Orientation { get; set; }
Property Value
Type Description
System.Numerics.Matrix4x4

Parent

Declaration
[Browsable(false)]
public virtual IEntity Parent { get; set; }
Property Value
Type Description
IEntity

Parts

Declaration
[Browsable(false)]
public IReadOnlyList<RigidPart> Parts { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyList<RigidPart>

Pasting

Declaration
[Browsable(false)]
public bool Pasting { get; }
Property Value
Type Description
System.Boolean

Pitch

Declaration
[PropertyOrder(1)]
[Browsable(false)]
[PropertyAttributesProvider("DynamicPropertyPitch")]
[TypeConverter(typeof(RadiansToDegreesPI))]
public virtual float Pitch { get; set; }
Property Value
Type Description
System.Single

Position

Declaration
[TypeConverter(typeof(Vector3MeterToMillimeter))]
[PropertyAttributesProvider("DynamicPropertyPosition")]
public virtual Vector3 Position { get; set; }
Property Value
Type Description
System.Numerics.Vector3

Properties

Declaration
[Browsable(false)]
public List<DynamicProperty> Properties { get; set; }
Property Value
Type Description
System.Collections.Generic.List<DynamicProperty>

Reseting

Declaration
[Browsable(false)]
protected bool Reseting { get; set; }
Property Value
Type Description
System.Boolean

Roll

Declaration
[PropertyOrder(2)]
[Browsable(false)]
[PropertyAttributesProvider("DynamicPropertyRoll")]
[TypeConverter(typeof(RadiansToDegreesPI))]
public virtual float Roll { get; set; }
Property Value
Type Description
System.Single

Section

Declaration
[Browsable(false)]
public Section Section { get; }
Property Value
Type Description
Section

SectionName

Declaration
[PropertyOrder(0)]
[TypeConverter(typeof(Assembly.SectionsConverter))]
[PropertyAttributesProvider("DynamicPropertySection")]
[Display(Order = 1, GroupName = "Association")]
public virtual string SectionName { get; set; }
Property Value
Type Description
System.String

Selectable

Declaration
[Browsable(false)]
public bool Selectable { get; set; }
Property Value
Type Description
System.Boolean

Selected

Declaration
[Browsable(false)]
public virtual bool Selected { get; set; }
Property Value
Type Description
System.Boolean

ShowHelpWhenSelected

Declaration
[Browsable(false)]
public virtual bool ShowHelpWhenSelected { get; set; }
Property Value
Type Description
System.Boolean

Snapped

Declaration
[Browsable(false)]
public bool Snapped { get; }
Property Value
Type Description
System.Boolean

SolutionExplorerName

Declaration
[Browsable(false)]
public virtual string SolutionExplorerName { get; set; }
Property Value
Type Description
System.String

TopParent

Declaration
[Browsable(false)]
public Assembly TopParent { get; }
Property Value
Type Description
Assembly

UniqeImage

Declaration
[Browsable(false)]
public virtual bool UniqeImage { get; }
Property Value
Type Description
System.Boolean

UseLockedColor

Declaration
[Browsable(false)]
public virtual bool UseLockedColor { set; }
Property Value
Type Description
System.Boolean

UserData

Declaration
[Browsable(false)]
public virtual object UserData { get; set; }
Property Value
Type Description
System.Object

Visible

Declaration
[PropertyOrder(15)]
public virtual bool Visible { get; set; }
Property Value
Type Description
System.Boolean

Warning

Declaration
[Browsable(false)]
public virtual bool Warning { get; }
Property Value
Type Description
System.Boolean

WarningIsOverriden

Declaration
[Browsable(false)]
public bool WarningIsOverriden { get; }
Property Value
Type Description
System.Boolean

Yaw

Declaration
[PropertyOrder(0)]
[Browsable(false)]
[PropertyAttributesProvider("DynamicPropertyYaw")]
[TypeConverter(typeof(RadiansToDegreesPI))]
public virtual float Yaw { get; set; }
Property Value
Type Description
System.Single

Methods

Activate()

Declaration
public virtual void Activate()

Activate(String)

Declaration
public static void Activate(string name)
Parameters
Type Name Description
System.String name

Activate(String, UInt64)

Declaration
public static void Activate(string name, ulong delayInMs)
Parameters
Type Name Description
System.String name
System.UInt64 delayInMs

ActivateScriptEvent(String)

Declaration
protected virtual void ActivateScriptEvent(string symbol)
Parameters
Type Name Description
System.String symbol

Add(Assembly)

Declaration
public Assembly Add(Assembly assembly)
Parameters
Type Name Description
Assembly assembly
Returns
Type Description
Assembly

Add(Assembly, Vector3)

Declaration
public Assembly Add(Assembly assembly, Vector3 localPosition)
Parameters
Type Name Description
Assembly assembly
System.Numerics.Vector3 localPosition
Returns
Type Description
Assembly

Add(Assembly, Vector3, Boolean)

Declaration
public Assembly Add(Assembly assembly, Vector3 localPosition, bool visible)
Parameters
Type Name Description
Assembly assembly
System.Numerics.Vector3 localPosition
System.Boolean visible
Returns
Type Description
Assembly

Add(CoordinateSystem)

Declaration
public CoordinateSystem Add(CoordinateSystem c)
Parameters
Type Name Description
CoordinateSystem c
Returns
Type Description
CoordinateSystem

Add(Input)

Declaration
public void Add(Input input)
Parameters
Type Name Description
Input input

Add(Output)

Declaration
public void Add(Output output)
Parameters
Type Name Description
Output output

Add(Register)

Declaration
public void Add(Register register)
Parameters
Type Name Description
Register register

Add(RigidPart)

Declaration
public RigidPart Add(RigidPart part)
Parameters
Type Name Description
RigidPart part
Returns
Type Description
RigidPart

Add(RigidPart, Vector3)

Declaration
public RigidPart Add(RigidPart part, Vector3 localPosition)
Parameters
Type Name Description
RigidPart part
System.Numerics.Vector3 localPosition
Returns
Type Description
RigidPart

Add(ActionPoint)

Declaration
public void Add(ActionPoint ap)
Parameters
Type Name Description
ActionPoint ap

Add(IEntity)

Declaration
public void Add(IEntity entity)
Parameters
Type Name Description
IEntity entity

Add(String, RigidPart)

Declaration
public RigidPart Add(string name, RigidPart part)
Parameters
Type Name Description
System.String name
RigidPart part
Returns
Type Description
RigidPart

Add(String, RigidPart, Vector3)

Declaration
public RigidPart Add(string name, RigidPart part, Vector3 localPosition)
Parameters
Type Name Description
System.String name
RigidPart part
System.Numerics.Vector3 localPosition
Returns
Type Description
RigidPart

AfterMoving()

Declaration
public virtual void AfterMoving()

Attach(Assembly)

Declaration
public bool Attach(Assembly assembly)
Parameters
Type Name Description
Assembly assembly
Returns
Type Description
System.Boolean

Attach(IAssembly)

Declaration
public bool Attach(IAssembly assembly)
Parameters
Type Name Description
IAssembly assembly
Returns
Type Description
System.Boolean

AttachedInAttachments(FixPoint)

Declaration
protected bool AttachedInAttachments(FixPoint fixpoint)
Parameters
Type Name Description
FixPoint fixpoint
Returns
Type Description
System.Boolean

Attaching(Assembly)

Declaration
protected virtual void Attaching(Assembly assembly)
Parameters
Type Name Description
Assembly assembly

AutoFit()

Declaration
public virtual void AutoFit()

BeforeDisposing()

Declaration
public virtual bool BeforeDisposing()
Returns
Type Description
System.Boolean

BeforeMoving()

Declaration
public virtual void BeforeMoving()

CanMoveAssemblies(IList<Assembly>)

Declaration
public static bool CanMoveAssemblies(IList<Assembly> items)
Parameters
Type Name Description
System.Collections.Generic.IList<Assembly> items
Returns
Type Description
System.Boolean

CompareTo(Object)

Declaration
public virtual int CompareTo(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Int32

Connect()

Declaration
public void Connect()

Connect(Boolean)

Declaration
public void Connect(bool snap)
Parameters
Type Name Description
System.Boolean snap

Connected(FixPoint)

Declaration
public bool Connected(FixPoint fixpoint)
Parameters
Type Name Description
FixPoint fixpoint
Returns
Type Description
System.Boolean

Copy()

Declaration
public virtual Assembly Copy()
Returns
Type Description
Assembly

Create(AssemblyInfo)

Declaration
public static Assembly Create(AssemblyInfo info)
Parameters
Type Name Description
AssemblyInfo info
Returns
Type Description
Assembly

Create(List<AssemblyInfo>)

Declaration
public static List<Assembly> Create(List<AssemblyInfo> list)
Parameters
Type Name Description
System.Collections.Generic.List<AssemblyInfo> list
Returns
Type Description
System.Collections.Generic.List<Assembly>

DeActivate()

Declaration
public virtual void DeActivate()

DeActivate(String)

Declaration
public static void DeActivate(string name)
Parameters
Type Name Description
System.String name

DeActivate(String, UInt64)

Declaration
public static void DeActivate(string name, ulong delayInMs)
Parameters
Type Name Description
System.String name
System.UInt64 delayInMs

DeActivateScriptEvent(String)

Declaration
protected virtual void DeActivateScriptEvent(string symbol)
Parameters
Type Name Description
System.String symbol

Delete(Assembly)

Declaration
public static void Delete(Assembly assembly)
Parameters
Type Name Description
Assembly assembly

Delete(IReadOnlyList<Assembly>)

Declaration
public static void Delete(IReadOnlyList<Assembly> assemblies)
Parameters
Type Name Description
System.Collections.Generic.IReadOnlyList<Assembly> assemblies

Delete(String)

Declaration
public static void Delete(string name)
Parameters
Type Name Description
System.String name

DerivedItems<TDerived>()

Declaration
public static IReadOnlyList<TDerived> DerivedItems<TDerived>()
    where TDerived : Assembly
Returns
Type Description
System.Collections.Generic.IReadOnlyList<TDerived>
Type Parameters
Name Description
TDerived

Deselect()

Declaration
[Event]
public virtual void Deselect()

Deserialize(String)

Declaration
public static IReadOnlyList<AssemblyInfo> Deserialize(string xml)
Parameters
Type Name Description
System.String xml
Returns
Type Description
System.Collections.Generic.IReadOnlyList<AssemblyInfo>

DisableFixPoints()

Declaration
public virtual void DisableFixPoints()

Dispose()

Declaration
public virtual void Dispose()

DoubleClick()

Declaration
[Event]
public virtual void DoubleClick()

DynamicPropertyAssociatedControlPanel(PropertyAttributes)

Declaration
public void DynamicPropertyAssociatedControlPanel(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyBrowsableAttachments(PropertyAttributes)

Declaration
public virtual void DynamicPropertyBrowsableAttachments(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyChanged(DynamicProperty)

Declaration
public virtual void DynamicPropertyChanged(DynamicProperty property)
Parameters
Type Name Description
DynamicProperty property

DynamicPropertyCollector(PropertyAttributes)

Declaration
public void DynamicPropertyCollector(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyLocked(PropertyAttributes)

Declaration
public virtual void DynamicPropertyLocked(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyMultiselection(PropertyAttributes)

Declaration
public void DynamicPropertyMultiselection(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyName(PropertyAttributes)

Declaration
public void DynamicPropertyName(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyNotBrowsableAttchment(PropertyAttributes)

Declaration
public virtual void DynamicPropertyNotBrowsableAttchment(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyObservable(PropertyAttributes)

Declaration
public virtual void DynamicPropertyObservable(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyParent(PropertyAttributes)

Declaration
public void DynamicPropertyParent(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyPitch(PropertyAttributes)

Declaration
public virtual void DynamicPropertyPitch(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyPosition(PropertyAttributes)

Declaration
public virtual void DynamicPropertyPosition(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyRoll(PropertyAttributes)

Declaration
public virtual void DynamicPropertyRoll(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertySection(PropertyAttributes)

Declaration
public void DynamicPropertySection(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

DynamicPropertyYaw(PropertyAttributes)

Declaration
public virtual void DynamicPropertyYaw(PropertyAttributes attributes)
Parameters
Type Name Description
PropertyAttributes attributes

EnableFixPoints()

Declaration
public virtual void EnableFixPoints()

ExecuteScript(String)

Declaration
protected bool ExecuteScript(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Boolean

ExecuteScript(String, Object)

Declaration
protected bool ExecuteScript(string name, object param)
Parameters
Type Name Description
System.String name
System.Object param
Returns
Type Description
System.Boolean

FixPointCollision(Boolean)

Declaration
public bool FixPointCollision(bool snap)
Parameters
Type Name Description
System.Boolean snap
Returns
Type Description
System.Boolean

Get(String)

Declaration
public static Assembly Get(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
Assembly

Get(Type)

Declaration
public static IReadOnlyList<Assembly> Get(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Collections.Generic.IReadOnlyList<Assembly>

Get(UInt64)

Declaration
public static Assembly Get(ulong entityid)
Parameters
Type Name Description
System.UInt64 entityid
Returns
Type Description
Assembly

GetAttachments(Func<IAssembly, Boolean>)

Declaration
public IReadOnlyCollection<IAssembly> GetAttachments(Func<IAssembly, bool> predicate)
Parameters
Type Name Description
System.Func<IAssembly, System.Boolean> predicate
Returns
Type Description
System.Collections.Generic.IReadOnlyCollection<IAssembly>

GetBoundingBox(Boolean)

Declaration
public virtual (bool Success, Vector3 Min, Vector3 Max) GetBoundingBox(bool includeSubAssemblies = true)
Parameters
Type Name Description
System.Boolean includeSubAssemblies
Returns
Type Description
System.ValueTuple<System.Boolean, System.Numerics.Vector3, System.Numerics.Vector3>

GetBoundingBox(IReadOnlyCollection<IAssembly>, Boolean)

Declaration
public static (bool Success, Vector3 Min, Vector3 Max) GetBoundingBox(IReadOnlyCollection<IAssembly> assemblies, bool includeSubAssemblies = true)
Parameters
Type Name Description
System.Collections.Generic.IReadOnlyCollection<IAssembly> assemblies
System.Boolean includeSubAssemblies
Returns
Type Description
System.ValueTuple<System.Boolean, System.Numerics.Vector3, System.Numerics.Vector3>

GetMeshObjects(Boolean)

Declaration
public IReadOnlyList<IMeshObject> GetMeshObjects(bool includeSubAssemblies)
Parameters
Type Name Description
System.Boolean includeSubAssemblies
Returns
Type Description
System.Collections.Generic.IReadOnlyList<IMeshObject>

GetProperty(Assembly, String)

Declaration
public static object GetProperty(Assembly assembly, string propertyname)
Parameters
Type Name Description
Assembly assembly
System.String propertyname
Returns
Type Description
System.Object

GetProperty(String, Object)

Declaration
protected string GetProperty(string tag, object defaultValue)
Parameters
Type Name Description
System.String tag
System.Object defaultValue
Returns
Type Description
System.String

GetValidName(String)

Declaration
public static string GetValidName(string prefix)
Parameters
Type Name Description
System.String prefix
Returns
Type Description
System.String

Highlight()

Declaration
public virtual void Highlight()

Highlight(Color)

Declaration
public virtual void Highlight(Color color)
Parameters
Type Name Description
System.Windows.Media.Color color

Import(String)

Declaration
public static void Import(string filename)
Parameters
Type Name Description
System.String filename

IncrementName(String)

Declaration
public static string IncrementName(string input)
Parameters
Type Name Description
System.String input
Returns
Type Description
System.String

InsertActionPoint(ActionPoint)

Declaration
public virtual void InsertActionPoint(ActionPoint ap)
Parameters
Type Name Description
ActionPoint ap

Inserted()

Declaration
public virtual void Inserted()

InsertMotor(IElectricMotor)

Declaration
public virtual void InsertMotor(IElectricMotor motor)
Parameters
Type Name Description
IElectricMotor motor

InsertPart(Point)

Declaration
public virtual RigidPart InsertPart(Point p)
Parameters
Type Name Description
System.Windows.Point p
Returns
Type Description
RigidPart

Invoke(Action)

Declaration
protected void Invoke(Action action)
Parameters
Type Name Description
System.Action action

InvokeIfRequired(Action)

Declaration
protected void InvokeIfRequired(Action action)
Parameters
Type Name Description
System.Action action

InvokeOnDisposed()

Declaration
protected virtual void InvokeOnDisposed()

InvokeRefresh()

Declaration
protected void InvokeRefresh()

KeyDown(KeyEventArgs)

Declaration
public virtual void KeyDown(KeyEventArgs e)
Parameters
Type Name Description
System.Windows.Input.KeyEventArgs e

KeyUp(KeyEventArgs)

Declaration
public virtual void KeyUp(KeyEventArgs e)
Parameters
Type Name Description
System.Windows.Input.KeyEventArgs e

LocalRotation(Vector3, Single, Single, Single)

Declaration
public virtual void LocalRotation(Vector3 localRotationPoint, float DeltaYaw, float DeltaPitch, float DeltaRoll)
Parameters
Type Name Description
System.Numerics.Vector3 localRotationPoint
System.Single DeltaYaw
System.Single DeltaPitch
System.Single DeltaRoll

LockScene()

Declaration
public virtual void LockScene()

MouseDown()

Declaration
public virtual void MouseDown()

MouseUp()

Declaration
public virtual void MouseUp()

Move(Vector3)

Declaration
public virtual bool Move(Vector3 delta)
Parameters
Type Name Description
System.Numerics.Vector3 delta
Returns
Type Description
System.Boolean

MoveConfiguratorEditor(Vector3)

Declaration
public void MoveConfiguratorEditor(Vector3 delta)
Parameters
Type Name Description
System.Numerics.Vector3 delta

NameUsed(String)

Declaration
public static bool NameUsed(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Boolean

Pause()

Declaration
public virtual void Pause()

Pick(Vector3, Vector3)

Declaration
public virtual PickResult Pick(Vector3 rayStart, Vector3 rayDirection)
Parameters
Type Name Description
System.Numerics.Vector3 rayStart
System.Numerics.Vector3 rayDirection
Returns
Type Description
PickResult

Pick(Vector3, Vector3, Boolean)

Declaration
public virtual PickResult Pick(Vector3 rayStart, Vector3 rayDirection, bool onlydragable)
Parameters
Type Name Description
System.Numerics.Vector3 rayStart
System.Numerics.Vector3 rayDirection
System.Boolean onlydragable
Returns
Type Description
PickResult

PickActionPoint(Vector3, Vector3)

Declaration
public ActionPoint PickActionPoint(Vector3 rayStart, Vector3 rayDirection)
Parameters
Type Name Description
System.Numerics.Vector3 rayStart
System.Numerics.Vector3 rayDirection
Returns
Type Description
ActionPoint

PositionToLocalPosition(Vector3)

Declaration
public Vector3 PositionToLocalPosition(Vector3 position)
Parameters
Type Name Description
System.Numerics.Vector3 position
Returns
Type Description
System.Numerics.Vector3

PropertyChanged(String, Object)

Declaration
public virtual void PropertyChanged(string propertyname, object value)
Parameters
Type Name Description
System.String propertyname
System.Object value

PropertyChanging(String, Object)

Declaration
public virtual void PropertyChanging(string propertyname, object value)
Parameters
Type Name Description
System.String propertyname
System.Object value

PropertySelectionChanged(String)

Declaration
public virtual void PropertySelectionChanged(string propertyname)
Parameters
Type Name Description
System.String propertyname

RaiseOnEntityAdded(IEntity)

Declaration
protected virtual void RaiseOnEntityAdded(IEntity e)
Parameters
Type Name Description
IEntity e

RaiseOnEntityRemoved(IEntity)

Declaration
protected virtual void RaiseOnEntityRemoved(IEntity e)
Parameters
Type Name Description
IEntity e

Refresh()

Declaration
public virtual void Refresh()

Remove(Assembly)

Declaration
public bool Remove(Assembly assembly)
Parameters
Type Name Description
Assembly assembly
Returns
Type Description
System.Boolean

Remove(Input)

Declaration
public void Remove(Input input)
Parameters
Type Name Description
Input input

Remove(Output)

Declaration
public void Remove(Output output)
Parameters
Type Name Description
Output output

Remove(Register)

Declaration
public void Remove(Register register)
Parameters
Type Name Description
Register register

Remove(RigidPart)

Declaration
public bool Remove(RigidPart part)
Parameters
Type Name Description
RigidPart part
Returns
Type Description
System.Boolean

Remove(ActionPoint)

Declaration
public void Remove(ActionPoint ap)
Parameters
Type Name Description
ActionPoint ap

Remove(IEntity)

Declaration
public void Remove(IEntity entity)
Parameters
Type Name Description
IEntity entity

RemoveInput(Input)

Declaration
public void RemoveInput(Input input)
Parameters
Type Name Description
Input input

RemoveMotor(IArrow)

Declaration
public virtual void RemoveMotor(IArrow arrow)
Parameters
Type Name Description
IArrow arrow

RemoveMotor(IElectricMotor)

Declaration
public virtual void RemoveMotor(IElectricMotor motor)
Parameters
Type Name Description
IElectricMotor motor

RemoveOutput(Output)

Declaration
public void RemoveOutput(Output output)
Parameters
Type Name Description
Output output

Reset()

Declaration
[Event]
public virtual void Reset()

Resume()

Declaration
public virtual void Resume()

ScreenDump(IReadOnlyList<Assembly>, Double, Double, Double, Vector3, Int32, Int32, Boolean)

Declaration
public static Image ScreenDump(IReadOnlyList<Assembly> assembliesToRender, double cameraHeading, double cameraAttitude, double cameraTargetDistance, Vector3 cameraTarget, int width, int height, bool crop = true)
Parameters
Type Name Description
System.Collections.Generic.IReadOnlyList<Assembly> assembliesToRender
System.Double cameraHeading
System.Double cameraAttitude
System.Double cameraTargetDistance
System.Numerics.Vector3 cameraTarget
System.Int32 width
System.Int32 height
System.Boolean crop
Returns
Type Description
System.Drawing.Image

ScreenDump(IReadOnlyList<Assembly>, Double, Double, Double, Vector3, Int32, Int32, Boolean, Boolean)

Declaration
public static Image ScreenDump(IReadOnlyList<Assembly> assembliesToRender, double cameraHeading, double cameraAttitude, double cameraTargetDistance, Vector3 cameraTarget, int width, int height, bool crop, bool square)
Parameters
Type Name Description
System.Collections.Generic.IReadOnlyList<Assembly> assembliesToRender
System.Double cameraHeading
System.Double cameraAttitude
System.Double cameraTargetDistance
System.Numerics.Vector3 cameraTarget
System.Int32 width
System.Int32 height
System.Boolean crop
System.Boolean square
Returns
Type Description
System.Drawing.Image

ScreenDump(String, IReadOnlyList<Assembly>, Double, Double, Double, Vector3, Int32, Int32)

Declaration
public static void ScreenDump(string filename, IReadOnlyList<Assembly> assembliesToRender, double cameraHeading, double cameraAttitude, double cameraTargetDistance, Vector3 cameraTarget, int width, int height)
Parameters
Type Name Description
System.String filename
System.Collections.Generic.IReadOnlyList<Assembly> assembliesToRender
System.Double cameraHeading
System.Double cameraAttitude
System.Double cameraTargetDistance
System.Numerics.Vector3 cameraTarget
System.Int32 width
System.Int32 height

SectionOffsetChanged(Section, Vector3)

Declaration
protected virtual void SectionOffsetChanged(Section sender, Vector3 delta)
Parameters
Type Name Description
Section sender
System.Numerics.Vector3 delta

Select()

Declaration
[Event]
public virtual void Select()

Select(Assembly)

Declaration
public static void Select(Assembly assembly)
Parameters
Type Name Description
Assembly assembly

SelectAll()

Declaration
public static void SelectAll()

SetProperty(String, Object)

Declaration
protected void SetProperty(string tag, object value)
Parameters
Type Name Description
System.String tag
System.Object value

ShowContextMenu()

Declaration
public virtual List<Environment.UI.Toolbar.BarItem> ShowContextMenu()
Returns
Type Description
System.Collections.Generic.List<Environment.UI.Toolbar.BarItem>

Snap()

Declaration
public void Snap()

Snap(FixPoint)

Declaration
public virtual void Snap(FixPoint fixpoint)
Parameters
Type Name Description
FixPoint fixpoint

Snap(FixPoint, FixPoint)

Declaration
public virtual bool Snap(FixPoint stranger, FixPoint local)
Parameters
Type Name Description
FixPoint stranger
FixPoint local
Returns
Type Description
System.Boolean

Snap(UInt32)

Declaration
public void Snap(uint range)
Parameters
Type Name Description
System.UInt32 range

SnapEnd(Assembly)

Declaration
public bool SnapEnd(Assembly stranger)
Parameters
Type Name Description
Assembly stranger
Returns
Type Description
System.Boolean

Step(Single)

Declaration
public virtual void Step(float deltatime)
Parameters
Type Name Description
System.Single deltatime

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

TryGetAttached(String, out IAssembly)

Declaration
public bool TryGetAttached(string name, out IAssembly attached)
Parameters
Type Name Description
System.String name
IAssembly attached
Returns
Type Description
System.Boolean

TryGetAttached(UInt64, out IAssembly)

Declaration
public bool TryGetAttached(ulong entityid, out IAssembly attached)
Parameters
Type Name Description
System.UInt64 entityid
IAssembly attached
Returns
Type Description
System.Boolean

UnAttach()

Declaration
public void UnAttach()

UnAttach(Assembly)

Declaration
public void UnAttach(Assembly assembly)
Parameters
Type Name Description
Assembly assembly

UnAttach(IAssembly)

Declaration
public void UnAttach(IAssembly assembly)
Parameters
Type Name Description
IAssembly assembly

UnAttaching(Assembly)

Declaration
protected virtual void UnAttaching(Assembly assembly)
Parameters
Type Name Description
Assembly assembly

UnHighlight()

Declaration
public virtual void UnHighlight()

UnLockScene()

Declaration
public virtual void UnLockScene()

UnSnap()

Declaration
public virtual bool UnSnap()
Returns
Type Description
System.Boolean

UnSnap(FixPoint)

Declaration
public bool UnSnap(FixPoint fixpoint)
Parameters
Type Name Description
FixPoint fixpoint
Returns
Type Description
System.Boolean

UpdateAssemblyConfiguration()

Declaration
public void UpdateAssemblyConfiguration()

Events

OnAdded

Declaration
public event Assembly.AddedEvent OnAdded
Event Type
Type Description
Assembly.AddedEvent

OnAfterMoving

Declaration
public event Assembly.AssemblyEvent OnAfterMoving
Event Type
Type Description
Assembly.AssemblyEvent

OnAttached

Declaration
public event Assembly.AssemblyEvent OnAttached
Event Type
Type Description
Assembly.AssemblyEvent

OnBeforeDisposing

Declaration
public event Assembly.BeforeDisposeEvent OnBeforeDisposing
Event Type
Type Description
Assembly.BeforeDisposeEvent

OnBeforeMoving

Declaration
public event Assembly.AssemblyEvent OnBeforeMoving
Event Type
Type Description
Assembly.AssemblyEvent

OnDeselected

Declaration
public event Assembly.DeselectedEvent OnDeselected
Event Type
Type Description
Assembly.DeselectedEvent

OnDisposed

Declaration
public event EventHandler OnDisposed
Event Type
Type Description
System.EventHandler

OnDisposing

Declaration
public event Assembly.DisposeEvent OnDisposing
Event Type
Type Description
Assembly.DisposeEvent

OnEntityAdded

Declaration
public event EventHandler<IEntity> OnEntityAdded
Event Type
Type Description
System.EventHandler<IEntity>

OnEntityRemoved

Declaration
public event EventHandler<IEntity> OnEntityRemoved
Event Type
Type Description
System.EventHandler<IEntity>

OnHelpTextChanged

Declaration
public event EventHandler OnHelpTextChanged
Event Type
Type Description
System.EventHandler

OnMoved

Declaration
public static event Assembly.AssemblyEvent OnMoved
Event Type
Type Description
Assembly.AssemblyEvent

OnNameChanged

Declaration
public event EventHandler<NameChangedEventArgs> OnNameChanged
Event Type
Type Description
System.EventHandler<NameChangedEventArgs>

OnOrientationChanged

Declaration
public event Assembly.OrientationChangedEvent OnOrientationChanged
Event Type
Type Description
Assembly.OrientationChangedEvent

OnPositionChanged

Declaration
public event Assembly.PositionChangedEvent OnPositionChanged
Event Type
Type Description
Assembly.PositionChangedEvent

OnScreenDumpCreated

Declaration
public static event Assembly.ScreenDumpCreatedEvent OnScreenDumpCreated
Event Type
Type Description
Assembly.ScreenDumpCreatedEvent

OnSectionChanged

Declaration
public event EventHandler<SectionChangedEventArgs> OnSectionChanged
Event Type
Type Description
System.EventHandler<SectionChangedEventArgs>

OnSelect

Declaration
public event Assembly.SelectEvent OnSelect
Event Type
Type Description
Assembly.SelectEvent

OnSelected

Declaration
public event Assembly.SelectedEvent OnSelected
Event Type
Type Description
Assembly.SelectedEvent

OnUnAttached

Declaration
public event Assembly.AssemblyEvent OnUnAttached
Event Type
Type Description
Assembly.AssemblyEvent

OnVisibilityChanged

Declaration
public event Assembly.AssemblyEvent OnVisibilityChanged
Event Type
Type Description
Assembly.AssemblyEvent

Implements

IAssembly
IEntity
System.IDisposable
ILabel
ISelectedObject
Back to top Generated by DocFX