Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iLogic extract data from string (CSV)

1 REPLY 1
SOLVED
Reply
Message 1 of 2
MarkESmith
1479 Views, 1 Reply

iLogic extract data from string (CSV)

Any equivalent workflow to this?

 

Seeing this error

 

Error on Line 10 : 'SealString_1' is not declared. It may be inaccessible due to its protection level.

 

Cheers

 

MES

 

     Dim SealString_1 As String
    Dim SealString_2 As String
    Dim SealString_3 As String
    Dim SealString_4 As String
    Dim SealString_5 As String
    Dim SealString_6 As String
    Dim SealString_7 As String
       
       
       For Each S As String In SealString_1.Split(",")
                    If i = 0 Then  name = S
         If i = 1 Then  name = OD
         If i = 2 Then  name = ID
         If i = 3 Then  name = DE
         If i = 4 Then  name = LI
                  
                    i = i + 1
                Next S
1 REPLY 1
Message 2 of 2
MarkESmith
in reply to: MarkESmith

found split word in snippets!

 

Dim Separators() As Char = {","} 
Sentence = SealString_1
Words = Sentence.Split(Separators)
i = 0
For Each wrd In Words
MessageBox.Show("Word Index #" & i & " = " & Words(i))
i += 1
Next

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

Post to forums  

Autodesk Design & Make Report