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.
import exported enum from another tab
adamohern
Member, OS Professional Posts: 216 PRO
I'm importing exported functions from another tab, and so far everything is working fine.
Now I'd like to offload some of my enum definitions to a separate tab as well, but so far that's not working. Is there a trick to making that work?
Now I'd like to offload some of my enum definitions to a separate tab as well, but so far that's not working. Is there a trick to making that work?
0
Comments
Like this?? Weird. Okay.
The idea of needing to "re-export" something feels odd to me. If something is exported inside goober, I would expect it to be likewise in any script that imports it.
Again, being used to Python and PHP, I'm accustomed to these things being really straightforward: if you import a file, you import its namespace. Apologies if this kind of thing is standard practice in other languages.