Using c4d_symbols.h ID's in Py4D ?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/06/2011 at 10:19, xxxxxxxx wrote:
Hi,
how can I acess the ID's created from ResEdit in the c4d_symbols.h file ?
They are not added to the c4d Module, and not loaded into the Plugins Scope.For example if I want to load a Ressourcefile for a Dialog.
self.LoadDialogResource(DESCEDIT_MAIN)
but "DESCEDIT_MAIN" isn't defined.
Thanks,
Niklas
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/06/2011 at 16:24, xxxxxxxx wrote:
Please add these manually in your scope. They are not interpreted by the internal Parser.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/06/2011 at 23:24, xxxxxxxx wrote:
That's pretty unfortunate.
But thank you very much. I could still find a convenient way to do this.class foo: pass res = foo() enm = [ "DESCEDIT_ADDGROUP", "EDT_IDENTIFIER", "EDT_ID", "EDT_STRINGNAME", "EDT_PARAMETERS", "BTN_ADD_ELEMENT", "BTN_FINISH", "BTN_CANCEL", "IDC_LISTVIEW", "DESCEDIT_ADDELEMENT", "EDT_TYPE", "STR_HASCYCLE", "BTN_ADDCYCLE", "DESCEDIT_ADDCYCLEID", "EDIT_IDENTIFIER", "DESCEDIT_MAIN", "EDT_DESCNAME", "BTN_SAVE", "BTN_ADD_GROUP", "BTN_REMOVE", "DESCEDIT_EDITCYCLE", "BTN_CYCLE_ADD" ] i = 10000 for k in enm: i += 1 res.__dict__[k] = i
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/06/2011 at 09:51, xxxxxxxx wrote: