FileMutexObject Class Reference

Class Description

Creates and attempts to acquire a named Mutex based on a file name in its ctor, releases and closes the Mutex in dtor. Used to control access to a file across multiple 3ds Max sessions. An instance of this is typically created in a 'using' context so that its Dispose method is called as the 'using' context is exitted.
+ Inheritance diagram for FileMutexObject:

Public Member Functions

def MutexAquired (self)
 
def ReleaseMutex (self)
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr (self)
 

Public Attributes

 this
 

Static Public Attributes

 INFINITE_TIME = _MaxPlus.FileMutexObject_INFINITE_TIME
 
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from Wrapper
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def MutexAquired (   self)
MutexAquired(FileMutexObject self) -> bool
def ReleaseMutex (   self)
ReleaseMutex(FileMutexObject self)