Skip to content

Commit c1bf65b

Browse files
authored
Merge pull request #261 from OldFcuk/patch-14
Update Macro.vba
2 parents 09dec0f + d10b4ed commit c1bf65b

File tree

1 file changed

+3
-3
lines changed
  • solidworks-api/document/assembly/compose-flat-bom

1 file changed

+3
-3
lines changed

solidworks-api/document/assembly/compose-flat-bom/Macro.vba

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ Function GetPropertyValue(model As SldWorks.ModelDoc2, conf As String, prpName A
131131
Dim prpVal As String
132132
Dim prpResVal As String
133133

134-
confSpecPrpMgr.Get3 prpName, False, "", prpVal
134+
confSpecPrpMgr.Get3 prpName, False, prpVal, prpResVal
135135

136-
If prpVal = "" Then
136+
If prpResVal = "" Then
137137
genPrpMgr.Get3 prpName, False, prpVal, prpResVal
138138
End If
139139

140140
GetPropertyValue = prpResVal
141141

142-
End Function
142+
End Function

0 commit comments

Comments
 (0)