Share

WorkSurface Object


Description

The WorkSurface object represents a work surface, which is a type of work feature.

Methods

Name Description
GetReferenceKey Method that generates and returns the reference key for this entity.

Properties

Name Description
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
AttributeSets Property that returns the AttributeSets collection object associated with this object.
Exported Read-write property that gets and sets whether the object is exported. Objects must be marked for export in order for them to be derived.
Parent Property that returns the parent object from whom this object can logically be reached.
SurfaceBodies Property that returns the surface bodies associated with this work surface. A work surface can contain more than one surface body.
Translucent Specifies the translucency of the work surface.
Type Returns an ObjectTypeEnum indicating this object's type.
Visible Specifies the visibility of the work surface.

Accessed From

WorkSurfaceProxy.NativeObject, WorkSurfaces.Item

Derived Classes

WorkSurfaceProxy

Samples

Name Description
SurfaceBody Copy This sample demonstrates copying a surface body from one part to another. This is equivalent to the Promote command, but the API is much more flexible. In order for the sample to be self-contained, it creates two parts on the fly that will be used to demonstrate copying a body from one part to another. When copying a body into a part, you provide the surface body and a matrix to define its position in the new part. This sample creates a matrix based on the position of these parts within an assembly.

Version

Introduced in version 6

Was this information helpful?