Typo in Python SDK?
-
On 15/01/2016 at 04:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 17
Platform: Windows ;
Language(s) :---------
I think in the "mode" section under "SendModelingCommand" is a copy and paste error.
https://developers.maxon.net/docs/py/2023_2/modules/c4d.utils/index.html
It says
mode** (int) –
Modeling mode:MODELINGCOMMANDMODE_ALL All points/polygons. MODELINGCOMMANDMODE_POINTSELECTION Only the current point selection. MODELINGCOMMANDMODE_POLYGONSELECTION Only the polygon point selection. MODELINGCOMMANDMODE_EDGESELECTION Only the edge point selection. _<_t_>_
I'm assuming the "point" for polygon and edge selection doesn't belong there? Maybe I'm wrong and I just don't know what an edge point selection is...
-
On 15/01/2016 at 06:43, xxxxxxxx wrote:
Hi,
Thanks for reporting this typo in the Python docs for SendModelingCommand(). This will be fixed.
-
On 05/02/2016 at 03:32, xxxxxxxx wrote:
I think I found another typo and I'm just going to leave it here:
under GetKnots() it says "interpol" is bool, but in setKnot it says int.
also it seems weird to me, that the SetKnot headline has "interpol=CustomSplineInterpolationBezier" at the end, instead of just "interpol" -
On 05/02/2016 at 04:46, xxxxxxxx wrote:
Hi,
Originally posted by xxxxxxxx
under GetKnots() it says "interpol" is bool, but in SetKnot() it says int.
Yes, interpol is an int, not a bool. This will be fixed.
Originally posted by xxxxxxxx
also it seems weird to me, that the SetKnot() headline has "interpol=CustomSplineInterpolationBezier" at the end, instead of just "interpol"
By default a spline knot interpol attribute is assigned CustomSplineInterpolationBezier.
-
On 15/02/2016 at 03:12, xxxxxxxx wrote:
Hello again,
probably some C++ leftover?:
in the description for MultiMessage there's mention of GeListNode.GetBranchInfo() , which does not appear on the GeListNode page.
and another one:
for the GetSplineTangent function it says the return is "The spline point.", but I guess it should be "The spline tangent."
https://developers.maxon.net/docs/py/2023_2/modules/c4d/C4DAtom/GeListNode/BaseList2D/BaseObject/PointObject/SplineObject/index.html#SplineObject.GetSplineTangent