Can Marvin applet display all structures from an SD file?

31-01-2005 13:58:59

I would like to display all molecules from an SD file in a MarvinView applet.


Is it possible?

ChemAxon 7c2d26e5cf

31-01-2005 14:32:43

You can display the content of the SD file in a (scalable) MarvinView table.


With using the "mol" applet parameter, you can specify the name of the file from where the applet will import the structures.


http://www.chemaxon.com/marvin/doc/dev/viewman.html#parameters.mol





If you define a molecule table with R rows and C cols (where R x C is N) and the "mol" parameter refers to a multiple structured file, MarvinView applet will load the first N (R x C) structures from the specified file.


Thus, before you specify the layout of the MarvinView applet, you already have to know how many structures are in your SD file.





You can find an example about it among Marvin Applets examples:


http://www.chemaxon.com/marvin/doc/dev/example-view2.6.html