ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
SRSuleiman Rehmani22/01/2025

Hi,

Trust you are well.

We came across a bug where ReferencedConfiguration returns a zero length string.

Following are the checks we made in the Immediate window:
swComp is not nothing: print swComp.Name2 returns a proper string
swModel (swComp's ModelDoc2) is not nothing: print swModel.GetPathName() returns a proper string
ReferencedConfiguration: print swComp.Referencedconfiguration returns a zero length