You'll probably have better luck getting this answered in the 'Custom IC' section of the forums, but the quick answer is to use the 'design( lib cell view )' form of the command in OCEAN.
See OCEAN Reference.
Thanks for your prompt reply. I did have a try using the design() command, e.g, design( "myLib" "mydesign" "schematic" ), but I kept getting an error stating that "currently you cannot specificy a lib-cell-view with the design() command in ocean". This obviously contradicts the information provided in the Ocean reference document. This is exactly what I would like to be able to do though, just define the cell in the library rather than the netlist itself.
If you have any further thoughts, I would be very grateful. In the meantime, I will re-post this question in the Custom IC section as you suggest.
I'm guessing you've already solved your issue by now. For anyone else looking through these threads and are hung up on this issue maybe this can shed some light on the subject.
make a simple script to run the non graphical icfb then give it lines of commands followed by "exit" and it will spit out a spectre netlist ".scs" file.
icfb -nograph < filewithcommands
heres what the "filewithcommands" looks like inside:
simulator( 'spectre )
design( "libname" "cellname" "viewname")
createNetlist( ?recreateAll t)