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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

add note to layer

Sekar1
12-Amethyst

add note to layer

Hi,

My basic requirement is to create a layer in drawing and add notes to them using a creo parametric toolkit application in c++.

I have created later using
ProMdl drwMdl;
ProName LayerName = {'\0'};
ProLayer Test_layer;
ProLayerItem Test_layeritem;
status = ProMdlCurrentGet(&drwMdl);

ProStringToWstring(LayerName, "SampleLayer");

status = ProLayerCreate(drwMdl, LayerName, &Test_layer);
status = ProLayerItemInit(PRO_LAYER_NOTE, 1, drwMdl, &Test_layeritem);
status = ProLayerItemAdd(&Test_layer, &Test_layeritem);
status = ProLayerDisplaystatusSet(&Test_layer, PRO_LAYER_TYPE_BLANK);
status = ProLayerDisplaystatusSave(drwMdl);

And yes I am able to create layer.
Now i want to add notes to it.
Is it possible ?
I could not find any direct api to add notes into the layer. Please guide me.

0 REPLIES 0
Top Tags