AnsweredAssumed Answered

Values for eg. swFeat.GetTypeName

Question asked by Niels Raahauge on Aug 20, 2018
Latest reply on Aug 21, 2018 by Niels Raahauge


I think it is some basic knowledge I need - can somebody help me


I want to watch swFeat.GetTypeName - and can't figure out how to.

Get only two value: string or object - but in the cases, i can see the result for it  eg. is "Sheetmetal"



Part of code to figure out: Is the part in the drawing containing sheet metal -


Set swModel = swApp.ActiveDoc

Set swFeat = swModel.FirstFeature


    Do While Not swFeat Is Nothing


            Case "SheetMetal"

                Debug.Print TypeName(swFeat.GetTypeName)      'What is wrong - I want the result "SheetMetal"

                Process_SheetMetal swApp, swModel, swFeat