API 설명서 > Creo Parametric fundamentals > Object ProLayer > Function ProLayerDisplaystatusSet
Function ProLayerDisplaystatusSet
Description
Sets the display status of the specified layer.
NOTE:
This is a temporary setting. It will be lost after you save or retrieve a model. To change the display status permanently, call the function ProLayerDisplaystatusSave().
Replacement in Object TOOLKIT:
Synopsis
#include <ProLayer.h>
ProLayerDisplaystatusSet
(
ProLayer* layer
/* (In)
The layer whose status you want to set
*/
ProLayerDisplay display_status
/* (In)
The display status
*/
)
Returns
The function successfully set the status.
Either one or more of the input arguments are invalid, or layer->owner is NULL.
You specified an invalid layer name.
The specified layer was not found.
display status of the layer cannot be changed
See Also
Sample Code References
User Guide References
도움이 되셨나요?