Inside the new class constructor body, you must call the base class constructor and pass self as the first argument. The moduleName is a string used by the GUI infrastructure to identify this module. displayTypes are the flag or flags that specify the type of object that is being displayed in this module. Possible values are AFXModuleGui.PART, AFXModuleGui.ASSEMBLY, AFXModuleGui.ODB, AFXModuleGui.XY_PLOT, and AFXModuleGui.SKETCH. If you specify AFXModuleGui.ASSEMBLY, your module must import the assembly kernel module because the assembly kernel module is required to initialize some assembly display options. For more information, see Kernel module initialization. |