- Project.find_physics(geometry=None, phase=None)¶
Finds the Physics object(s) associated with a given Geometry, Phase, or combination.
physics – A list containing the Physics object(s). If only a
geometryis specified the the Physics for all Phases is returned. If only a
phaseis specified, then the Physics for all Geometries is returned. If both
phaseis specified then the list only contains a single Physics. If no Physics is found, the the list will be empty. See the Notes section for more information.
- Return type
The Project has a
gridattribute that shows the associations of all objects. If each Geometry represents a row and each Phase is a column, then each row/col intersection represents a Physics. This method finds the Physics’ at each intersection