ModelParameter.isDeletable Property

Parent Object: ModelParameter
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/ModelParameter.h>

Description

Gets if this parameter can be deleted. Parameters that have dependents cannot be deleted, and model parameters typically cannot be deleted. However, there is the possibility in uncommon workflows where a model parameter no longer has any dependents, and it was not automatically deleted. In this case, this property will return true, and the deleteMe method can delete the parameter.

Syntax

"modelParameter_var" is a variable referencing a ModelParameter object.

# Get the value of the property.
propertyValue = modelParameter_var.isDeletable
"modelParameter_var" is a variable referencing a ModelParameter object.
#include <Fusion/Fusion/ModelParameter.h>

// Get the value of the property.
boolean propertyValue = modelParameter_var->isDeletable();

Property Value

This is a read only property whose value is a boolean.

Version

Introduced in version September 2015