📜  发送命令 dynamo civid - Python 代码示例

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