.. _textbuilder: ############################### Text Builder ############################### 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. .. thumbnail:: /_images/Images/whatistextbuilder.png :title: Text Builder .. centered:: :sup:`Text Builder` | | Languages support in Text Builder ========================================= The worker *TEXT BUILDER supports all languages like LSDYA, text , JAVA,PYTHON, etc and materials can be built using all these languages. .. thumbnail:: /_images/Images/languagestextbuilder.png :title: Languages .. centered:: :sup:`Languages` | | 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. .. video:: _static/movies/textbuilderinputs.mp4 :width: 100% | | *TEXT_BUILDER worker supports viewing of number input in exponential form under settings option.​ .. thumbnail:: /_images/Images/numberinputsexponentialform.png :title: Number inputs .. centered:: :sup:`Number Inputs` | | 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. .. video:: _static/movies/textbuilderconditionss.mp4 :width: 100% | | 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. .. video:: _static/movies/textbuilderblocks.mp4 :width: 100% | | In *TEXT_BUILDER worker, the blocks added to the lines can be removed using the content menu options.​ .. thumbnail:: /_images/Images/removeblockstextbuilder.png :title: Remove blocks .. centered:: :sup:`Remove blocks` | |