iPart Table SheetMetalRule

iPart Table SheetMetalRule

meck
Collaborator Collaborator
362 Views
1 Reply
Message 1 of 2

iPart Table SheetMetalRule

meck
Collaborator
Collaborator

Hi All,

I am trying to get the value of the SheetMetalRule column in an iPart table using iLogic. It seems no matter what I try to set the value to I get this error..."

Input string was not in a correct format."

 

Here's some attempt's I've made at getting the value:

 MsgBox (CStr(iPart.CurrentRowValue("SheetMetalRule")))
 SheetMetal.SetActiveStyle(iPart.CurrentRowValue("SheetMetalRule"))

I am pretty sure I'm barking up the wrong tree.

 

Can someone please enlighten me as to what is the correct format? And how I can set its value current ?

 

Thanks in advance!

Mike Eck
Master Drafter/ CAD Programmer
Using Inventor 2018
0 Likes
Accepted solutions (1)
363 Views
1 Reply
Reply (1)
Message 2 of 2

meck
Collaborator
Collaborator
Accepted solution

Well I feel sheepish. To quote Robin Williams.

Here is the code I needed...

MsgBox(iPart.CurrentRowStringValue("SheetMetalRule"))

Mike Eck
Master Drafter/ CAD Programmer
Using Inventor 2018
0 Likes