Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
freesbee
in reply to: YuhanZhang

Dear Rocky @YuhanZhang ,

doing some additional research on this topic I have landed at this video from @Anonymous.sekar.g which makes me think that the following code:

 

 

Sub TEST()
Dim oDrawDoc as DrawingDocument
Set oDrawDoc = ThisApplication.ActiveDocument
Dim oSheet as Sheet

Dim oWeldState As WeldmentStateEnum
Dim oWeldObject As Object
Dim oDrawView As DrawingView
For Each oSheet In oDrawDoc.Sheets
  For Each oDrawView In oSheet.DrawingViews
    If oDrawView.ViewType = kStandardDrawingViewType Then
      Call oDrawView.GetWeldmentState(oWeldState, oWeldObject)
    End If
  Next
Next
end sub

 

 

fails on the method GetWeldmentState (as it is in happening in my specific case as well).

So I imagine that sometimes in the past you have addressed the INVGEN-17324 issue.

Would you be so kind to share on which release/update this issue has been addressed, or eventually share the right syntax to use this method?

Massimo Frison
CAD R&D // PDM Admin · Hekuma GmbH