GeometryGym.Ifc.IfcDistributionElement.getSystem C# (CSharp) Méthode

getSystem() private méthode

private getSystem ( ) : IfcDistributionSystem
Résultat IfcDistributionSystem
		internal IfcDistributionSystem getSystem()
		{
			foreach (IfcRelAssigns ra in mHasAssignments)
			{
				IfcRelAssignsToGroup rag = ra as IfcRelAssignsToGroup;
				if (rag != null)
				{
					IfcDistributionSystem ds = rag.RelatingGroup as IfcDistributionSystem;
					if (ds != null)
						return ds;
				}
			}
			return null;
		}
	}