C4DAtom.SetParameter()
or
GeListNode.__setitem__()
NetRenderService.CreateRenderJob()
username
parameter
PaintTexture.CreateNewTexture()
path
parameter
c4d.plugins.RegisterDescription()
unnecessary
g
parameter
C4DAtom.AddUniqueID()
now returns a bool
c4d.storage.ReadHyperFile()
C4DAtom.GetUniqueIDIndex()
DescriptionCustomGui
class
net
module:
NetRenderService.GetMachinesList()
c4d.modules.net.SetErrorLevel()
thinkingparticles
module:
TP_MasterSystem.UpdateGroup()
TP_PGroup.Cache()
and
TP_PGroup.IsCache()
A new color property has been added to Thinking Particles. TP Particles have now
IN_PART_COLOR
and
OUT_PART_COLOR
parameters.
TP_MasterSystem
has
Color()
and
SetColor()
new methods.
To preserve the old behavior
PGROUP_USE_COLOR
parameter has been added to Particle Groups.
TP_PGroup
class has
GetUseColor()
and
SetUseColor()
new methods.
net
module:
c4d.modules.net.SetErrorLevel()
NetRenderService.AddMachine()
NetRenderService.GetJobsList()
Note
For the Cinema 4D objects the operator [] (defined in
GeListNode.__getitem__()
and
GeListNode.__setitem__()
) is used to get/set their parameters data. The corresponding functions of the C++ API are
C4DAtom::GetParameter()
and
C4DAtom::SetParameter()
. Notes have been added to
GeListNode.__getitem__()
and
GeListNode.__setitem__()
.
BitmapButtonCustomGui
c4d.documents.LoadFile()
c4d.CallButton()
GvNode.AddPort()
BaseDocument.AddUndo()
c4d.documents.RenderDocument()
TP_PGroup
is now completely documented.
With
c4d.CallFunction()
it is now possible to call a function defined within a scripting expression (Python and C.O.F.F.E.E. scripting tags, effectors, XPresso nodes, Interaction tags and Python generators). This alows better workflow and interaction between scripting expressions in the same document.
SculptBrushToolData
.
SculptBrushToolData
plugin examples have been added too:
HyperFile
Read and Write methods have been refactored:
Changes in
NetRenderService
:
NetRenderService.Message()
NetRenderService.ClearResults()
NetRenderService.GetNetPreferences()
NetRenderService.GetMachinesList()
NetRenderService.GetUserPool()
NetRenderService.GetJobsList()
NetRenderService.CreateRenderJob()
NetRenderService.StartRendering()
NetRenderService.InitRendering()
NetRenderService.InitAndStartRenderingFullAsync()
NetRenderService.StopRendering()
NetRenderService.DeleteRenderJob()
NetRenderService.InsertJobAfter()
NetRenderService.InsertJobBefore()
NetRenderService.SetDefaultSceneName()
NetRenderService.GetRepository()
NetRenderService.AddLogToJob()
NetRenderService.AddLogToMachine()
NetRenderService.GetName()
NetRenderService.NetConsoleOutput()
NetRenderService.GetMachinesList()
instead)
NetRenderService.GetJobsList()
instead)
Changes in
UserPool
:
UserPool.DeleteUser()
and
UserPool.ChangePassword()
: Renamed
username
to
userUuid
and changed type from
str
to
UUID
Here is the list of other API changes in the R16 Python API:
BaseDocument.GetDocumentData()
BaseDocument.SetDocumentData()
BaseDocument.RecordKey()
BaseDocument.AutoKey()
BaseList2D.AddEventNotification()
BaseList2D.RemoveEventNotification()
BaseList2D.FindEventNotification()
C4DAtom.IsInstanceOf()
C4DAtom.GetParameter()
C4DAtom.SetParameter()
C4DAtom.FindUniqueID()
C4DAtom.AddUniqueID()
C4DAtom.GetUniqueIDCount()
SculptObject.GetMaskCachePoint()
SculptObject.UpdateMask()
SculptObject.InitOpenGL()
SculptObject.IsPointSelected()
SculptObject.IsPolygonSelected()
SculptObject.GetPolygon()
SculptObject.GetDisplayPolygonObject()
c4d.threading.GeGetCurrentThreadCount()
BaseDraw.DrawArc()
BaseDocument.GetAllTextures()
BaseDraw.GetGridStep()
does not take any parameter
BaseDocument.ExecutePasses()
was always running in the main thread
BaseDocument.GetLayerObjectRoot()
,
BaseSelect.SelectAll()
and
VariableTag.GetDataCount()
PaintTexture
: