Just wondering if is it possible to add more options in the operation menu? Now that I have a plate marker it would be great to not have to be changing settings I the Jet Cutting tab all the time.
Thanks
Rod
Operation menu
- Les Newell
- Site Admin
- Posts: 3667
- Joined: Thu May 11, 2006 8:12 pm
Re: Operation menu
This isn't documented but post.DefineCustomToolParam also works for operations. For instance this code:
would create an option called 'Extra parameter' which would appear in the post as the variable extraParam. It would default to 100 with a minimum of 0 and a maximum of 1000.
Code: Select all
post.DefineCustomToolParam("JetOperation", "Extra parameter", "extraParam", sc.unitLINEAR, 100, 0, 1000)