Skip to main content
1-Visitor
Oct 17, 2015 12:12 PM UTC
Question

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

2-Explorer
Oct 19, 2015 4:36 AM UTC

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

  • ProLayerItemsGet
  • ProModelitemHide

Thanks and Regards

Ketan

Translate
1-Visitor
Oct 27, 2015 1:01 PM UTC

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

Translate
FV_01
Oct 30, 2015 3:00 PM UTC

Hi all,

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

HIH.

Feliks.

Translate