bdeGetPropertyValueAsBool
Returns the value for a given property of block as a bool.
Syntax
propertyValue = bdeGetPropertyValueAsBool(block, property)
Inputs
- block
- The block to get the property value from.
- property
- The name of the property to get the value of. Can use 'atomic', 'inlinable', 'masked'.
Outputs
- propertyValue
- The value of the property in block. Returns 1 or 0 depending on whether or not the property flag is set.
Examples
diagram = bdeGetCurrentDiagram();
block = bdeGetSelectedBlock(diagram);
propertyValue = bdeGetPropertyValueAsBool(block, 'inlinable');
propertyValue = 1