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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

How do I remove the step number mentioned in the 2D label from Creo Illustrate?

Ace_Rothstein
6-Contributor

How do I remove the step number mentioned in the 2D label from Creo Illustrate?

I have written a code to display the name of the sequence step for each new step inside a 2D label widget. But I want to hide the step number for eg.  (1/15)

1 REPLY 1

Hi @Ace_Rothstein ,

 

You can use substring to remove () from step string.

 

 $scope.setWidgetProp( labelId, "text", arg.substring((arg.indexOf(')') + 1),arg.length));

 

 

/VR 

Top Tags