User's Guide > Drawings > Detail Group Data
Detail Group Data
Functions Introduced:
ProDtlgroupdataAlloc() and ProDtlgroupdataFree() allocate and free a detail group structure in the form of a ProDtlgroup object. ProDtlgroupdataAlloc() also sets the name of the group.
ProDtlgroupdataIdGet() returns the internal ID of an existing group. ProDtlgroupdataNameGet() gets the name of the group.
ProDtlgroupdataDisplayedSet() and ProDtlgroupdataIsDisplayed() set and get the flag that controls whether or not the group is visible.
ProDtlgroupdataItemAdd() adds an item to the group contents. Items supported in the groups include entities, notes, symbol instances, and draft drawing dimensions.
ProDtlgroupdataItemsSet() sets the array of items into a group structure, replacing any existing items that may have been assigned.
ProDtlgroupdataItemsCollect() returns an array of the items in the group structure.
Example 14: Create New Group of Items
The sample code in the file UgDtlgroupExamples.c located at <creo_toolkit_loadpoint>/protk_appls/pt_userguide/ptu_drawing, shows a command which creates a group from a set of selected detail items.
도움이 되셨나요?