GcValue

class pygcad.pygrx.GcValue

Bases: GcRxObject

Attributes Summary

k3dPoint

kAngle

kAngleNotTransformed

kArea

kBuffer

kChangeDataType

kColor

kConvertTextToValue

kCurrency

kDate

kDistance

kDouble

kForEditing

kForExpression

kFormatOptionNone

kGeneral

kIgnoreMtextFormat

kLong

kObjectId

kParseOptionNone

kParseTextForFieldCode

kPercentage

kPoint

kPreserveMtextFormat

kResbuf

kSetDefaultFormat

kString

kUnitless

kUnknown

kUseMaximumPrecision

kVolume

Methods Summary

assign(*args, **kwargs)

Overloaded function.

cast(inPtr)

C++: GcValue::cast(const class GcRxObject *) --> class GcValue *

className()

C++: GcValue::className() --> const wchar_t *

convertTo(*args, **kwargs)

Overloaded function.

dataType(self)

C++: GcValue::dataType() const --> enum GcValue::DataType

delete(self)

desc()

C++: GcValue::desc() --> class GcRxClass *

dwgInFields(self, pFiler)

C++: GcValue::dwgInFields(class GcDbDwgFiler *) --> enum Gcad::ErrorStatus

dwgOutFields(self, pFiler)

C++: GcValue::dwgOutFields(class GcDbDwgFiler *) const --> enum Gcad::ErrorStatus

dxfInFields(self, pFiler)

C++: GcValue::dxfInFields(class GcDbDxfFiler *) --> enum Gcad::ErrorStatus

dxfOutFields(self, pFiler)

C++: GcValue::dxfOutFields(class GcDbDxfFiler *) const --> enum Gcad::ErrorStatus

format(*args, **kwargs)

Overloaded function.

getCmColorValue(self)

C++: GcValue::get(class GcCmColor &) const --> bool

getFormat(self)

C++: GcValue::getFormat() const --> const wchar_t *

getObjIdValue(self)

C++: GcValue::get(class GcDbObjectId &) const --> bool

getPt2dValue(self)

C++: GcValue::get(class GcGePoint2d &) const --> bool

getPt3dValue(self)

C++: GcValue::get(class GcGePoint3d &) const --> bool

getSystemTimeValue(self)

C++: GcValue::get(struct _SYSTEMTIME &) const --> bool

getTime64Value(self)

C++: GcValue::get(Gsoft::Time64 &) const --> bool

getfValue(*args, **kwargs)

Overloaded function.

getlValue(self)

C++: GcValue::get(int &) const --> bool

getsValue(self)

C++: GcValue::get(class GcString &) const --> bool

gettmValue(self)

C++: GcValue::get(struct tm &) const --> bool

isA(self)

C++: GcValue::isA() const --> class GcRxClass *

isEqualTo(self, pOther)

C++: GcValue::isEqualTo(const class GcRxObject *) const --> bool

isValid(self)

C++: GcValue::isValid() const --> bool

parse(self, pszText, nDataType, nUnitType, ...)

C++: GcValue::parse(const wchar_t *, enum GcValue::DataType, enum GcValue::UnitType, const wchar_t *, enum GcValue::ParseOption, const class GcDbObjectId *) --> bool

reset(*args, **kwargs)

Overloaded function.

resetValue(self)

C++: GcValue::resetValue() --> bool

rxInit()

C++: GcValue::rxInit() --> void

set(*args, **kwargs)

Overloaded function.

setFormat(self, pszFormat)

C++: GcValue::setFormat(const wchar_t *) --> bool

setUnitType(self, nUnitType)

C++: GcValue::setUnitType(enum GcValue::UnitType) --> bool

unitType(self)

C++: GcValue::unitType() const --> enum GcValue::UnitType

Attributes Documentation

