Function ProParameterWithUnitsCreate
Description
Adds the specified parameter to the database and initializes the handle. The parameter will be created with units.
Replacement in Object TOOLKIT:
Synopsis
#include <ProParameter.h>
ProParameterWithUnitsCreate
(
/* (In)
The owner (a model item or solid)
*/
ProName name
/* (In)
The name of the ProParameter
*/
/* (In)
The initial data the ProParameter will hold.
*/
/* (In)
The units assigned to this parameter. To create a parameter without units, pass NULL.
*/
/* (Out)
The handle to create and initialize
*/
)
Returns
The function successfully added the parameter.
Model is in read-only state.
One or more of the input arguments are invalid.
The owner is nonexistent.
The specified parameter already exists.
The function could not add the parameter to the database.
The specified parameter is invalid.
See Also
ProParameterCreate
Sample Code References
User Guide References
これは役に立ちましたか?