pycatia.drafting_interfaces.drawing_picture¶
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.drawing_picture.DrawingPicture(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectDrawingPictureRepresents a drawing picture in a drawing view.- property crop_bottom: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property cropBottom() As doubleReturns or sets the cropBottom of the drawing picture. The cropBottom isthe size of the margin on the bottom of the picture. The cropBottom, like anylength, is measured in millimeters.Example:This example sets the cropBottom of the MyPicture drawing picture to 10mmMyPicture.cropBottom = 10.
- Return type:
float
- property crop_left: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property cropLeft() As doubleReturns or sets the cropLeft of the drawing picture. The cropLeft is thesize of the margin on the left of the picture. The cropLeft, like any length,is measured in millimeters.Example:This example sets the cropLeft of the MyPicture drawing picture to 10mmMyPicture.cropLeft = 10.
- Return type:
float
- property crop_right: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property cropRight() As doubleReturns or sets the cropRight of the drawing picture. The cropRight is thesize of the margin on the right of the picture. The cropRight, like any length,is measured in millimeters.Example:This example sets the cropRight of the MyPicture drawing picture to 10mmMyPicture.cropRight = 10.
- Return type:
float
- property crop_top: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property cropTop() As doubleReturns or sets the cropTop of the drawing picture. The cropTop is the sizeof the margin on the top of the picture. The cropTop, like any length, ismeasured in millimeters.Example:This example sets the cropTop of the MyPicture drawing picture to 10mmMyPicture.cropTop = 10.
- Return type:
float
- property format: int¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property format() As CatPictureFormatSets the picture format.Parameters:iPictureFormatCompression format.Returns:Legal values:S_OKMethod correctly executed.E_FAILMethod execution failed.Reasons of the failure are not given.E_IMPLNo implementation available for this method.See also:CatPictureFormat
- Returns:
enum cat_picture_format
- Return type:
int
- get_original_height() float ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetOriginalHeight() As doubleGets the original height of the drawing picture. The height, like anylength, is measured in millimeters.Example:This example gets the original height of the MyPicture drawingpictureHeight = MyPicture.GetOriginalHeight()
- Return type:
float
- get_original_width() float ¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445))
- o Func GetOriginalWidth() As doubleGets the original width of the drawing picture. The width, like any length,is measured in millimeters.Example:This example gets the original width of the MyPicture drawingpictureWidth = MyPicture.GetOriginalWidth()
- Return type:
float
- property height: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property height() As doubleReturns or sets the height of the drawing picture. The height, like anylength, is measured in millimeters.Example:This example gets the height of the MyPicture drawingpictureHeight = MyPicture.height
- Return type:
float
- property ratio_lock: bool¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property ratioLock() As booleanReturns or sets the ratioLock of the drawing picture. The ratioLock is aboolean value If ratioLock is True it means that the size must not be changedby command in a interactive session.But it does not avoid size modificationsthru VBScript exec (height and width still available formodification).Example:This example sets the ratioLock of the MyPicture drawing picture toTrueMyPicture.ratioLock = True
- Return type:
bool
- property width: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property width() As doubleReturns or sets the width of the drawing picture. The width, like anylength, is measured in millimeters.Example:This example gets the width of the MyPicture drawingpictureWidth = MyPicture.width
- Return type:
float
- property x: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property x() As doubleReturns or sets the x coordinate of the drawing picture position. It isexpressed with respect to the view coordinate system. This coordinate, like anylength, is measured in millimeters.Example:This example sets the x coordinate of the position of the MyPicturedrawing picture to 5 inches. You need first to convert the 5 inches intomillimeters.NewXCoordinate = 5*25.4MyPicture.x = NewXCoordinate
- Return type:
float
- property y: float¶
Note
- CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
- o Property y() As doubleReturns or sets the y coordinate of the drawing picture position. It isexpressed with respect to the view coordinate system. This coordinate, like anylength, is measured in millimeters.Example:This example sets the y coordinate of the position of the MyPicturedrawing picture to 5 inches. You need first to convert the 5 inches intomillimeters.NewYCoordinate = 5*25.4MyPicture.y = NewYCoordinate
- Return type:
float