AnsweredAssumed Answered

How to get components inside a folder in assembly tree

Question asked by Deeksha Gupta on Nov 6, 2017
Latest reply on Nov 6, 2017 by Manikandan Babu

Please suggest how to get components inside HARDWARE folder using APIs.

I have written the code till I am able to access the folder:


object[] objFeats =  modDoc.FeatureManager.GetFeatures(true);


foreach (object objFeat in objFeats)



Feature feat = objFeat as Feature;


string featType = feat.GetTypeName2();


if (featType.Contains("FtrFolder") && feat.Name == "HARDWARE")



// get components inside feat folder