bdeGetBlockParameter

Returns a parameter, parameterName, of a given block.

Syntax

blockParam = bdeGetBlockParameter(block, parameterName, parameterType)

Inputs

block
The block to get a parameter of.
Type: block
parameterName
The name of the parameter to get from the block.
Type: string
parameterType (optional)
The type of the parameter. Default is BDE_PARAMETER.
Type: ParameterType

Outputs

blockParam
The value of the given parameter in block.
Type: hwscpBlockParameter

Examples

Get a parameter from a block:

          diagram = bdeGetCurrentDiagram();
          block = bdeGetSelectedBlock(diagram);
          blockParam = bdeGetBlockParameter(block);
        

          
            blockParam = hwscpBlockParameter