Community
How do I get the current configuration name of an I-Assembly?
I am using currentrow of the I-factory, but not getting consistent results.
Solved! Go to Solution.
Solved by Gruff. Go to Solution.
Hi,
I do not see an inconsistent result in using the DefaultRow to get the current configuration.
Can you please share a non-confidential sample file to help reproduce the problem ?
Here is the VBA code that i used which worked ok.
Dim iAsmDocument As AssemblyDocument Set iAsmDocument = ThisApplication.ActiveDocument If iAsmDocument.ComponentDefinition.IsiAssemblyFactory Then Dim oiAssyFactory As iAssemblyFactory Set oiAssyFactory = iAsmDocument.ComponentDefinition.iAssemblyFactory Dim oiAssyTableRow As iAssemblyTableRow Set oiAssyTableRow = oiAssyFactory.DefaultRow Debug.Print "Default Row : " & oiAssyTableRow.MemberName End If
Regards,
Balaji