Skip to content

Questions about isAttributeEditAllowed function. #2212

Answered by neilh-adsk
NickWu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Nick,

I looked a little more into this and I tend to agree with the things you say. Its always difficult when it comes to the implied restrictions imposed and I don't have a strong "opinion" on what to enforce with certain workflows. It clearly is not a one size fits all approach. Saying that in this case I think the findLayerIndex code non intuitive in that it returns a position which then causes the additional search in isAttributeEditAllowed which can cause the false condition. So in this case I think it can be relaxed but would need to do so more verification to see if it breaks any other logic. As a group we are revisiting the strength of Options being imposed and I look forward t…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by neilh-adsk
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants