THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/08/2011 at 21:29, xxxxxxxx wrote:
Originally posted by xxxxxxxx
You cannot see the images ? :cry:
Ehm, layout ? Do you mean websites ?
Actually, theese are the links:Python Docs: http://docs.python.org/index.html
Xrange function: http://docs.python.org/library/functions.html?highlight=xrange#xrange
Range function: http://docs.python.org/tutorial/controlflow.html#the-range-function
for statement: http://docs.python.org/tutorial/controlflow.html#for-statementsEdit: Using the SaveDocument function works just fine and no dialog appears.
import c4d from c4d.documents import SaveDocument def main() : SaveDocument(doc, 'C:\\foo.c4d', 1, c4d.FORMAT_C4DEXPORT) if __name__=='__main__': main()
You just have to make sure that the file-path is absolute, not relative.
Yeah mate I've got my head around that function now which is great.
However from the SDK there doesnt seem to be an option/flag to make it a 'SAVE PROJECT' function where the entire project folder is saved INCLUDING tex folder, GI files etc.
So I want to iterate the same function as when the user goes File/Save Project...
not sure if i made sense.