GcDbText
- class pygcad.pygrx.GcDbText
Bases:
GcDbEntity
Attributes Summary
Methods Summary
adjustAlignment
(*args, **kwargs)Overloaded function.
alignmentPoint
(self)C++: GcDbText::alignmentPoint() const --> class GcGePoint3d
cast
(inPtr)C++: GcDbText::cast(const class GcRxObject *) --> class GcDbText *
C++: GcDbText::className() --> const wchar_t *
convertFieldToText
(self)C++: GcDbText::convertFieldToText() --> enum Gcad::ErrorStatus
correctSpelling
(self)C++: GcDbText::correctSpelling() --> int
desc
()C++: GcDbText::desc() --> class GcRxClass *
getPlane
(self, para, para1)C++: GcDbText::getPlane(class GcGePlane &, enum GcDb::Planarity &) const --> enum Gcad::ErrorStatus
height
(self)C++: GcDbText::height() const --> double
horizontalMode
(self)C++: GcDbText::horizontalMode() const --> enum GcDb::TextHorzMode
isA
(self)C++: GcDbText::isA() const --> class GcRxClass *
isDefaultAlignment
(self)C++: GcDbText::isDefaultAlignment() const --> bool
isMirroredInX
(self)C++: GcDbText::isMirroredInX() const --> bool
isMirroredInY
(self)C++: GcDbText::isMirroredInY() const --> bool
isPlanar
(self)C++: GcDbText::isPlanar() const --> bool
justification
(self)C++: GcDbText::justification() const --> enum GcDbText::GcTextAlignment
mirrorInX
(self, para)C++: GcDbText::mirrorInX(bool) --> enum Gcad::ErrorStatus
mirrorInY
(self, para)C++: GcDbText::mirrorInY(bool) --> enum Gcad::ErrorStatus
normal
(self)C++: GcDbText::normal() const --> class GcGeVector3d
oblique
(self)C++: GcDbText::oblique() const --> double
position
(self)C++: GcDbText::position() const --> class GcGePoint3d
removeField
(*args, **kwargs)Overloaded function.
rotation
(self)C++: GcDbText::rotation() const --> double
rxInit
()C++: GcDbText::rxInit() --> void
setAlignmentPoint
(self, para)C++: GcDbText::setAlignmentPoint(const class GcGePoint3d &) --> enum Gcad::ErrorStatus
setHeight
(self, para)C++: GcDbText::setHeight(double) --> enum Gcad::ErrorStatus
setHorizontalMode
(self, para)C++: GcDbText::setHorizontalMode(enum GcDb::TextHorzMode) --> enum Gcad::ErrorStatus
setJustification
(self, para)C++: GcDbText::setJustification(enum GcDbText::GcTextAlignment) --> enum Gcad::ErrorStatus
setNormal
(self, para)C++: GcDbText::setNormal(const class GcGeVector3d &) --> enum Gcad::ErrorStatus
setOblique
(self, para)C++: GcDbText::setOblique(double) --> enum Gcad::ErrorStatus
setPosition
(self, para)C++: GcDbText::setPosition(const class GcGePoint3d &) --> enum Gcad::ErrorStatus
setRotation
(self, para)C++: GcDbText::setRotation(double) --> enum Gcad::ErrorStatus
setTextString
(self, para)C++: GcDbText::setTextString(const wchar_t *) --> enum Gcad::ErrorStatus
setTextStyle
(self, para)C++: GcDbText::setTextStyle(class GcDbObjectId) --> enum Gcad::ErrorStatus
setThickness
(self, para)C++: GcDbText::setThickness(double) --> enum Gcad::ErrorStatus
setVerticalMode
(self, para)C++: GcDbText::setVerticalMode(enum GcDb::TextVertMode) --> enum Gcad::ErrorStatus
setWidthFactor
(self, para)C++: GcDbText::setWidthFactor(double) --> enum Gcad::ErrorStatus
textString
(*args, **kwargs)Overloaded function.
textStringConst
(self)C++: GcDbText::textStringConst() const --> const wchar_t *
textStyle
(self)C++: GcDbText::textStyle() const --> class GcDbObjectId
thickness
(self)C++: GcDbText::thickness() const --> double
verticalMode
(self)C++: GcDbText::verticalMode() const --> enum GcDb::TextVertMode
widthFactor
(self)C++: GcDbText::widthFactor() const --> double
Attributes Documentation
- kTextAlignmentAligned = <GcTextAlignment.kTextAlignmentAligned: 3>
- kTextAlignmentBottomCenter = <GcTextAlignment.kTextAlignmentBottomCenter: 13>
- kTextAlignmentBottomLeft = <GcTextAlignment.kTextAlignmentBottomLeft: 12>
- kTextAlignmentBottomRight = <GcTextAlignment.kTextAlignmentBottomRight: 14>
- kTextAlignmentCenter = <GcTextAlignment.kTextAlignmentCenter: 1>
- kTextAlignmentFit = <GcTextAlignment.kTextAlignmentFit: 5>
- kTextAlignmentLeft = <GcTextAlignment.kTextAlignmentLeft: 0>
- kTextAlignmentMiddle = <GcTextAlignment.kTextAlignmentMiddle: 4>
- kTextAlignmentMiddleCenter = <GcTextAlignment.kTextAlignmentMiddleCenter: 10>
- kTextAlignmentMiddleLeft = <GcTextAlignment.kTextAlignmentMiddleLeft: 9>
- kTextAlignmentMiddleRight = <GcTextAlignment.kTextAlignmentMiddleRight: 11>
- kTextAlignmentRight = <GcTextAlignment.kTextAlignmentRight: 2>
- kTextAlignmentTopCenter = <GcTextAlignment.kTextAlignmentTopCenter: 7>
- kTextAlignmentTopLeft = <GcTextAlignment.kTextAlignmentTopLeft: 6>
- kTextAlignmentTopRight = <GcTextAlignment.kTextAlignmentTopRight: 8>
Methods Documentation
- adjustAlignment(*args, **kwargs)
Overloaded function.
adjustAlignment(self: pygcad.pygrx.GcDbText) -> pygcad.pygrx.Gcad.ErrorStatus
adjustAlignment(self: pygcad.pygrx.GcDbText, pDb: pygcad.pygrx.GcDbDatabase) -> pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::adjustAlignment(const class GcDbDatabase *) –> enum Gcad::ErrorStatus
- alignmentPoint(self: pygcad.pygrx.GcDbText) GcGePoint3d
C++: GcDbText::alignmentPoint() const –> class GcGePoint3d
- static cast(inPtr: pygcad.pygrx.GcRxObject) pygcad.pygrx.GcDbText
C++: GcDbText::cast(const class GcRxObject *) –> class GcDbText *
- static className() str
C++: GcDbText::className() –> const wchar_t *
- convertFieldToText(self: pygcad.pygrx.GcDbText) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::convertFieldToText() –> enum Gcad::ErrorStatus
- correctSpelling(self: pygcad.pygrx.GcDbText) int
C++: GcDbText::correctSpelling() –> int
- static desc() pygcad.pygrx.GcRxClass
C++: GcDbText::desc() –> class GcRxClass *
- getPlane(self: pygcad.pygrx.GcDbText, para: GcGePlane, para1: pygcad.pygrx.GcDb.Planarity) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::getPlane(class GcGePlane &, enum GcDb::Planarity &) const –> enum Gcad::ErrorStatus
- height(self: pygcad.pygrx.GcDbText) float
C++: GcDbText::height() const –> double
- horizontalMode(self: pygcad.pygrx.GcDbText) pygcad.pygrx.GcDb.TextHorzMode
C++: GcDbText::horizontalMode() const –> enum GcDb::TextHorzMode
- isA(self: pygcad.pygrx.GcDbText) pygcad.pygrx.GcRxClass
C++: GcDbText::isA() const –> class GcRxClass *
- isDefaultAlignment(self: pygcad.pygrx.GcDbText) bool
C++: GcDbText::isDefaultAlignment() const –> bool
- isMirroredInX(self: pygcad.pygrx.GcDbText) bool
C++: GcDbText::isMirroredInX() const –> bool
- isMirroredInY(self: pygcad.pygrx.GcDbText) bool
C++: GcDbText::isMirroredInY() const –> bool
- isPlanar(self: pygcad.pygrx.GcDbText) bool
C++: GcDbText::isPlanar() const –> bool
- justification(self: pygcad.pygrx.GcDbText) pygcad.pygrx.GcDbText.GcTextAlignment
C++: GcDbText::justification() const –> enum GcDbText::GcTextAlignment
- mirrorInX(self: pygcad.pygrx.GcDbText, para: bool) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::mirrorInX(bool) –> enum Gcad::ErrorStatus
- mirrorInY(self: pygcad.pygrx.GcDbText, para: bool) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::mirrorInY(bool) –> enum Gcad::ErrorStatus
- normal(self: pygcad.pygrx.GcDbText) GcGeVector3d
C++: GcDbText::normal() const –> class GcGeVector3d
- oblique(self: pygcad.pygrx.GcDbText) float
C++: GcDbText::oblique() const –> double
- position(self: pygcad.pygrx.GcDbText) GcGePoint3d
C++: GcDbText::position() const –> class GcGePoint3d
- removeField(*args, **kwargs)
Overloaded function.
removeField(self: pygcad.pygrx.GcDbText, fieldId: GcDbObjectId) -> pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::removeField(class GcDbObjectId) –> enum Gcad::ErrorStatus
removeField(self: pygcad.pygrx.GcDbText, pszPropName: str, returnId: GcDbObjectId) -> pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::removeField(const wchar_t *, class GcDbObjectId &) –> enum Gcad::ErrorStatus
removeField(self: pygcad.pygrx.GcDbText, pszPropName: str) -> pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::removeField(const wchar_t *) –> enum Gcad::ErrorStatus
- rotation(self: pygcad.pygrx.GcDbText) float
C++: GcDbText::rotation() const –> double
- static rxInit() None
C++: GcDbText::rxInit() –> void
- setAlignmentPoint(self: pygcad.pygrx.GcDbText, para: GcGePoint3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setAlignmentPoint(const class GcGePoint3d &) –> enum Gcad::ErrorStatus
- setHeight(self: pygcad.pygrx.GcDbText, para: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setHeight(double) –> enum Gcad::ErrorStatus
- setHorizontalMode(self: pygcad.pygrx.GcDbText, para: pygcad.pygrx.GcDb.TextHorzMode) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setHorizontalMode(enum GcDb::TextHorzMode) –> enum Gcad::ErrorStatus
- setJustification(self: pygcad.pygrx.GcDbText, para: pygcad.pygrx.GcDbText.GcTextAlignment) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setJustification(enum GcDbText::GcTextAlignment) –> enum Gcad::ErrorStatus
- setNormal(self: pygcad.pygrx.GcDbText, para: GcGeVector3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setNormal(const class GcGeVector3d &) –> enum Gcad::ErrorStatus
- setOblique(self: pygcad.pygrx.GcDbText, para: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setOblique(double) –> enum Gcad::ErrorStatus
- setPosition(self: pygcad.pygrx.GcDbText, para: GcGePoint3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setPosition(const class GcGePoint3d &) –> enum Gcad::ErrorStatus
- setRotation(self: pygcad.pygrx.GcDbText, para: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setRotation(double) –> enum Gcad::ErrorStatus
- setTextString(self: pygcad.pygrx.GcDbText, para: str) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setTextString(const wchar_t *) –> enum Gcad::ErrorStatus
- setTextStyle(self: pygcad.pygrx.GcDbText, para: GcDbObjectId) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setTextStyle(class GcDbObjectId) –> enum Gcad::ErrorStatus
- setThickness(self: pygcad.pygrx.GcDbText, para: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setThickness(double) –> enum Gcad::ErrorStatus
- setVerticalMode(self: pygcad.pygrx.GcDbText, para: pygcad.pygrx.GcDb.TextVertMode) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setVerticalMode(enum GcDb::TextVertMode) –> enum Gcad::ErrorStatus
- setWidthFactor(self: pygcad.pygrx.GcDbText, para: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::setWidthFactor(double) –> enum Gcad::ErrorStatus
- textString(*args, **kwargs)
Overloaded function.
textString(self: pygcad.pygrx.GcDbText, sText: GcString) -> pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbText::textString(class GcString &) const –> enum Gcad::ErrorStatus
textString(self: pygcad.pygrx.GcDbText) -> str
C++: GcDbText::textString() const –> wchar_t *
- textStringConst(self: pygcad.pygrx.GcDbText) str
C++: GcDbText::textStringConst() const –> const wchar_t *
- textStyle(self: pygcad.pygrx.GcDbText) GcDbObjectId
C++: GcDbText::textStyle() const –> class GcDbObjectId
- thickness(self: pygcad.pygrx.GcDbText) float
C++: GcDbText::thickness() const –> double
- verticalMode(self: pygcad.pygrx.GcDbText) pygcad.pygrx.GcDb.TextVertMode
C++: GcDbText::verticalMode() const –> enum GcDb::TextVertMode
- widthFactor(self: pygcad.pygrx.GcDbText) float
C++: GcDbText::widthFactor() const –> double