Creation Functions : stmCreateActivity

stmCreateActivity

Creates a named activity in a specified activity chart with specified coordinates. The new activity will be created with an empty mini spec, selected implementation set to “Best Match” and termination type set to “Reactive Control.” To define mini spec or set a different selected implementation or termination type, a different API call is supplied later in this document.
Syntax
stmCreateActivity (stm_context, chart_name, activity_name, parent_activity_name, min_x, min_y, max_x, max_y, activity_type, short_description, long_description)
Return Type
status_code
See Function Status Codes for the list of possible values.
Arguments
Input/Output