
ProUnitCreateByExpressionAndType | |
( ProMdl mdl /* (In) The model handle. */ ProName unit_name /* (In) The unit name. */ ProPath expression /* (In) The unit expression. */ ProUnitType type /* (In) unit type */ ProUnititem* new_unit /* (Out) The new unit handle. May be NULL. */ ) |

The function succeeded. | |
Model is in read-only state. | |
One or more arguments was invalid. | |
The unit_name is already used. |

