• I made my logic by copying the code for the Clash Check from Sample,
    I have confirmed that many text is jumped into the console, while Clash Check Logic is performing.

    Text content is mainly "Spatial map update".
    Every time this is done around Loop, the same content is written in Consloe.
    I think I know that I can't post a picture beca0use of company policy.

    See if the code I put up is the right way to do the Clash Check.
    Or if you have another good sample, I would appreciate it if you could share it.

    It's written through a translator. If there's anything wrong with the content, please understand.

    I'm working on a standalone.



                               try
                               {
                                   ClashOptions opt = ClashOptions.Create();
                                   opt.IncludeTouches = true;
                                   //opt.Clearance = 10.0;
                                   opt.IncludeConnections = true;
                                   opt.TouchGap = 10;

                                   ObstructionList obst = ObstructionList.Create();
                                   ClashSet cs = ClashSet.Create();

                                   DbElement[] obstmems = new DbElement[100];
                                   int i = 0;
                                   foreach (DbElement ele1 in collection)
                                   {
                                       obstmems = ele1;
                                       i++;
                                   }
                                   Array.Resize(ref obstmems, i);
                                   obst.AddObstructions(obstmems);
                                   
                                   bool bResult = CLASHER.Instance.Check(mems, opt, obst, cs);
                                   if (bResult)
                                   {
                                       // inspect clashes
                                       Clash[] aClashes = cs.Clashes;
                                       if (aClashes.Length > 0)
                                       {
                                           ret = true;
                                       }                                    
                                   }
                                   if (ret == true)
                                       break;
                               }
                               catch (Exception ex)
                               {
                                   Console.WriteLine(ex.Message);
                               }