OCC.XCAFApp module

Defines application for DECAF documentand provides application-specific toolsThe application should be registered before work with DECAFdocuments by call to XCAFApp_Application::GetApplication()

class Handle_XCAFApp_Application(*args)

Bases: OCC.TDocStd.Handle_TDocStd_Application

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()
class XCAFApp_Application(*args, **kwargs)

Bases: OCC.TDocStd.TDocStd_Application

static GetApplication(*args) → OCC.XCAFApp.Handle_XCAFApp_Application
  • Initializes (for the first time) and returns the static object (XCAFApp_Application) This is the only valid method to get XCAFApp_Application object, and it should be called at least once before any actions with documents in order to init application
Return type:Handle_XCAFApp_Application
GetHandle()
thisown

The membership flag

XCAFApp_Application_GetApplication(*args) → OCC.XCAFApp.Handle_XCAFApp_Application
  • Initializes (for the first time) and returns the static object (XCAFApp_Application) This is the only valid method to get XCAFApp_Application object, and it should be called at least once before any actions with documents in order to init application
Return type:Handle_XCAFApp_Application
new_instancemethod(func, inst, cls)
register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases