Part Class |
Namespace: ABB.Robotics.RobotStudio.Stations
public class Part : GraphicComponent, IAttachableParent, IAttachableChild, IHasGeometry
The Part type exposes the following members.
Name | Description | |
---|---|---|
Part |
Creates a new empty Part
| |
Part(Boolean) | Initializes a new instance of the Part class |
Name | Description | |
---|---|---|
Attributes |
Returns a collection of dynamic attributes attached to the object
(Inherited from ProjectObject.) | |
Bodies | Gets the BodyCollection that belongs to this Part. | |
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.) | |
Color |
Gets or sets the color of the object in the graphics.
(Inherited from GraphicComponent.) | |
ContainingProject |
Returns the Project that this object is a part of, or null if it is
not part of a Project.
(Inherited from ProjectObject.) | |
Detectable |
Gets or sets a value indicating the the component can be detected by sensors.
(Inherited from GraphicComponent.) | |
DisplayName |
Gets the name of the the object that should be displayed in the GUI.
(Inherited from ProjectObject.) | |
Frames |
Gets a FrameCollection object that represents all the Frames on this object.
(Inherited from GraphicComponent.) | |
GfxData | (Inherited from GraphicComponent.) | |
HasGeometry |
True if the part has CAD geometry, false otherwise.
| |
InternalChildren | (Inherited from ProjectObject.) | |
InternalParent | (Inherited from ProjectObject.) | |
Library |
Returns the GraphicComponentLibrary that contains the definition of this component, or null.
(Inherited from GraphicComponent.) | |
Mesh |
Returns the graphic representation of this Part.
| |
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.) | |
Source |
Gets or sets the file that was the source of this part.
| |
SourceDateTime |
Gets or sets a time stamp of the last update from Part.Source (in UTC)
| |
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 part is visible or not in the graphics. (Overrides GraphicComponentVisible.) |
Name | Description | |
---|---|---|
AfterLoad | (Overrides GraphicComponentAfterLoad(PimDocument).) | |
Attach | Attach the supplied child to this Part. | |
Backup | (Inherited from ProjectObject.) | |
BeforeSave | (Inherited from ProjectObject.) | |
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 | (Overrides GraphicComponentDelete.) | |
DeleteGeometry |
Recursively deletes all CAD geometry.
(Inherited from GraphicComponent.) | |
DeleteGeometry(Boolean) | Obsolete. (Inherited from GraphicComponent.) | |
Detach | Detach the supplied child from this Part. If the child was mounted to the parent when the attachment was created, the child will move back to its original position. | |
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.) | |
Facet(DetailLevels) |
Re-creates the graphical representation of this Part.
| |
Facet(DetailLevels, Boolean) |
Re-creates the graphical representation of this Part.
| |
Facet(DetailLevels, Boolean, ProgressNotification) |
Re-creates the graphical representation of this Part.
| |
Finalize | (Inherited from Object.) | |
FindClosestVertex | ||
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.) | |
GetGfxChildren | (Inherited from GraphicComponent.) | |
GetGfxMatrix | (Inherited from GraphicComponent.) | |
GetGraphicInfo | Obsolete. | |
GetHashCode | (Inherited from Object.) | |
GetMaterial | ||
GetMatrix | (Inherited from GraphicComponent.) | |
GetNormalToSurface | Obsolete. Calculates the closest point and the corresponding normal. (Inherited from GraphicComponent.) | |
GetPhysicsCollisionProperties |
Gets settings for collision detection during physics simulation.
| |
GetPhysicsSurfaceVelocity |
Gets properties for physics simulation of surface movement.
| |
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.) | |
IntersectRay | Checks a if ray instersects with this part and return the closest intersection point. | |
IntersectVolume |
Checks if this parts intersects with a volume defined by a BoundingBox.
| |
Load(String) |
Loads a part from file.
| |
Load(String, ProgressNotification, Boolean, DetailLevels) |
Loads a part from file.
| |
Load(String, IProgressCallback, Boolean, Boolean, Boolean, DetailLevels) |
Loads a part from file.
| |
Load(String, ProgressNotification, Boolean, Boolean, Boolean, DetailLevels) |
Loads a part from file.
| |
MemberwiseClone | (Inherited from Object.) | |
MoveDefinitionToLibrary |
Moves the definition to a new Library.
(Inherited from GraphicComponent.) | |
NormalizeTextureCoordinates | ||
NotifyChange | (Inherited from ProjectObject.) | |
NotifyChange(ProjectObjectChangeType) | (Inherited from ProjectObject.) | |
OnCreatingObject | (Inherited from GraphicComponent.) | |
OnDelete | (Inherited from GraphicComponent.) | |
OnUndoRedo | (Inherited from GraphicComponent.) | |
RemoveInternalGeometry |
Reduces the model by removing all bodies and faces in this Part that are not visible from the outside
The visible items are found by 'looking' at the part from a number of different directions.
| |
RemoveInternalGeometry(IProgressCallback) |
Reduces the model by removing all bodies and faces in this Part that are not visible from the outside
The visible items are found by 'looking' at the part from a number of different directions.
| |
ReplaceMaterial | ||
SaveAs(String) |
Saves (exports) the Part to the specified format.
| |
SaveAs(String, Int32) |
Saves (exports) the Part to the specified format.
| |
Scale |
Scales this Part uniformly around its origin.
| |
SetMaterial(Material) | ||
SetMaterial(Material, Boolean) |
Sets the material of the object.
(Inherited from GraphicComponent.) | |
SetMatrix | (Inherited from GraphicComponent.) | |
SetPhysicsCollisionProperties |
Sets settings for collision detection during physics simulation.
| |
SetPhysicsSurfaceVelocity |
Gets properties for physics simulation of surface movement.
| |
ToString | (Inherited from ProjectObject.) | |
TryGetNormalToSurface | Calculates the closest point and the corresponding normal. (Inherited from GraphicComponent.) |
Name | Description | |
---|---|---|
_childInstances | (Inherited from GraphicComponent.) | |
_clipPlane | (Inherited from GraphicComponent.) | |
_curUndoDeltaState | (Inherited from ProjectObject.) | |
_definition | (Inherited from GraphicComponent.) | |
_detectable | (Inherited from GraphicComponent.) | |
_frames | (Inherited from GraphicComponent.) | |
_pickingEnabled | (Inherited from GraphicComponent.) | |
_source | (Inherited from GraphicComponent.) | |
_sourceFileTime | (Inherited from GraphicComponent.) | |
_transformMat | (Inherited from GraphicComponent.) |