Skip to main content
18-Opal
October 8, 2025
Solved

Toolbar button to remove outputclass entry automatically

  • October 8, 2025
  • 1 reply
  • 592 views

I am looking at creating a toolbar button to remove the outputclass entry automatically. What should the command look like? I have tried mt -local outputclass='' but it show up like this if delete the quotes then it says unrecognized command.

 

bfriesen_0-1759944486471.png

bfriesen_1-1759944525810.png

 

Thanks

 

Bryon

 

 

Best answer by ClayHelberg

You could try 

oid_delete_attr(oid_caret(),"outputclass")

1 reply

18-Opal
October 13, 2025

You could try 

oid_delete_attr(oid_caret(),"outputclass")
bfriesen18-OpalAuthor
18-Opal
October 14, 2025

Thanks Clay I was trying to copy what was done for us previously. So I thought I could leave it blank get it to remove whatever the outputclass was set to

They had used the mt  (modify tag) option. https://support.ptc.com/help/arbortext/r8.3.1.0/en/index.html#page/Program/acl_ref/help9092.html

bfriesen_0-1760451057106.png

I changed it to your suggestion and it works as expected. 

bfriesen_1-1760451117651.png

 

Bryon

18-Opal
October 14, 2025

Great, I'm glad it worked for you!