bdeGetBlockParameter
Returns a parameter, parameterName, of a given block.
Syntax
blockParam = bdeGetBlockParameter(block, parameterName, parameterType)
Inputs
- block
- The block to get a parameter of.
- parameterName
- The name of the parameter to get from the block.
- parameterType (optional)
- The type of the parameter. Default is BDE_PARAMETER.
Outputs
- blockParam
- The value of the given parameter in block.
Examples
Get a parameter from a block:
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
blockParam = bdeGetBlockParameter(block);
blockParam = hwscpBlockParameter