![]() |
Further Implementation Decisions |
<<< Supplying A Frustrum | Chapters | Parasolid Source Code Collateral >>> |
This chapter discusses other functionality that you may want to consider using when integrating your application with Parasolid. None of the issues discussed here are essential in order to get a working frustrum.
You can register signal handlers with the operating system to recover from run-time errors and user interrupts. If you don’t have a signal handler in these situations, your application will most likely abort. For more information, see Volume 17, Error Handling.
Parasolid has two types of roll-back, both of which are available through the same mechanism.
If implemented, you can use roll-back in your application in several ways. For example:
You could implement partition-level roll-back so that each partition has only one part, users could make changes to individual parts and roll them back without affecting other parts in the session.
Roll-back is enabled by registering a delta frustrum before the session is started. The delta frustrum performs a similar function to the standard frustrum, and specifies how roll-back (delta) information is written and read.
See Chapter 97, “Rollback”, for more information.
Your application may need to track various entities within any Parasolid session. For example, tracking is required in order to:
There are several ways of tracking entities in Parasolid, and you need to decide which approach you want to take. The most straightforward ways of tracking entities are:
There are a number of session-level parameters that you can set up to alter the behaviour for the whole session. Examples of session-wide parameters include:
Session-level parameters are set to their default values when the Parasolid session is started. If you wish to change these values, you should do so after the session has started and when appropriate in your application workflow.For a list of all the session-wide parameters initialised at the start of a Parasolid session, see PK_SESSION_start.
There are many benefits to upgrading your Parasolid version, including accessing new API functions, new options within an existing API function, and bug fixes. At times it may be necessary to upgrade your Parasolid version with minimal disruption to your application. For example, if you are close to a release deadline and require a bug fix in a newer version of Parasolid.
A plug-and-play mechanism exists within Parasolid that enables you to use a newer version of Parasolid (as a dynamically linked library) without the need to rebuild your application. The mechanism performs a mapping between older and newer options structures so that the new build of Parasolid correctly interprets the options set in your existing application code.
To access all available functional enhancements when upgrading to a newer Parasolid version, you will need to rebuild your application code.
For more information on the plug-and-play mechanism see Section 9.8, “Compatibility between Parasolid versions”.
<<< Supplying A Frustrum | Chapters | Parasolid Source Code Collateral >>> |