What was New in R15¶
In R15.057¶
Fixes:
- Full Control Mode in the Python Effector
c4d.documents.SaveDocument()is now consistent with the GUI behavior. See warning note inSceneSaverData.Save()- AttributeError with
BitmapButtonCustomGuiandNodeData.GetDEnabling() - The Link port of the XPresso Python node that could not be set to None
- Source Protector overwriting .pype files
QuickTabCustomGui.SetTextColor()can now be called (was raising a parameter error)
Python API changes:
- New functions
c4d.documents.GetAllAssets()andc4d.documents.SaveProject() - New naming
FalloffDataData.useSplineandFalloffDataData.inverseNodeMatfor deprecatedFalloffDataData.usesplineandFalloffDataData.inodemat
- New functions
In R15.037¶
Important: Python Encryption¶
Warning
For R15 the Encryption pype of Python plugins is unfortunately deprecated. The new plugin suffix is called pypv.
The plugins developers have to re-encrypt their Python plugins for R15 and they can ship both *.pype (to support pre-R15 versions) and *.pypv (to support R15) files:
- If both encrypted files are present in the same directory no error will be output in R15
- If there is just the *.pype file there will be a message in the console that the plugin cannot be opened in R15
New Symbols¶
Here is a list of the new modules, classes, methods and functions in the Python API:
New Modules¶
- Standard Python uuid module published in
c4d.modules
New Classes¶
New Methods¶
BaseContainer.GetInt32()BaseContainer.GetInt64()BaseContainer.GetFloat()BaseContainer.SetInt32()BaseContainer.SetInt64()BaseContainer.SetFloat()
HyperFile.WriteInt16()HyperFile.WriteUInt16()HyperFile.WriteInt32()HyperFile.WriteUInt32()HyperFile.WriteInt64()HyperFile.WriteUInt64()HyperFile.WriteFloat64()HyperFile.WriteVector64()HyperFile.WriteMatrix64()HyperFile.ReadInt16()HyperFile.ReadUInt16()HyperFile.ReadInt32()HyperFile.ReadUInt32()HyperFile.ReadInt64()HyperFile.ReadFloat64()HyperFile.ReadVector64()HyperFile.ReadMatrix64()
New Functions¶
c4d.utils.ClampValue()(In this version ofClamp()the order of parameters are the same as Peachey’s definition)
Important Fixes¶
c4d.GePluginMessage()with data parameter set to None- Loading textures with
c4d.modules.bodypaint.SendPainterCommand()
Documentation¶
- Added warning note to
c4d.storage.LoadDialog()