bdeGetItemsInDiagram
Takes diagram and returns a list of all the items within the diagram.
Syntax
items = bdeGetItemsInDiagram(diagram)
Inputs
- diagram
- Diagram to get items of.
Outputs
- context
- The items of the diagram.
Examples
Get a list of the items of a model:
diagram = bdeGetCurrentDiagram()
items = bdeGetItemsInDiagram(diagram)
items =
{
[1,1] hwscpHyperBlock
[2,1] hwscpHyperBlock
[3,1] hwscpHyperBlock
[4,1] hwscpHyperBlock
[5,1] hwscpHyperBlock
[6,1] hwscpHyperBlock
[7,1] hwscpHyperBlock
[8,1] hwscpHyperBlock
[9,1] hwscpHyperBlock
[10,1] hwscpHyperBlock
[11,1] hwscpHyperBlock
[12,1] hwscpHyperBlock
[13,1] hwdcConnection
[14,1] hwdcConnection
[15,1] hwdcConnection
[16,1] hwdcConnection
[17,1] hwdcConnection
[18,1] hwdcConnection
[19,1] hwdcConnection
[20,1] hwdcConnection
[21,1] hwdcConnection
[22,1] hwdcConnection
[23,1] hwdcConnection
[24,1] hwdcConnection
[25,1] hwdcConnection
[26,1] hwdcConnection
[27,1] hwdcConnection
}