Change Functions (11.7)

This class provides information about the modification state of the current scene and objects.

class lwsdk.LWChangeFuncs(self)

Bases: object

Proxy of C++ PCore::LWChangeFuncs class

 anyChangesAtAll() → int

Returns an integer Boolean value that indicates if there any saveable changes pending in the current scene, where 1 is true and zero (0) false.

 getObjectChangedState(LWItemID itemid) → int

Returns an integer Boolean value that indicates the change state of the indicated object. If the object has been changed, the method returns 1, otherwise zero (0).

 getSceneChangedState() → int

Returns an integer Boolean value that indicates the change state of the current scene. If the scene has been changed, the method returns 1, otherwise zero (0).

valid(self) → bool

Previous topic

Viewport Info

Next topic

Shelf Funcs (11.7)

This Page