Solid Edge Part Type Library > Blank Object : SetCutSizeValues Method |
Visual Basic |
---|
Public Sub SetCutSizeValues( _ ByVal MaxCutSizeX As Double, _ ByVal MaxCutSizeY As Double, _ ByVal ShowRangeBox As Boolean, _ ByVal AlarmOnX As Boolean, _ ByVal AlarmOnY As Boolean, _ ByVal UseDefaultValues As Boolean _ ) |
The cutsize variables work the same way as they do with FlatPattern.
The MaxCutSizeX and MaxCutSizeY values are X and Y boundaries, respectively that if exceeded by the output Blank feature can cause an ‘alarm’ if the respective Boolean AlarmOnX or AlarmOnY settings are ‘true’.
To discover whether the max cut sizes specified have been exceeded, a call to CutSizeViolation() from the FlatPattern Model object such as:
bSizeViolated = objFlatPatternModel.CutSizeViolation