What was New in R13¶
In R13.058¶
- Miscellaneous changes:
Gradient.InvertKnots()now returns a boolBaseSelect.SelectAll()now works as expected
- Changes in the documentation:
- Handles are now working in the examples : see Py-DoubleCircle, Py-RoundedTube and Py-SpherifyModifier
- New example added for
TagDataplugins: Py-LookAtCamera - Information on getting the generator in a Python effector
- New section in Plugin Structure about C4DPL_RELOADPYTHONPLUGINS message : Python Plugins Reloading
- Cleanup (typos and small fixes) and missing functions/methods parameters documentation added
In R13.051¶
- The following methods and functions were implemented in past releases but were not documented:
In R13.029¶
- Several changes in the render module:
- Added optional argument of type
BaseVolumeDataforChannelDataconstructor - Added
VolumeData.GetWeights(),VolumeData.CalcVisibleLight()andVolumeData.GetSmoothedNormal()
- Added optional argument of type
Gradient.InitRender()andBaseShader.InitRender()now take anInitRenderStructparameter
- Added function
ActiveObjectManager_SetObject()
In R13.016¶
Important Additions¶
- MoGraph access : New module
c4d.modules.mograph - Shader API : New module
c4d.modules.renderand plugin data classShaderData
API Changes¶
Here is a list of all the new modules, classes, methods and functions in the Python API:
New Classes¶
- New custom data type classes:
- New tag classes:
- New custom GUI classes exposed:
- MoGraph support:
- Render support:
- New plugin data classes:
New Methods¶
C4DAtom.__call__()C4DAtom.MultiMessage()C4DAtom.Write()C4DAtom.Read()C4DAtom.WriteObject()C4DAtom.ReadObject()
PolygonObject.GetPolygon()PolygonObject.GetSelectedEdges()PolygonObject.SetSelectedEdges()PolygonObject.GetSelectedNgons()PolygonObject.GetHiddenNgons()PolygonObject.ValidateEdgeSelection()PolygonObject.GetEdgeSelection()PolygonObject.GetNgonEdgesCompact()
SplineData.SetKnot()SplineData.MakePointBuffer()SplineData.MakeLinearSplineLinear()SplineData.MakeLinearSplineBezier()SplineData.MakeSquareSpline()SplineData.MakeCubicSpline()SplineData.MakeRootSpline()SplineData.MakeInversSpline()SplineData.MakeSinSpline()SplineData.MakeAbsCosSpline()SplineData.MakeUserSpline()SplineData.SetZero()SplineData.InitDefaultFlag()SplineData.AdaptRange()
BaseDocument.GetActiveObjectsFilter()BaseDocument.SetRewind()BaseDocument.ForceCreateBaseDraw()BaseDocument.FindSceneHook()
SplineCustomGui.SetGridLineCountH()SplineCustomGui.SetGridLineCountV()SplineCustomGui.GetGridLineCountH()SplineCustomGui.GetGridLineCountV()SplineCustomGui.GetScreenPosition()
GeDialog.FindCustomGui()GeDialog.AddRadioGroup()GeDialog.AddRadioButton()GeDialog.AddRadioText()GeDialog.SetMultiLinePos()GeDialog.SetMultiLineMode()GeDialog.AddDlgGroup()
New Functions¶
c4d.gui.GetMenuResource()c4d.gui.SearchMenuResource()c4d.gui.SearchPluginMenuResource()c4d.gui.SearchPluginSubMenuResource()c4d.gui.UpdateMenus()c4d.gui.GeGetScreenDimensions()c4d.gui.ActiveObjectManager_SetObject()
c4d.modules.mograph.GeGetMoData()c4d.modules.mograph.GetMoDataDefault()c4d.modules.mograph.GetMoDataDefaultType()
- New register plugin data functions:
- c4d.storage.GeGetPythonPath renamed to
c4d.storage.GeGetPluginPath() c4d.storage.WriteHyperFile()c4d.storage.ReadHyperFile()
c4d.threading.GeThreadLock()c4d.threading.GeThreadUnlock()c4d.threading.GeIsMainThread()- c4d.threading.GeGetCPUCount
c4d.threading.GeGetCurrentThreadId()c4d.threading.IdentifyThread()c4d.threading.GeGetCurrentThread()c4d.threading.GeCheckBackgroundThreadsRunning()c4d.threading.GeStopBackgroundThreads()c4d.threading.GeProcessBackgroundThreads()