I have this code on a button:
var rhinoscript_object = RhinoApp.GetPlugInObject(“RhinoScript”);
var rs = (IRhinoScript)rhinoscript_object;
string a = “example1”;
string b = “example1”;
string c = “example1”;
string label = a + “=” + “x” + b + “x” + c;
var size = rs.AddText(label, centerPoint, letra, “Arial”, “131072”);
Here I have two problems ,
1º the text is not obdicion justification, probably something is wrong in my code.
2º whenever some object or command starts from this script, the “UNDO” command on Rhino
does not work, it is as if he had not inserted anything, this is a bug? or is normal?