cPy.cUI module#
- class CustomRoom[source]#
Bases:
object- static dynamic_cast(pObject: any) CustomRoom[source]#
- An analogue of the dynamic_cast function from C++, it checks whether the object pObject is a CustomRoom class or its descendant, and if so, returns the specified object, but of the CustomRoom type.
- UseScriptsForToolset: bool#
- UseScriptsForMenu: bool#
- UseScriptsForRmb: bool#
- UseScriptsForCurves: bool#
- MandatoryRenderRetopoObjects: bool#
- MandatoryRenderPaintObjects: bool#
- UsePythonByDefault: bool#
- LockName: bool#
- IsDefault: bool#
- PerformLocalization: bool#
- Visible: bool#
- pBehavior: RoomBehavior#
- Behavior() RoomBehavior[source]#
- RMBPropertyType: str = ''#
- SaveMode: bool = False#
- SkipRmbMenuAppearance: bool = False#
- CallPageInit: bool = True#
- RoomsLoaded: bool = True#
- RoomChanged: bool = True#
- ToolsList: any#
- HiddenElements: any#
- TemporaryTools: any#
- Order: int#
- SpacePanelColumns: int#
- static CreateNewRoom(Name: str) CustomRoom[source]#
- static FindRoom(Name: str) CustomRoom[source]#
- static FindRoomByFolder(Name: str) CustomRoom[source]#
- static CurrentCustomRoom() CustomRoom[source]#
- static SetVoxTreeContext(tb: VoxTreeBranch)[source]#
- static GetVoxTreeContext() VoxTreeBranch[source]#
- static SetGlobalContextForHotkeyAction()[source]#
- when the hotkey is pressid this function setups contexts for RMB actions with hotkeys
- static RunCustomRmbMenu(propertytype: str = 'rmb')[source]#
- Handle RMB UP. Call it within RMB UP handling routines
- static StartCustomRmb()[source]#
- This command shold be called from script, no need to call it directly from program code
- static FinishAndShowCustomRmb()[source]#
- If you called StartCustomRmb(), use menu commands lime menu_item(…) and then call FinishAndShowCustomRmb(). If you will not call it 3D-Coat will not work correctly!!!
- static ToolForPage(Page: str) cStr[source]#
- returns reference to the name of the current tool for the given page
- ToolsPriory: any#
- Drag&dropped items