MySQL Forums
Forum List  »  MySQL Workbench

Create TextNote from Scripting
Posted by: Peter KĀ¤llgren
Date: September 05, 2018 01:05PM

While you can easily create a new diagram layer by using the following code:

import grt
layer = diagram.placeNewLayer(50.0, 50.0, 200.0, 300.0, "Very Red")
layer.color = "#FF0000"

I am struggeling to find a way to create a new textnote figure on the diagram programmatically.

Is it even possible?

Options: ReplyQuote


Subject
Views
Written By
Posted
Create TextNote from Scripting
524
September 05, 2018 01:05PM
271
September 21, 2018 06:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.