Click or drag to resize
Part Class
A Part is a container for bodies, and can hold zero or more bodies. A Part also contains an orientation.
Inheritance Hierarchy

Namespace:  ABB.Robotics.RobotStudio.Stations
Assembly:  ABB.Robotics.RobotStudio.Stations (in ABB.Robotics.RobotStudio.Stations.dll) Version: 7.0.8747.636
Syntax
C#
public class Part : GraphicComponent, IAttachableParent, IAttachableChild, 
	IHasGeometry

The Part type exposes the following members.

Constructors
  NameDescription
Public methodPart
Creates a new empty Part
Public methodPart(Boolean)
Initializes a new instance of the Part class
Top
Properties
  NameDescription
Public propertyAttributes
Returns a collection of dynamic attributes attached to the object
(Inherited from ProjectObject.)
Public propertyCode exampleBodies
Gets the BodyCollection that belongs to this Part.
Public propertyChildren
Enumerates all child objects.
(Inherited from ProjectObject.)
Public propertyClipPlane
Gets or sets a ClipPlane that will hide all geometry in the negative z space of its transform.
(Inherited from GraphicComponent.)
Public propertyCode exampleColor
Gets or sets the color of the object in the graphics.
(Inherited from GraphicComponent.)
Public propertyContainingProject
Returns the Project that this object is a part of, or null if it is not part of a Project.
(Inherited from ProjectObject.)
Public propertyDetectable
Gets or sets a value indicating the the component can be detected by sensors.
(Inherited from GraphicComponent.)
Public propertyDisplayName
Gets the name of the the object that should be displayed in the GUI.
(Inherited from ProjectObject.)
Public propertyFrames
Gets a FrameCollection object that represents all the Frames on this object.
(Inherited from GraphicComponent.)
Protected propertyGfxData (Inherited from GraphicComponent.)
Public propertyHasGeometry
True if the part has CAD geometry, false otherwise.
Protected propertyInternalChildren (Inherited from ProjectObject.)
Protected propertyInternalParent (Inherited from ProjectObject.)
Public propertyLibrary
Returns the GraphicComponentLibrary that contains the definition of this component, or null.
(Inherited from GraphicComponent.)
Public propertyMesh
Returns the graphic representation of this Part.
Public propertyName
Gets or sets the name of the object
(Inherited from ProjectObject.)
Public propertyOpacity
Gets or sets the opacity of the object.
(Inherited from GraphicComponent.)
Public propertyCode exampleParent
The Parent property returns a reference to the parent GraphicComponent object.
(Inherited from GraphicComponent.)
Public propertyCode examplePickingEnabled
Gets or sets if the component can be picked and selected in 3D graphic windows.
(Inherited from GraphicComponent.)
Public propertySource
Gets or sets the file that was the source of this part.
Public propertySourceDateTime
Gets or sets a time stamp of the last update from Part.Source (in UTC)
Public propertyCode exampleTransform
Gets the Transform of the object.
(Inherited from GraphicComponent.)
Public propertyTypeDisplayName
Gets a localized name for the type of this object.
(Inherited from ProjectObject.)
Public propertyUIVisible
Gets or sets a value that indicates if this object should be displayed in GUI such as an object browser.
(Inherited from ProjectObject.)
Public propertyUniqueId
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.)
Public propertyCode exampleVisible
Gets or sets whether the part is visible or not in the graphics.
(Overrides GraphicComponentVisible.)
Top
Methods
  NameDescription
