By the following question it should be clear I am pretty new to writing an Add-in so if the answer is simple, thank for answering.
I am trying to write the code so that I can create a plane at a specific point and am using the code from the API help file losted below;
status=ModelDoc2->ICreatePlaneFixed2 ( P1, P2, P3, useGlobal, &retval );
However I keep getting these two errors, what am I missing? ( I am using the c++ add-in wizard as the template)
error C2027: use of undefined type 'SldWorks::ModelDoc2'
error C2227: left of '->ICreatePlaneFixed2' must point to class/struct/union/generic typeSolidworksApi macros
