Autodesk Creative Platform Core Version 1.19.0
A broad and deep collection of 2D and 3D capabilities.

BooleanParameterJSON Overview

Inherits Classes: ParameterJSON

Indicates a boolean value (true or false). The ParameterJSON.type must be set to "bool" for these additional properties to be configured.

1 Example:

var params = [
  {
    "id": "pointed",
    "displayName": "Pointed",
    "type": "bool",
    "default": true
  }
];

JSON Field Summary

  • property
      default | Required
  • property
      displayIcon | Optional
  • property
      displayName | Required
  • property
      id | Required
  • property
      invalid | Optional , Default: "" , Coming Soon!
  • property
      type | Required
  • property
      validate | Optional , Default: false , Coming Soon!
  • property
      visible | Optional , Default: true , Coming Soon!

JSON Field Details

Boolean default | Required

The default value for the parameter. The value of this parameter when accessed through IShapeGenerator.preview, IShapeGenerator.evaluate or IShapeGenerator.validate will be the same type.