k3dPoint = <DataType.k3dPoint: 32>
kAngle = <UnitType.kAngle: 2>
kAngleNotTransformed = <UnitType.kAngleNotTransformed: 65536>
kArea = <UnitType.kArea: 4>
kBuffer = <DataType.kBuffer: 128>
kChangeDataType = <ParseOption.kChangeDataType: 8>
kColor = <DataType.kColor: 1024>
kConvertTextToValue = <ParseOption.kConvertTextToValue: 4>
kCurrency = <UnitType.kCurrency: 16>
kDate = <DataType.kDate: 8>
kDistance = <UnitType.kDistance: 1>
kDouble = <DataType.kDouble: 2>
kForEditing = <FormatOption.kForEditing: 1>
kForExpression = <FormatOption.kForExpression: 2>
kFormatOptionNone = <FormatOption.kFormatOptionNone: 0>
kGeneral = <DataType.kGeneral: 512>
kIgnoreMtextFormat = <FormatOption.kIgnoreMtextFormat: 8>
kLong = <DataType.kLong: 1>
kObjectId = <DataType.kObjectId: 64>
kParseOptionNone = <ParseOption.kParseOptionNone: 0>
kParseTextForFieldCode = <ParseOption.kParseTextForFieldCode: 16>
kPercentage = <UnitType.kPercentage: 32>
kPoint = <DataType.kPoint: 16>
kPreserveMtextFormat = <ParseOption.kPreserveMtextFormat: 2>
kResbuf = <DataType.kResbuf: 256>
kSetDefaultFormat = <ParseOption.kSetDefaultFormat: 1>
kString = <DataType.kString: 4>
kUnitless = <UnitType.kUnitless: 0>
kUnknown = <DataType.kUnknown: 0>
kUseMaximumPrecision = <FormatOption.kUseMaximumPrecision: 4>
kVolume = <UnitType.kVolume: 8>

Methods Documentation

assign(*args, **kwargs)

Overloaded function.

  1. assign(self: pygcad.pygrx.GcValue, value: pygcad.pygrx.GcValue) -> pygcad.pygrx.GcValue

C++: GcValue::operator=(const class GcValue &) –> class GcValue &

  1. assign(self: pygcad.pygrx.GcValue, pszValue: str) -> pygcad.pygrx.GcValue

C++: GcValue::operator=(const wchar_t *) –> class GcValue &

  1. assign(self: pygcad.pygrx.GcValue, lValue: int) -> pygcad.pygrx.GcValue

C++: GcValue::operator=(int) –> class GcValue &

  1. assign(self: pygcad.pygrx.GcValue, fValue: float) -> pygcad.pygrx.GcValue

C++: GcValue::operator=(double) –> class GcValue &

  1. assign(self: pygcad.pygrx.GcValue, pt: pygcad.pygrx.GcGePoint2d) -> pygcad.pygrx.GcValue

C++: GcValue::operator=(const class GcGePoint2d &) –> class GcValue &

  1. assign(self: pygcad.pygrx.GcValue, pt: pygcad.pygrx.GcGePoint3d) -> pygcad.pygrx.GcValue

C++: GcValue::operator=(const class GcGePoint3d &) –> class GcValue &

  1. assign(self: pygcad.pygrx.GcValue, objId: pygcad.pygrx.GcDbObjectId) -> pygcad.pygrx.GcValue

C++: GcValue::operator=(const class GcDbObjectId &) –> class GcValue &

  1. assign(self: pygcad.pygrx.GcValue, rb: resbuf) -> pygcad.pygrx.GcValue

C++: GcValue::operator=(const struct resbuf &) –> class GcValue &

  1. assign(self: pygcad.pygrx.GcValue, clr: pygcad.pygrx.GcCmColor) -> pygcad.pygrx.GcValue

C++: GcValue::operator=(const class GcCmColor &) –> class GcValue &

static cast(inPtr: pygcad.pygrx.GcRxObject) pygcad.pygrx.GcValue

C++: GcValue::cast(const class GcRxObject *) –> class GcValue *

static className() str

C++: GcValue::className() –> const wchar_t *

convertTo(*args, **kwargs)

Overloaded function.

  1. convertTo(self: pygcad.pygrx.GcValue, nDataType: pygcad.pygrx.GcValue.DataType, nUnitType: pygcad.pygrx.GcValue.UnitType) -> bool

C++: GcValue::convertTo(enum GcValue::DataType, enum GcValue::UnitType) –> bool

  1. convertTo(self: pygcad.pygrx.GcValue, nDataType: pygcad.pygrx.GcValue.DataType, nUnitType: pygcad.pygrx.GcValue.UnitType, bResetIfIncompatible: bool) -> bool

C++: GcValue::convertTo(enum GcValue::DataType, enum GcValue::UnitType, bool) –> bool

dataType(self: pygcad.pygrx.GcValue) pygcad.pygrx.GcValue.DataType

C++: GcValue::dataType() const –> enum GcValue::DataType

delete(self: pygcad.pygrx.GcValue) None
static desc() pygcad.pygrx.GcRxClass

