launch cinema command (callCommand) ids ?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/10/2008 at 06:54, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9+
Platform:
Language(s) : C++ ;---------
Hi,this has probably been asked before, but i couldnt quite find the exact info i need...
I want to make a button that launches the cinema optimize function.
I dont want to do it via senmodellingcommand, i want the optimize dialog to show up, just as if the user selected it from the menu.
Im not sure which function to use, setAction or CallCommand, and where i find the neccessary ids.
setAction seems to be for modellingcommads only and i can find its valid id's in ModelingIds.h
But where do i find the id's for CallCommand ?
And is this trghe same as selecting a command from teh menu ?Also, could it be that CallCommand is not available before R10 ?
thanks,
Daniel -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/10/2008 at 09:01, xxxxxxxx wrote:
Howdy,
Just open up the Command Manager and select the Optimize command. In the bottom section of the Command Manager dialog you'll see the ID number. ;o)
Adios,
Cactus Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/10/2008 at 09:26, xxxxxxxx wrote:
thanks thats good to know.
btw, it seems that you can also drag icons into the box below the console, when you're in edit palette mode..
Problem is though, it seems CallCommand can only be used in R10+ and im trying to stay compatible with R9..
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/10/2008 at 09:41, xxxxxxxx wrote:
Howdy,
Actually, no. CallCommand() is available in R9. I'm using it in my plugins which I'm keeping compatible from R9.1 and up. It may not be available in R9.0, I'm not sure about that, but it is available in R9.1, which was a free point update and I believe it's still available from Maxon's site. ;o)
Adios,
Cactus Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/10/2008 at 09:53, xxxxxxxx wrote:
thanks dan, i'll check it out.