SOL 21 Rule
-
Hi everyone
I use Rule 21 to check the pattern of Typenames. So every Disciplin have their own System for Types and i have to check if every component follow this system.
Now i have a question about this rule and how she is working! As you can see i have this Typename for the Architect. I used character Token. In my opinion the rule is correct, but shows wrong results. What i am donig wrong?

-
@Solibrians The character token doesn’t work properly. I had to check the right naming with a classification and then check this classification. It would be really helpful if the Rule 21 works the right way…
-
Hi @chris
I think you are using a fixed Token for the 4th and the 6th parts (left to right), and according to that, the results are correct, because the Typename in the checked elements doesn’t match with the Typename “a1c3e” in the rule, right?
-
@anees-alomar The only thing that i wanna check is, if the pattern for the typename is correct. In my case 18 characters long separated by “_”.
????????_??? > this is the classification rule and it work perefct like this. but not in the rule 21.
-
If you have 18 characters, so you need to define which one is fixed (not changing, ex. ARC_) and which one is a variable (ex. BP, BA…)

In this example, it seems that you need
[Fixed Token for “ARC_”]+[Text token of 2 characters]+[Fixed Token for “"]+[Text token of 5 characters]+[Fixed Token for "”]+[Text token of 5 characters]
please try it this way and let me if it works.
-
@anees-alomar That is the way i allready tried before. But it didn’t work… The rule have problems with the character “-----”
I have to go the way with the classifications and then proove everything that is not Standard.

-
@anees-alomar I can not post a file because i am not the owner of the autoring-file.
I found out a workaround…
Copyright © 2025 Solibri Inc. | Powered by NodeBB