I am currently in the process of setting up the Smart Properties of our prt.
In order to be able to control several drop-down menus depending on the material that has been applied to the part, I use the "Conditional Group" function (see attached screenshot).
Except that I can no longer add additional conditional groups without causing a crash. That is to say that if I add one (I made several different ones to avoid errors of bad configuration) and I apply the modifications, Smart Properties crashes. Impossible to restart the Smart Properties, even after a PC reboot. The only way to be able to restart the Smart is to put the Xml file back as it was before the modification.
My question, is there a limit on the quantity of conditional groups? Or maybe a size limit of the Xml file?
Today, we have linked the "material" property in Smart Properties to the material that was applied to the part via our own material library. This allows us to avoid having a 3D that does not conform in terms of mass with respect to what would be on the plan.
Currently, we have defined 3 properties in Smart (Processing, Finishing, and Protection). Each one is linked to its own drop-down menu driven by a text file. Each of these text files brings together all the processing possibilities (e.g.) that we have internally, this creates a very long and difficult to digest drop-down menu. And above all, it is not necessarily coherent, because a given treatment cannot be carried out on just any material.
That's why I try to go through conditional groups. If my material is 3.3206, then my processing property will necessarily be populated by None, my Finishing line necessarily uses a dedicated text file, and the available protection list has a particular text file for that material.
And so on...
And I even have a group that, if matter doesn't fulfill any of the other conditions, then it automatically fills my 3 properties of a certain value.
In short, some materials having identical property choices, I was able to reduce the number of conditional groups, but I still lack a lot of them.
Why not nested the conditions if the material is stainless steel 304 then $traitement=T1 $Finition=F1, if the material is s235 then $traitement=T2 $Finition=F2
This will make only one condition even if quite complicated to achieve.
"Why not nested the conditions if the material is stainless steel 304 then $traitement=T1 $Finition=F1, if the material is s235 then $traitement=T2 $Finition=F2"
Simply because it's not that simple. What we are looking for is:
if the material is 304, then I have to choose between the T1 or T2 or T3 treatment. And if the material is 316, then I have to choose the T2, T4 or T5 treatment. The same goes for the other finishing sections, etc.
That's why I pass for the condional group which makes me appear (or not) precise drop-down menus.
For the solution of an xml file by subject, why not, but I don't know how to do it. Are there any tutorials?