Skip to main content
dublove
Legend
Oct 1, 2025 5:34 PM UTC
Question

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

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
Oct 2, 2025 2:03 AM UTC

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

Translate