I am running a series of clash + clearance computations from .net.
The way I do it is to create two groups of products, add a bunch of products to each group using AddExplicit then I assign the two groups to FirstGroup and SecondGroup members of the Clash object and run a clash computation between two (catClashComputationTypeBetweenTwo). The interference type I use is catClashInterferenceTypeClearance.
Everything works fine, the only problem is that the value of the conflicts is always 0. I found no way to get the actual conflict value from the code. In CATIA, once you click on a clash in the report window it marks the line as relevant and computes the value. How can I do the same in code? (I tried to mark it as relevant in code but it does nothing).
I have tried the same in Vba in Catia and I get the same behavior as in .Net. I feel there is something very basic that i'm missing here. The clearance value is set correctly and if I compute a distance between the first and second product on the conflict I get the correct value (this is the workaround I am using at the moment), it is just impossible to get it directly from the conflict object.
Emanuel Hristea[Subscriber Members] @ Jun 03, 2021 - 12:13 AM (Europe/Bucharest)
Emanuel Hristea[Subscriber Members] @ Jun 03, 2021 - 12:15 AM (Europe/Bucharest)
Emanuel Hristea[Subscriber Members] @ Jun 03, 2021 - 12:16 AM (Europe/Bucharest)
Emanuel Hristea[Subscriber Members] @ Jun 03, 2021 - 12:19 AM (Europe/Bucharest)