📅  最后修改于: 2022-03-11 14:46:31.075000             🧑  作者: Mango
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"