2. Storing the values in the document is done via properties. In your case you would have to either create a new one for a type holding a double and a quantity or create two lists, one for the type and the second for the quantity. the first way would be cleaner, but a bit more work.
Stefan
I would prefer to do it properly and add new a property type.
Is there any documentation for the properties or a place in the source where I can see example of the implementation?
dubstar-04 wrote:Is it acceptable to write help text under the tool?
It might be use full to explain to the user how to use the
radii table.
Do you mean something simple like this text in the Part WB Sweep tool?
partsweeptaskhelptext.jpg (34.37 KiB) Viewed 4900 times
It also can be good idea to put some simple information in the tool tip of the toolbar icon, like Yorik did for Draft Dimensions to remind the user how to get linked Dimensions, although I don't know if in this case that would be appropriate or not.
dubstar-04 wrote:Is it acceptable to write help text under the tool?
It might be use full to explain to the user how to use the
radii table.
Do you mean something simple like this text in the Part WB Sweep tool?
partsweeptaskhelptext.jpg
It also can be good idea to put some simple information in the tool tip of the toolbar icon, like Yorik did for Draft Dimensions to remind the user how to get linked Dimensions, although I don't know if in this case that would be appropriate or not.
dubstar-04 wrote:What do you mean linked dimensions?
A Draft Dimension can be "linked" to an edge (at Draft Dimension construction time)....then any change to the length of that edge will automatically update the Draft Dimension.
Have a look at this file if you like...change the "Length" property value of the Part Box "Cube" from 12mm to some thing else...and watch how the dimension updates....its pretty cool actually
Not made any progress with it recently. I need to learn more about how to use git and get an up to date branch. I will try and get back on it this week.