What was New in R14¶
In R14.041¶
Fixes:
c4d.GePluginMessage()
crash on passed argument- Issue with
SplineData.MakeUserSpline()
BaseDraw.DrawPoints()
out of range exceptionc4d.modules.snap
module issues
Miscellaneous:
- Added script ExportAlembic.py that shows how to effectively access and change the settings of an importer/exporter
- Updated script Snapping.py example for
c4d.modules.snap
module
In R14.034¶
Important addition: It is now possible to access Snap features with the Python API. A new module has been added:
c4d.modules.snap
Fixes:
MatAssignData.InsertObject()
can now be called (was raising a parameter error)- Cinema 4D crashed at exit when overriding
GeDialog.AskClose()
andGeDialog.Message()
- Assigning
Ray.ior
now actually set it (was assigningRay.p
instead) c4d.utils.Truncate()
now returns a Real (was returning aVector
)
Miscellaneous:
- Added missing documentation for
BaseDocument.ExecutePasses()
- Added code snippet about Enhancing the Main Menu
- Added missing documentation for
In R14.014¶
API Changes¶
Here is a list of the new classes, methods and functions in the Python API:
New Methods¶
BaseView.GetBaseMatrix()
BaseView.SetBaseMatrix()
BaseView.GetPlanarRotation()
BaseView.SetPlanarRotation()
GeListNode.__getitem__()
moved from BaseList2D.__getitem__GeListNode.__setitem__()
moved from BaseList2D.__setitem__
New Parameters¶
BaseDocument.AddUndo()
: Added optional parameter allowFromThreadGeDialog.GroupBegin()
: Added optional parameters initw and inithGeDialog.AddColorField()
: Added optional parameter colorflags
New Constants¶
- New object types: Oworkplane renamed from Oconplane, Oconnector (Object Types)
- New shader types: Xrainsampler, Xnormalizer and Xterrainmask (Shader Types)
- New tag types: Tsculpt, Tmotioncam and Tmorphcam (Tag Types)
- New enums and container IDs:
- Mworkplane (EditorModes)
- NBIT_NO_DD (NBIT)
- DRAWHANDLE_POINTSIZE and DRAWHANDLE_SELPOINTSIZE (DRAWHANDLE)
- HOTKEY_RESIZE_BRUSH (HOTKEY)
- DISPLAYFILTER_POI (DISPLAYFILTER)
- SHADERINFO_REFLECTIONS, SHADERINFO_DUDVREQUIRED and SHADERINFO_DYNAMICSUBSHADERS (SHADERINFO)
- EDITTEXT_HELPTEXT (EDITTEXT)
- PLUGINFLAG_COMMAND_ICONGADGET
- SPLINECONTROL_CUSTOMCOLOR_SET, SPLINECONTROL_CUSTOMCOLOR_COL, SPLINECONTROL_NO_FLOATING_WINDOW and SPLINECONTROL_NO_PRESETS settings for
SplineCustomGui
Documentation¶
- Added
FalloffData
example: Py-NoiseFalloff - Implemented
NodeData.GetDEnabling()
in Py-DoubleCircle example - Several typos fixed
- Fixed errors in the examples