Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

numericSpin causes crash

6 REPLIES 6
Reply
Message 1 of 7
Anonymous
379 Views, 6 Replies

numericSpin causes crash

When ever I try to type a value in a numericSpin field, Inventor crashes. Anyone else seen this?

6 REPLIES 6
Message 2 of 7
FarrenYoung
in reply to: Anonymous

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,

--Farren

************************************************************************************
If this post helps, please click the "thumbs up" to give kudos
If this post answers your question, please click "Accept as Solution"
************************************************************************************
Message 3 of 7
Anonymous
in reply to: Anonymous

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

 

Message 4 of 7
FarrenYoung
in reply to: Anonymous

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,

--Farren

************************************************************************************
If this post helps, please click the "thumbs up" to give kudos
If this post answers your question, please click "Accept as Solution"
************************************************************************************
Message 5 of 7
Anonymous
in reply to: FarrenYoung

Thanks Farren,

 

Could someone useing ETO 2012 try this and let us know if Inventor crashes.

 

Thanks

Message 6 of 7
Anonymous
in reply to: Anonymous

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.

Message 7 of 7
Chris.Palmatier
in reply to: Anonymous

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.



Chris Palmatier
Customer Success Engineer
Inventor Engineer-to-Order

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report