我参考过了,还是没有找到解决的办法
在Automation API中有这样一段:
Dim oScrewPub As Publication
Dim oScrewRef As Reference
Set oScrewPub = oScrew1.Publications.Item("HeadBottom")
Set oScrewRef = oScrewPub.Valuation
Dim oConstraint1 As Constraint
Set oConstraint1 = oConstraints0.AddBiEltCst ( catCstTypeDistance, oPlateRef, oScrewRef )
在找到Publication之后,再利用Set oScrewRef = oScrewPub.Valuation得到Reference
可是在C++中,这个怎么实现?
有那个函数相当于Valuation?