Deleting Groups
Functions Introduced:
The function
ProGroupUngroup() removes the indicated group and deletes the group header feature.
The function prototype
ProGroupUngroupPreAction() should be used for a notification corresponding to the
ProNotifyType PRO_GROUP_UNGROUP_PRE. This callback will be called just before the user ungroups an existing local group or UDF group in the user interface. If the application returns an error from this callback, ungroup activity will be prevented (thus providing a means by which UDFs or other groups may be effectively locked). If ungroup is being cancelled by the application, the application is required to provide an informational message to the user explaining this action.
The function prototype
ProGroupUngroupPostAction() should be used for a notification corresponding to the
ProNotifyType PRO_GROUP_UNGROUP_POST. This prototype provides information about the group that was just ungrouped:
• solid—The solid model that owns the group.
• group_id—The former group feature id.
• udf_name—The name of the UDF the group was created from.
• feature_list—The feature ids that were members of the group.
Parent topic