Documentación de la API
>
Miscellaneous
>
Object uiCmdAccess
> Callback uiCmdAccessFn
Callback uiCmdAccessFn
Description
The callback function attached to a Creo Parametric command by passing it to either
ProCmdOptionAdd
,
ProCmdActionAdd
, or
ProCmdAccessFuncAdd.
uiCmdAccessFn specifies the access allowed to the command.
Synopsis
#include <
ProUICmd.h
>
uiCmdAccessState
(*uiCmdAccessFn)
(
uiCmdAccessMode
access_mode
/* (In)
Whether or not to allow error messages. Can be ignored by the callback function.
*/
)
Returns
One of the values of
uiCmdAccessState
, showing which access is permitted.
User Guide References
Adding an Action to the Creo Parametric Creo+ Ribbon:uiCmdAccessFn
Adding an Option Command to Creo Parametric Creo+—Check Button:uiCmdAccessFn
Parent topic
Object uiCmdAccess
¿Fue esto útil?
Este sitio funciona mejor con JavaScript activado