To reuse a part, you need to add its part information file to
your list of part source files. You can add either of the
following types of part information files:
- A part interface (.vbe) file, for a part that you want to
use in visual composition.
- A part implementation (.vbf) file, for a part that is
under development.
To add a new target based on existing part information files,
do the following in the IDE:
- From the Project Workbook menu, select Add
Target. Then, select Executable(EXE) or Dynamic
Link Library(DLL) to open a Target SmartGuide.
- Select Next in each window until you reach the
Source Files window.
- In the Source Files window, do the following for each
part information file that you want to add.
- Select the part information file
- Select Add
- When you have added the part information files you want
in the Source Files window, select Finish to add
the target.
To add part information files to an existing target, do the
following in the IDE:
- Open the target pop-up menu from any of the following
views in the Configuration section:
- The Targets view of the Targets page
- The Source and Targets view of the Options
page
- The Details view of the Advanced page
- From the target pop-up menu, select Add source into
to open the Add Source into window.
- In the Add Source into window, do the following for each
part information file that you want to add.
- Select Find to open a file dialog
- Select the part information file
- Select Add
- When you have added the part information files you want
in the Add Source into window, select Apply to add
the files to the target.
If you add part information from a part interface (.vbe) file,
you must have the following files:
- The .hpp header file for the part. If you have an .hpv
header file for the part, include that as well.
- String-resource and runtime DLLs for the part.
- For custom visual primitives, an interface DLL for
working with the part on the free-form surface.
Add or Change Targets
Exporting a Part Interface for
Reuse
Packaging Part Files for
Distribution
Sharing Parts with Other
Programmers