pycatia.drafting_interfaces.print_area¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
Warning
The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.
- class pycatia.drafting_interfaces.print_area.PrintArea(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectPrintAreaManages print area of drawing sheet.This interface is obtained from DrawingSheet.PrintArea method.- property activation_state: bool¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property ActivationState(boolean iActivated)Activates or deactivates the print area.Parameters:inboolean iActivated [in] The activation state of the print area(TRUE means activated, FALSE means deactivated).Returns:Un HRESULTS_OKThe activation state could be valuated.E_FAILNo activation or deactivation possible.
- Return type:
bool
- property area_height: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property AreaHeigth(double iHeigth)Valuates the height of the print area.Parameters:indouble iHeigth [in] The height of the print area. The value must bestrictly positive.Returns:Un HRESULTS_OKE_FAIL
- Return type:
float
- property area_low_x: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property AreaLowX(double iX)Valuates the low x coordinate of the print area.Parameters:indouble iX [in] The low x coordinate.Returns:Un HRESULTS_OKE_FAIL
- Return type:
float
- property area_low_y: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property AreaLowY(double iY)Valuates the low y coordinate of the print area.Parameters:indouble iY [in] The low y coordinate.Returns:Un HRESULTS_OKE_FAIL
- Return type:
float
- property area_width: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property AreaWidth(double iWidth)Valuates the width of the print area.Parameters:indouble iWidth [in] The width of the print area. The value must bestrictly positive.Returns:Un HRESULTS_OKE_FAIL
- Return type:
float
- get_area(o_x: float, o_y: float, o_width: float, o_height: float, o_activated: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub GetArea(double oX,double oY,double oWidth,double oHeigth,boolean oActivated)Gets the printing area defined on an object. Also communicates theactivation state of the printing area.All the values are given in mm.Parameters:outdouble oX [out] The low x coordinate of the area.outdouble oY [out] The low y coordinate of the area.outdouble oWidth [out] The width of the area.outdouble oHeigth [out] The height of the area.outboolean oActivated [out] The activation state of the print area (TRUEmeans activated, FALSE means deactivated).Returns:Un HRESULTS_OKThe print area was succesfully retrieved.E_FAILNo print area could be retrived.
- Return type:
None
- set_area(i_x: float, i_y: float, i_width: float, i_height: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Sub SetArea(double iX,double iY,double iWidth,double iHeigth)Sets a set of coordinates to define a rectangle print area.All the values are given in mm.Parameters:indouble iX [in] The low x coordinate of the area.indouble iY [in] The low y coordinate of the area.indouble iWidth [in] The width of the area. The value must be strictlypositive.indouble iHeigth [in] The height of the area. The value must be strictlypositive.Returns:Un HRESULTS_OKThe print area was successfully defined.E_FAILNo print area could be defined.
- Parameters:
i_x (float) –
i_y (float) –
i_width (float) –
i_height (float) –
- Return type:
None