kReferenceFeatureObject is a derived part

Top  Previous  Next

If you get a feature in a part it might be a reference to another part:



               else if (ThisFeature.Type == ObjectTypeEnum.kReferenceFeatureObject)


                   ReferenceFeature RefFeat = (ReferenceFeature)ThisFeature;


                   Debug.WriteLine("kReferenceFeatureObject called " + RefFeat.Name);


                   ReferenceComponents RefComps = PartDef.ReferenceComponents;


                   DerivedPartComponent DerivPartComp = RefComps.DerivedPartComponents[1];


I have not been able to really go deeper into this yet.



Text, images and diagrams © 2021 Owen F. Ransen. All rights reserved. (But copy the source code as much as you want!)