📜  发送命令 Civil3D - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:31.075000             🧑  作者: Mango

代码示例1
import System
from System import *

input = IN[0]

app = System.Runtime.InteropServices.Marshal.GetActiveObject("Autocad.Application")
adoc = app.ActiveDocument

adoc.SendCommand(input)                            

OUT = str(input) + " sent to command line"