Methods
- Last UpdatedOct 27, 2023
- 2 minute read
The following table is populated with the methods used by the fabrication machine manager:
|
Name |
Result |
Purpose |
|---|---|---|
|
SetMaximumMaterialLength(REAL length) |
NO RESULT |
Sets the maximum material length. |
|
GetMaximumMaterialLength( ) |
REAL |
Gets the maximum material length. |
|
SetBendingMachine(DBREF bendingMachine) |
NO RESULT |
Sets the current bending machine. Future fabrication tests will use this bending machine. |
|
GetBendingMachine( ) |
DBREF |
Gets the current bending machine. |
|
SetWeldingMachine(DBREF weldingMachine) |
NO RESULT |
Sets the current welding machine. Future fabrication tests will use this welding machine. |
|
GetWeldingMachine( ) |
DBREF |
Gets the current welding machine. |
|
ValidatePipePiece(DBREF pipePiece) |
BOOLEAN |
Checks if the given pipe piece can be fabricated by the current combination of bending / welding machines. Information about fabrication for the bending/welding machine can be obtained by requesting the corresponding bending/welding result objects. |
|
SetAddExcessBetweenBends(BOOLEAN add) |
NO RESULT |
Tells the fabrication machine manager if excesses between bends can be added to the pipe piece in order to satisfy bending machine fabrication requirements. |
|
GetAddExcessBetweenBends( ) |
BOOLEAN |
Gets the current add excess between bends setting. |
|
SetAddEndExcess(BOOLEAN add) |
NO RESULT |
Tells the fabrication machine manager if excesses at the ends of the pipe piece can be added in order to satisfy bending machine fabrication requirements. |
|
GetAddEndExcess( ) |
BOOLEAN |
Gets the current add end excess setting. |
|
SetChangeFlangeToManual(BOOLEAN change) |
NO RESULT |
Tells the fabrication machine manager if flanges at the end of the pipe piece can be changed to manually welded in order to be able to fabricate the pipe piece. |
|
GetChangeFlangeToManual( ) |
BOOLEAN |
Gets the current change flange to manual setting. |
|
SetCheckStockLength(BOOLEAN check) |
NO RESULT |
Tells the fabrication machine manager if the current stock length must be checked during fabrication. |
|
GetCheckStockLength( ) |
BOOLEAN |
Gets the current check stock length setting. |
|
SetFirstFeedNegative (BOOLEAN firstNegative) |
NO RESULT |
The first feed in the bending machine will be negative (the pipe is inserted into the bending machine) |
|
GetFirstFeedNegative ( ) |
BOOLEAN |
Gets the FirstFeedNegative setting of the fabrication machine manager. |
|
GetBendingMachineResult( ) |
BENDINGMACHINERESULT |
Gets a BendingMachineResult object with information about the bending machine for the last fabrication test. |
|
GetWeldingMachineResult( ) |
WELDINGMACHINERESULT |
Gets a WeldingMachineResult object with information about the welding machine for the last fabrication test. |
|
SetClutchEndPriority(STRING priority) |
NO RESULT |
Informs the fabrication machine manager about which end should be inserted in the bending machine clutch. Priority can take the following values: ‘FLANGED’ ‘NONFLANGED’ ‘NOPREFERENCE’ |
|
GetClutchEndPriority( ) |
STRING ‘FLANGED’, ‘NONFLANGED’, ‘NOPREFERENCE’ |
Gets the current clutch end priority. |
|
SetMaterialStretchConfig(STRING config) |
NO RESULT |
Sets the stretching parameters of the bending machine for the following fabrication tests. Config can take the values: ‘SYSTEMDEFAULT’ ‘MACHINE’ ‘MATERIAL’ ‘NOSTRETCH’ |
|
GetMaterialStretchConfig( ) |
STRING "SYSTEMDEFAULT", "MACHINE", "MATERIAL", "NOSTRETCH" |
Gets the current material stretch configuration. |
|
BendingMachineAcceptsPipePiece(DBREF pipePiece) |
BOOLEAN |
Quick check to establish if the current bending machine accepts the given pipe piece. |
|
WeldingMachineAcceptsPipePiece(DBREF pipePiece) |
BOOLEAN |
Quick check to establish if the current welding machine accepts the given pipe piece. |