Documentação da API > View manager > Object ProSimprepdata > Function ProSimprepdataAlloc
Function ProSimprepdataAlloc
Description
Allocates a ProSimprepdata structure.
NOTE:
Operates on assemblies only, not parts.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSimprepdata.h>
ProSimprepdataAlloc
(
ProName name
/* (In)
The name of the simplified representation.
*/
/* (In)
Set this to PRO_B_TRUE if the representation is temporary. Otherwise, set this to PRO_B_FALSE.
*/
/* (In)
The default action to be applied to the items (PRO_SIMP_INCLUDE or PRO_SIMPREP_EXCLUDE).
*/
ProSimprepdata** p_result
/* (Out)
The pointer to the allocated structure. To free the memory, call ProSimprepdataFree().
*/
)
Returns
The function successfully allocated the structure.
One or more of the input arguments are invalid.
See Also
Sample Code References
User Guide References
Isto foi útil?