Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
What's the best way to get info to editing logic?
EvanReese
Member, Mentor Posts: 2,154 ✭✭✭✭✭
I am calculating some values in my feature that I'd like to reference in my editing logic. What's the easiest way to pass them in? I thought I might be able to just add them to the definition, but it doesn't seem to come through.
Evan Reese
0
Answers
For any future readers, it seems like the reason you can't just add items to "definition" and get them in editing logic is because the editing logic runs before the feature itself, not after, so anything added to "definition" in the feature won't be there yet.