Interface IAttachableParent
Represents an object that can act as the parent in an Attachment.
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
public interface IAttachableParent
Methods
Attach(IAttachableChild, Boolean, Matrix4)
Attaches a child object to this object.
Declaration
bool Attach(IAttachableChild child, bool mount, Matrix4 offset)
Parameters
Type | Name | Description |
---|---|---|
IAttachableChild | child | The child to be attached. |
Boolean | mount | Specifies whether the child should be mounted, i.e. moved, on to the location of the parent |
Matrix4 | offset | Specifies the offset matrix to be used from the attachment point. This is only used when mount is set to True. |
Returns
Type | Description |
---|---|
Boolean |
CanAttachChild(IAttachableChild)
Test if the supplied child can be attached.
Declaration
bool CanAttachChild(IAttachableChild child)
Parameters
Type | Name | Description |
---|---|---|
IAttachableChild | child | The child to be tested. |
Returns
Type | Description |
---|---|
Boolean | True, if the supplied child can be attached, false otherwise |
Detach(IAttachableChild)
Detaches a child object from this object.
Declaration
bool Detach(IAttachableChild child)
Parameters
Type | Name | Description |
---|---|---|
IAttachableChild | child | The child to be detached. |
Returns
Type | Description |
---|---|
Boolean | True, if the detachment succeded |