Listing Object Attributes
Just want to post this very simple piece of code.
If something is not working as expected, I always run the object in question through this little function, then paste the output into text editor.
That way I know if the method / attribute I am trying to access exists :)
def get_attributes(self): for att in dir(self): try: inkex.errormsg((att, getattr(self, att))) except: None
Listing Object Attributes
Just want to post this very simple piece of code.
If something is not working as expected, I always run the object in question through this little function, then paste the output into text editor.
That way I know if the method / attribute I am trying to access exists :)