📅  最后修改于: 2022-03-11 14:57:35.489000             🧑  作者: Mango
import clr
clr.AddReference('AutoCADNodes')
from Autodesk.AutoCAD.DynamoNodes import *
sourceBlock = IN[0]
coordinateSystem = IN[1]
layer = IN[2]
OUT = BlockReference.ByCoordinateSystem(sourceBlock, coordinateSystem, layer, Document.Current.ModelSpace)