Skip to main content
dublove
Legend
October 1, 2025
Question

clearObjectStyleOverrides(); does not work. "Clearing undefined style properties" is effective

  • October 1, 2025
  • 1 reply
  • 73 views

This isn't a sudden thought—it's been bothering me for a long time.
Sometimes calling :

"myObj.clearObjectStyleOverrides();"

has no effect.
Pressing Alt doesn't help either.
But clicking “Clear Undefined Style Properties” works.


What is the code for “Clear Undefined Style Properties”?

1 reply

dublove
dubloveAuthor
Legend
October 2, 2025

Looks like I'll have to apply the “none” style first.