Script to export tags with nodal coordinates in a .csv file

Tag entities tag a piece of information, called the body, onto a node, element, line, surface, point, or solid within the model. They can be used to reference an entity across multiple versions of the same model. A tag consists of a label and a body, and must be assigned to an entity. 

Tags can be exported in solver deck , .csv and .html formats. The tags export the node ids associated with the tag without the nodal coordinates of each node. The script aims to retrieve nodal coordinates for each node and add this additional information to the exported .csv file. 


To execute the script , you can go to File -> Load -> Script and select the .tcl script shared. The script will prompt the user to select the tags and will create .csv file with data from Tags in a .csv file.