cdfCreateBaseCellCDF
cdfCreateBaseCellCDF(
g_cellID
[ ?doneProc t_doneProc ]
[ ?formInitProc t_formInitProc ]
[ ?fieldWidth x_fieldWidth ]
[ ?fieldHeight x_fieldHeight ]
[ ?buttonFieldWidth x_buttonFieldWidth ]
[ ?promptWidth x_promptWidth ]
)
=> g_cdfDataID / nil
Description
Creates a base-level CDF description for a cell. The CDF description is created with no parameters or simulation models.
Note the following:
-
You must open the cell in write mode.
-
Before using this function, ensure that the base-level CDF description does not already exist for the cell. If the CDF description already exists, this function will not update the existing CDF description.
Arguments
|
g_cellID
|
Specifies the cell ID for which the base-level CDF description is to be created.
|
|
?doneProc t_doneProc
|
Specifies an optional SKILL routine that is run to validate any parameter changes on the instantiation form.
|
|
?formInitProc t_formInitProc
|
|
|
Specifies an optional SKILL language routine that executes automatically when the component is placed on an instantiation form.
|
|
?fieldWidth x_fieldWidth
|
|
|
Specifies the width of a field on the instantiation form. The default width is 350 pixels.
|
|
?fieldHeight x_fieldHeight
|
|
|
Specifies the height of a field on the instantiation form. The default height is 35 pixels.
|
|
?buttonFieldWidth x_buttonFieldWidth
|
|
|
Specifies the width of a button on the instantiation form. The default width is 350 pixels.
|
|
?promptWidth x_promptWidth
|
|
|
Specifies the width of the prompt on the instantiation form. The default width is 175 pixels.
|
Value Returned
|
g_cdfDataID
|
The database object that represents the CDF description for the component.
|
|
nil
|
When a library is not specified.
|
Return to top