1

对于每个模型,我想在固定点插入多个 LCS。我有足够的能力插入 LCS 本身并设置偏移量。但是LCS也需要一个参考点。有谁知道添加参考点的脚本(在 GUI 中它在坐标系参数下列出)?此外,有人知道将其他模型插入到程序集中的脚本吗?

App.getDocument('Model_1').Model.newObject('PartDesign::CoordinateSystem','LCS_1')
App.getDocument('Model_1').getObject('LCS_1').AttachmentOffset = App.Placement(App.Vector(-185.8, 0, 2.375),  App.Rotation(0, 0, 0))
4

0 回答 0