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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

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

ndaslaniya
7-Bedrock

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.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
3 REPLIES 3

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

  • ProLayerItemsGet
  • ProModelitemHide

Thanks and Regards

Ketan

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

FV
17-Peridot
17-Peridot
(To:ndaslaniya)

Hi all,

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

HIH.

Feliks.

Announcements


Top Tags