Message 1 of 8
ipart.changerow does not work well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i am working on a project with ilogic and ipart. (window 7 & 2010 sp3) i have a table similiar as follow:
option length
B-0024N 22-24 46
B-0026N 25-27 52
B-0028N 28-30 58
my ilogic code works well with ipart.changrow command. when i select number from different row, such as 22, 25.6, 28....
but when i select number from same row, such as 22, 23, 23.5.....it doesnt work.
IF A>=22 AND A<=24 THEN
iPart.ChangeRow("TRACK:1", "B-0024N")
ElseIf A>=25 AND A<=27 THEN
iPart.ChangeRow("TRACK:1", "B-0026N")
ElseIf A>=28 AND A<=30 THEN
iPart.ChangeRow("TRACK:1", "B-0028N")
ENDIF
does anyone knows why?
Autodesk Inventor Professional 2019