Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Tolerance with Object Toolkit

  • Thread starter Thread starter manoche
  • Start date Start date
M

manoche

Guest
Hi, Can anybody tell how i can enter the plus and minus Value of an tolerance ?


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
 

Part and Inventory Search

Sponsor

Back
Top