Skip to content

AttributeError: 'Document' object has no attribute 'set_oc_states' #1008

Discussion options

You must be logged in to vote

This is a documentation issue. OC-Support is relatively new, so there was initial juggling with the method names.
Instead of doc.set_oc_states, please use doc.set_layer. It is the same thing.
I will update the documentation accordingly.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@erand96
Comment options

Answer selected by erand96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants