You can define the part interface in the following ways:
- Create a new part based on a class with features you
need. The new part inherits the features of the class it
extends.
- Add features to a part in the Part Interface Editor. You
can add features to extend the inherited feature set, to
override inherited features, or both.
- Promote features of embedded parts to the interface of a
composite part.
- Describe parts and features with part information
statements. This is useful primarily for existing code
that you want to use in visual composition. You can
define any of the following constructs in this manner:
- A C++ class that you want to use as a part
- A group of C functions that you want to use as a
part
- An enumeration or type definition that you want
to use with parts
About Defining Part
Interfaces
Generated Code
Adding Features to the Part
Interface
Promoting Embedded Part
Features in the Composition Editor
Promoting Embedded Part
Features in the Part Interface Editor
Defining the Part Interface
Using Part Information Statements
Specifying Preferred Features