MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.ChangePolylineAction Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.ChangePolylineAction:

Public Member Functions

None __init__ (self, str name, ObjectLines obj)
 
None __init__ (self, ChangePolylineAction arg0)
 
int heapBytes (self)
 
str name (self)
 

Static Public Member Functions

None action (*args, **kwargs)
 
None setObjectDirty (ObjectLines obj)
 

Static Public Attributes

 Obj = ObjectLines
 

Detailed Description

Generated from:  MR::ChangePolylineAction

Undo action for ObjectLines polyline change

Constructor & Destructor Documentation

◆ __init__() [1/2]

None meshlib.mrmeshpy.ChangePolylineAction.__init__ ( self,
str name,
ObjectLines obj )
use this constructor to remember object's polyline before making any changes in it

◆ __init__() [2/2]

None meshlib.mrmeshpy.ChangePolylineAction.__init__ ( self,
ChangePolylineAction arg0 )
Implicit copy constructor.

Member Function Documentation

◆ action()

None meshlib.mrmeshpy.ChangePolylineAction.action ( * self,
** actionType )
static
This function is called on history action (undo, redo, etc.)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ heapBytes()

int meshlib.mrmeshpy.ChangePolylineAction.heapBytes ( self)
returns the amount of memory this object occupies on heap

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ name()

str meshlib.mrmeshpy.ChangePolylineAction.name ( self)

Reimplemented from meshlib.mrmeshpy.HistoryAction.

◆ setObjectDirty()

None meshlib.mrmeshpy.ChangePolylineAction.setObjectDirty ( ObjectLines obj)
static

Member Data Documentation

◆ Obj

meshlib.mrmeshpy.ChangePolylineAction.Obj = ObjectLines
static

The documentation for this class was generated from the following file: