Hide datum’s, axis,points,etc into layers which is not controlled thru layer command.
I have not tried implementation but you can give a try below API:
Thanks and Regards
Please find a piece of code I'm using
|// Backup current display mode (here for axis only)|
|// Set your mode|
|// Do what you want|
Nikhill, take a look at TestLayer.c in pt_examples directory.