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 command improvement
traveler_hauptman
Member, OS Professional, Mentor, Developers Posts: 419 PRO
Imports are a bit inscrutable at the moment. It would be nice if the 'import' button commented the lines it inserts with descriptive info
import(
path : "3bf95367da7496dc5f19bf6c/d1068c2a6e0fdf68c9cba6a6/aa51840ef58770354c6dd517",
version : "6cdb68bb3b66a2d24bc61ff9"); // User/Team: Bubba DocName: Super Features
1
Comments
and returns x,y,z; I guard this function and only pass in strings beginning with "v ".
You can re-purpose it to parse your file.
-Remember to add "csv" to the end of your uploaded file name.
-Don't try and rename file in OS, that stopped working a couple of weeks ago (I think it's still broken).
-watch for carriage returns at the end of file, that broke my parsing routine.