📜  插入 BlockReference - 任何代码示例

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

代码示例1
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)