GcDbSection
- class pygcad.pygrx.GcDbSection
Bases:
GcDbEntity
Attributes Summary
Methods Summary
addVertex
(self, nInsertAt, pt)C++: GcDbSection::addVertex(int, const class GcGePoint3d &) --> enum Gcad::ErrorStatus
bottomPlane
(self)C++: GcDbSection::bottomPlane() const --> double
cast
(inPtr)C++: GcDbSection::cast(const class GcRxObject *) --> class GcDbSection *
C++: GcDbSection::className() --> const wchar_t *
createJog
(self, ptOnSection)C++: GcDbSection::createJog(const class GcGePoint3d &) --> enum Gcad::ErrorStatus
desc
()C++: GcDbSection::desc() --> class GcRxClass *
dwgInFields
(self, pFiler)C++: GcDbSection::dwgInFields(class GcDbDwgFiler *) --> enum Gcad::ErrorStatus
dwgOutFields
(self, pFiler)C++: GcDbSection::dwgOutFields(class GcDbDwgFiler *) const --> enum Gcad::ErrorStatus
dxfInFields
(self, pFiler)C++: GcDbSection::dxfInFields(class GcDbDxfFiler *) --> enum Gcad::ErrorStatus
dxfOutFields
(self, pFiler)C++: GcDbSection::dxfOutFields(class GcDbDxfFiler *) const --> enum Gcad::ErrorStatus
elevation
(self)C++: GcDbSection::elevation() const --> double
enableLiveSection
(self, bEnable)C++: GcDbSection::enableLiveSection(bool) --> enum Gcad::ErrorStatus
getName
(self)C++: GcDbSection::getName(wchar_t *&) const --> enum Gcad::ErrorStatus
getSettings
(*args, **kwargs)Overloaded function.
getVertex
(self, nIndex, pt)C++: GcDbSection::getVertex(int, class GcGePoint3d &) const --> enum Gcad::ErrorStatus
hasJogs
(self)C++: GcDbSection::hasJogs() const --> bool
height
(self, nHeightType)C++: GcDbSection::height(enum GcDbSection::Height) const --> double
hitTest
(self, ptHit, pSegmentIndex, ...)C++: GcDbSection::hitTest(const class GcGePoint3d &, int *, class GcGePoint3d *, enum GcDbSection::SubItem *) const --> bool
indicatorFillColor
(self)C++: GcDbSection::indicatorFillColor() const --> class GcCmColor
indicatorTransparency
(self)C++: GcDbSection::indicatorTransparency() const --> int
isA
(self)C++: GcDbSection::isA() const --> class GcRxClass *
isLiveSectionEnabled
(self)C++: GcDbSection::isLiveSectionEnabled() const --> bool
isSlice
(self)C++: GcDbSection::isSlice() const --> bool
normal
(self)C++: GcDbSection::normal() const --> class GcGeVector3d
numVertices
(self)C++: GcDbSection::numVertices() const --> int
plane
(self, uAxis, vAxis)C++: GcDbSection::plane(class GcGeVector3d &, class GcGeVector3d &) const --> enum Gcad::ErrorStatus
removeVertex
(self, nIndex)C++: GcDbSection::removeVertex(int) --> enum Gcad::ErrorStatus
rxInit
()C++: GcDbSection::rxInit() --> void
sectionPlaneOffset
(self)C++: GcDbSection::sectionPlaneOffset() const --> double
setBottomPlane
(self, para)C++: GcDbSection::setBottomPlane(double) --> enum Gcad::ErrorStatus
setElevation
(self, elev)C++: GcDbSection::setElevation(double) --> enum Gcad::ErrorStatus
setHeight
(self, nHeightType, fHeight)C++: GcDbSection::setHeight(enum GcDbSection::Height, double) --> enum Gcad::ErrorStatus
setIndicatorFillColor
(self, color)C++: GcDbSection::setIndicatorFillColor(const class GcCmColor &) --> enum Gcad::ErrorStatus
setIndicatorTransparency
(self, nTransparency)C++: GcDbSection::setIndicatorTransparency(int) --> enum Gcad::ErrorStatus
setIsSlice
(self, value)C++: GcDbSection::setIsSlice(bool) --> enum Gcad::ErrorStatus
setName
(self, pszName)C++: GcDbSection::setName(const wchar_t *) --> enum Gcad::ErrorStatus
setSectionPlaneOffset
(self, offset)C++: GcDbSection::setSectionPlaneOffset(double) --> enum Gcad::ErrorStatus
setState
(self, nState)C++: GcDbSection::setState(enum GcDbSection::State) --> enum Gcad::ErrorStatus
setThicknessDepth
(self, fThickness)C++: GcDbSection::setThicknessDepth(double) --> enum Gcad::ErrorStatus
setTopPlane
(self, para)C++: GcDbSection::setTopPlane(double) --> enum Gcad::ErrorStatus
setVertex
(self, nIndex, pt)C++: GcDbSection::setVertex(int, const class GcGePoint3d &) --> enum Gcad::ErrorStatus
setVerticalDirection
(self, dir)C++: GcDbSection::setVerticalDirection(const class GcGeVector3d &) --> enum Gcad::ErrorStatus
setViewingDirection
(self, dir)C++: GcDbSection::setViewingDirection(const class GcGeVector3d &) --> enum Gcad::ErrorStatus
state
(self)C++: GcDbSection::state() const --> enum GcDbSection::State
subClose
(self)C++: GcDbSection::subClose() --> enum Gcad::ErrorStatus
thicknessDepth
(self)C++: GcDbSection::thicknessDepth() const --> double
topPlane
(self)C++: GcDbSection::topPlane() const --> double
verticalDirection
(self)C++: GcDbSection::verticalDirection() const --> class GcGeVector3d
viewingDirection
(self)C++: GcDbSection::viewingDirection() const --> class GcGeVector3d
Attributes Documentation
- kBackLine = <SubItem.kBackLine: 8>
- kBackLineBottom = <SubItem.kBackLineBottom: 32>
- kBackLineTop = <SubItem.kBackLineTop: 16>
- kBoundary = <State.kBoundary: 2>
- kHeightAboveSectionLine = <Height.kHeightAboveSectionLine: 1>
- kHeightBelowSectionLine = <Height.kHeightBelowSectionLine: 2>
- kNone = <SubItem.kNone: 0>
- kPlane = <State.kPlane: 1>
- kSectionLine = <SubItem.kSectionLine: 1>
- kSectionLineBottom = <SubItem.kSectionLineBottom: 4>
- kSectionLineTop = <SubItem.kSectionLineTop: 2>
- kVerticalLineBottom = <SubItem.kVerticalLineBottom: 128>
- kVerticalLineTop = <SubItem.kVerticalLineTop: 64>
- kVolume = <State.kVolume: 4>
Methods Documentation
- addVertex(self: pygcad.pygrx.GcDbSection, nInsertAt: int, pt: pygcad.pygrx.GcGePoint3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::addVertex(int, const class GcGePoint3d &) –> enum Gcad::ErrorStatus
- bottomPlane(self: pygcad.pygrx.GcDbSection) float
C++: GcDbSection::bottomPlane() const –> double
- static cast(inPtr: pygcad.pygrx.GcRxObject) pygcad.pygrx.GcDbSection
C++: GcDbSection::cast(const class GcRxObject *) –> class GcDbSection *
- static className() str
C++: GcDbSection::className() –> const wchar_t *
- createJog(self: pygcad.pygrx.GcDbSection, ptOnSection: pygcad.pygrx.GcGePoint3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::createJog(const class GcGePoint3d &) –> enum Gcad::ErrorStatus
- static desc() pygcad.pygrx.GcRxClass
C++: GcDbSection::desc() –> class GcRxClass *
- dwgInFields(self: pygcad.pygrx.GcDbSection, pFiler: pygcad.pygrx.GcDbDwgFiler) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::dwgInFields(class GcDbDwgFiler *) –> enum Gcad::ErrorStatus
- dwgOutFields(self: pygcad.pygrx.GcDbSection, pFiler: pygcad.pygrx.GcDbDwgFiler) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::dwgOutFields(class GcDbDwgFiler *) const –> enum Gcad::ErrorStatus
- dxfInFields(self: pygcad.pygrx.GcDbSection, pFiler: GcDbDxfFiler) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::dxfInFields(class GcDbDxfFiler *) –> enum Gcad::ErrorStatus
- dxfOutFields(self: pygcad.pygrx.GcDbSection, pFiler: GcDbDxfFiler) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::dxfOutFields(class GcDbDxfFiler *) const –> enum Gcad::ErrorStatus
- elevation(self: pygcad.pygrx.GcDbSection) float
C++: GcDbSection::elevation() const –> double
- enableLiveSection(self: pygcad.pygrx.GcDbSection, bEnable: bool) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::enableLiveSection(bool) –> enum Gcad::ErrorStatus
- getName(self: pygcad.pygrx.GcDbSection) Tuple[pygcad.pygrx.Gcad.ErrorStatus, str]
C++: GcDbSection::getName(wchar_t *&) const –> enum Gcad::ErrorStatus
- getSettings(*args, **kwargs)
Overloaded function.
getSettings(self: pygcad.pygrx.GcDbSection) -> pygcad.pygrx.GcDbObjectId
C++: GcDbSection::getSettings() const –> class GcDbObjectId
getSettings(self: pygcad.pygrx.GcDbSection, mode: pygcad.pygrx.GcDb.OpenMode) -> Tuple[pygcad.pygrx.Gcad.ErrorStatus, GcDbSectionSettings]
C++: GcDbSection::getSettings(class GcDbSectionSettings *&, enum GcDb::OpenMode) const –> enum Gcad::ErrorStatus
- getVertex(self: pygcad.pygrx.GcDbSection, nIndex: int, pt: pygcad.pygrx.GcGePoint3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::getVertex(int, class GcGePoint3d &) const –> enum Gcad::ErrorStatus
- hasJogs(self: pygcad.pygrx.GcDbSection) bool
C++: GcDbSection::hasJogs() const –> bool
- height(self: pygcad.pygrx.GcDbSection, nHeightType: pygcad.pygrx.GcDbSection.Height) float
C++: GcDbSection::height(enum GcDbSection::Height) const –> double
- hitTest(self: pygcad.pygrx.GcDbSection, ptHit: pygcad.pygrx.GcGePoint3d, pSegmentIndex: int, ptOnSegment: pygcad.pygrx.GcGePoint3d, pSubItem: pygcad.pygrx.GcDbSection.SubItem) bool
C++: GcDbSection::hitTest(const class GcGePoint3d &, int *, class GcGePoint3d *, enum GcDbSection::SubItem *) const –> bool
- indicatorFillColor(self: pygcad.pygrx.GcDbSection) pygcad.pygrx.GcCmColor
C++: GcDbSection::indicatorFillColor() const –> class GcCmColor
- indicatorTransparency(self: pygcad.pygrx.GcDbSection) int
C++: GcDbSection::indicatorTransparency() const –> int
- isA(self: pygcad.pygrx.GcDbSection) pygcad.pygrx.GcRxClass
C++: GcDbSection::isA() const –> class GcRxClass *
- isLiveSectionEnabled(self: pygcad.pygrx.GcDbSection) bool
C++: GcDbSection::isLiveSectionEnabled() const –> bool
- isSlice(self: pygcad.pygrx.GcDbSection) bool
C++: GcDbSection::isSlice() const –> bool
- normal(self: pygcad.pygrx.GcDbSection) pygcad.pygrx.GcGeVector3d
C++: GcDbSection::normal() const –> class GcGeVector3d
- numVertices(self: pygcad.pygrx.GcDbSection) int
C++: GcDbSection::numVertices() const –> int
- plane(self: pygcad.pygrx.GcDbSection, uAxis: pygcad.pygrx.GcGeVector3d, vAxis: pygcad.pygrx.GcGeVector3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::plane(class GcGeVector3d &, class GcGeVector3d &) const –> enum Gcad::ErrorStatus
- removeVertex(self: pygcad.pygrx.GcDbSection, nIndex: int) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::removeVertex(int) –> enum Gcad::ErrorStatus
- static rxInit() None
C++: GcDbSection::rxInit() –> void
- sectionPlaneOffset(self: pygcad.pygrx.GcDbSection) float
C++: GcDbSection::sectionPlaneOffset() const –> double
- setBottomPlane(self: pygcad.pygrx.GcDbSection, para: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setBottomPlane(double) –> enum Gcad::ErrorStatus
- setElevation(self: pygcad.pygrx.GcDbSection, elev: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setElevation(double) –> enum Gcad::ErrorStatus
- setHeight(self: pygcad.pygrx.GcDbSection, nHeightType: pygcad.pygrx.GcDbSection.Height, fHeight: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setHeight(enum GcDbSection::Height, double) –> enum Gcad::ErrorStatus
- setIndicatorFillColor(self: pygcad.pygrx.GcDbSection, color: pygcad.pygrx.GcCmColor) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setIndicatorFillColor(const class GcCmColor &) –> enum Gcad::ErrorStatus
- setIndicatorTransparency(self: pygcad.pygrx.GcDbSection, nTransparency: int) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setIndicatorTransparency(int) –> enum Gcad::ErrorStatus
- setIsSlice(self: pygcad.pygrx.GcDbSection, value: bool) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setIsSlice(bool) –> enum Gcad::ErrorStatus
- setName(self: pygcad.pygrx.GcDbSection, pszName: str) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setName(const wchar_t *) –> enum Gcad::ErrorStatus
- setSectionPlaneOffset(self: pygcad.pygrx.GcDbSection, offset: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setSectionPlaneOffset(double) –> enum Gcad::ErrorStatus
- setState(self: pygcad.pygrx.GcDbSection, nState: pygcad.pygrx.GcDbSection.State) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setState(enum GcDbSection::State) –> enum Gcad::ErrorStatus
- setThicknessDepth(self: pygcad.pygrx.GcDbSection, fThickness: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setThicknessDepth(double) –> enum Gcad::ErrorStatus
- setTopPlane(self: pygcad.pygrx.GcDbSection, para: float) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setTopPlane(double) –> enum Gcad::ErrorStatus
- setVertex(self: pygcad.pygrx.GcDbSection, nIndex: int, pt: pygcad.pygrx.GcGePoint3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setVertex(int, const class GcGePoint3d &) –> enum Gcad::ErrorStatus
- setVerticalDirection(self: pygcad.pygrx.GcDbSection, dir: pygcad.pygrx.GcGeVector3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setVerticalDirection(const class GcGeVector3d &) –> enum Gcad::ErrorStatus
- setViewingDirection(self: pygcad.pygrx.GcDbSection, dir: pygcad.pygrx.GcGeVector3d) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::setViewingDirection(const class GcGeVector3d &) –> enum Gcad::ErrorStatus
- state(self: pygcad.pygrx.GcDbSection) pygcad.pygrx.GcDbSection.State
C++: GcDbSection::state() const –> enum GcDbSection::State
- subClose(self: pygcad.pygrx.GcDbSection) pygcad.pygrx.Gcad.ErrorStatus
C++: GcDbSection::subClose() –> enum Gcad::ErrorStatus
- thicknessDepth(self: pygcad.pygrx.GcDbSection) float
C++: GcDbSection::thicknessDepth() const –> double
- topPlane(self: pygcad.pygrx.GcDbSection) float
C++: GcDbSection::topPlane() const –> double
- verticalDirection(self: pygcad.pygrx.GcDbSection) pygcad.pygrx.GcGeVector3d
C++: GcDbSection::verticalDirection() const –> class GcGeVector3d
- viewingDirection(self: pygcad.pygrx.GcDbSection) pygcad.pygrx.GcGeVector3d
C++: GcDbSection::viewingDirection() const –> class GcGeVector3d