- Datagration Knowledge Base
- P#
- String Functions
-
Getting Started
-
Customer Training
-
Customer Success
-
Updates
-
Production Optimization
-
Completion Optimization
-
Environmental, Social & Governance
-
Development, Acquisition & Divestitures
-
Enhanced Oil Recovery
-
Admin
-
P#
- Getting Started with P#
- Data Cleansing
- String Functions
- Scenario Functions
- Regression Functions
- Placeholder Functions
- Neighborhood Functions
- Mathematical Functions
- Logic Functions
- Entities Function
- Moving Window Functions
- Time and Date Functions
- Statistical Functions
- Economic Functions
- Data Handling
- Additional Functions
- Directional Functions
- Machine Learning Functions
- DCA Functions
-
Packages
IsInsideDataGridCell()
Returns whether current entity is located inside specified data grid cell. Coordinates signal names are 'surface x-coordinate' and 'surface y-coordinate'.
Syntax
IsInsideDataGridCell(string dataGridName, string cellName)
IsInsideDataGridCell(string dataGridName, string cellName, string signalXCoordinateName,
string signalYCoordinateName)
- dataGridName
- cellName
- signalXCoordinateName
- signalYCoordinateName
Example
IsInsideDataGridCell("Area 51", "Field 17")
IsInsideDataGridCell("Area 51", "Field 17", "x-coordinate", "y-coordinate")