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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

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

Ace_Rothstein
8-Gravel

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 

Announcements

Top Tags