Python SDK Bugs Thread

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 09/03/2011 at 09:09, xxxxxxxx wrote:

User Information:
Cinema 4D Version:    
Platform:      
Language(s) :

---------
Hi there,

because it's nonsense to open a new thread for every found Bug in the SDK, I open up this one to post your found ones.

I'll start:
The constants for copyflags are wrong.

Instead of "c4d. COPY_NO_HIERARCHY" it must be "c4d. COPYFLAGS_NO_HIERARCHY"

cheers, nux

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 10/03/2011 at 02:56, xxxxxxxx wrote:

The ObjectData ModifyObject description looks a bit weird .. :/

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/03/2011 at 08:58, xxxxxxxx wrote:

Thx for reporting! This will be fixed.
Cheers, Sebastian

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/03/2011 at 18:27, xxxxxxxx wrote:

np.

The console tells me GetAll() needs a max value to overload.
1. Nonsense as i think
2. Not in the SDK

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/03/2011 at 20:21, xxxxxxxx wrote:

The console tells me GetAll() needs a max value to overload.

They were actually optional. Please pass the number of elements you want to retrieve.
If its a BaseSelect for polygons max=GetPolygonCount(), for points max=GetPointCount(),...

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 12/03/2011 at 20:23, xxxxxxxx wrote:

Optional ? No the console told me i MUST overload this value

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 01/06/2011 at 23:38, xxxxxxxx wrote:

c4d.gui.ShowPopupDialog( _x_ , _y_ , _bc_ , _flags=POPUP_RIGHT|POPUP_EXECUTECOMMANDS_ )

should be

c4d.gui.ShowPopupDialog(parentdialog, bc, x, y __, _flags=POPUP_RIGHT|POPUP_EXECUTECOMMANDS_ )

The parentdialog may be None.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 22/06/2011 at 00:35, xxxxxxxx wrote:

c4d.SelectionTag is wrong documented in the SDK leading to much misunderstanding from side of beginners.

SelectionTag has no attribute GetSelection.
The right name is GetBaseSelect.

Cheers

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 03/07/2011 at 11:52, xxxxxxxx wrote:

Using the liquid tool included with the sdk as an example you can get cinema to crash if you have the tool settings loaded in two different attribute managers and you alternate changing the settings between the managers. This also happens on my own tool plugin.