AnsweredAssumed Answered

IF Not Empty then API Macro Issue

Question asked by Joe Pickens on Mar 24, 2016
Latest reply on Mar 24, 2016 by Matt Gjertson

I have a macro that contains the following code so i can determine if a component has geometry or not.


vBodies = SWChildComp.GetBodies3(SwConst.swBodyType_e.swSolidBody, vBodyInfo)


If Not vBodies = Empty Then


with this code if vBodies is empty the code works fine if it does have geometry then is get a type mismatch error.

is there a way for me to accomplish this statement im trying to make