void cvxAutoRegenGet ( int *Status /* O: 1 if "auto regen" is ON; 0 if OFF */ ) /* DESCRIPTION: Gets the status of part "auto regen" (1=ON; 0=OFF). */ ________________________________________________________________________________ void cvxAutoRegenSet ( int Status /* I: 1 if "auto regen" is ON; 0 if OFF */ ) /* DESCRIPTION: Sets the status of part "auto regen" (1=ON; 0=OFF). */ ________________________________________________________________________________ int cvxGlobalGet ( evxGlobal Global, /* I: global setting to modify */ void *Data /* O: data to assign to global setting */ ) /* DESCRIPTION: Retrieves the value of the specified setting. To accomodate different data types, "Data" is a void pointer. Make sure it references the appropriate storage type. Look at "enum evxGlobal" to see what type of storage is required for each setting. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxGlobalSet ( evxGlobal Global, /* I: global setting to modify */ void *Data /* I: data to assign to global setting */ ) /* DESCRIPTION: Assigns the specified data to the specified setting. To accomodate different data types, "Data" is a void pointer. Make sure it references the appropriate data type. Look at "enum evxGlobal" to see what type of data is required for each setting. Be careful using this function to change global settings. It is only meant for temporary modification of a setting while an API function is executing. Always restore the original setting when your function is done. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ void cvxHostId ( double *idNetwork, /* O: decimal encoded network id */ double *idDongle /* O: decimal encoded dongle id */ ) /* DESCRIPTION: Outputs the network card id and/or dongle id of the host computer for the instance of VX currently executing. Outputs zero for an undefined ID. */ ________________________________________________________________________________ int cvxLabelMatch ( int *Label1, /* I: first persistent label (null-terminated integer array) */ int *Label2 /* I: second persistent label (null-terminated integer array) */ ) /* DESCRIPTION: Returns 0 if the input labels do not match, 1 if they are the same and 2 if they are a "close" match. */ ________________________________________________________________________________ void cvxLangGet ( vxName Language /* O: name of active language */ ) /* DESCRIPTION: Outputs the name of the active language. The following are supported language names: Danish, Dutch, English, French, German, Italian, Japanese, Korean, Portuguese, Spanish, Chinese-simplified.936, Chinese-traditional.950, Chinese.936, Thai.874, Greek.1253, Finnish */ ________________________________________________________________________________ void cvxNewCommand(void) /* DESCRIPTION: Displays buffered error messages and resets the GUI to prompt the user for a new command. Generally you would call this function at the end of your custom API code before returning control to VX -- unless your code is automatically called by a custom command template. */ ________________________________________________________________________________ int cvxNoteGet ( char **Note /* O: null-terminated text string */ ) /* DESCRIPTION: Retrieves the "Notes" associated with the active root object (or the active file if no root is active) and outputs them via "Notes". The memory referenced by "Note" is allocated by this function and must be deallocated by the calling procedure. If there are not any notes, no memory is allocated by this function, and "*Note" is set to NULL. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxNoteSet ( char *Note /* I: null-terminated text string */ ) /* DESCRIPTION: Assigns the specified text to the "Notes" associated with the active root object -- or to the active file there is not an active root object. Returns 1 if function fails; 0 if it succeeds. */ ________________________________________________________________________________ int cvxOpCount (void) /* DESCRIPTION: Returns the current number of operations in the current transaction. This number is passed to cvxEntNew() or cvxEntNewList() as a reference point for finding entities created after completion of a particular operation. */ ________________________________________________________________________________ void cvxShowDisp ( int SlideNumber /* I: Show-n-Tell slide number ( >= 1) */ ) /* DESCRIPTION: Displays the specified "Show-n-Tell" slide, numbered from 1. */ ________________________________________________________________________________ void cvxShowOpen ( vxPath File /* I: path to Show-n-Tell file */ ) /* DESCRIPTION: Loads the specified "Show-n-Tell" file. Use cvxShowDisplay() to activate a specific "Show-n-Tell" slide. */ ________________________________________________________________________________ int cvxUndoRedoMarker ( vxName Name /* O: name of undo-redo transaction marker */ ) /* DESCRIPTION: Creates and logs an undo-redo transaction with a unique name, which is output via "Name". The transaction is essentially empty, but serves as a marker in the undo-redo transaction list. The marker can be passed to cvxUndoTo() to undo or redo all transactions up to, and including, the marker. This function will cause any recently-logged database operations to be flushed to an undo-redo transaction linked to the last-logged transaction. This function assumes "Name" is a character pointer to at least sizeof(vxName) bytes of memory allocated by the calling procedure. Returns 1 if function fails; 0 if it succeeds. Also see cvxCmdMarker(). */ ________________________________________________________________________________ int cvxUndoRedoTo ( int Undo, /* I: 1-undo, 0-redo */ vxName Name /* I: undo-redo transaction name */ ) /* DESCRIPTION: Undo/redo up to, and including, the specified transaction -- or to the start/end of the undo-redo transaction list -- whichever is encountered first. Returns 1 if function fails; 0 if it succeeds. Also see cvxCmdMarker(). */ ________________________________________________________________________________ void cvxUnitGet ( evxUnitType *Type, /* O: active linear units type */ vxName Name /* O: abbreviation for active units (NULL to ignore) */ ) /* DESCRIPTION: Outputs an integer id that identifies the active user units for linear measure (0-microns, 1-millimeters, 2-centimeters, 3-meters, 4-inches, 5-feet). If "Name" is not NULL, it is used to output an abbreviation for the name of the active units. */ ________________________________________________________________________________ void cvxUnitSet ( evxUnitType Type /* I: linear unit type */ ) /* DESCRIPTION: Sets the active user units for linear measure based on the input "Type" (0-microns, 1-millimeters, 2-centimeters, 3-meters, 4-inches, 5-feet). */ ________________________________________________________________________________ void cvxUnitToSys ( double *Distance /* I/O: distance */ ) /* DESCRIPTION: Converts specified distance from the active user units to system units (millimeters). */ ________________________________________________________________________________ void cvxUnitToUser ( double *Distance /* I/O: distance */ ) /* DESCRIPTION: Converts the specified distance from system units (millimeters) to the active user units. */ ________________________________________________________________________________ int cvxVersion (char *vxStatus) /* DESCRIPTION: Returns the active VX version number as an integer (one-hundreths). If "vxStatus" is not NULL, a string describing the version is output that indicates whether it is Alpha or Beta along with a revision number. If "vxStatus" is not NULL, it should point to at least 80 bytes of memory. */ ________________________________________________________________________________