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 rule: replace character in string

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Jefkee
3949 Views, 1 Reply

Ilogic rule: replace character in string

Hi,

 

I'm looking for a way to change a , by a . via ilogic in a string.

 

In example i have this parameter named "param" with value 10,3

When i convert it to a string Cstr(param) i get a string "10,3". But i need it to say "10.3" for exporting to another program.

 

How should i handle this?

Inventor 2013
1 REPLY 1
Message 2 of 2
humbertogo
in reply to: Jefkee

Maybe something like

 

Dim param As String = ("10,3").Replace(",", ".")

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

Post to forums  

Autodesk Design & Make Report