Library | Module

Class pfcDetailSymbolDefItem



Description

This interface represents a symbol definition in a Creo Parametric model.
See Also:
pfcDetailItemOwner.GetDetailItem(), pfcDetailItemOwner.ListDetailItems(), pfcDetailItemOwner.CreateDetailItem(), pfcDetailItemOwner.RetrieveSymbolDefinition()
Direct Parent Classes:
pfcDetailItem



Method Summary

pfcDetailItemCreateDetailItem (pfcDetailCreateInstructions Instructions)
Creates a detail item in the symbol definition.
pfcDetailNoteItemCreateFreeNote (pfcDetailTextLines TextLines, pfcFreeAttachment Attach)
 
pfcDetailSymbolGroupCreateSubgroup (pfcDetailSymbolGroupInstructions Instructions, /* optional */ pfcDetailSymbolGroup ParentGroup)
Create a subgroup in the specified symbol group.
/* optional */ pfcDetailItemGetDetailItem (pfcDetailType Type, number Id)
Returns a detail item in a symbol definition, given its id and type.
pfcDetailSymbolDefInstructionsGetInstructions ()
Returns an instructions data object describing how a symbol definition is constructed.
booleanIsSubgroupLevelExclusive ( /* optional */ pfcDetailSymbolGroup ParentGroup)
Determine if the subgroups stored in the symbol definition on the indicated level are exclusive.
/* optional */ pfcDetailItemsListDetailItems ( /* optional */ pfcDetailType Type)
Lists the detail items in the symbol definition.
/* optional */ pfcDetailSymbolGroupsListSubgroups ()
List the subgroups in the symbol definition.
voidModify (pfcDetailSymbolDefInstructions Instructions)
Modifies a symbol definition.
voidSetSubgroupLevelExclusive ( /* optional */ pfcDetailSymbolGroup ParentGroup)
Set the symbol groups exclusive at specified level.
voidSetSubgroupLevelIndependent ( /* optional */ pfcDetailSymbolGroup ParentGroup)
Set the symbol groups independent at specified level.



Method Detail


pfcDetailItemCreateDetailItem (pfcDetailCreateInstructions Instructions)

Creates a detail item in the symbol definition.
Parameters:
Instructions
The data item instructions. This should be a pfcDetailEntityInstructions or pfcDetailNoteInstructions object.
Returns:
The detail item created in the symbol definition.



pfcDetailNoteItemCreateFreeNote (pfcDetailTextLines TextLines, pfcFreeAttachment Attach)

 
Parameters:
TextLines
 
Attach
 
Returns:
 



pfcDetailSymbolGroupCreateSubgroup (pfcDetailSymbolGroupInstructions Instructions, /* optional */ pfcDetailSymbolGroup ParentGroup)

Create a subgroup in the specified symbol group.

If no symbol group is specificed, the subgroup is created under the top level symbol group.

Exceptions thrown (but not limited to):

pfcXToolkitInvalidName - A group with the provided name already exists at this level.


Parameters:
Instructions
The characteristics for creating the subgroup.
ParentGroup
The symbol group under which the subgroup is to be made.
Returns:
The symbol group.



/* optional */ pfcDetailItemGetDetailItem (pfcDetailType Type, number Id)

Returns a detail item in a symbol definition, given its id and type.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - This means either:

  • No entities were found, OR
  • No notes were found.

pfcXToolkitOutOfMemory - Found too many (either/all of) entities, notes to be contained in the output array. Use Visit instead.


Parameters:
Type
The detail type.
Id
The integer identifier.
Returns:
The detail item, or null, if the item was not found.



pfcDetailSymbolDefInstructionsGetInstructions ()

Returns an instructions data object describing how a symbol definition is constructed.
Returns:
The instructions data object.



booleanIsSubgroupLevelExclusive ( /* optional */ pfcDetailSymbolGroup ParentGroup)

Determine if the subgroups stored in the symbol definition on the indicated level are exclusive.
Parameters:
ParentGroup
The exclusiveness is determined at the level of this symbol group. If not specifed, the top level is assumed.
Returns:
true if the subgroups are exclusive and false if independent.



/* optional */ pfcDetailItemsListDetailItems ( /* optional */ pfcDetailType Type)

Lists the detail items in the symbol definition.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - This means either:

  • No items were found, OR
  • No entities were found, OR
  • No groups were found, OR
  • No notes were found, OR
  • No symbol definitions were found, OR
  • No symbol instances were found.

pfcXToolkitOutOfMemory - Found too many (either/all of) entities, groups, notes, symbol definitions, symbol instances to be contained in the output array. Use Visit instead.


Parameters:
Type
The type of detail items to list.
Returns:
The items found, or null, if no items were found.



/* optional */ pfcDetailSymbolGroupsListSubgroups ()

List the subgroups in the symbol definition.

Exceptions thrown (but not limited to):

pfcXToolkitNotFound - No groups are stored in the symbol definition at this level.


Returns:
The list of sub symbol groups.



voidModify (pfcDetailSymbolDefInstructions Instructions)

Modifies a symbol definition.
Parameters:
Instructions
Data object containing modifications to the symbol definition.



voidSetSubgroupLevelExclusive ( /* optional */ pfcDetailSymbolGroup ParentGroup)

Set the symbol groups exclusive at specified level.

Once set exclusive, only one of the groups at this level may be active in the model at any time.

Exceptions thrown (but not limited to):

pfcXToolkitNoChange - The status was already set to the designated value.


Parameters:
ParentGroup
The symbol groups at the level of this symbol group are set exclusive. If not specified, the top level is assumed.



voidSetSubgroupLevelIndependent ( /* optional */ pfcDetailSymbolGroup ParentGroup)

Set the symbol groups independent at specified level.

Once set independent, any number of groups at this level may be active in the model at any time.

Exceptions thrown (but not limited to):

pfcXToolkitNoChange - The status was already set to the designated value.


Parameters:
ParentGroup
The symbol groups at the level of this symbol group are set independent. If not specified, the top level is assumed.