Skip to main content

Question:

What file types are supported in nTop Automate?

Applies to:

  • nTop Automate

Answer:

Supported types for Input
Variable TypeCommentExample
BooleanEach value should be true or false — not enclosed in quotes.{ "name": "Rotate Y to Z", "type": "bool", "value": true, }
ScalarEach value can be an integer or a float, and units are optional.{ "name": "Scalar_0", "type": "scalar", "value": 5, "units": "mm" }
IntegerEach value must be an integer without units.{ "name": "Number of points", "type": "integer", "value": 6 }
TextEach value should be a string.{ "name": "Text_0", "type": "text", "value": "d:\\auto" }
File PathEach value should be a valid file path as a string. Note that paths require double slashes due to JSON string rules.{ "name": "Path", "type": "file_path", "value": "C:\\Outputs\\geometry.stl" }
PointEach value should be an array of integers or floats.{ "name": "Center", "type": "point", "value": [1, 1, 1], "units": "mm" }
VectorEach value should be an array of integers or floats. Units are optional (more precisely, some vectors require units, and if not provided, the notebook will not run){ "name": "Scale", "type": "vector", "value": [1, 1, 1], "units": "mm" }
EnumEnums refer to any input types selected from a dropdown menu in a block input in nTop. Each value should be an array of integers representing the enum’s desired id. You can find the id of your enum in the Internal Documentation.{ "name": "Lattice Type", "type": "enum", "value": 0 }

Keywords:

file question type ntopcl input supported