CATIA中的VBA出版物

我该如何发布零件?我使用以下代码,并获得“方法The CreateReferenceFromName Failed”或“此对象不支持此属性或方法”错误。

Set partDocument1 = CATIA.activeDocument

Set product1 = partDocument1.GetItem("PART1")

Set reference1 = product1.CreateReferenceFromName("PART1\Properties\DASH NUMber")
ooxiaoping 回答:CATIA中的VBA出版物

答案最终比预期的要长。

我使用了与上面相同的代码,但是必须发布参数和关系才能将用户定义的属性链接到可发布的资产。这是我能够创建此连接的唯一方法。

本文链接:https://www.f2er.com/2353925.html

大家都在问