SmartComponent Class |
Namespace: ABB.Robotics.RobotStudio.Stations
public sealed class SmartComponent : GraphicComponent, IAttachableParent, IHasGraphicComponents, IHasIOSignals, IHasIOConnections, IHasDynamicProperties, IHasPropertyBindings, IHasAssets
The SmartComponent type exposes the following members.
Name | Description | |
---|---|---|
SmartComponent |
Creates and initializes a new SmartComponent object.
|
Name | Description | |
---|---|---|
Assets |
Gets an AssetCollection that represents all the assets
of this SmartComponent object.
| |
Attributes |
Returns a collection of dynamic attributes attached to the object
(Inherited from ProjectObject.) | |
Bindings |
Gets an PropertyBindingCollection object that represents all the bindings
of this SmartComponent object.
| |
CanBeSimulated |
Gets or sets a value that indicates whether this SmartComponent
object can be simulated, e.g. if the code behind implements the SimTime methods.
| |
Children |
Enumerates all child objects.
(Inherited from ProjectObject.) | |
ClipPlane |
Gets or sets a ClipPlane that will hide all geometry in the negative z space of its transform.
(Inherited from GraphicComponent.) | |
CodeBehindLocation |
Gets or sets the the location of the SmartComponentCodeBehind class associated with this component.
| |
Color |
Gets or sets the color of the object in the graphics.
(Inherited from GraphicComponent.) | |
Connections |
Gets an IOConnectionCollection that represents all the I/O connections on this
SmartComponent object.
| |
ContainingProject |
Returns the Project that this object is a part of, or null if it is
not part of a Project.
(Inherited from ProjectObject.) | |
Description |
Gets a localized description for this SmartComponent object.
| |
Detectable |
Gets or sets a value indicating the the component can be detected by sensors.
(Inherited from GraphicComponent.) | |
DisplayName | (Overrides ProjectObjectDisplayName.) | |
Frames |
Gets a FrameCollection object that represents all the Frames on this object.
(Inherited from GraphicComponent.) | |
GraphicComponents |
Gets a GraphicComponentCollection that represents all the graphic components
in this SmartComponent object.
| |
Icon |
Gets a Image associated with this SmartComponent object.
| |
IOSignals |
Gets an IOSignalCollection that represents all the I/O signals on this
SmartComponent object.
| |
IsBaseComponent |
Returns true if this is a built-in base component.
| |
IsEditable | ||
IsProtected |
Gets or sets a value that indicates if the internal structure of this component should be hidden in the GUI,
and if the component should be locked for editing.
| |
LanguageOverride |
Forces this component to use the specified language for resources rather than the language set in Options.
| |
Library |
Returns the GraphicComponentLibrary that contains the definition of this component, or null.
(Inherited from GraphicComponent.) | |
Name |
Gets or sets the name of the object
(Inherited from ProjectObject.) | |
Opacity |
Gets or sets the opacity of the object.
(Inherited from GraphicComponent.) | |
Parent |
The Parent property returns a reference to the parent GraphicComponent object.
(Inherited from GraphicComponent.) | |
PickingEnabled |
Gets or sets if the component can be picked and selected in 3D graphic windows.
(Inherited from GraphicComponent.) | |
Properties |
Gets a DynamicPropertyCollection that represents all the properties
of this SmartComponent object.
| |
RoleObject |
Gets or sets an object that defines the role of this SmartComponent.
| |
SavedStates |
Gets a SavedStateCollection that contains saved states for this object.
| |
StateCache | Returns a collection that can be used by code behind to cache
state information for this SmartComponent object. | |
Transform |
Gets the Transform of the object.
(Inherited from GraphicComponent.) | |
TypeDisplayName |
Gets a localized name for the type of this object.
(Inherited from ProjectObject.) | |
UIVisible |
Gets or sets a value that indicates if this object should be displayed in GUI
such as an object browser.
(Inherited from ProjectObject.) | |
UniqueId |
Gets a persisted, globally unique identifier for this object, that can be used
to find the object using the GetObjectFromUniqueId(String) method.
(Inherited from ProjectObject.) | |
Visible |
Gets or sets whether the object should be displayed in the graphics or not.
(Inherited from GraphicComponent.) |
Name | Description | |
---|---|---|
Attach |
Attaches a child object to this SmartComponent.
| |
CanAttachChild |
Test if the supplied child can be attached.
| |
Copy |
Creates a deep copy of the object.
(Inherited from GraphicComponent.) | |
CopyInstance |
Creates a copy but keeps a connection to the definition of the GraphicComponent, typically in a Library definition.
(Inherited from GraphicComponent.) | |
Delete |
Deletes this object permanently.
(Inherited from GraphicComponent.) | |
DeleteGeometry |
Recursively deletes all CAD geometry.
(Inherited from GraphicComponent.) | |
DeleteGeometry(Boolean) | Obsolete. (Inherited from GraphicComponent.) | |
Detach |
Detaches a child object from this SmartComponent.
| |
DisconnectFromLibrary |
Moves the definition to the Station or Project. This causes the Library property to return Null.
(Inherited from GraphicComponent.) | |
Equals | (Inherited from Object.) | |
ExportXml(String) |
Exports this to an XML file
(Inherited from GraphicComponent.) | |
ExportXml(String, String) |
Exports this to an XML file
(Inherited from GraphicComponent.) | |
FindObjects |
Recursively finds object that satisfy a condition.
(Inherited from ProjectObject.) | |
GetBoundingBox(Boolean) |
Computes the (axis-aligned) bounding box for this object.
(Inherited from GraphicComponent.) | |
GetBoundingBox(Boolean, Vector3, Vector3) | Obsolete.
Computes the (axis-aligned) bounding box for this object.
(Inherited from GraphicComponent.) | |
GetBoundingBox(Boolean, IntPtr, IntPtr) | Obsolete. (Inherited from GraphicComponent.) | |
GetCollectionObjects |
Returns the objects contained by a SmartComponent that represents a collection.
| |
GetHashCode | (Inherited from Object.) | |
GetNormalToSurface | Obsolete. Calculates the closest point and the corresponding normal. (Inherited from GraphicComponent.) | |
GetResourceString |
Returns a localized resource string
| |
GetType | (Inherited from Object.) | |
Highlight(Boolean) |
Highlights the object using the default highlight style and color.
(Inherited from GraphicComponent.) | |
Highlight(Boolean, Color) |
Highlights the object using a specified color.
(Inherited from GraphicComponent.) | |
InitializeCodeBehind |
Initializes the associated SmartComponentCodeBehind, if it exists.
If this Smart Component has an associated Code Behind Assembly is necessary to call this method before a Smart Component is saved to library.
The Code Behind assembly will be loaded, if its not already loaded, and the OnInitialize(SmartComponent) method will be called.
| |
MoveDefinitionToLibrary |
Moves the definition to a new Library.
(Inherited from GraphicComponent.) | |
RaiseIOSignalChanged |
Raises the IOSignalChanged event. Call this method to force update of the GUI of a signal.
| |
RaisePropertyChanged |
Raises the PropertyChanged event. Call this method to force update of the GUI of a property.
| |
SetMaterial |
Sets the material of the object.
(Inherited from GraphicComponent.) | |
ToString | (Inherited from ProjectObject.) | |
TryGetNormalToSurface | Calculates the closest point and the corresponding normal. (Inherited from GraphicComponent.) |
Name | Description | |
---|---|---|
IOSignalChanged |
Raised when any property except Value changes on one of the signals in the IOSignals collection
| |
IOSignalValueChanged |
Raised when the Value property changes on one of the signals in the IOSignals collection
| |
PropertyChanged |
Raised when any property except Value changes on one of the properties in the Properties collection
| |
PropertyValueChanged |
Raised when the Value property changes on one of the properties in the Properties collection
|