C++: GcValue::desc() –> class GcRxClass *

dwgInFields(self: pygcad.pygrx.GcValue, pFiler: GcDbDwgFiler) pygcad.pygrx.Gcad.ErrorStatus

C++: GcValue::dwgInFields(class GcDbDwgFiler *) –> enum Gcad::ErrorStatus

dwgOutFields(self: pygcad.pygrx.GcValue, pFiler: GcDbDwgFiler) pygcad.pygrx.Gcad.ErrorStatus

C++: GcValue::dwgOutFields(class GcDbDwgFiler *) const –> enum Gcad::ErrorStatus

dxfInFields(self: pygcad.pygrx.GcValue, pFiler: GcDbDxfFiler) pygcad.pygrx.Gcad.ErrorStatus

C++: GcValue::dxfInFields(class GcDbDxfFiler *) –> enum Gcad::ErrorStatus

dxfOutFields(self: pygcad.pygrx.GcValue, pFiler: GcDbDxfFiler) pygcad.pygrx.Gcad.ErrorStatus

C++: GcValue::dxfOutFields(class GcDbDxfFiler *) const –> enum Gcad::ErrorStatus

format(*args, **kwargs)

Overloaded function.

  1. format(self: pygcad.pygrx.GcValue) -> str

C++: GcValue::format() const –> const wchar_t *

  1. format(self: pygcad.pygrx.GcValue, pszFormat: str) -> pygcad.pygrx.GcString

C++: GcValue::format(const wchar_t *) const –> class GcString

  1. format(self: pygcad.pygrx.GcValue, sValue: pygcad.pygrx.GcString) -> bool

C++: GcValue::format(class GcString &) const –> bool

  1. format(self: pygcad.pygrx.GcValue, pszFormat: str, sValue: pygcad.pygrx.GcString) -> bool

C++: GcValue::format(const wchar_t *, class GcString &) const –> bool

  1. format(self: pygcad.pygrx.GcValue, nOption: pygcad.pygrx.GcValue.FormatOption) -> pygcad.pygrx.GcString

C++: GcValue::format(enum GcValue::FormatOption) –> class GcString

  1. format(self: pygcad.pygrx.GcValue, pszFormat: str, nOption: pygcad.pygrx.GcValue.FormatOption) -> pygcad.pygrx.GcString

C++: GcValue::format(const wchar_t *, enum GcValue::FormatOption) –> class GcString

getCmColorValue(self: pygcad.pygrx.GcValue) Tuple[bool, pygcad.pygrx.GcCmColor]

C++: GcValue::get(class GcCmColor &) const –> bool

getFormat(self: pygcad.pygrx.GcValue) str

C++: GcValue::getFormat() const –> const wchar_t *

getObjIdValue(self: pygcad.pygrx.GcValue) Tuple[bool, pygcad.pygrx.GcDbObjectId]

C++: GcValue::get(class GcDbObjectId &) const –> bool

getPt2dValue(self: pygcad.pygrx.GcValue) Tuple[bool, pygcad.pygrx.GcGePoint2d]

C++: GcValue::get(class GcGePoint2d &) const –> bool

getPt3dValue(self: pygcad.pygrx.GcValue) Tuple[bool, pygcad.pygrx.GcGePoint3d]

C++: GcValue::get(class GcGePoint3d &) const –> bool

getSystemTimeValue(self: pygcad.pygrx.GcValue) Tuple[bool, _SYSTEMTIME]

C++: GcValue::get(struct _SYSTEMTIME &) const –> bool

getTime64Value(self: pygcad.pygrx.GcValue) Tuple[bool, int]

C++: GcValue::get(Gsoft::Time64 &) const –> bool

getfValue(*args, **kwargs)

Overloaded function.

  1. getfValue(self: pygcad.pygrx.GcValue) -> Tuple[bool, float]

C++: GcValue::get(double &) const –> bool

  1. getfValue(self: pygcad.pygrx.GcValue) -> Tuple[bool, float]

C++: GcValue::get(double &) const –> bool

getlValue(self: pygcad.pygrx.GcValue) Tuple[bool, int]

C++: GcValue::get(int &) const –> bool

getsValue(self: pygcad.pygrx.GcValue) Tuple[bool, pygcad.pygrx.GcString]

C++: GcValue::get(class GcString &) const –> bool

gettmValue(self: pygcad.pygrx.GcValue) Tuple[bool, tm]

C++: GcValue::get(struct tm &) const –> bool

