10-17-2018
08:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
10-17-2018
08:47 AM
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