Creating a Part


Use the api_pm_create_part (or api_part_create) function to create a new part in C++. This will provide the context and history required. In ACIS MFC, if you construct a document it automatically creates a part.

When you open Scheme, a part exists by default, but is empty and unnamed (has no identifier). You can use the part:new extension to create a specific named part.

The PART class provides methods and data for grouping entities together as parts. Some of the capability provided by the PART methods includes:

Beginning with ACIS Release 7.0, the default behavior of distributed history in the PART component is now off. The options distributed_history and part_history have been removed. Two new APIs have replaced this functionality: api_part_set_distribution_mode and api_part_get_distribution_mode. The Scheme extensions part:set-distribution-mode and part:get-distribution-mode have also been added. If no call is made to api_part_set_distribution_mode to turn distributed history on, no distribution is done by the part manager.

[Top]