
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
SyntaxEditor Code Snippet
'Wrijvingsco?ici? If Type_Band = "TPU - glad, antistatisch, hydrolysebestendig [EMB-12EMCH] Habasit" Then Wrijvingscoëfficiënt_Band = 0.20 ElseIf Type_Band = "TPU - stroef, antistatisch, frayless [TT12 Matt Blue Frayless] Habasit" Then Wrijvingscoëfficiënt_Band = 0.20 ElseIf Type_Band = "Nonex EE/1 00+05 Light Blue M2 FG AM [SBNO585031] Ammeraal Beltech" Then Wrijvingscoëfficiënt_Band = 0.70 End If 'Dikte Band If Type_Band = "TPU - glad, antistatisch, hydrolysebestendig [EMB-12EMCH] Habasit" Then Dikte_Band = 1.70 ElseIf Type_Band = "TPU - stroef, antistatisch, frayless [TT12 Matt Blue Frayless] Habasit" Then Dikte_Band = 1.30 ElseIf Type_Band = "Nonex EE/1 00+05 Light Blue M2 FG AM [SBNO585031] Ammeraal Beltech" Then Dikte_Band = 1.60 End If 'Gewicht per meter If Type_Band = "TPU - glad, antistatisch, hydrolysebestendig [EMB-12EMCH] Habasit" Then Massa_per_m2 = 1.80 ElseIf Type_Band = "TPU - stroef, antistatisch, frayless [TT12 Matt Blue Frayless] Habasit" Then Massa_per_m2 = 1.40 ElseIf Type_Band = "Nonex EE/1 00+05 Light Blue M2 FG AM [SBNO585031] Ammeraal Beltech" Then Massa_per_m2 = 1.60 End If
This is a part of a rule I have. When I run the rule it gives the error:
The unit name "Light Blue M2 FG AM"is not valid in Inventor.
I find this quite strange...
I have a text parameter "Type_Band" with the possibilities:
"TPU - glad, antistatisch, hydrolysebestendig [EMB-12EMCH] Habasit"
"TPU - stroef, antistatisch, frayless [TT12 Matt Blue Frayless] Habasit"
"Nonex EE/1 00+05 Light Blue M2 FG AM [SBN0585031] Ammeraal Beltech"
I copy pasted everything in the rule, so there can't be any errors in the names not matching.
Even weirder is. If I copy litterly this part of the code in another rule without the rest of the rule, it works perfectly fine.
I hope someone can help me out!
Melle Oosterman
Inventor 2014
Solved! Go to Solution.