The edges are obtained successfully but IEntity.Select4 does not actually select them. You might need to get the IEdge pointer that corresponds to the assembly context using these techniques.
Ready to start learning the SolidWorks API? Sign up for FREE membership here.Keep up with new videos, macros, and training events by joining our mailing list:
This code only works with a part. Why doesn’t it work with an assembly?
Thanks,
Andy
The edges are obtained successfully but IEntity.Select4 does not actually select them. You might need to get the IEdge pointer that corresponds to the assembly context using these techniques.