bdeGetBlockFullName
Gets the full name of the given block.
Syntax
fullName = bdeGetBlockFullName(block, includeRoot)
Inputs
- block
- The block to get the name of.
- includeRoot (optional)
- Boolean to decide whether or not the root should be included when returning the full name. If not used then automatically will not include the root.
Outputs
- fullName
- The full name of the block.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
fullName = bdeGetBlockFullName(block, true)
fullName = Root/blockname
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
fullName = bdeGetBlockFullName(block, false)
fullName = blockname