getting a quotation mark to show in part description through iLogic

getting a quotation mark to show in part description through iLogic

Anonymous
Not applicable
495 Views
2 Replies
Message 1 of 3

getting a quotation mark to show in part description through iLogic

Anonymous
Not applicable

Very new to iLogic here this is pretty much my first real dabble into it. Im try to create a part template for tube sections that will auto populate part number and descriptions, i can get it to work but the only thing i cant make work is the quotation mark after the tube size in the description, for example i want it to show     1" Tube 304      but every time i put the quotation mark in it makes the rule crash. the best i can get is   1 Tube 304     example of my rule below

 

If OD = 25.4 mm And WT = 1.6 mm  And GRADE = 304 Then iProperties.Value("Project", "Description") = "1 Tube 304"

If OD = 50.8 mm And WT = 1.6 mm  And GRADE = 304 Then iProperties.Value("Project", "Description") = "2 Tube 304"

Any ideas on how to fix?

 

Thanks,

 

Joe 

0 Likes
Accepted solutions (1)
496 Views
2 Replies
Replies (2)
Message 2 of 3

Sergio.D.Suárez
Mentor
Mentor
Accepted solution

Hi, try to load the character inside the chain through the numeric code. Try to execute the following code.

If OD = 25.4 mm And WT = 1.6 mm  And GRADE = 304 Then iProperties.Value("Project", "Description") = "1" & Chr(34) & " Tube 304"

If OD = 50.8 mm And WT = 1.6 mm  And GRADE = 304 Then iProperties.Value("Project", "Description") = "2" & Chr(34) & " Tube 304"

 I hope this helps. regards


Please accept as solution and give likes if applicable.

I am attaching my Upwork profile for specific queries.

Sergio Daniel Suarez
Mechanical Designer

| Upwork Profile | LinkedIn

Message 3 of 3

Anonymous
Not applicable

Thanks mate, it worked perfectly.

Where does that numeric code come from is it just the character map unicode?

0 Likes