Skip to main content
1-Visitor
October 17, 2015
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.

  • October 17, 2015
  • 2 replies
  • 2459 views

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.

2 replies

1-Visitor
October 19, 2015

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

  • ProLayerItemsGet
  • ProModelitemHide

Thanks and Regards

Ketan

1-Visitor
October 27, 2015

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_01
October 30, 2015

Hi all,

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

HIH.

Feliks.