Well, I think found it.
Don't perfect but its works
import c4d
import os
from os.path import join, normpath
from c4d import documents
def export():
dirpath = "c:/usr/temp/" # temp directory
global tdoc
sobj = doc.GetActiveObjects(0)
# isolate objects
tdoc = c4d.documents.IsolateObjects(doc, sobj)
# get path with object name
full_dirpath = normpath(join(dirpath + (doc.GetActiveObjects(0)[0]).GetName() + ".obj"))
# export to obj
documents.SaveDocument(tdoc,full_dirpath,c4d.SAVEDOCUMENTFLAGS_0,1030178)
if __name__=='__main__':
export()
documents.KillDocument(tdoc)