here is my question:
how do you get full file name if you have spaces in the file name ex: Bottom laser.sldprt
here is my code
I know that the red number is where the macro reads but how can I get full name (without sheet number in a drawing file)
If ("" = Rev) Then
ModName = Split(swModel.GetTitle, ".")(0)
'ModName = Left(swModel.GetTitle, InStrRev(swModel.GetTitle, ".") - 1)
Else
ModName = Split(swModel.GetTitle)(0) & " REV" + Rev
'ModName = Left(swModel.GetTitle, InStrRev(swModel.GetTitle, ".") - 1)
End If
thanks a lot
SolidworksApi macros