Extract Hose fitting relative angle
Before 24xFD03
here is a methode to compute the angle based on creation ofadditionnal geometry (sweep)
Since 24xFD03
The above methode is still available
In addition a new EKL method is available to compute the angle without having to create additionnal geometry
- The function ComputeFlexTubeExtremityAngle will find the angle between the extremity parts connected in a flexible tube/pipe.
- create an EKL action with following syntax:
let flexAngle(ANGLE)
let size(Integer)
letflexAngle_degrees(Integer)
let rc(integer)
if(FlexiblePipeOcc <> NULL AND PipingPartOcc <> NULL)
{
rc = FlexiblePipeOcc->ComputeFlexTubeExtremityAngle(PipingPartOcc, flexAngle)
if(rc == 0)
{
Notify("Computing angle successful")
flexAngle_degrees = flexAngle * 57.32
Notify("The angle is: ", flexAngle_degrees)
}
}