17. Text Builder

17.1. What is Text Builder?

*TEXT_BUILDER is a new worker that is available on d3VIEW to build Materials as text files using text editor and variables in Workflows.​

We can further modify the values manullay or by adding different input variables to the editor and save them to build the text Materials.

Text Builder



17.2. Languages support in Text Builder

The worker *TEXT BUILDER supports all languages like LSDYNA, text , JAVA,PYTHON, etc and materials can be built using all these languages.

Languages



Added new ‘MATML’ language support in *TEXT_BUILDER worker.

Languages MATML



17.3. Code snippets

Two new code snippets templates for ‘MAT_GISSMO’ and ‘MAT_Erosion’ is added to LSDYNA language in *TEXT_BUILDER worker.​

Code Snippets



In Text builder worker, the code snippets can be added from DYNA MANUAL worker’s execution using the ‘Add Dynamanual’ button available in the bottom of code snippets option.​



17.4. Input variables in Text Builder

*TEXT_BUILDER worker supports TEXT, NUMBER, DEFINE_TABLE and CURVE input variables in the editor and these can be viewed in raw and parsed contents.​

Below video shows how to build a basic material using text builder worker.



*TEXT_BUILDER worker supports viewing of number input in exponential form under settings option.​

Number Inputs



TEXT_BUILDER worker now supports inputs to display the unit conversion values in the workflows.​



Curve ID is now supported for the DEFINE_TABLE inputs in TEXT_BUILDER worker.​

Curve ID DEFINE_TABLE



17.5. Conditions in Text Builder

Different conditions are supported in Text Builder worker.

Conditions like ‘IF’ and ‘Else’ are now supported for the variables in the code editor under *TEXT_BUILDER worker​

Below video shows how to use conditions in the Text builder worker.



17.6. Adding blocks to lines

*TEXT_BUILDER worker supports adding of blocks to the lines in Workflows. Multiple lines can be selected and blocks can be added to these lines.​

These blocks can be used to drag and drop the input variables correctly on to the places and makes the building of the Materials easy for the user.



In *TEXT_BUILDER worker, the blocks added to the lines can be removed using the content menu options.​

Remove blocks



The line blocks added to *TEXT_BUILDER worker can be edited to add values manually to the editor.​



17.7. Export

Text Builder worker can be exported using context menu option with all the variable references and inputs from the other workers. The exported workflow will have all the inputs assigned to the Text builder worker when it is re imported in Workflows.



17.8. Output assignment

Text_Builder: Output assignments dropdown will now filter the inputs by the current output type.​

Output assignments



17.9. TextArea outputs

All textarea outputs in any worker can now be converted to a new TextBuilder worker, which will be added right beside the current worker.​