ScrSetNearFieldSurfaceOffset
|
Controls the position of the surface over which near fields are computed. The positions are offset values in the design's length units with respect to the design's bounding cuboid. |
|
| UI Command: | Simulation > Compute Near Field. Enter offset values in the Cuboid Surface Positions box. |
| Syntax: | obj.ScrSetNearFieldSurfaceOffset(<px>, <nx>, <py>, <ny>, <pz>, <nz>) |
| Parameters: |
DOUBLE px (positive x) DOUBLE nx (negative x) DOUBLE py (positive y) DOUBLE ny (negative y) DOUBLE pz (positive z) DOUBLE nz (negative z) |
| Return Value: |
BOOL
|
| VB Example: |
' places the near field surface 1mm above, below, front, behind, to the left and to the right of the design ' (assuming the design's length units are mm) ' outcome is TRUE on success, FALSE if any of the specified offset values are *NOT* positive outcome = obj.ScrSetNearFieldSurfaceOffset(1.0, 1.0, 1.0, 1.0, 1.0, 1.0) |
| IPY Example: |
oDoc.ScrSetNearFieldSurfaceOffset(1.0, 1.0, 1.0, 1.0, 1.0, 1.0) |