Getting hold of the standard workpoint called "Center Point"

Top  Previous  Next

Here's an example of getting it and using it:


        // Get the point in the manicotto

        CComPtr<WorkPoint> pWorkPointInMani  ;

        hRes = GetWorkPointByName (pWorkPointInMani,L"Center Point",pManicottoCompDef) ;


        AddMateConstraintOfTwoPoints (pAssemblyCompDef,




                                      pWorkPointInMani) ;


I also call it an origin point or a zero point.

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