Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
I am trying to use the following script to send column names to the graph builder suite but JMP is throwing an exception and quitting. (names contains column names, I am using i as a subscript, the forum does not show it)
The crashing seems to happen when graph builder gets a Y entry which doesn't exist for any reason including faulty coding. So scripting the graph builder requires some care to prevent that from happening. The example below does not have that robustness but does illustrate how to do the basic function you appear to be looking for. I got this by simplifying a different and more complex example that was posted here some time ago.
This seems to work. Note that in the Graph Builder command, for Y I now wrap the subscripted colnames with char. The example makes one of the columns in the fitness data have a column name which will be returned wrapped with Name() so you have both kinds of column names in the example.