PDA

View Full Version : [Python] How to define double variable??


benio33
06-23-2009, 01:52 PM
Hi all!

I'm stuck with another thing now ... there is this method getRenderingFrustum in MFnCamera class which accepts 4 doubles as reference ... no problem with the non-referenced first attribute, but for the references I must specify that this variable is already an double - no problem in C++, but how to make Python daclare a variable to be of double type??

ps. Or even better - how to define a POINTER to the double variable?

Best regards,
Benio

benio33
06-23-2009, 03:04 PM
Never mind - solved it. THX! :)

phudson1442
11-12-2009, 08:13 AM
Hi, can you tell us what the solution was?

benio33
11-12-2009, 07:55 PM
Sorry, I don't have the code on me at the moment, but I basically worked it out using MScriptUtil class.

CGTalk Moderation
11-12-2009, 07:55 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.