I have this line in my post:
post.DefineCustomToolParam("PlasmaTool", "Preset volts", "presetVolts", sc.unit0DECPLACE, 49, 0, 200)
which seems to work correctly in that the param shows up in the tool table.
but when I run the post it is nil no matter what.. i.e. the line
post.Text (" #<arcVoltage> = ", presetVolts, "")
returns #<arcVoltage> = nil
I have the most recent version of sheetcam, I tried other posts that use DefineCustomToolParam and they also return nils, I am using a VM so maybe that is causeing an issue. Any ideas?
__._,_.___
Posted by: rtavk311@yahoo.com
Visit Your Group
Unsubscribe ([email]sheetcam-unsubscribe@yahoogroups.com?subject=Unsubscribe[/email]) • Terms of Use
__,_._,___
help with post.DefineCustomToolParam
help with post.DefineCustomToolParam
Where is this line in your post:
post.Text (" #<arcVoltage> = ", presetVolts, "")
presetVolts will only be available after OnToolChange().
Les
On 26/04/2015 18:02, rtavk311@yahoo.com (rtavk311@yahoo.com) [sheetcam] wrote:
__._,_.___
Posted by: Les Newell <les.newell@fastmail.co.uk>
Visit Your Group
Unsubscribe ([email]sheetcam-unsubscribe@yahoogroups.com?subject=Unsubscribe[/email]) • Terms of Use
__,_._,___
post.Text (" #<arcVoltage> = ", presetVolts, "")
presetVolts will only be available after OnToolChange().
Les
On 26/04/2015 18:02, rtavk311@yahoo.com (rtavk311@yahoo.com) [sheetcam] wrote:
I have this line in my post:
post.DefineCustomToolParam("PlasmaTool", "Preset volts", "presetVolts", sc.unit0DECPLACE, 49, 0, 200)
which seems to work correctly in that the param shows up in the tool table.
but when I run the post it is nil no matter what.. i.e. the line
  post.Text (" #<arcVoltage> = ", presetVolts, "")
returns #<arcVoltage> = nil
I have the most recent version of sheetcam, I tried other posts that use DefineCustomToolParam and they also return nils, I am using a VM so maybe that is causeing an issue. Any ideas?
__._,_.___
Posted by: Les Newell <les.newell@fastmail.co.uk>
Visit Your Group
Unsubscribe ([email]sheetcam-unsubscribe@yahoogroups.com?subject=Unsubscribe[/email]) • Terms of Use
__,_._,___