isA(self: pygcad.pygrx.GcValue) pygcad.pygrx.GcRxClass

C++: GcValue::isA() const –> class GcRxClass *

isEqualTo(self: pygcad.pygrx.GcValue, pOther: pygcad.pygrx.GcRxObject) bool

C++: GcValue::isEqualTo(const class GcRxObject *) const –> bool

isValid(self: pygcad.pygrx.GcValue) bool

C++: GcValue::isValid() const –> bool

parse(self: pygcad.pygrx.GcValue, pszText: str, nDataType: pygcad.pygrx.GcValue.DataType, nUnitType: pygcad.pygrx.GcValue.UnitType, pszFormat: str, nOption: pygcad.pygrx.GcValue.ParseOption, pTextStyleId: pygcad.pygrx.GcDbObjectId) bool

C++: GcValue::parse(const wchar_t *, enum GcValue::DataType, enum GcValue::UnitType, const wchar_t *, enum GcValue::ParseOption, const class GcDbObjectId *) –> bool

reset(*args, **kwargs)

Overloaded function.

  1. reset(self: pygcad.pygrx.GcValue) -> bool

C++: GcValue::reset() –> bool

  1. reset(self: pygcad.pygrx.GcValue, nDataType: pygcad.pygrx.GcValue.DataType) -> bool

C++: GcValue::reset(enum GcValue::DataType) –> bool

resetValue(self: pygcad.pygrx.GcValue) bool

C++: GcValue::resetValue() –> bool

static rxInit() None

C++: GcValue::rxInit() –> void

set(*args, **kwargs)

Overloaded function.

  1. set(self: pygcad.pygrx.GcValue, value: pygcad.pygrx.GcValue) -> bool

C++: GcValue::set(const class GcValue &) –> bool

  1. set(self: pygcad.pygrx.GcValue, pszValue: str) -> bool

C++: GcValue::set(const wchar_t *) –> bool

  1. set(self: pygcad.pygrx.GcValue, nDataType: pygcad.pygrx.GcValue.DataType, pszValue: str) -> bool

C++: GcValue::set(enum GcValue::DataType, const wchar_t *) –> bool

  1. set(self: pygcad.pygrx.GcValue, lValue: int) -> bool

C++: GcValue::set(int) –> bool

  1. set(self: pygcad.pygrx.GcValue, fValue: float) -> bool

C++: GcValue::set(double) –> bool

  1. set(self: pygcad.pygrx.GcValue, date: tm) -> bool

C++: GcValue::set(const struct tm &) –> bool

  1. set(self: pygcad.pygrx.GcValue, pt: pygcad.pygrx.GcGePoint2d) -> bool

C++: GcValue::set(const class GcGePoint2d &) –> bool

  1. set(self: pygcad.pygrx.GcValue, x: float, y: float) -> bool

C++: GcValue::set(double, double) –> bool

  1. set(self: pygcad.pygrx.GcValue, pt: pygcad.pygrx.GcGePoint3d) -> bool

C++: GcValue::set(const class GcGePoint3d &) –> bool

  1. set(self: pygcad.pygrx.GcValue, x: float, y: float, z: float) -> bool

C++: GcValue::set(double, double, double) –> bool

  1. set(self: pygcad.pygrx.GcValue, objId: pygcad.pygrx.GcDbObjectId) -> bool

C++: GcValue::set(const class GcDbObjectId &) –> bool

  1. set(self: pygcad.pygrx.GcValue, rb: resbuf) -> bool

C++: GcValue::set(const struct resbuf &) –> bool

  1. set(self: pygcad.pygrx.GcValue, clr: pygcad.pygrx.GcCmColor) -> bool

C++: GcValue::set(const class GcCmColor &) –> bool

  1. set(self: pygcad.pygrx.GcValue, pBuf: capsule, dwBufSize: int) -> bool

C++: GcValue::set(const void *, unsigned int) –> bool

setFormat(self: pygcad.pygrx.GcValue, pszFormat: str) bool

C++: GcValue::setFormat(const wchar_t *) –> bool

setUnitType(self: pygcad.pygrx.GcValue, nUnitType: pygcad.pygrx.GcValue.UnitType) bool

C++: GcValue::setUnitType(enum GcValue::UnitType) –> bool

unitType(self: pygcad.pygrx.GcValue) pygcad.pygrx.GcValue.UnitType

C++: GcValue::unitType() const –> enum GcValue::UnitType