04-05-2023
08:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-05-2023
08:45 PM
I think your just missing the declaration of a workplaneproxy in this line
'GrOcc.CreateGeometryProxy(SrchPl, PPlane)This should be
Dim PPlaneProxy as WorkPlaneProxy
GrOcc.CreateGeometryProxy(SrchPl, PPlaneProxy)Now use the proxy part plane in the main assembly function. No need for anymore proxies, I think!!. These always trip me up so hopefully I have it right.
Here is a vba sample for guidance.
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan
Or if this helped you, please, click (like)
Regards
Alan