THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/02/2011 at 07:03, xxxxxxxx wrote:
Can somone explain me how to use the BaseDraw class right, or give me an example please ?
Here's a code for the Python Generator Object:
import c4d def main() : draw = doc.GetActiveBaseDraw() draw.SetMatrix_Matrix(op,draw.GetMg()) draw.SetPen(c4d.Vector(255)) frame = doc.GetTime().GetFrame(doc.GetFps()) draw.DrawCircle2D(0,50,frame)
The Circle only appears left top of the EditorView, but i want it to appear in the Coordinate System.
And, just by the way: why does Cinema crash when i Save the Scene and open it again ? :(
I'm sure it has to do with
draw = doc.GetActiveBaseDraw()
Much thanks in advance !!