When ever I try to type a value in a numericSpin field, Inventor crashes. Anyone else seen this?
Hi Tom,
This works for me in Intent 4.3.523.
I used the code example from the help file:
<%%PEEditorType("NumericSpin"),_ %%PEMaxValue("20"),_ %%PEMinValue("0"),_ %%PEIncrement("2"),_ %%PEIntegerOnly?("True")> _ Parameter Rule testNum As Number = 0
I also tried the following with success:
<%%PEEditorType("NumericSpin")>_ Parameter Rule testNum As Number = 0
I did notice the help file has a typo, but it likely would have been caught by the design editor when trying to save:
<%%PEEditorType("NumericSpin"),_ %%PEMaxValue("20"),_ %%PEMinValue("0"),_ %%PEIncrement(“2”),_ %%PEIntegerOnly?("True")> _ Parameter Rule testNum As Number = 0
Notice the slanted quotes on only PEIncrement, I got a syntax error from these.
Does your code differ from the first two examples above?
Thanks,
Looks llike I'm running Intent Kernel version 5.0.0.96
My code:
'*********** Wall Parameters
<%%Category("Wall Dimensions"),_
%%DisplayName("Crash Test"), _
%%PEEditorType("NumericSpin"),_
%%PEMaxValue("20"),_
%%PEMinValue("0"),_
%%PEIncrement("2"),_
%%PEIntegerOnly?("True")> _
Parameter Rule testNum As Number = 0
<%%Category("Wall Dimensions"),_
%%DisplayName("Wall Length"), _
%%PEEditorType("NumericSpin"),_
%%PEMaxValue("480"),_
%%PEMinValue("96"),_
%%PEIncrement("3")>_
Parameter Rule wallLength As Number = 96
<%%Category("Wall Dimensions"),_
%%DisplayName("Wall Height"), _
%%PEEditorType("NumericSpin"),_
%%PEMaxValue("114"),_
%%PEMinValue("102"),_
%%PEIncrement("3")>_
Parameter Rule wallHeight As Number = 102
<%%Category("Wall Dimensions"),_
%%DisplayName("Wall Thickness")> _
Parameter Rule wallThck As Number = 4
Screen of error
Hi Tom,
I tried your code with no errors (again on version 4.3.523). I don't have version 5.0 installed or I would test it there.
Thanks,
Thanks Farren,
Could someone useing ETO 2012 try this and let us know if Inventor crashes.
Thanks
It works if I backspace the numbers to 0 then enter the new number. If I highlight the number and enter a new one, it crashes.
Tom, I have reproduced this on the latest SP1 build of ETO 2012 and logged the issue as INT-1452. At this point I have no workaround beyond those you have discovered, and the obvious: don't use a numericSpin for now.