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.
ADDING MANY ROWS TO CONFIGURED PROPERTIES TABLE BY PASTING IN DATA
shawn_crocker
Member, OS Professional Posts: 865 PRO
@lougallo
I found this implemented improvement request.
I found this implemented improvement request.
ADD MULTIPLE ROWS TO CONFIGURED PART PROPERTIES
How does this work because when I paste in data from google sheets, it lays in the data that fits in the rows that exist but shows an message about the other data not get pasted in. It is not adding more rows as needed.
Tagged:
0
Answers
Onshape doesn't currently create more rows in your example.
When pasting data back into a Configuration table, you must make sure that there are enough rows and columns to accept the pasted data.
Otherwise, Onshape throws the error, telling you it can't paste the data, because the cells don't exist.
Note also, that then pasting data back in, you want to select all of your data except the header row. Don't change the column order or add (or remove) columns when working with the data in your spreadsheet program, since Onshape will not recognize new or re-arranged columns.
Thanks for responding. My experience is consistent with yours. If data being pasted has more rows than are already in the configured properties table, the message in the picture gets shown. Onshape is not just adding the extra rows. In my case, I would like to add 1000 plus rows to this table and clicking on the add new row button will take all day. Especially once the rows reach the bottom of the screen as is seems each extra row takes onshape one or two seconds to process before you can click the button again. @NeilCooke I always feel a little in awe of getting to speak with the master of the beams feature. Haha! But seriously, The behavior you have described does work for me when pasting data into a configuration list but not in the configured properties table. I would have just created an improvement request. But, it seems the sited implemented improvement request in my original question seems to clearly be talking about the configured properties table, I'm wondering what should be my next action?
@NeilCooke, I suggest having the ability to build smart strings in the metadata fields based on the configuration options somehow.
Did you see my comment on the program, "op mouse clicker"? Its a free tool that can automatically click your mouse for you. You can set it to click very fast like once every millisecond. If you click fast enough on the add new row button, onshape sits there doing nothing until you stop clicking and then it adds in all the rows. I commonly use it to add over 1000 rows to the configured properties table. It would be nice for onshape to directly address this issue but, in the meantime, an auto mouse clicker does work pretty good.
One of the challenges is that each new row needs to represent a unique configuration. For a single table that is straight forward, but it becomes more complex when multiple tables and variables get involved. Are all combinations present? What about subsets of all possible configurations? Variables present a challenge because some people would do them as fixed, but others want ranges with a min/max/steps, etc. Everyone has a different way of determining what configurations should be represented in the table.
The second challenge is then generating that data. Once you have all those rows, you then need to fill in all the columns. Sometimes its straight forward, but most of the time it isn't. For solutions like these, I've found that the best solution is to just export an excel sheet and let the user use excel formulas to generate their part numbers, descriptions, SKUs, etc, and then just import it back into Onshape. The copy paste method only works if you have the rows in the same order in Onshape and in the excel sheet, and also has that size limit.
Im working on adding a tool to my app Renaissance for this, if anyone is interested in testing a beta, reach out and I can get you access.
Custom FeatureScript and Onshape Integrated Applications
Editing the properties table is usually preferred for me also by using a spreadsheet. For me, the most cumbersome part of it is what seems like it should be the simplest for onshape to address. Getting the initial rows into the table so that I can paste my data into them. If an api application had a simple input so you could enter 400, for example, hit enter and 400 rows were created, it would be really great. What actually get put into the rows during creation, for me, is trivial. I just want the rows so I can paste my data in. Not sure why onshape can't just take a day for a developer and add a little number input beside the plus button so people can specify how many rows right within the table UI.
Agreed. That is how the list input tables function so it just seems natural the properties table should function the same way. Thanks for voting. @rick_randall, here is the improvement request I created back in 2021 in case you interested. https://forum.onshape.com/discussion/16586/adding-many-rows-to-configured-properties-table-by-pasting-in-data#latest.
I thought about this and saying "400 new rows please" doesn't quite work because in order to create rows the configuration needs to be valid. But I have something essentially the same. I've added a new tool to Renaissance that lets you essentially do that by generating combinations of configurations. If one is a variable, you can specify a range and step size. It can take a few minutes if you have a ton, but you don't need to baby sit it and Renaissance will send a notification email once its done.
You can try a free trial of Renaissance in the Onshape App store. If you have any questions please send me an email.
https://appstore.onshape.com/apps/Utilities/NDYJQNNF4DWNBG4O6QLFTN4UIPRDQ2B7ABZSFXQ%3D/description
Custom FeatureScript and Onshape Integrated Applications
Thanks @Caden_Armstrong. That tool looks really great!