On 30/10/2015 at 12:00, xxxxxxxx wrote:
I am very excited to start into python via cinema.
In R16 I am attempting to drag an object into the console command line... expecting to see the object type in the console. Unfortunately, nothing shows up unless I hit return. The information that shows is the following [for a Null]:
<c4d.BaseObject object called 'Null/Null' with ID 5140 at 0x118f9b370>
This is helpful, but I'm looking for information regarding the type. What I expect to see [following cineversity scripting tutorial] is the following:
The object 'Null' (Onull) was added as 'Null'
The (Onull) being the important aspect, so I know how to find object types.
Any suggestions will be greatly appreciated! I hope there are few settings I'm missing as I get started...
On 30/10/2015 at 12:22, xxxxxxxx wrote:
Welcome to the forum Clark!
If you drag the object to the consoles commandline and add: .GetType() You will get the object type printed.
Nothing comes for free with Python in Cinema
On 30/10/2015 at 13:17, xxxxxxxx wrote:
Thank you, Bonsak!
Although this isn't correct location for this question, could you possibly point me toward decent tutorials regarding Python in Cinema?
On 30/10/2015 at 14:01, xxxxxxxx wrote:
Do you have any previous experience with Python?
Or other programming languages?
On 30/10/2015 at 14:08, xxxxxxxx wrote:
yes, I am comfortable programming with processing [Java, JS], and have a bit of experience with Python.
On 30/10/2015 at 14:19, xxxxxxxx wrote:
Good!. If you have access to Cineversity there is quite a few tutorials there.
If you happen to have a FXphd subscription i can recommend this course that Michael Auerswald made: https://www.fxphd.com/fxphd/courseDetails.php?idCourse=339
I would urge you to take the time to study the Python API even though it can seem a little hard to get into in the beginning, you will be rewarded in the end
There's also quite a few script and plugin examples included in the DL version of the Python API. You can find that here: https://developers.maxon.net/?dl_id=30
Besides that i'd say that this forum is a good place to get advise and hints as it's frequented by both Maxon developers and a lot of other people that know a lot about python in cinema.
On 30/10/2015 at 14:26, xxxxxxxx wrote:
Great, this helps tremendously!
Thank you for taking the time and I hope to be posting examples of my efforts soon.
On 30/10/2015 at 14:31, xxxxxxxx wrote: