Fence Expression or Report Variable for Direction of Projected Borehole from Baseline

Has anyone written a Fence Expression or Report Variable for Direction of Projected Borehole from Baseline?

For example if a well is 250 ft NW of a drawn Fence baseline, I want it to return the solution: “Projected: 250 ft SE to the baseline”.

 

If no one else has done this, then I'll go ahead and give it a shot.

I think I need to use <<FenceOffsetEast>> and <<FenceOffsetNorth>> in conjunction with some trigonometry functions.

Not sure if this would be best to do in the entity expression, or a report variable.

Thanks,
Matt

Parents
  • I would like to do similar thing but with fence baseline. I assume that i need to use points which define baseline in fence alignment but what if I dont use fence alignment at all?
    How and where can I define azimuth (a) from first and last fence point which can be used to describe orientation?
    Thx in advance
  • This solution just works with whatever baseline is used when the fence generates, that could be an auto best fit line, manually draw/defined in fence output, or from the alignment table. Your questions is not applicable.

    The "a" would be calculated by code you write utilizing trig functions

    Phil Wade
    Datgel
    Bentley Channel Partner and Developer Partner
    E: phil.wade@datgel.com | T: +61 2 8202 8600 & +65 6631 9780

    Get the most out of gINT with Datgel Tools.

  • But I would like to generate azimuth for fence itself. I presume I cant use <<FenceOffsetEast>> and <<FenceOffsetNorth>> as they are used for projected boreholes...
  • I haven't taken the time to answer my own question but will one of these days.

    For Jakub's question, I think you're asking to generate the azimuth of the Fence Baseline?
    If so then use <<Calc(<<FenceBaselineRotn>>+90)>> and it will give you the azimuth in degrees of the Fence Baseline from start pointing to the end...It will either be a negative azimuth going counter-clockwise from North, or a positive azimuth going clockwise from North. I haven't mastered it yet.

    See Below.
    FenceBaselineRotn HelpMenu Description:
    (This is the rotation of the baseline in degrees counterclockwise from North.

    The angle returned by this data item is the same angle that is used to rotate Site Maps when the Rotation property is set to "Rotate to match baseline end points". If you set the Angle property of a discrete graphic that represents a North arrow (NORTHARR comes with gINT although you can use your own), the arrow will be rotated to match the actual north direction on rotated Site Maps.

    Be careful that you only use this data item in this way when the Site Map rotation property is set to "Rotate to match baseline end points". If it is set to "North points up" the FenceBaselineRotn data item still returns the baseline rotation and your north arrow will be incorrect.)
Reply
  • I haven't taken the time to answer my own question but will one of these days.

    For Jakub's question, I think you're asking to generate the azimuth of the Fence Baseline?
    If so then use <<Calc(<<FenceBaselineRotn>>+90)>> and it will give you the azimuth in degrees of the Fence Baseline from start pointing to the end...It will either be a negative azimuth going counter-clockwise from North, or a positive azimuth going clockwise from North. I haven't mastered it yet.

    See Below.
    FenceBaselineRotn HelpMenu Description:
    (This is the rotation of the baseline in degrees counterclockwise from North.

    The angle returned by this data item is the same angle that is used to rotate Site Maps when the Rotation property is set to "Rotate to match baseline end points". If you set the Angle property of a discrete graphic that represents a North arrow (NORTHARR comes with gINT although you can use your own), the arrow will be rotated to match the actual north direction on rotated Site Maps.

    Be careful that you only use this data item in this way when the Site Map rotation property is set to "Rotate to match baseline end points". If it is set to "North points up" the FenceBaselineRotn data item still returns the baseline rotation and your north arrow will be incorrect.)
Children