Protected methodAfterLoad (Overrides GraphicComponentAfterLoad(PimDocument).)
Public methodAttach
Attach the supplied child to this Part.
Protected methodBackup (Inherited from ProjectObject.)
Protected methodBeforeSave (Inherited from ProjectObject.)
Public methodCanAttachChild
Test if the supplied child can be attached.
Public methodCode exampleCopy
Creates a deep copy of the object.
(Inherited from GraphicComponent.)
Public methodCode exampleCopyInstance
Creates a copy but keeps a connection to the definition of the GraphicComponent, typically in a Library definition.
(Inherited from GraphicComponent.)
Public methodDelete (Overrides GraphicComponentDelete.)
Public methodCode exampleDeleteGeometry
Recursively deletes all CAD geometry.
(Inherited from GraphicComponent.)
Public methodDeleteGeometry(Boolean) Obsolete. (Inherited from GraphicComponent.)
Public methodDetach
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.
Public methodCode exampleDisconnectFromLibrary
Moves the definition to the Station or Project. This causes the Library property to return Null.
(Inherited from GraphicComponent.)
Public methodEquals (Inherited from Object.)
Public methodExportXml(String)
Exports this to an XML file
(Inherited from GraphicComponent.)
Public methodExportXml(String, String)
Exports this to an XML file
(Inherited from GraphicComponent.)
Public methodFacet(DetailLevels)
Re-creates the graphical representation of this Part.
Public methodFacet(DetailLevels, Boolean)
Re-creates the graphical representation of this Part.
Public methodFacet(DetailLevels, Boolean, ProgressNotification)
Re-creates the graphical representation of this Part.
Protected methodFinalize (Inherited from Object.)
Public methodFindClosestVertex
Returns the Vertex of the Loop that is closest to the provided point.
Public methodFindObjects
Recursively finds object that satisfy a condition.
(Inherited from ProjectObject.)
Public methodGetBoundingBox(Boolean)
Computes the (axis-aligned) bounding box for this object.
(Inherited from GraphicComponent.)
Public methodCode exampleGetBoundingBox(Boolean, Vector3, Vector3) Obsolete.
Computes the (axis-aligned) bounding box for this object.
(Inherited from GraphicComponent.)
Public methodGetBoundingBox(Boolean, IntPtr, IntPtr) Obsolete. (Inherited from GraphicComponent.)
Protected methodGetGfxChildren (Inherited from GraphicComponent.)
Protected methodGetGfxMatrix (Inherited from GraphicComponent.)
Public methodGetGraphicInfo Obsolete.
Public methodGetHashCode (Inherited from Object.)
Public methodGetMaterial
Protected methodGetMatrix (Inherited from GraphicComponent.)
Public methodCode exampleGetNormalToSurface Obsolete.
Calculates the closest point and the corresponding normal.
(Inherited from GraphicComponent.)
Public methodGetPhysicsCollisionProperties
Gets settings for collision detection during physics simulation.
Public methodGetPhysicsSurfaceVelocity
Gets properties for physics simulation of surface movement.
Public methodGetType (Inherited from Object.)
Public methodCode exampleHighlight(Boolean)
Highlights the object using the default highlight style and color.
(Inherited from GraphicComponent.)
Public methodHighlight(Boolean, Color)
Highlights the object using a specified color.
(Inherited from GraphicComponent.)
Public methodIntersectRay
Checks a if ray instersects with this part and return the closest intersection point.
Public methodIntersectVolume
Checks if this parts intersects with a volume defined by a BoundingBox.
Public methodStatic memberLoad(String)
Loads a part from file.
Public methodStatic memberLoad(String, ProgressNotification, Boolean, DetailLevels)
Loads a part from file.
Public methodStatic memberLoad(String, IProgressCallback, Boolean, Boolean, Boolean, DetailLevels)
Loads a part from file.
Public methodStatic memberLoad(String, ProgressNotification, Boolean, Boolean, Boolean, DetailLevels)
Loads a part from file.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodCode exampleMoveDefinitionToLibrary
Moves the definition to a new Library.
(Inherited from GraphicComponent.)
Public methodNormalizeTextureCoordinates
Protected methodNotifyChange (Inherited from ProjectObject.)
Protected methodNotifyChange(ProjectObjectChangeType) (Inherited from ProjectObject.)
Protected methodOnCreatingObject (Inherited from GraphicComponent.)
Protected methodOnDelete (Inherited from GraphicComponent.)
Protected methodOnUndoRedo (Inherited from GraphicComponent.)
Public methodRemoveInternalGeometry
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.
Public methodRemoveInternalGeometry(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.
Public methodReplaceMaterial
Public methodSaveAs(String)
Saves (exports) the Part to the specified format.
Public methodSaveAs(String, Int32)
Saves (exports) the Part to the specified format.
Public methodScale
Scales this Part uniformly around its origin.
Public methodSetMaterial(Material)
Public methodSetMaterial(Material, Boolean)
Sets the material of the object.
(Inherited from GraphicComponent.)
Protected methodSetMatrix (Inherited from GraphicComponent.)
Public methodSetPhysicsCollisionProperties
Sets settings for collision detection during physics simulation.
Public methodSetPhysicsSurfaceVelocity
Gets properties for physics simulation of surface movement.
Public methodToString (Inherited from ProjectObject.)
Public methodCode exampleTryGetNormalToSurface
Calculates the closest point and the corresponding normal.
(Inherited from GraphicComponent.)
Top
Fields
  NameDescription
Protected field_childInstances (Inherited from GraphicComponent.)
Protected field_clipPlane (Inherited from GraphicComponent.)
Protected field_curUndoDeltaState (Inherited from ProjectObject.)
Protected field_definition (Inherited from GraphicComponent.)
Protected field_detectable (Inherited from GraphicComponent.)
Protected field_frames (Inherited from GraphicComponent.)
Protected field_pickingEnabled (Inherited from GraphicComponent.)
Protected field_source (Inherited from GraphicComponent.)
Protected field_sourceFileTime (Inherited from GraphicComponent.)
Protected field_transformMat (Inherited from GraphicComponent.)
Top
Version Information

Supported in: 1.0.0.0
See Also