Grapher Automation 学习及绘制彩色渐变平面剖面图原理

Application Object

Application 对象是Grapher Automation的顶级对象,包括其他对象。
The Application object represents the Grapher program. It is a single instance of Grapher and it is the root of all objects in Grapher. External programs typically create an instance of the Application object during initialization**. In VB this is done using the CreateObject function as in:**

Set GrapherApp = CreateObject(“Grapher.Application”)

The CreateObject function activates a new instance of Grapher, and returns a reference to the Application object to the script.

When Grapher is started by a script, its main window is initially hidden. To make the Grapher window visible, you must set the Application object’s Visible property to True:

当grapher由脚本启动时,其主窗口最初是隐藏的。若要使图示器窗口可见,必须将应用程序对象的Visible属性设置为true:

Set Graph

猜你喜欢

转载自blog.csdn.net/haodawei123/article/details/102516864