Question:
What file types are supported in nTop Automate?
Applies to:
- nTop Automate
Answer:
Supported types for Input
Variable Type | Comment | Example |
---|---|---|
Boolean | Each value should be true or false -- not enclosed in quotes. |
|
Scalar | Each value can be an integer or a float, and units are optional. |
|
Integer | Each value must be an integer without units. |
|
Text | Each value should be a string. |
|
File Path | Each value should be a valid file path as a string. Note that paths require double slashes due to JSON string rules. |
|
Point | Each value should be an array of integers or floats. |
|
Vector | Each 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) |
|
Enum | Enums 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. |
|
Comments
Hello Ajay,
I have a question regarding the inputs. Can we define input for "Scalar Fields Variable"?
I want to create a Gyroid Field and my input for changing the unit cell is like (x*0.5mm, y*0.5mm, and z*0.5mm; with unit mm^2), that I want to change the constant coefficients (0.5,0.5,0.5 to 1,1,1) but they are not included in the above input that you mentioned. I did not try it in my python yet but before that, I wanted to be sure that I am in the correct steps. I can not attach a picture to show you my workflow.
Thanks.
Please sign in to leave a comment.