Hi, Can anybody tell how i can enter the plus and minus Value of an tolerance ?
now i have
but how can i get "pfcDimTolPlusMinus_ptr" Type out of the "pfcDimTolerance_ptr" ?
Greets
Jens
now i have
Code:
wfcSection_ptr section;
wfcWSession_ptr ses = wfcWSession::cast(pfcGetProESession());
pfcModel_ptr modd = ses->GetActiveModel();
pfcSolid_ptr solid = pfcSolid::cast(modd);
pfcModelItems_ptr moditems = modd->ListItems(pfcITEM_DIMENSION);
pfcModelItem_ptr dimension = moditems->get(moditems->getarraysize() - 1);
pfcDimension_ptr dim = pfcDimension::cast(dimension);
pfcDimTolerance_ptr toleranz = dim->GetTolerance();
but how can i get "pfcDimTolPlusMinus_ptr" Type out of the "pfcDimTolerance_ptr" ?
Greets
Jens