Object Variable Error

The chunk of code below runs just fine against a different assembly utilizing an identical Blank.Part. I am about to the end of my rope on this thing, I have went through all of my code to make sure everything I am doing from one assembly to another is identical and it is. It keeps throwing the Object variable or With Block variable not set error. Please Help.

If RafterSectNumber > 2 And RafterSectNumber <= 3 Then

            Set swDim = swModel.Parameter("D1@3ChannelClipRef@Blank.Part")

            vDimVal = swDim.GetSystemValue3(swThisConfiguration, Empty)

            Set swDim = swModel.Parameter("D11@Sketch1@LowerRafterClip.Part")

            swDim.SetSystemValue3 vDimVal(0), swThisConfiguration, Empty

                                      

            Set swDim = swModel.Parameter("D2@3ChannelClipRef@Blank.Part")

            vDimVal = swDim.GetSystemValue3(swThisConfiguration, Empty)

            Set swDim = swModel.Parameter("D12@Sketch1@LowerRafterClip.Part")

            swDim.SetSystemValue3 vDimVal(0), swThisConfiguration, Empty

        End If

SolidworksApi macros