cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Hide Datum Planes,Points,Curves,etc.. into Layer using ProToolKit API? Please suggest any work around to hide uncontrolled datums into Layer.

Highlighted
Newbie

How to Hide Datum Planes,Points,Curves,etc.. into Layer using ProToolKit API? Please suggest any work around to hide uncontrolled datums into Layer.

Hide datum’s, axis,points,etc into layers which is not controlled thru layer command.

3 REPLIES 3

Re: How to Hide Datum Planes,Points,Curves,etc.. into Layer using ProToolKit API? Please suggest any work around to hide uncontrolled datums into Layer.

I have not tried implementation but you can give a try below API:

  • ProLayerItemsGet
  • ProModelitemHide

Thanks and Regards

Ketan

Re: How to Hide Datum Planes,Points,Curves,etc.. into Layer using ProToolKit API? Please suggest any work around to hide uncontrolled datums into Layer.

Please find a piece of code I'm using

  // Declarations

ProLine w_old_axis_display;

// Backup current display mode (here for axis only)
ProConfigoptGet(L"axis_display", w_old_axis_display);
// Set your mode
ProConfigoptSet(L"axis_display", L"yes");
// Do what you want

Re: How to Hide Datum Planes,Points,Curves,etc.. into Layer using ProToolKit API? Please suggest any work around to hide uncontrolled datums into Layer.

Hi all,

Nikhill, take a look at TestLayer.c in pt_examples directory.

HIH.

Feliks.