Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Curtis_Waguespack
in reply to: anoor

Hi @anoor,

 

I'm not certain, but I think the error might be coming from the use of quote symbols. Note that you can use CHR(34) instead of "

 

See if this resolves the issue:

 

If Plate_Diameter = 4 ft  Then
Parameter("Dia") = "4'-0" & Chr(34)
Parameter("THK") = "1/2" & Chr(34)
Cutout_Length = 18 in
Cutout_QTY = 14 ul

Else If Plate_Diameter = 6 ft  Then
Parameter("Dia") = "6'-0" & Chr(34)
Parameter("THK") = "1/2" & Chr(34)
Cutout_Length = 30 in
Cutout_QTY = 14 ul

Else If Plate_Diameter = 8 ft  Then
Parameter("Dia") = "8'-0" & Chr(34)
Parameter("THK") = "1/2" & Chr(34)
Cutout_Length = 36 in
Cutout_QTY = 14 ul

End If

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com