uf_clone.h (²é¿´Ô´´úÂë)
 
¸ÅÊö
This include file declares routines used for performing clone
operations and clone based PDM Assembly Import and Export
functions. Using these routines you can:

Clone an assembly

Edit an Existing assembly in place

Import an assembly to the PDM system

Export an assembly from the PDM system

Note that all these operations act on part files on disk, parts which
are currently loaded in the session will not be affected - if you wish
to operate on parts which have been modified in the current session
you should save them first.

It is also possible to register user supplied callback functions,
which clone operations will call at appropriate times. These functions
can be registered in for use in Interactive NX as well as in
Open API programs.

The callback functions are of two types:

Notify callbacks; these are called before and after actions are taken
during a clone operation. A callback called before the action is taken
has the option to forbid that operation from occurring. This could
allow enforcement of company practices or conventions. Notify
callbacks can also be useful to allow you to take actions which are a
part of your company processes when a clone operation is performed,
setting specific part attributes when a part is exported from the
NX Manager database for instance. Finally they can be used to provide
feedback to the user about the progress of the operation.

Convert Callbacks; these are called when NX requires a value
for a piece of information that has not been specifically supplied by
the user or program. They are called before NX goes on to
apply its own default algorithms for generating these values.

In both cases, multiple callbacks can be registered at the same
callback point - the callback lists are ordered, and callbacks earlier
in the list can allow callbacks later in the list to be called, or
prevent them from being so, by returning appropriate return codes.

Note on Nomenclature: because the functions and types declared here
can be used both within NX Manager or outside it (when performing a
clone), or both at the same time (when performing an import or an
export), there is a nomenclature problem. What NX Manager calls a part
'number', native NX calls a part 'name'. NX Manager has a database
attribute of 'name' which is not the same as the part number.

In this file, name is used throughout in the native NX sense,
corresponding to the NX Manager part number. The term 'pdm_name' is
used for the database attribute 'name'.

'def' is uniformly used in function names as an abbreviation for
'default', likewise 'co' for 'checkout'.