CyPhy2CAD_CSharp.DataRep.StructuralInterfaceConstraint.SetupAdjoiningTreatment C# (CSharp) Méthode

SetupAdjoiningTreatment() public méthode

public SetupAdjoiningTreatment ( ) : void
Résultat void
        public void SetupAdjoiningTreatment()
        {
            if (CyPhyImpl is CyPhy.Connector)
            {
                foreach (var conn in (CyPhyImpl as CyPhy.Connector).DstConnections.AdjoiningSurfConnectionCollection.Union((CyPhyImpl as CyPhy.Connector).SrcConnections.AdjoiningSurfConnectionCollection))
                {
                    var surftreatment = conn.DstEnds.AdjoiningSurfacesTreatment;
                    if (surftreatment == null)
                    {
                        surftreatment = conn.SrcEnds.AdjoiningSurfacesTreatment;
                    }
                    this.AdjSurfTreatment = surftreatment.Attributes.Type;
                }
            }
        }