On 03/08/2017 at 07:34, xxxxxxxx wrote:
Thank you for the reply,
However this is what I am having problems with. While I can override some things, there does appear to be a whole bunch of these variables which I can't seem to access.
So for example:
# Begin Alembic export phase
# Get Alembic export plugin, 1028082 is its ID
plug = plugins.FindPlugin(1028082, c4d.PLUGINTYPE_SCENESAVER)
if plug is None:
return
op = {}
# Send MSG_RETRIEVEPRIVATEDATA to Alembic export plugin
if plug.Message(c4d.MSG_RETRIEVEPRIVATEDATA, op) :
print '{} Loading Alembic plugin: {}'.format(self.debug_string, op)
if "imexporter" not in op:
print '{} Export Failed: There was a problem with the Alembic plugin: {}'.format(self.debug_string, op)
return
# BaseList2D object stored in "imexporter" key hold the settings
abcExport = op["imexporter"]
if abcExport is None:
return
# Change Alembic export settings
abcExport[c4d.ABCEXPORT_FORMAT] = abc_export_format
abcExport[c4d.ABCEXPORT_FRAME_START] = frame_from_export #WORKS!
abcExport[c4d.ABCEXPORT_FRAME_END] = frame_to_export #WORKS!
abcExport[c4d.ABCEXPORT_FRAME_STEP] = frame_step #WORKS!
abcExport[c4d.ABCEXPORT_SUBFRAMES] = subframes #UNCONFIRMED
abcExport[c4d.ABCEXPORT_SELECTION_ONLY] = True #WORKS!
abcExport[c4d.ABCEXPORT_SPLINES] = True #FAILS
abcExport[c4d.ABCEXPORT_SDS_WEIGHTS] = True #FAILS
abcExport[c4d.ABCEXPORT_PARTICLES] = True #WORKS
abcExport[c4d.ABCEXPORT_PARTICLE_GEOMETRY] = False #WORKS
etc...
Running 18.057