diff --git a/InternalAPI/MSPyCommon.h b/InternalAPI/MSPyCommon.h index b6ea68d..e348936 100644 --- a/InternalAPI/MSPyCommon.h +++ b/InternalAPI/MSPyCommon.h @@ -329,31 +329,53 @@ py::class_, holder_type> bind_PointerVector(py::handle scope, return cls; } +// Generic conversion from Python object to C++ type template T ConvertItemFromPyObject(const py::handle& item) { - if (!py::isinstance(item)) { - throw std::invalid_argument("All items in the list must be of the correct item type"); + try { + return py::cast(item); + } catch (const py::cast_error& e) { + throw std::invalid_argument("Failed to cast item to expected type: " + std::string(e.what())); } - return item.cast(); } -inline double ConvertItemFromPyObject(const py::handle& item) { - if (!PyFloat_Check(item.ptr()) && !PyLong_Check(item.ptr())) { - throw std::invalid_argument("Expected all items to be convertible to double"); +// Specialized conversion for double +template <> +inline double ConvertItemFromPyObject(const py::handle& item) { + try { + return item.cast(); + } catch (const py::cast_error& e) { + throw std::invalid_argument("Failed to cast item to double: " + std::string(e.what())); } - return item.cast(); } +// Specialized conversion for bool +template <> +inline bool ConvertItemFromPyObject(const py::handle& item) { + try { + return item.cast(); + } catch (const py::cast_error& e) { + throw std::invalid_argument("Failed to cast item to bool: " + std::string(e.what())); + } +} + +// Generic conversion from C++ type to Python object template py::object ConvertItemToPyObject(const T& item) { return py::cast(item); } +// Specialized conversion for double inline py::object ConvertItemToPyObject(const double& item) { return py::float_(item); } -//Convert Python list to an existing C++ array +// Specialized conversion for bool +inline py::object ConvertItemToPyObject(const bool& item) { + return py::bool_(item); +} + +// Convert Python list to an existing C++ array template void ConvertPyListToCppArray(const py::list& pyList, arrayType& cppArray) { cppArray.clear(); @@ -404,4 +426,4 @@ py::list ConvertCppArrayToPyList(const arrayType& cppArray) { ConvertCppArrayToPyList(pyList, cppArray); #define CONVERT_CPPARRAY_TO_NEW_PYLIST(pyList, cppArray, cppArrayType, cppItemType) \ - py::list pyList = ConvertCppArrayToPyList(cppArray); \ No newline at end of file + py::list pyList = ConvertCppArrayToPyList(cppArray); diff --git a/MSPython.mke b/MSPython.mke index 1f1cbba..411aba5 100644 --- a/MSPython.mke +++ b/MSPython.mke @@ -66,7 +66,7 @@ always: # always: - $(MakeProgram) $(_MakeFilePath)MSPythonCore.mke + $(MakeProgram) $(_MakeFilePath)MSPythonCore\MSPythonCore.mke $(MakeProgram) $(_MakeFilePath)MSPythonWrapper\PyBentley\PyBentley.mke $(MakeProgram) $(_MakeFilePath)MSPythonWrapper\PyBentleyGeom\PyBentleyGeom.mke $(MakeProgram) $(_MakeFilePath)MSPythonWrapper\PyDgnPlatform\PyDgnPlatform.mke diff --git a/MSPythonCore.mke b/MSPythonCore.mke deleted file mode 100644 index b8a8ad6..0000000 --- a/MSPythonCore.mke +++ /dev/null @@ -1,93 +0,0 @@ -#-------------------------------------------------------------------------------------- -# -# $Source: MSPython\MSPythonCore.mke $ -# -# $Copyright: (c) 2023 Bentley Systems, Incorporated. All rights reserved. $ -# -#-------------------------------------------------------------------------------------- -appName = MSPythonCore - - -%if defined (BSIBUILD) -MSPythonSrc = $(SrcRoot)MSPython/ -%else -MSPythonSrc = $(SrcRoot) -%endif - -PolicyFile = $(MSPythonSrc)/MSPythonAssertPolicy.mki -SolutionPolicyMki = $(MSPythonSrc)/MSPythonSolutionPolicy.mki - -%include mdl.mki -#---------------------------------------------------------------------- -# Define macros specific to this program -#---------------------------------------------------------------------- -baseDir = $(_MakeFilePath) - -#---------------------------------------------------------------------- -# Create output directories -#---------------------------------------------------------------------- -o = $(out)MSPythonCore/ - -always: - !~@mkdir $(o) - -always: - ~linkdir "$(BuildContext)PublicAPI/MsPythonCore=$(_MakeFilePath)/PublicAPI/MSPythonCore/" - -#--------------------------------------------- -# Compile the source files -#--------------------------------------------- -MultiCompileDepends = $(_MakeFileSpec) - -PchCompiland = $(baseDir)MSPythonPCH.cpp -PchOutputDir = $(o) -PchArgumentsDepends = $(MultiCompileDepends) -PchExtraOptions + -Zm170 -wd4456 -wd4457 -wd4459 -wd4311 -wd4312 -wd4302 -wd4471 -wd4653 -wd4652 -wd4651 - -%include $(MSPythonSrc)/build/publicSDK/PreCompileHeader.mki - - -CCPchOpts = $(UsePrecompiledHeaderOptions) - -dependencies = $(baseDir)MSPythonPCH.h - -%include MultiCppCompileRule.mki - -%include $(_MakeFilePath)MSPythonCore/ScriptEngineManager/ScriptEngineManager.mki - -%include MultiCppCompileGo.mki - -CCPchOpts = - -#---------------------------------------------------------------------- -# Set up to use dlmlink.mki -#---------------------------------------------------------------------- -DLM_NAME = $(appName) -DLM_DEST = $(o) -DLM_EXPORT_DEST = $(o) -DLM_OBJECT_DEST = $(o) -DLM_LIBDEF_SRC = $(baseDir) -DLM_OBJECT_FILES = $(MultiCompileObjectList) \ - $(o)MSPythonPCH$(oext) - -DLM_NOENTRY = 1 -DLM_NO_INITIALIZE_FUNCTION = 1 -DLM_NO_DLS = 1 -DLM_NO_DEF = 1 -LINKER_LIBRARIES = $(PythonLibName) \ - $(ContextSubpartsLibs)Bentley.lib \ - $(ContextSubpartsLibs)BentleyAllocator.lib \ - $(ContextSubpartsLibs)DgnPlatform.lib \ - $(ContextSubpartsLibs)RmgrTools.lib \ - $(ContextSubpartsLibs)mdlbltin.lib - -DLM_CONTEXT_LOCATION = $(BuildContext)Delivery/ - -%if defined (BSI) -DLM_LIB_CONTEXT_LOCATION = $(BuildContext)Delivery/ -DLM_CREATE_LIB_CONTEXT_LINK = 1 -%else -DLM_LIB_CONTEXT_LOCATION = $(ContextSubpartsLibs) -%endif - -%include dlmlink.mki diff --git a/MSPythonCore/MSPythonCore.mke b/MSPythonCore/MSPythonCore.mke new file mode 100644 index 0000000..a15a196 --- /dev/null +++ b/MSPythonCore/MSPythonCore.mke @@ -0,0 +1,139 @@ +#-------------------------------------------------------------------------------------- +# +# $Source: MSPython\MSPythonCore\MSPythonCore.mke $ +# +# $Copyright: (c) 2023 Bentley Systems, Incorporated. All rights reserved. $ +# +#-------------------------------------------------------------------------------------- +appName = MSPythonCore + +%if defined (BSIBUILD) +MSPythonSrc = $(SrcRoot)MSPython/ +%else +MSPythonSrc = $(SrcRoot) +%endif + +PolicyFile = $(MSPythonSrc)/MSPythonAssertPolicy.mki +SolutionPolicyMki = $(MSPythonSrc)/MSPythonSolutionPolicy.mki + +%include mdl.mki +#---------------------------------------------------------------------- +# Define macros specific to this program +#---------------------------------------------------------------------- +baseDir = $(_MakeFilePath) + +#---------------------------------------------------------------------- +# Create output directories +#---------------------------------------------------------------------- +o = $(out)MSPythonCore/ + +always: + !~@mkdir $(o) + +always: + ~linkdir "$(BuildContext)PublicAPI/MsPythonCore=$(MSPythonSrc)/PublicAPI/MSPythonCore/" + +#--------------------------------------------- +# Compile Native source files +#--------------------------------------------- +MultiCompileDepends = $(_MakeFileSpec) + +PchCompiland = $(MSPythonSrc)MSPythonPCH.cpp +PchOutputDir = $(o) +PchArgumentsDepends = $(MultiCompileDepends) +PchExtraOptions + -Zm170 -wd4456 -wd4457 -wd4459 -wd4311 -wd4312 -wd4302 -wd4471 -wd4653 -wd4652 -wd4651 + +%include $(MSPythonSrc)/build/publicSDK/PreCompileHeader.mki + +CCPchOpts = $(UsePrecompiledHeaderOptions) + +dependencies = $(MSPythonSrc)MSPythonPCH.h + +PyhonCoreSource = $(PyhonCore)ScriptEngineManager/source/ +PythonCoreDependencies = $(dependencies) \ + $(PythonInternalHeaders)MSPythonEngine.h \ + $(PythonPublicHeaders)ScriptEngineManager.h + +%include MultiCppCompileRule.mki + +$(o)ScriptEngineManager$(oext) : $(PyhonCoreSource)ScriptEngineManager.cpp $(PythonCoreDependencies) ${MultiCompileDepends} + +$(o)MSPythonEngine$(oext) : $(PyhonCoreSource)MSPythonEngine.cpp $(PythonCoreDependencies) ${MultiCompileDepends} + +%include MultiCppCompileGo.mki +NATIVE_OBJS =% $(MultiCompileObjectList) \ + $(o)MSPythonPCH$(oext) + + +#--------------------------------------------- +# Compile Managed source files (/clr) +#--------------------------------------------- +%include compileForCLRStart.mki + +CCPchOpts = +MultiCompileDepends=$(_MakeFileSpec) + +%include MultiCppCompileRule.mki + +ScriptEngineManagerNetDependencies = $(dependencies) \ + $(PythonPublicHeaders)ScriptEngineManager.h + +$(o)ScriptEngineManagerNet$(oext) : $(PyhonCoreSource)ScriptEngineManagerNet.cpp $(ScriptEngineManagerNetDependencies) ${MultiCompileDepends} + +%include MultiCppCompileGo.mki +MANAGED_OBJS =% $(MultiCompileObjectList) +%include compileForCLRStop.mki + + +DLM_NAME = $(appName) +RIGHTSCOMPLIANT = false +DLM_DEST = $(o) +DLM_EXPORT_DEST = $(o) +DLM_OBJECT_DEST = $(o) +DLM_OBJECT_FILES = $(NATIVE_OBJS) $(MANAGED_OBJS) +DLM_NO_DEF = 1 +DLM_NO_DLS = 1 +DLM_NO_IMPLIB = 0 +DLM_NOENTRY = 0 +DLM_NO_INITIALIZE_FUNCTION = 0 + +LINKER_LIBRARIES = $(PythonLibName) \ + $(ContextSubpartsLibs)Bentley.lib \ + $(ContextSubpartsLibs)BentleyAllocator.lib \ + $(ContextSubpartsLibs)DgnPlatform.lib \ + $(ContextSubpartsLibs)RmgrTools.lib \ + $(ContextSubpartsLibs)mdlbltin.lib + +DLM_CONTEXT_LOCATION = $(BuildContext)Delivery/ + +%if defined (BSI) +DLM_LIB_CONTEXT_LOCATION = $(BuildContext)Delivery/ +DLM_CREATE_LIB_CONTEXT_LINK = 1 +%else +DLM_LIB_CONTEXT_LOCATION = $(ContextSubpartsLibs) +%endif + + +ASSEMBLY_NAME = $(DLM_NAME) +ASSEMBLY_TITLE = $(DLM_NAME) +ASSEMBLY_DESCRIPTION = Bentley MSPython Core Mixed Assembly +ASSEMBLY_VERSION = 1.0.0.0 +ASSEMBLY_FILE_VERSION = 1.0.0.0 +ASSEMBLY_PRODUCT_NAME = MSPythonCore +ASSEMBLY_COMPANY_NAME = $(companyName) +ASSEMBLY_COPYRIGHT = $(Bentley_Copyright) + +%if defined (BSI) + +ASSEMBLY_STRONGNAME = 1 +%include $(SharedMki)isRightsCompliant.mki +%include $(SharedMki)VersionedPartSignatureDefaults.mki + +ASSEMBLY_KEYFILE =% $(ASSEMBLY_KEYFILE_DEFAULT) +ASSEMBLY_TESTKEYFILE =% $(ASSEMBLY_TESTKEYFILE_DEFAULT) + +%endif + + +%include linkMixedAssembly.mki + diff --git a/MSPythonCore/MSPythonCore.mke.sourcemap.json b/MSPythonCore/MSPythonCore.mke.sourcemap.json new file mode 100644 index 0000000..2312dce --- /dev/null +++ b/MSPythonCore/MSPythonCore.mke.sourcemap.json @@ -0,0 +1,164 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../InternalAPI/MSPyBindTemplates.h", + "../InternalAPI/MSPyCommon.h", + "../InternalAPI/MSPythonEngine.h", + "../InternalAPI/OpqueTypes_Bentley.h", + "../InternalAPI/OpqueTypes_DgnPlatform.h", + "../InternalAPI/OpqueTypes_ECObject.h", + "../InternalAPI/OpqueTypes_Geom.h", + "../InternalAPI/Pybind11/attr.h", + "../InternalAPI/Pybind11/buffer_info.h", + "../InternalAPI/Pybind11/cast.h", + "../InternalAPI/Pybind11/detail/class.h", + "../InternalAPI/Pybind11/detail/common.h", + "../InternalAPI/Pybind11/detail/descr.h", + "../InternalAPI/Pybind11/detail/init.h", + "../InternalAPI/Pybind11/detail/internals.h", + "../InternalAPI/Pybind11/detail/type_caster_base.h", + "../InternalAPI/Pybind11/detail/typeid.h", + "../InternalAPI/Pybind11/embed.h", + "../InternalAPI/Pybind11/eval.h", + "../InternalAPI/Pybind11/gil.h", + "../InternalAPI/Pybind11/operators.h", + "../InternalAPI/Pybind11/options.h", + "../InternalAPI/Pybind11/pybind11.h", + "../InternalAPI/Pybind11/pytypes.h", + "../InternalAPI/Pybind11/stl.h", + "../InternalAPI/Pybind11/stl_bind.h", + "../MSPythonPCH.cpp", + "../MSPythonPCH.h", + "../PublicAPI/MSPythonCore/MSPython.h", + "../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "MSPythonCore.mke", + "ScriptEngineManager/MsPythonCore.r.h", + "ScriptEngineManager/source/MSPythonEngine.cpp", + "ScriptEngineManager/source/ScriptEngineManager.cpp", + "ScriptEngineManager/source/ScriptEngineManagerNet.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonCore/ScriptEngineManager/ScriptEngineManager.mki b/MSPythonCore/ScriptEngineManager/ScriptEngineManager.mki deleted file mode 100644 index f959625..0000000 --- a/MSPythonCore/ScriptEngineManager/ScriptEngineManager.mki +++ /dev/null @@ -1,15 +0,0 @@ -#-------------------------------------------------------------------------------------- -# -# $Source: MSPython\MSPythonCore\ScriptEngineManager\ScriptEngineManager.mki $ -# -# $Copyright: (c) 2023 Bentley Systems, Incorporated. All rights reserved. $ -# -#-------------------------------------------------------------------------------------- -PyhonCoreSource = $(PyhonCore)ScriptEngineManager/source/ -PythonCoreDependencies = $(dependencies) \ - $(PythonInternalHeaders)MSPythonEngine.h \ - $(PythonPublicHeaders)ScriptEngineManager.h - -$(o)ScriptEngineManager$(oext) : $(PyhonCoreSource)ScriptEngineManager.cpp $(PythonCoreDependencies) ${MultiCompileDepends} - -$(o)MSPythonEngine$(oext) : $(PyhonCoreSource)MSPythonEngine.cpp $(PythonCoreDependencies) ${MultiCompileDepends} diff --git a/MSPythonCore/ScriptEngineManager/source/MSPythonEngine.cpp b/MSPythonCore/ScriptEngineManager/source/MSPythonEngine.cpp index 2e81539..5682c16 100644 --- a/MSPythonCore/ScriptEngineManager/source/MSPythonEngine.cpp +++ b/MSPythonCore/ScriptEngineManager/source/MSPythonEngine.cpp @@ -307,7 +307,7 @@ void PythonScriptContext::set(WCharCP key, bool value) +---------------+---------------+---------------+---------------+---------------+------*/ void PythonScriptContext::set(WCharCP key, Utf8CP value) { - if (key && *key && value && *value) + if (key && *key && value) { try { @@ -324,7 +324,7 @@ void PythonScriptContext::set(WCharCP key, Utf8CP value) +---------------+---------------+---------------+---------------+---------------+------*/ void PythonScriptContext::set(WCharCP key, WCharCP value) { - if (key && *key && value && *value) + if (key && *key && value) { try { @@ -709,7 +709,7 @@ void PythonScriptEngine::evalPYC(WStringCR pythonFileName, ScriptContext* global if (m_engineProcessing) { - ScriptEngineManager::Get().InjectError("Cannot have two instances of Python executing at the same time"); + ScriptEngineManager::Get().InjectError(L"Cannot have two instances of Python executing at the same time"); return ; } // Create context when necessary @@ -742,7 +742,7 @@ void PythonScriptEngine::evalPYC(WStringCR pythonFileName, ScriptContext* global py::dict original_main_dict = main_module.attr("__dict__"); // Create a backup of the original dictionary - py::dict backup_dict = original_main_dict.cast(); + py::dict backup_dict = original_main_dict.attr("copy")().cast(); // Temporarily replace __main__.__dict__ with our custom globalDict // First, copy essential built-ins to our globalDict if they don't exist @@ -779,7 +779,7 @@ void PythonScriptEngine::evalPYC(WStringCR pythonFileName, ScriptContext* global main_module.attr("__dict__").attr("clear")(); main_module.attr("__dict__").attr("update")(backup_dict); - ScriptEngineManager::Get().InjectError("Cannot open PYC file"); + ScriptEngineManager::Get().InjectError(L"Cannot open PYC file"); m_engineProcessing = false; return ; } @@ -806,7 +806,7 @@ void PythonScriptEngine::evalPYC(WStringCR pythonFileName, ScriptContext* global if (result != 0) { - ScriptEngineManager::Get().InjectError("Error executing PYC file"); + ScriptEngineManager::Get().InjectError(L"Error executing PYC file"); mdlErrno = MDLERR_PYTHONEXECUTIONERROR; } } @@ -835,7 +835,7 @@ ScriptValuePtr PythonScriptEngine::eval(WCharCP expr, ScriptContext* global, Scr if (m_engineProcessing) { - ScriptEngineManager::Get().InjectError("Cannot have two instances of Python executing at the same time"); + ScriptEngineManager::Get().InjectError(L"Cannot have two instances of Python executing at the same time"); return outVal; } // Create context when necessary @@ -885,7 +885,7 @@ void PythonScriptEngine::exec(WCharCP stms, WCharCP funcName, ScriptContext* glo if (m_engineProcessing) { - ScriptEngineManager::Get().InjectError("Cannot have two instances of Python executing at the same time"); + ScriptEngineManager::Get().InjectError(L"Cannot have two instances of Python executing at the same time"); return; } @@ -999,7 +999,7 @@ void PythonScriptEngine::eval_file(WCharCP scriptFile, WCharCP funcName, ScriptC if (m_engineProcessing) { - ScriptEngineManager::Get().InjectError("Cannot have two instances of Python executing at the same time"); + ScriptEngineManager::Get().InjectError(L"Cannot have two instances of Python executing at the same time"); return; } @@ -1037,7 +1037,7 @@ void PythonScriptEngine::eval_file(WCharCP scriptFile, WCharCP funcName, ScriptC } catch (py::error_already_set& e) { - ScriptEngineManager::Get().InjectError( e.what ()); + ScriptEngineManager::Get().InjectError(WString(e.what()).c_str()); mdlErrno = MDLERR_PYTHONEXECUTIONERROR; removeCachedtypes(before_type_cache); } @@ -1066,18 +1066,22 @@ void PythonScriptEngine::eval_file(WCharCP scriptFile, WCharCP funcName, ScriptC funcName = DEFAULT_FUNC_NAME; WString function(funcName); + WString arg; + localCtx->getAs(L"PyKeyinArg", arg); + function.append(L" (PyKeyinArg)"); - function.append (L" ()"); mdlErrno = 0; py::exec(py::cast(function.c_str ()) ,globalDict, localDict); + localCtx->set(L"PyKeyinArg", L""); } catch (std::exception& err) { ScriptEngineManager::Get().InjectException(err); mdlErrno = MDLERR_PYTHONEXECUTIONERROR; removeCachedtypes(before_type_cache); - } + localCtx->set(L"PyKeyinArg", L""); + } } m_engineProcessing = false; diff --git a/MSPythonCore/ScriptEngineManager/source/ScriptEngineManager.cpp b/MSPythonCore/ScriptEngineManager/source/ScriptEngineManager.cpp index 62427f9..e5ce19e 100644 --- a/MSPythonCore/ScriptEngineManager/source/ScriptEngineManager.cpp +++ b/MSPythonCore/ScriptEngineManager/source/ScriptEngineManager.cpp @@ -7,6 +7,39 @@ +--------------------------------------------------------------------------------------*/ #include "MSPythonPCH.h" +//======================================================================================= +// @bsiclass 12/25 +//======================================================================================= +BEGIN_BENTLEY_MSTNPLATFORM_MSPYTHON_NAMESPACE +struct PythonSessionInfo +{ +private: + WString m_currentPyFilePath; + std::wstring m_errorResults; + std::wstring m_okResults; + +public: + PythonSessionInfo() {} + ~PythonSessionInfo() {} + + void ResetPySessionInfo() + { + m_currentPyFilePath.clear(); + m_errorResults.clear(); + m_okResults.clear(); + } + + WStringCR GetCurrentPyFilePath() const { return m_currentPyFilePath; } + void SetCurrentPyFilePath(WStringCR filePath) { m_currentPyFilePath = filePath; } + + std::wstring const& GetErrorResult() const { return m_errorResults; } + void SetErrorResult(std::wstring const& errorStr) { m_errorResults.append(errorStr); } + + std::wstring const& GetOkResult() const { return m_okResults; } + void SetOkResult(std::wstring const& okStr) { m_okResults.append(okStr); } +}; +END_BENTLEY_MSTNPLATFORM_MSPYTHON_NAMESPACE + /*---------------------------------------------------------------------------------**//** * @bsimethod 2/2023 +---------------+---------------+---------------+---------------+---------------+------*/ @@ -116,6 +149,7 @@ void ScriptObject::exec(WCharCP funcName, ScriptContext* global, ScriptContext* * @bsimethod 2/2023 +---------------+---------------+---------------+---------------+---------------+------*/ ScriptEngineManager* ScriptEngineManager::s_EngineManager = nullptr; +PythonSessionInfo* ScriptEngineManager::s_sessionInfo = nullptr; /*---------------------------------------------------------------------------------**//** * @bsimethod 2/2023 @@ -125,6 +159,7 @@ ScriptEngineManager::ScriptEngineManager() , m_sinkList(new bvector()) , m_lastException(new std::exception()) , m_hasException(false) + , m_silenceMode(false) { } @@ -372,6 +407,10 @@ void ScriptEngineManager::InjectException(std::exception& ex) { *m_lastException = ex; m_hasException = true; + + if (m_silenceMode) + return; + for (auto& it : *m_sinkList) if (it->GetActive()) it->OnException(ex); @@ -380,8 +419,13 @@ void ScriptEngineManager::InjectException(std::exception& ex) /*---------------------------------------------------------------------------------**//** * @bsimethod 2/2023 +---------------+---------------+---------------+---------------+---------------+------*/ -void ScriptEngineManager::InjectError(std::string const& msg) +void ScriptEngineManager::InjectError(std::wstring const& msg) { + SetErrorResult(msg); + + if (m_silenceMode) + return; + for (auto& it : *m_sinkList) if (it->GetActive()) it->OnError(msg); @@ -390,8 +434,13 @@ void ScriptEngineManager::InjectError(std::string const& msg) /*---------------------------------------------------------------------------------**//** * @bsimethod 2/2023 +---------------+---------------+---------------+---------------+---------------+------*/ -void ScriptEngineManager::InjectOutput(std::string const& msg) +void ScriptEngineManager::InjectOutput(std::wstring const& msg) { + SetOkResult(msg); + + if (m_silenceMode) + return; + for (auto& it : *m_sinkList) if (it->GetActive()) it->OnOutput(msg); @@ -422,3 +471,80 @@ void ScriptEngineManager::ClearException() m_hasException = false; } +/*---------------------------------------------------------------------------------**//** +* @bsimethod 12/2025 ++---------------+---------------+---------------+---------------+---------------+------*/ +void ScriptEngineManager::InitPySessionInfo() + { + if (nullptr == s_sessionInfo) + s_sessionInfo = new PythonSessionInfo(); + + s_sessionInfo->ResetPySessionInfo(); + } + +/*---------------------------------------------------------------------------------**//** +* @bsimethod 12/2025 ++---------------+---------------+---------------+---------------+---------------+------*/ +WString ScriptEngineManager::GetCurrentPyFilePath() const + { + return s_sessionInfo ? s_sessionInfo->GetCurrentPyFilePath() : L""; + } + +/*---------------------------------------------------------------------------------**//** +* @bsimethod 12/2025 ++---------------+---------------+---------------+---------------+---------------+------*/ +void ScriptEngineManager::SetCurrentPyFilePath(WStringCR filePath) + { + if (s_sessionInfo) + s_sessionInfo->SetCurrentPyFilePath(filePath); + } + +/*---------------------------------------------------------------------------------**//** +* @bsimethod 12/2025 ++---------------+---------------+---------------+---------------+---------------+------*/ +std::wstring ScriptEngineManager::GetErrorResult() const + { + return s_sessionInfo ? s_sessionInfo->GetErrorResult() : std::wstring(); + } + +/*---------------------------------------------------------------------------------**//** +* @bsimethod 12/2025 ++---------------+---------------+---------------+---------------+---------------+------*/ +void ScriptEngineManager::SetErrorResult(std::wstring const& errorStr) + { + if (s_sessionInfo) + s_sessionInfo->SetErrorResult(errorStr); + } + +/*---------------------------------------------------------------------------------**//** +* @bsimethod 12/2025 ++---------------+---------------+---------------+---------------+---------------+------*/ +std::wstring ScriptEngineManager::GetOkResult() const + { + return s_sessionInfo ? s_sessionInfo->GetOkResult() : std::wstring(); + } + +/*---------------------------------------------------------------------------------**//** +* @bsimethod 12/2025 ++---------------+---------------+---------------+---------------+---------------+------*/ +void ScriptEngineManager::SetOkResult(std::wstring const& okStr) + { + if (s_sessionInfo) + s_sessionInfo->SetOkResult(okStr); + } + +/*---------------------------------------------------------------------------------**//** +* @bsimethod 12/2025 ++---------------+---------------+---------------+---------------+---------------+------*/ +bool ScriptEngineManager::GetSilenceMode() const + { + return m_silenceMode; + } + +/*---------------------------------------------------------------------------------**//** +* @bsimethod 12/2025 ++---------------+---------------+---------------+---------------+---------------+------*/ +void ScriptEngineManager::SetSilenceMode(bool silence) + { + m_silenceMode = silence; + } diff --git a/MSPythonCore/ScriptEngineManager/source/ScriptEngineManagerNet.cpp b/MSPythonCore/ScriptEngineManager/source/ScriptEngineManagerNet.cpp new file mode 100644 index 0000000..c938420 --- /dev/null +++ b/MSPythonCore/ScriptEngineManager/source/ScriptEngineManagerNet.cpp @@ -0,0 +1,423 @@ +/*--------------------------------------------------------------------------------------+ +| +| $Source: MSPython/PublicAPI/ScriptEngineManagerNet.cpp $ +| +| $Copyright: (c) 2025 Bentley Systems, Incorporated. All rights reserved. $ +| ++--------------------------------------------------------------------------------------*/ +#include "ScriptEngineManager.h" +#include +#include +#include +#include + +using namespace msclr::interop; +using namespace System; +using namespace System::Collections::Generic; +using namespace System::Runtime::InteropServices; + +namespace Bentley { namespace MstnPlatform { namespace MSPython { + +ref class ScriptNotifierNet; + +//======================================================================================= +// @bsiclass 12/25 +//======================================================================================= +class NativeNotifierWrapperImpl : public ScriptNotifier +{ +private: + gcroot m_managedNotifier; + +public: + NativeNotifierWrapperImpl(ScriptNotifierNet^ managedNotifier); + + virtual void OnException(std::exception& ex) override; + virtual void OnError(std::wstring const& msg) override; + virtual void OnOutput(std::wstring const& msg) override; +}; + +//======================================================================================= +// @bsiclass 12/25 +//======================================================================================= +public ref class ScriptNotifierNet sealed +{ +private: + NativeNotifierWrapperImpl* m_nativeWrapper; + Action^ m_exceptionHandler; + Action^ m_errorHandler; + Action^ m_outputHandler; + +public: + ScriptNotifierNet(Action^ exceptionHandler, + Action^ errorHandler, + Action^ outputHandler); + + ~ScriptNotifierNet(); + !ScriptNotifierNet(); + +property bool IsActive + { + bool get(); + void set(bool active); + } + +bool Register(); +void Unregister(); + +internal: + void HandleNativeException(std::exception& ex); + void HandleNativeError(std::wstring const& msg); + void HandleNativeOutput(std::wstring const& msg); +}; + + +NativeNotifierWrapperImpl::NativeNotifierWrapperImpl(ScriptNotifierNet^ managedNotifier) + : m_managedNotifier(managedNotifier) + { + } + +void NativeNotifierWrapperImpl::OnException(std::exception& ex) + { + ScriptNotifierNet^ notifier = m_managedNotifier; + if (notifier != nullptr) + notifier->HandleNativeException(ex); + } + +void NativeNotifierWrapperImpl::OnError(std::wstring const& msg) + { + ScriptNotifierNet^ notifier = m_managedNotifier; + if (notifier != nullptr) + notifier->HandleNativeError(msg); + } + +void NativeNotifierWrapperImpl::OnOutput(std::wstring const& msg) + { + ScriptNotifierNet^ notifier = m_managedNotifier; + if (notifier != nullptr) + notifier->HandleNativeOutput(msg); + } + +ScriptNotifierNet::ScriptNotifierNet(Action^ exceptionHandler, + Action^ errorHandler, + Action^ outputHandler) + : m_exceptionHandler(exceptionHandler) + , m_errorHandler(errorHandler) + , m_outputHandler(outputHandler) + , m_nativeWrapper(nullptr) + { + m_nativeWrapper = new NativeNotifierWrapperImpl(this); + } + +ScriptNotifierNet::~ScriptNotifierNet() + { + this->!ScriptNotifierNet(); + } + +ScriptNotifierNet::!ScriptNotifierNet() + { + if (m_nativeWrapper != nullptr) + { + delete m_nativeWrapper; + m_nativeWrapper = nullptr; + } + } + +bool ScriptNotifierNet::IsActive::get() + { + return (m_nativeWrapper != nullptr) ? m_nativeWrapper->GetActive() : false; + } + +void ScriptNotifierNet::IsActive::set(bool active) + { + if (m_nativeWrapper != nullptr) + m_nativeWrapper->SetActive(active); + } + +bool ScriptNotifierNet::Register() + { + if (m_nativeWrapper != nullptr) + return ScriptEngineManager::Get().AddNotifier(m_nativeWrapper); + return false; + } + +void ScriptNotifierNet::Unregister() + { + if (m_nativeWrapper != nullptr) + ScriptEngineManager::Get().DropNotifier(m_nativeWrapper); + } + +void ScriptNotifierNet::HandleNativeException(std::exception& ex) + { + if (m_exceptionHandler != nullptr) + { + String^ message = marshal_as(ex.what()); + Exception^ managedEx = gcnew Exception(message); + m_exceptionHandler->Invoke(managedEx); + } + } + +void ScriptNotifierNet::HandleNativeError(std::wstring const& msg) + { + if (m_errorHandler != nullptr) + { + String^ message = marshal_as(msg.c_str()); + m_errorHandler->Invoke(message); + } + } + +void ScriptNotifierNet::HandleNativeOutput(std::wstring const& msg) + { + if (m_outputHandler != nullptr) + { + String^ message = marshal_as(msg.c_str()); + m_outputHandler->Invoke(message); + } + } + +//======================================================================================= +// @bsiclass 12/25 +//======================================================================================= +public ref class ScriptEngineManagerNet sealed +{ +private: + +ScriptEngineManagerNet() {} + +public: + +static property ScriptEngineManagerNet^ Instance + { + ScriptEngineManagerNet ^ get() + { + return gcnew ScriptEngineManagerNet(); + } + } + +static void RegisterAll() + { + ScriptEngineManager::RegisterAll(); + } + +static void Shutdown() + { + ScriptEngineManager::Shutdown(); + } + +array^ GetAllEngines() + { + bvector nativeEngines; + ScriptEngineManager::Get().GetAllEngines(nativeEngines); + + List^ engines = gcnew List(); + for (auto const& engine : nativeEngines) + { + engines->Add(marshal_as(engine.c_str())); + } + return engines->ToArray(); + } + +bool HasEngine(String^ scriptType) + { + marshal_context context; + WCharCP nativeScriptType = context.marshal_as(scriptType); + return (ScriptEngineManager::Get().GetScriptEngineP(nativeScriptType) != nullptr); + } + +property bool HasException + { + bool get() + { + return ScriptEngineManager::Get().HasException(); + } + } + +property String^ LastExceptionMessage + { + String ^ get() + { + if (ScriptEngineManager::Get().HasException()) + { + std::exception const& ex = ScriptEngineManager::Get().GetLastException(); + return marshal_as(ex.what()); + } + return String::Empty; + } + } + +void ClearException() + { + ScriptEngineManager::Get().ClearException(); + } + +void InjectException(Exception^ exception) + { + if (exception != nullptr) + { + String^ message = exception->Message; + std::string nativeMessage = marshal_as(message); + std::runtime_error ex(nativeMessage); + ScriptEngineManager::Get().InjectException(ex); + } + } + +void InjectError(String^ message) + { + if (!String::IsNullOrEmpty(message)) + { + std::wstring nativeMessage = marshal_as(message); + ScriptEngineManager::Get().InjectError(nativeMessage); + } + } + +void InjectOutput(String^ message) + { + if (!String::IsNullOrEmpty(message)) + { + std::wstring nativeMessage = marshal_as(message); + ScriptEngineManager::Get().InjectOutput(nativeMessage); + } + } + +void InitPythonSessionInfo() + { + ScriptEngineManager::Get().InitPySessionInfo(); + } + +property String^ CurrentPythonFilePath + { + String ^ get() + { + WString filePath = ScriptEngineManager::Get().GetCurrentPyFilePath(); + return marshal_as(filePath.c_str()); + } + void set(String ^ value) + { + marshal_context context; + WString nativePath = context.marshal_as(value); + ScriptEngineManager::Get().SetCurrentPyFilePath(nativePath); + } + } + +property String^ ErrorResult + { + String ^ get() + { + std::wstring result = ScriptEngineManager::Get().GetErrorResult(); + return marshal_as(result.c_str()); + } + void set(String ^ value) + { + std::wstring nativeValue = marshal_as(value); + ScriptEngineManager::Get().SetErrorResult(nativeValue); + } + } + +property String^ OkResult + { + String ^ get() + { + std::wstring result = ScriptEngineManager::Get().GetOkResult(); + return marshal_as(result.c_str()); + } + void set(String ^ value) + { + std::wstring nativeValue = marshal_as(value); + ScriptEngineManager::Get().SetOkResult(nativeValue); + } + } + +bool AddNotifier(ScriptNotifierNet^ notifier) + { + if (notifier == nullptr) + return false; + return notifier->Register(); + } + +void RemoveNotifier(ScriptNotifierNet^ notifier) + { + if (notifier != nullptr) + notifier->Unregister(); + } + +static ScriptNotifierNet^ CreateConsoleNotifier() + { + auto notifier = gcnew ScriptNotifierNet( + gcnew Action(&ConsoleExceptionHandler), + gcnew Action(&ConsoleErrorHandler), + gcnew Action(&ConsoleOutputHandler)); + + return notifier; + } + +static ScriptNotifierNet^ CreateFileNotifier(String^ logFilePath) + { + auto helper = gcnew FileNotifierHelper(logFilePath); + auto notifier = gcnew ScriptNotifierNet( + gcnew Action(helper, &FileNotifierHelper::HandleException), + gcnew Action(helper, &FileNotifierHelper::HandleError), + gcnew Action(helper, &FileNotifierHelper::HandleOutput)); + + return notifier; + } + +property bool SilenceMode + { + bool get() + { + return ScriptEngineManager::Get().GetSilenceMode(); + } + void set(bool silence) + { + ScriptEngineManager::Get().SetSilenceMode(silence); + } + } + +private: + +ref class FileNotifierHelper + { + private: + String^ m_logFilePath; + + public: + FileNotifierHelper(String^ logFilePath) : m_logFilePath(logFilePath) {} + + void HandleException(Exception^ ex) + { + System::IO::File::AppendAllText(m_logFilePath, + String::Format("Exception: {0}\n", ex->Message)); + } + + void HandleError(String^ msg) + { + System::IO::File::AppendAllText(m_logFilePath, + String::Format("Error: {0}\n", msg)); + } + + void HandleOutput(String^ msg) + { + System::IO::File::AppendAllText(m_logFilePath, + String::Format("Output: {0}\n", msg)); + } + }; + +static void ConsoleExceptionHandler(Exception^ ex) + { + BeConsole::WPrintf(L"Exception: %ls\n", + marshal_as(ex->Message).c_str()); + } + +static void ConsoleErrorHandler(String^ msg) + { + BeConsole::WPrintf(L"Error: %ls\n", + marshal_as(msg).c_str()); + } + +static void ConsoleOutputHandler(String^ msg) + { + BeConsole::WPrintf(L"Output: %ls\n", + marshal_as(msg).c_str()); + } +}; + +} } } // End namespaces Bentley::MstnPlatform::MSPython \ No newline at end of file diff --git a/MSPythonSamples/DgnElements/CreateTextNodes.py b/MSPythonSamples/DgnElements/CreateTextNodes.py index 8dd4c3e..852df63 100644 --- a/MSPythonSamples/DgnElements/CreateTextNodes.py +++ b/MSPythonSamples/DgnElements/CreateTextNodes.py @@ -49,7 +49,7 @@ def createsMultipleTextBlock(sampleTexts): # Add the text properties. runProperties = RunProperties.Create(runPropertiesFont, runPropertiesSize, dgnModel) # Textblock added the text strings to be displayed with the before-mentioned properties. - textBlock = TextBlock(textBlockProperties, paragraphProperties, runProperties, m_defaultModel[0]) + textBlock = TextBlock(textBlockProperties, paragraphProperties, runProperties, m_defaultModel[1]) textBlock.AppendText(textString1) textBlock.AppendText(textString2) textBlock.AppendText(textString3) diff --git a/MSPythonSamples/DgnElements/MeshStyleSamples.py b/MSPythonSamples/DgnElements/MeshStyleSamples.py index 2ddbc66..f91dd60 100644 --- a/MSPythonSamples/DgnElements/MeshStyleSamples.py +++ b/MSPythonSamples/DgnElements/MeshStyleSamples.py @@ -14,7 +14,7 @@ from MSPyMstnPlatform import * from MSPyDgnView import * -def createIndexedFaceLoopMeshElement(): +def createIndexedFaceLoopMeshElement(unparse: str = ""): """ Creates an indexed face loop mesh element in the active DGN model. @@ -65,7 +65,7 @@ def createIndexedFaceLoopMeshElement(): else: MessageCenter.ShowErrorMessage("The mesh element of style indexed face loop was not created.", "", False) -def createQuadGridMesh(): +def createQuadGridMesh(unparse: str = ""): """ Creates a quad grid mesh element in the active DGN model. @@ -102,7 +102,7 @@ def createQuadGridMesh(): else: MessageCenter.ShowErrorMessage("The mesh element of style quad grid was not created.", "", False) -def createTriangleGridMesh(): +def createTriangleGridMesh(unparse: str = ""): """ Creates a triangle grid mesh and adds it to the active DGN model. @@ -135,7 +135,7 @@ def createTriangleGridMesh(): else: MessageCenter.ShowErrorMessage("The mesh element of style triangle grid was not created.", "", False) -def createCoordinateTriangleMesh(): +def createCoordinateTriangleMesh(unparse: str = ""): """ Creates a coordinate triangle mesh and adds it to the active DGN model. @@ -178,7 +178,7 @@ def createCoordinateTriangleMesh(): else: MessageCenter.ShowErrorMessage("The mesh element of style coordinate triangle was not created.", "", False) -def createCoordinateQuadMesh(): +def createCoordinateQuadMesh(unparse: str = ""): """ Creates a coordinate quad mesh in the active DGN model. diff --git a/MSPythonSamples/DgnElements/Reference/Reference.py b/MSPythonSamples/DgnElements/Reference/Reference.py index 78dbe3a..8560d29 100644 --- a/MSPythonSamples/DgnElements/Reference/Reference.py +++ b/MSPythonSamples/DgnElements/Reference/Reference.py @@ -35,7 +35,7 @@ def GetDgnAttachmentByAttachedModelName(): return None -def Attach(): +def Attach(unparse: str = ""): """ Attaches a DGN file as a reference to the active DGN model. @@ -66,7 +66,7 @@ def Attach(): return True -def Detach(): +def Detach(unparse: str = ""): """ Detaches a DGN file reference from the active DGN model. @@ -86,7 +86,7 @@ def Detach(): return True -def Rotate(): +def Rotate(unparse: str = ""): """ Rotates a DGN file reference in the active DGN model. diff --git a/MSPythonSamples/DgnElements/TagsExampleCreateTagSet.commands.xml b/MSPythonSamples/DgnElements/TagsExampleCreateTagSet.commands.xml deleted file mode 100644 index 2d6f947..0000000 --- a/MSPythonSamples/DgnElements/TagsExampleCreateTagSet.commands.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/MSPythonSamples/DgnElements/TagsExampleCreateTagSet.py b/MSPythonSamples/DgnElements/TagsExampleCreateTagSet.py index 75d3ec4..e1aece6 100644 --- a/MSPythonSamples/DgnElements/TagsExampleCreateTagSet.py +++ b/MSPythonSamples/DgnElements/TagsExampleCreateTagSet.py @@ -105,9 +105,9 @@ def createTagSet(self, tagDefs, numTagDefs, setName): status = TagSetHandler.Create(tagSetEditElementHandle, tagDefs, numTagDefs, str(setName), None, True, dgnFile, 0) if status == BentleyStatus.eSUCCESS or tagSetEditElementHandle.IsValid(): tagSetEditElementHandle.AddToModel() - MessageCenter.ShowInfoMessage("Tag Set was added successfully.", "", False) + MessageCenter.ShowInfoMessage("Tag Set created successfully.", "", False) else: - MessageCenter.ShowErrorMessage("Tag Set was not created.", "", False) + MessageCenter.ShowErrorMessage("Tag Set not created.", "", False) def initCreateTagSet(self): """ @@ -165,7 +165,7 @@ def GetDgnModel(): MessageCenter.ShowErrorMessage("No DGN Model selected.", "", False) return dgnModel -def tagsExample_createTagSet(): +def tagsExample_createTagSet(unparse: str = ""): """ Creates a tag set if it does not already exist. @@ -185,5 +185,4 @@ def tagsExample_createTagSet(): TagsExampleCreateTagSet().initCreateTagSet() if __name__ == "__main__": - keyinXml = os.path.dirname(__file__) + '/TagsExampleCreateTagSet.commands.xml' - PythonKeyinManager.GetManager().LoadCommandTableFromXml(WString(__file__), WString(keyinXml)) \ No newline at end of file + tagsExample_createTagSet() \ No newline at end of file diff --git a/MSPythonSamples/DgnElements/TagsExamplePlaceTagFromText.py b/MSPythonSamples/DgnElements/TagsExamplePlaceTagFromText.py index ebb8b28..1323ad3 100644 --- a/MSPythonSamples/DgnElements/TagsExamplePlaceTagFromText.py +++ b/MSPythonSamples/DgnElements/TagsExamplePlaceTagFromText.py @@ -7,10 +7,18 @@ from MSPyDgnPlatform import * from MSPyDgnView import * from MSPyMstnPlatform import * +from TagsExampleCreateTagSet import tagsExample_createTagSet s_tagSetName = "TagExampleTagSet" s_textStyleName = "TagExampleStyle" +""" +This sample demonstrates how to place a tag element from the text of a TEXT or TEXT_NODE element. +• If the tag set is not available, the script will create it. +• Then the tool is installed and you simply select a TEXT element in the model. +• The script reads the text and places a tag with the corresponding value. +• You’ll see a “Tag was added successfully.” message when the tag is placed. +""" class PlaceTagFromText(DgnElementSetTool): def __init__(self, toolId): @@ -134,7 +142,14 @@ def _OnElementModify(self, elementHandle): """ dgnModel = GetDgnModel() activeDgnFile = dgnModel.DgnFile - if elementHandle.IsValid() and(elementHandle.ElementType == eTEXT_NODE_ELM or elementHandle.ElementType == eTEXT_ELM): + if not elementHandle.IsValid(): + MessageCenter.ShowErrorMessage("Invalid element selected. Please select a text element.", "", False) + self._OnRestartTool() + return + + MessageCenter.ShowInfoMessage(f"Element selected.", "", False) + + if elementHandle.IsValid() and (elementHandle.ElementType == eTEXT_NODE_ELM or elementHandle.ElementType == eTEXT_ELM): # Initialize handles for tag and text elements. tagEditElementHandle = EditElementHandle() textEditElementHandle = EditElementHandle(elementHandle.ElementId, dgnModel) @@ -144,6 +159,9 @@ def _OnElementModify(self, elementHandle): textPart = DimensionTextPartId.Create(0, eDIMTEXTPART_Primary, eDIMTEXTSUBPART_Main) textBlock = textQuery.GetTextPart(textEditElementHandle, textPart) text = str(textBlock.ToString()) + + MessageCenter.ShowInfoMessage(f"Text read: '{text}'", "", False) + # Determine the tag name based on the content of the text. tagName = "Description" if self.isLongString(text): @@ -151,6 +169,9 @@ def _OnElementModify(self, elementHandle): elif self.isDoubleString(text): tagName = "Measure" tagSetName = s_tagSetName + + MessageCenter.ShowInfoMessage(f"Creating tag: Set='{tagSetName}', Tag='{tagName}'", "", False) + # Set up the orientation, text style, and tag information for the new tag element. orientation = RotMatrix() style = self.GetOrCreateTextStyle() @@ -165,6 +186,9 @@ def _OnElementModify(self, elementHandle): else: MessageCenter.ShowErrorMessage("Tag was not created.", "", False) self._OnRestartTool() + else: + MessageCenter.ShowErrorMessage("Selected element is not TEXT/TEXT_NODE. Please select a text element.", "", False) + self._OnRestartTool() def _OnRestartTool(self): """ @@ -201,9 +225,7 @@ def GetDgnModel(): """ ACTIVEMODEL = ISessionMgr.ActiveDgnModelRef dgnModel = ACTIVEMODEL.GetDgnModel() - if dgnModel != None: - MessageCenter.ShowInfoMessage("DGN Model selected successfully.", "", False) - else: + if dgnModel == None: MessageCenter.ShowErrorMessage("No DGN Model selected.", "", False) return dgnModel @@ -226,6 +248,7 @@ def TagSetExists(): if __name__ == "__main__": if not TagSetExists(): - MessageCenter.ShowErrorMessage("Tag Set does not exist. Please create tag set first using key-in 'CREATE TAGSET'.", "", False) - else: - PlaceTagFromText.InstallNewInstance(1) \ No newline at end of file + tagsExample_createTagSet() + + PlaceTagFromText.InstallNewInstance(1) + MessageCenter.ShowInfoMessage("Select a TEXT element to place a tag.", "", False) \ No newline at end of file diff --git a/MSPythonSamples/DgnElements/UnitConversionsSample.py b/MSPythonSamples/DgnElements/UnitConversionsSample.py index d0334d0..20afda0 100644 --- a/MSPythonSamples/DgnElements/UnitConversionsSample.py +++ b/MSPythonSamples/DgnElements/UnitConversionsSample.py @@ -7,7 +7,7 @@ import sys import os -def unitConvertion(): +def unitConvertion(unparse: str = ""): """ Converts a given distance value from one unit to another using the active DGN model's unit definitions. The function retrieves the active DGN model and its associated DGN file. It then converts a predefined diff --git a/MSPythonSamples/DgnTool/ElementLinkExample.py b/MSPythonSamples/DgnTool/ElementLinkExample.py index 491176c..90d6184 100644 --- a/MSPythonSamples/DgnTool/ElementLinkExample.py +++ b/MSPythonSamples/DgnTool/ElementLinkExample.py @@ -60,7 +60,7 @@ def CreateURLLink(self, urlAddress): :raises: Displays an error message if the link creation fails. """ linkType = DGNLINK_TYPEKEY_URLLink - link, status = DgnLinkManager.CreateLink(linkType) + status, link = DgnLinkManager.CreateLink(linkType) if link is None: MessageCenter.ShowErrorMessage("DgnLinkManager.CreateLink failed to create new leaf: {status}", "", False) return None @@ -275,7 +275,7 @@ def InstallNewInstance(toolId, command): tool = ElementLink(toolId, command) tool.InstallTool() -def createElementLink(): +def createElementLink(unparse: str = ""): """ Creates a new element link by installing a new instance with a specified ID and name. @@ -286,7 +286,7 @@ def createElementLink(): """ ElementLink.InstallNewInstance(1, "CreateLink") -def deleteElementLink(): +def deleteElementLink(unparse: str = ""): """ Deletes an element link by installing a new instance with the specified parameters. @@ -298,7 +298,7 @@ def deleteElementLink(): """ ElementLink.InstallNewInstance(1, "DeleteLink") -def modifyElementLink(): +def modifyElementLink(unparse: str = ""): """ Modifies an element link by installing a new instance. @@ -309,7 +309,7 @@ class to create or modify an element link with a specified ID and name. """ ElementLink.InstallNewInstance(1, "ModifyLink") -def extractElementLink(): +def extractElementLink(unparse: str = ""): """ Installs a new instance of an element link with a specified ID and name. diff --git a/MSPythonSamples/DgnTool/IncrementText/IncrementText.py b/MSPythonSamples/DgnTool/IncrementText/IncrementText.py index 4b3c84c..b2528c0 100644 --- a/MSPythonSamples/DgnTool/IncrementText/IncrementText.py +++ b/MSPythonSamples/DgnTool/IncrementText/IncrementText.py @@ -271,7 +271,7 @@ def InstallNewInstance(toolId): tool = IncrementTextToolState(toolId) tool.InstallTool() -def initializeTextIncrement(): +def initializeTextIncrement(unparse: str = ""): IncrementTextToolState.InstallNewInstance(1) if __name__ == "__main__": diff --git a/MSPythonSamples/DgnTool/MeshTools/MeshTools.py b/MSPythonSamples/DgnTool/MeshTools/MeshTools.py index 6617bff..de75b35 100644 --- a/MSPythonSamples/DgnTool/MeshTools/MeshTools.py +++ b/MSPythonSamples/DgnTool/MeshTools/MeshTools.py @@ -11,14 +11,14 @@ This sample demonstrates how to add a key-in command and use that command to launch a DgnElementSetTool, which creates a mesh element. ''' -def Place_MeshFunction(): +def Place_MeshFunction(unparse: str = ""): """ Installs a new instance of the mesh creation tool to place a mesh using a fixed block coordinate system. """ MeshCreateTool.InstallNewInstance(COMMAND_PlaceMeshFunction) -def Place_MeshClass(): +def Place_MeshClass(unparse: str = ""): """ Installs a new instance of the mesh creation tool to place a mesh with variable size indexing. diff --git a/MSPythonSamples/DgnTool/ModifyEdgeSamples/ModifyEdgeSamples.py b/MSPythonSamples/DgnTool/ModifyEdgeSamples/ModifyEdgeSamples.py index 0028f22..7211dc1 100644 --- a/MSPythonSamples/DgnTool/ModifyEdgeSamples/ModifyEdgeSamples.py +++ b/MSPythonSamples/DgnTool/ModifyEdgeSamples/ModifyEdgeSamples.py @@ -422,7 +422,7 @@ def ms_mainLoop(self): PyCadInputQueue.PythonMainLoop() time.sleep(0.001) -def Run(): +def Run(unparse: str = ""): """ Run the main application. diff --git a/MSPythonSamples/DgnTool/ModifyMultipleElements/ModifyMultipleElements.py b/MSPythonSamples/DgnTool/ModifyMultipleElements/ModifyMultipleElements.py index bd6f9c4..0236be4 100644 --- a/MSPythonSamples/DgnTool/ModifyMultipleElements/ModifyMultipleElements.py +++ b/MSPythonSamples/DgnTool/ModifyMultipleElements/ModifyMultipleElements.py @@ -285,19 +285,19 @@ def InstallNewInstance(toolId, m_modifyMode): tool = ModifyElement(toolId, m_modifyMode) tool.InstallTool() -def modifyTextStyle(): +def modifyTextStyle(unparse: str = ""): ModifyElement.InstallNewInstance(1, ModifyMultipleElements_TextStyle) -def modifyElementWeight(): +def modifyElementWeight(unparse: str = ""): ModifyElement.InstallNewInstance(1, ModifyMultipleElements_Weight) -def modifyLineStyle(): +def modifyLineStyle(unparse: str = ""): ModifyElement.InstallNewInstance(1, ModifyMultipleElements_LineStyle) -def modifyElementColour(): +def modifyElementColour(unparse: str = ""): ModifyElement.InstallNewInstance(1, ModifyMultipleElements_Color) -def modifyElementLevel(): +def modifyElementLevel(unparse: str = ""): ModifyElement.InstallNewInstance(1, ModifyMultipleElements_Level) if __name__ == "__main__": diff --git a/MSPythonSamples/DgnTool/PolyfaceTool/PolyfaceTool.py b/MSPythonSamples/DgnTool/PolyfaceTool/PolyfaceTool.py index 977bf13..b43b7c2 100644 --- a/MSPythonSamples/DgnTool/PolyfaceTool/PolyfaceTool.py +++ b/MSPythonSamples/DgnTool/PolyfaceTool/PolyfaceTool.py @@ -11,7 +11,7 @@ This sample demonstrates how to add a key-in command and use that command to launch a DgnElementSetTool ''' -def CreatePolyface(): +def CreatePolyface(unparse: str = ""): """ Activates the Polyface creation tool. """ diff --git a/MSPythonSamples/DgnTool/TextExample/TextExample.py b/MSPythonSamples/DgnTool/TextExample/TextExample.py index 46232d4..dcdfebd 100644 --- a/MSPythonSamples/DgnTool/TextExample/TextExample.py +++ b/MSPythonSamples/DgnTool/TextExample/TextExample.py @@ -15,7 +15,7 @@ ''' # Function to create all four text styles -def CreateAllFourTextStyles(): +def CreateAllFourTextStyles(unparse: str = ""): """ Creates all the four text styles defined in the TextExampleStyles enum. If any of the styles fail to be created, an error message is shown. @@ -27,31 +27,31 @@ def CreateAllFourTextStyles(): return MessageCenter.ShowInfoMessage("All four text styles created.", "", False) -def CreateText_Vertical(): +def CreateText_Vertical(unparse: str = ""): """ Creates text using the vertical style defined in the TextExampleStyles enum. """ CreateTextByStyle(TextExampleStyles.ExampleStyle_Vertical.value) -def CreateText_NORMAL(): +def CreateText_NORMAL(unparse: str = ""): """ Creates text using the normal style defined in the TextExampleStyles enum. """ CreateTextByStyle(TextExampleStyles.ExampleStyle_Normal.value) -def CreateText_UPSIDE_DOWN(): +def CreateText_UPSIDE_DOWN(unparse: str = ""): """ Creates text using the upside-down style defined in the TextExampleStyles enum. """ CreateTextByStyle(TextExampleStyles.ExampleStyle_UpsideDown.value) -def CreateText_BACKWARDS(): +def CreateText_BACKWARDS(unparse: str = ""): """ Creates text using the backwards style defined in the TextExampleStyles enum. """ CreateTextByStyle(TextExampleStyles.ExampleStyle_Backward.value) -def CreateText_Example2(): +def CreateText_Example2(unparse: str = ""): """ Creates text for Example 2. Shows info message if creation is successful. """ diff --git a/MSPythonSamples/EC/CRUD/ECCrud.py b/MSPythonSamples/EC/CRUD/ECCrud.py index c24d76b..de052bd 100644 --- a/MSPythonSamples/EC/CRUD/ECCrud.py +++ b/MSPythonSamples/EC/CRUD/ECCrud.py @@ -158,14 +158,14 @@ def FindIterInstance(self, schemaName, className): ''' This function loads ECSchema by providing schema file name. ''' -def LocateAndLoadSchema(): +def LocateAndLoadSchema(unparse: str = ""): schemaHelperInstance = SchemaHelper(schemaXMLName) schemaHelperInstance.LoadSchema() ''' This function creates two elements and associates it with respective ECClass and creates relation between two. ''' -def CreateInstancesAndRelations(): +def CreateInstancesAndRelations(unparse: str = ""): schemaHelperInstance = SchemaHelper(schemaXMLName) dgnECHelperInstance = DgnECHelper(schemaHelperInstance) @@ -184,7 +184,7 @@ def CreateInstancesAndRelations(): ''' This function finds the instance and reads related information. ''' -def ReadInstancesAndRelations(): +def ReadInstancesAndRelations(unparse: str = ""): schemaHelperInstance = SchemaHelper(schemaXMLName) dgnECHelperInstance = DgnECHelper(schemaHelperInstance) @@ -221,7 +221,7 @@ def ReadInstancesAndRelations(): ''' This function finds the instance and updates the property values. ''' -def UpdateInstancesAndRelations(): +def UpdateInstancesAndRelations(unparse: str = ""): schemaHelperInstance = SchemaHelper(schemaXMLName) dgnECHelperInstance = DgnECHelper(schemaHelperInstance) @@ -247,7 +247,7 @@ def UpdateInstancesAndRelations(): ''' This function finds the instance and deletes the related instance. ''' -def DeleteInstancesAndRelations(): +def DeleteInstancesAndRelations(unparse: str = ""): schemaHelperInstance = SchemaHelper(schemaXMLName) dgnECHelperInstance = DgnECHelper(schemaHelperInstance) diff --git a/MSPythonSamples/EC/Dump/ECDumpUtility.py b/MSPythonSamples/EC/Dump/ECDumpUtility.py index 6759f5d..320af5b 100644 --- a/MSPythonSamples/EC/Dump/ECDumpUtility.py +++ b/MSPythonSamples/EC/Dump/ECDumpUtility.py @@ -135,7 +135,7 @@ def WriteJson(): # Collect all instance property information in list finalPropList = list() -def DumpECData (): +def DumpECData (unparse: str = ""): """ Dump EC data for a selected element or given elementID. diff --git a/MSPythonSamples/EC/ECChangeEvents/DgnECChangeEvents.py b/MSPythonSamples/EC/ECChangeEvents/DgnECChangeEvents.py index be037d4..4a314f0 100644 --- a/MSPythonSamples/EC/ECChangeEvents/DgnECChangeEvents.py +++ b/MSPythonSamples/EC/ECChangeEvents/DgnECChangeEvents.py @@ -44,9 +44,9 @@ def GetDgnModel (): dgnFile = DgnECHelper.GetDgnFile () modelId = dgnFile.GetDefaultModelId () retVal = dgnFile.LoadRootModelById (modelId,True,True) - if BentleyStatus.eSUCCESS != retVal[1]: + if BentleyStatus.eSUCCESS != retVal[0]: print ("No Default Model Found") - return retVal[0] + return retVal[1] @staticmethod def CreateLine (x1, y1, z1, x2, y2, z2): @@ -275,7 +275,7 @@ def AcceptChangeFor (self, ecClass, transactionType): accepted = ItemTypeLibrary.IsItemTypeSchema (ecClass.GetSchema()) return accepted -def UserSchemaInstancesChangeEvents(): +def UserSchemaInstancesChangeEvents(unparse: str = ""): """ UserSchemaInstancesChangeEvents() This function demonstrates the creation, modification, and deletion of schema instances @@ -429,7 +429,7 @@ def UserSchemaInstancesChangeEvents(): print ("Count of Deleted instance: ", len(extListener.DeletedInstances)) DgnECHelper.GetDgnFile().ProcessChanges(DgnSaveReason.eUserInitiated) -def ItemTypeInstancesChangeEvents(): +def ItemTypeInstancesChangeEvents(unparse: str = ""): """ Demonstrates the creation, modification, and deletion of ItemType instances and the use of a listener to track these changes. diff --git a/MSPythonSamples/EC/ExtractProperties/ExtractProperties.py b/MSPythonSamples/EC/ExtractProperties/ExtractProperties.py index 1ab94bd..0667626 100644 --- a/MSPythonSamples/EC/ExtractProperties/ExtractProperties.py +++ b/MSPythonSamples/EC/ExtractProperties/ExtractProperties.py @@ -128,7 +128,7 @@ def WriteJson(self): buff.write(json_string) MessageCenter.ShowInfoMessage(str('Json File Path : ' + path), '', False) -def ExractProperties(): +def ExractProperties(unparse: str = ""): ''' Extract the properties of the element with the given ID from key-in, or from the currently selected element if no ID is provided. diff --git a/MSPythonSamples/EC/Schema/ECXSchema.py b/MSPythonSamples/EC/Schema/ECXSchema.py index 26c1502..d68d1f0 100644 --- a/MSPythonSamples/EC/Schema/ECXSchema.py +++ b/MSPythonSamples/EC/Schema/ECXSchema.py @@ -61,7 +61,7 @@ def GetStoredSchemaList(): #return schemaList return schemaList -def ListSchema (): +def ListSchema (unparse: str = ""): """ List schemas of the active DGN file to a text file. @@ -91,7 +91,7 @@ def ListSchema (): print ('End: ListSchema() function called \n') -def ExportSchema (): +def ExportSchema (unparse: str = ""): """ Export schema files of the active DGN file to the current folder. diff --git a/MSPythonSamples/GeospatialContext/AddGeographicCoordinateSystemToModel.py b/MSPythonSamples/GeospatialContext/AddGeographicCoordinateSystemToModel.py index d924521..283c419 100644 --- a/MSPythonSamples/GeospatialContext/AddGeographicCoordinateSystemToModel.py +++ b/MSPythonSamples/GeospatialContext/AddGeographicCoordinateSystemToModel.py @@ -29,7 +29,10 @@ def AddGCSByIdToActiveModel(epsgCode): if dgnGCS is None: print("No GCS in the active model.") base = BaseGCS() - base.InitFromEPSGCode(epsgCode) + status = base.InitFromEPSGCode(epsgCode) + if status[0]!= 0: + print("Failed to initialize GCS from EPSG code.") + return False newGCS = DgnGCS.CreateGCS(base, ISessionMgr.ActiveDgnModelRef) if newGCS is None: print("New GCS is None.") @@ -76,7 +79,10 @@ def AddGCSByWKTToActiveModel(wellKnownText): if dgnGCS is None: print("No GCS in the active model.") base = BaseGCS() - base.InitFromWellKnownText(wellKnownText) + status, warning, warningErrorMsg = base.InitFromWellKnownText(wellKnownText) + if status != 0: + print("Failed to initialize GCS from WKT.") + return False newGCS = DgnGCS.CreateGCS(base, ISessionMgr.ActiveDgnModelRef) if newGCS is None: print("New GCS is None.") diff --git a/MSPythonSamples/GeospatialContext/CreateCustomGCS_StlouisTM96.py b/MSPythonSamples/GeospatialContext/CreateCustomGCS_StlouisTM96.py index 191ed40..0b90067 100644 --- a/MSPythonSamples/GeospatialContext/CreateCustomGCS_StlouisTM96.py +++ b/MSPythonSamples/GeospatialContext/CreateCustomGCS_StlouisTM96.py @@ -21,7 +21,11 @@ def AddGCSByWKTToActiveModel(wellKnownText): if dgnGCS is None: print("No GCS in the active model.") base = BaseGCS() - base.InitFromWellKnownText(wellKnownText) + status, warning, warningErrorMsg = base.InitFromWellKnownText(wellKnownText) # InitFromWellKnownText returns tuple: (status, warning, warningErrorMsg) + if status != 0: + print("Failed to initialize GCS from WKT.") + return False + newGCS = DgnGCS.CreateGCS(base, ISessionMgr.ActiveDgnModelRef) if newGCS is None: print("New GCS is None.") diff --git a/MSPythonSamples/GeospatialContext/GDBImportAsCell.py b/MSPythonSamples/GeospatialContext/GDBImportAsCell.py index cd022b0..971e9a9 100644 --- a/MSPythonSamples/GeospatialContext/GDBImportAsCell.py +++ b/MSPythonSamples/GeospatialContext/GDBImportAsCell.py @@ -103,6 +103,12 @@ def SetElementTemplateCellFixedSize(elementTemplateInstance, fixedSizeInInches): else: ElementTemplateParamsHelper.SetCellFixedSize (elementTemplateInstance, fixedSizeInInches, index) + actualUnit = FixedSizeUnitType.eFixedSizeUnitType_Inches + if eETSTATUS_Success != ElementTemplateParamsHelper.GetCellFixedSizeUnit (actualUnit, elementTemplateInstance, index): + ElementTemplateParamsHelper.AddCellFixedSizeUnit (elementTemplateInstance, FixedSizeUnitType.eFixedSizeUnitType_Inches) + else: + ElementTemplateParamsHelper.SetCellFixedSizeUnit (elementTemplateInstance, actualUnit, index) + def SetElementTemplateActivePointCell(elementTemplateInstance, modelRef, cellName): ''' diff --git a/MSPythonSamples/GeospatialContext/SHPImportWithDesignLink.py b/MSPythonSamples/GeospatialContext/SHPImportWithDesignLink.py index 21c55bb..ecae353 100644 --- a/MSPythonSamples/GeospatialContext/SHPImportWithDesignLink.py +++ b/MSPythonSamples/GeospatialContext/SHPImportWithDesignLink.py @@ -64,7 +64,7 @@ def CreateURLLink (urlAddress): ''' linkType = DGNLINK_TYPEKEY_URLLink - link, status = DgnLinkManager.CreateLink (linkType) + status, link = DgnLinkManager.CreateLink (linkType) if link is None: print(f"DgnLinkManager.CreateLink failed to create new leaf: {status}") return None diff --git a/MSPythonSamples/Intellisense/MSPyBentley.pyi b/MSPythonSamples/Intellisense/MSPyBentley.pyi index ca40cc1..7d785be 100644 --- a/MSPythonSamples/Intellisense/MSPyBentley.pyi +++ b/MSPythonSamples/Intellisense/MSPyBentley.pyi @@ -1,6 +1,10 @@ -from typing import Any, Optional, overload, Type, Sequence, Iterable, Union, Callable +from __future__ import annotations +from typing import Any, Optional, overload, Callable, ClassVar +from collections.abc import Sequence, Iterable, Iterator from enum import Enum -import MSPyBentley + +# Module self-reference for proper type resolution +import MSPyBentley as MSPyBentley class AString: """ @@ -8,6 +12,16 @@ class AString: additional functions such as conversion """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -30,6 +44,16 @@ class AStringArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -62,6 +86,7 @@ class AStringArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -82,6 +107,7 @@ class AStringArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -123,12 +149,15 @@ class Base64Utilities: def MatchesAlphabet(input: str) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class BeDateTime: """ Represents an instant in time, typically expressed as a date and time of day @@ -183,7 +212,13 @@ class BeDateTime: eError """ - def __init__(self: MSPyBentley.BeDateTime.CompareResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEarlierThan: CompareResult @@ -211,7 +246,13 @@ class BeDateTime: eDateAndTime """ - def __init__(self: MSPyBentley.BeDateTime.Component, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDate: Component @@ -528,7 +569,13 @@ class BeDateTime: eLocal """ - def __init__(self: MSPyBentley.BeDateTime.Kind, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLocal: Kind @@ -649,6 +696,13 @@ class BeDateTime: def Year(arg0: MSPyBentley.BeDateTime) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -725,6 +779,13 @@ class BeDateTimeInfo: def KindToString(kind: MSPyBentley.BeDateTime.Kind) -> MSPyBentley.WString: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -752,17 +813,15 @@ class BeFile: """ ... - def Create(*args, **kwargs): + def Create(self: MSPyBentley.BeFile, fileName: str, createAlways: bool = True, attribute: MSPyBentley.BeFileAttributes = BeFileAttributes.eNormal) -> MSPyBentley.BeFileStatus: """ - Create(self: MSPyBentley.BeFile, fileName: str, createAlways: bool = True, attribute: MSPyBentley.BeFileAttributes = ) -> MSPyBentley.BeFileStatus - Creates a new disk file :param filename: The full path of the file to create. :param createAlways: - If false, returns a status other than BeFileStatus::Success, and + If false, returns a status other than BeFileStatus.Success, and does not create a new file if *filename* already exists. If true, deletes any existing file before creating a new one by the same name. @@ -771,7 +830,7 @@ class BeFile: File attributes. :returns: - BeFileStatus::Success if the file was created or non-zero if + BeFileStatus.Success if the file was created or non-zero if create failed. """ ... @@ -844,10 +903,8 @@ class BeFile: def LastError(arg0: MSPyBentley.BeFile) -> MSPyBentley.BeFileStatus: ... - def Open(*args, **kwargs): + def Open(self: MSPyBentley.BeFile, fileName: str, mode: MSPyBentley.BeFileAccess, shareOptions: MSPyBentley.BeFileSharing, attribute: MSPyBentley.BeFileAttributes = BeFileAttributes.eNormal, numRetries: int = 0) -> MSPyBentley.BeFileStatus: """ - Open(self: MSPyBentley.BeFile, fileName: str, mode: MSPyBentley.BeFileAccess, shareOptions: MSPyBentley.BeFileSharing, attribute: MSPyBentley.BeFileAttributes = , numRetries: int = 0) -> MSPyBentley.BeFileStatus - Opens an existing file. :param filename: @@ -867,7 +924,7 @@ class BeFile: violation. :returns: - BeFileStatus::Success if the file was opened or non-zero if open + BeFileStatus.Success if the file was opened or non-zero if open failed. """ ... @@ -875,11 +932,12 @@ class BeFile: def Read(self: MSPyBentley.BeFile, numBytes: int) -> tuple: ... + @staticmethod def ReadEntireFile(*args, **kwargs): """ Overloaded function. - 1. ReadEntireFile(self: MSPyBentley.BeFile, buffer: List[unsigned char]) -> MSPyBentley.BeFileStatus + 1. ReadEntireFile(self: MSPyBentley.BeFile, buffer: list[unsigned char]) -> MSPyBentley.BeFileStatus Reads entire file to a byte vector. @@ -934,7 +992,13 @@ class BeFile: def Write(self: MSPyBentley.BeFile, data: bytes) -> tuple: ... - def __init__(self: MSPyBentley.BeFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class BeFileAccess: @@ -948,7 +1012,13 @@ class BeFileAccess: eReadWrite """ - def __init__(self: MSPyBentley.BeFileAccess, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRead: BeFileAccess @@ -976,7 +1046,13 @@ class BeFileAttributes: eDeleteOnClose """ - def __init__(self: MSPyBentley.BeFileAttributes, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDeleteOnClose: BeFileAttributes @@ -1011,10 +1087,16 @@ class BeFileListIterator: """ ... - def __init__(self: MSPyBentley.BeFileListIterator, filePathList: str, recursive: bool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class BeFileName: +class BeFileName(MSPyBentley.WString): """ Represents a filename and provides functions to manipulate the filename and to work with files on disk by name. See DgnFile for a class that works with open files. @@ -1022,6 +1104,9 @@ class BeFileName: guarantees to hold the name in a fixed-length buffer of MAX_PATH chars (including the 0-terminator). """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Abbreviate(self: MSPyBentley.BeFileName, maxLength: int) -> None: ... @@ -1031,10 +1116,8 @@ class BeFileName: """ ... - def AppendA(*args, **kwargs): + def AppendA(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: """ - AppendA(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - Append a null-terminated multibyte, locale-encoded character array to this WString. This will create a WString internally, so if you are appending a character constant it is more efficient to use append @@ -1081,15 +1164,13 @@ class BeFileName: """ ... - def AppendUtf8(*args, **kwargs): + def AppendUtf8(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: """ - AppendUtf8(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - Append a Utf8 character array to this WString. This will create a WString internally, so if you are appending a character constant it is more efficient to use append (L"string to append"). - :param in: + :param in_: The multibyte string :returns: @@ -1114,14 +1195,12 @@ class BeFileName: """ ... - def AssignA(*args, **kwargs): + def AssignA(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: """ - AssignA(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - Define the contents of this WString from a CharCP using the current system locale - :param in: + :param in_: The ASCII string :returns: @@ -1129,19 +1208,14 @@ class BeFileName: """ ... - def AssignOrClear(*args, **kwargs): - """ - AssignOrClear(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - """ + def AssignOrClear(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: ... - def AssignUtf16(*args, **kwargs): + def AssignUtf16(self: MSPyBentley.WString, in_: int) -> MSPyBentley.WString: """ - AssignUtf16(self: MSPyBentley.WString, in: int) -> MSPyBentley.WString - Define the contents of this WString from a Utf8CP - :param in: + :param in_: The Utf8 string. May be NULL. :returns: @@ -1149,10 +1223,8 @@ class BeFileName: """ ... - def AssignUtf8(*args, **kwargs): + def AssignUtf8(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: """ - AssignUtf8(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - Define the contents of this WString from a Utf8CP Parameter ``in``: @@ -1306,7 +1378,7 @@ class BeFileName: """ ... - def BuildName(self: MSPyBentley.BeFileName, dev: str, dir: str, name: str, ext: str) -> None: + def BuildName(self: MSPyBentley.BeFileName, dev: str, dir_: str, name: str, ext: str) -> None: """ Build a BeFileName from parts of a pathname. Any values that are NULL are omitted. @@ -1357,6 +1429,7 @@ class BeFileName: """ ... + @staticmethod def CompareTo(*args, **kwargs): """ Overloaded function. @@ -1385,6 +1458,7 @@ class BeFileName: """ ... + @staticmethod def CompareToI(*args, **kwargs): """ Overloaded function. @@ -1413,6 +1487,7 @@ class BeFileName: """ ... + @staticmethod def Contains(*args, **kwargs): """ Overloaded function. @@ -1439,6 +1514,7 @@ class BeFileName: """ ... + @staticmethod def ContainsI(*args, **kwargs): """ Overloaded function. @@ -1526,6 +1602,7 @@ class BeFileName: """ ... + @staticmethod def Equals(*args, **kwargs): """ Overloaded function. @@ -1552,6 +1629,7 @@ class BeFileName: """ ... + @staticmethod def EqualsI(*args, **kwargs): """ Overloaded function. @@ -1597,7 +1675,13 @@ class BeFileName: eAll """ - def __init__(self: MSPyBentley.BeFileName.FileNameParts, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: FileNameParts @@ -1799,6 +1883,7 @@ class BeFileName: """ ... + @staticmethod def IsNullOrEmpty(str: str) -> bool: """ True if the provided string is NULL or contains no character data. @@ -1875,7 +1960,7 @@ class BeFileName: """ ... - def ParseName(self: MSPyBentley.BeFileName, dev: MSPyBentley.WString, dir: MSPyBentley.WString, name: MSPyBentley.WString, ext: MSPyBentley.WString) -> None: + def ParseName(self: MSPyBentley.BeFileName, dev: MSPyBentley.WString, dir_: MSPyBentley.WString, name: MSPyBentley.WString, ext: MSPyBentley.WString) -> None: """ Parse a full filename into WStrings for the device, directory, filename, and extension. @@ -1883,7 +1968,7 @@ class BeFileName: :param dev: The device part of this filename. May be NULL. - :param dir: + :param dir_: The directory part of this filename. May be NULL. :param name: @@ -1897,7 +1982,7 @@ class BeFileName: """ ... - def ParseNameNoClear(self: MSPyBentley.BeFileName, dev: MSPyBentley.WString, dir: MSPyBentley.WString, name: MSPyBentley.WString, ext: MSPyBentley.WString) -> None: + def ParseNameNoClear(self: MSPyBentley.BeFileName, dev: MSPyBentley.WString, dir_: MSPyBentley.WString, name: MSPyBentley.WString, ext: MSPyBentley.WString) -> None: """ Parse a full filename into WStrings for the device, directory, filename, and extension. If the input does not contain a file part, @@ -1906,7 +1991,7 @@ class BeFileName: :param dev: The device part of this filename. May be NULL. - :param dir: + :param dir_: The directory part of this filename. May be NULL. :param name: @@ -2063,6 +2148,7 @@ class BeFileName: """ ... + @staticmethod def Trim(*args, **kwargs): """ Overloaded function. @@ -2083,6 +2169,13 @@ class BeFileName: def Uri(arg0: MSPyBentley.BeFileName) -> MSPyBentley.Utf8String: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -2101,7 +2194,7 @@ class BeFileName: @param in mask Mask of the parts of fullName that will used to construct this BeFileName @param in fullName The full pathname from which this BeFileName is to be constructed. - 4. __init__(self: MSPyBentley.BeFileName, dev: str, dir: str, name: str, ext: str) -> None + 4. __init__(self: MSPyBentley.BeFileName, dev: str, dir_: str, name: str, ext: str) -> None Construct a BeFileName from parts of a pathname. Any values that are NULL are omitted. """ @@ -2160,7 +2253,13 @@ class BeFileNameAccess: eReadWrite """ - def __init__(self: MSPyBentley.BeFileNameAccess, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eExists: BeFileNameAccess @@ -2202,7 +2301,13 @@ class BeFileNameStatus: eUnknownError """ - def __init__(self: MSPyBentley.BeFileNameStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAccessViolation: BeFileNameStatus @@ -2242,7 +2347,13 @@ class BeFileSeekOrigin: eEnd """ - def __init__(self: MSPyBentley.BeFileSeekOrigin, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBegin: BeFileSeekOrigin @@ -2272,7 +2383,13 @@ class BeFileSharing: eReadWrite """ - def __init__(self: MSPyBentley.BeFileSharing, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNone: BeFileSharing @@ -2314,7 +2431,13 @@ class BeFileStatus: eUnknownError """ - def __init__(self: MSPyBentley.BeFileStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAccessViolationError: BeFileStatus @@ -2399,9 +2522,7 @@ class BeStringUtilities: Remark: s If the length of the formatted string exceeds *numCharsInBuffer,* the string is truncated (i.e., - dest\\[numCharsInBuffer-1\\] = 0;) - - Remark: + dest\\[numCharsInBuffer-1\\] = 0;) -> Remark: s This method is provided to produce the same hexadecimal formatting as Snwprintf(), but much more efficiently. @@ -2447,8 +2568,28 @@ class BeStringUtilities: NPOS: int @staticmethod - def ParseArguments(subStrings: MSPyBentley.WStringArray, inString: MSPyBentley.WString, auxDelimiters: MSPyBentley.WString) -> None: + def ParseArguments(*args, **kwargs): """ + Overloaded function. + + 1. ParseArguments(subStrings: MSPyBentley.WStringArray, inString: MSPyBentley.WString, auxDelimiters: MSPyBentley.WString) -> None + + Default logic for parsing a user supplied argument list. Tokenizes + based on whitespace and does not tokenize within double-quoted + substrings. + + :param subStrings: + The resulting sub strings will be added to this collection + + :param inString: + The string to tokenize; cannot be NULL or empty + + :param auxDelimiters: + (optional) -> Each character in the string Will be used as a + delimiter in addition to whitespace. + + 2. ParseArguments(subStrings: list, inString: MSPyBentley.WString, auxDelimiters: MSPyBentley.WString) -> None + Default logic for parsing a user supplied argument list. Tokenizes based on whitespace and does not tokenize within double-quoted substrings. @@ -2460,7 +2601,7 @@ class BeStringUtilities: The string to tokenize; cannot be NULL or empty :param auxDelimiters: - (optional) Each character in the string Will be used as a + (optional) -> Each character in the string Will be used as a delimiter in addition to whitespace. """ ... @@ -2476,6 +2617,11 @@ class BeStringUtilities: :param string: A string representation of a decimal value. + :returns: + A Tuple: + - (Tuple, 0): The status of the operation (e.g., Success or an error code). + - (Tuple, 1): The resulting integer number. + Remark: s ``string`` must not contain any extra characters or whitespace. This function does not skip leading whitespace or stop at trailing @@ -2504,7 +2650,37 @@ class BeStringUtilities: :param tokens: One or more tokens - 2. Split(str: MSPyBentley.WString, delimiters: MSPyBentley.WString, escapeChars: MSPyBentley.WString, tokens: MSPyBentley.WStringArray) -> None + 2. Split(str: MSPyBentley.WString, delimiters: MSPyBentley.WString, tokens: list) -> None + + Tokenizes a string based on the provided delimiters, and adds a + WString for each token into the provided collection. This essentially + wraps wcstok for more convenient access. + + :param str: + The string to tokenize; cannot be NULL or empty + + :param delimiters: + One or more delimiters; cannot be NULL or empty + + :param tokens: + One or more tokens + + 3. Split(str: MSPyBentley.WString, delimiters: MSPyBentley.WString, escapeChars: MSPyBentley.WString, tokens: MSPyBentley.WStringArray) -> None + + Tokenizes a string based on the provided delimiters, and adds a + WString for each token into the provided collection. This essentially + wraps wcstok for more convenient access. + + :param str: + The string to tokenize; cannot be NULL or empty + + :param delimiters: + One or more delimiters; cannot be NULL or empty + + :param tokens: + One or more tokens + + 4. Split(str: MSPyBentley.WString, delimiters: MSPyBentley.WString, escapeChars: MSPyBentley.WString, tokens: list) -> None Tokenizes a string based on the provided delimiters, and adds a WString for each token into the provided collection. This essentially @@ -2525,23 +2701,29 @@ class BeStringUtilities: def WCharToUtf8(outStr: MSPyBentley.Utf8String, inStr: str, _count: int = 18446744073709551615) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class HeapZone: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class HexFormatOptions: """ Members: @@ -2559,7 +2741,13 @@ class HexFormatOptions: eUsePrecision """ - def __init__(self: MSPyBentley.HexFormatOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIncludePrefix: HexFormatOptions @@ -2587,7 +2775,16 @@ class IntIntMap: None """ - def __init__(self: MSPyBentley.IntIntMap) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def items(self: MSPyBentley.IntIntMap) -> MSPyBentley.ItemsView[IntIntMap]: @@ -2604,67 +2801,103 @@ class ItemsView[IntIntMap]: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ItemsView[WStringWCharMap]: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ItemsView[WStringWStringMap]: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class KeysView[IntIntMap]: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class KeysView[WStringWCharMap]: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class KeysView[WStringWStringMap]: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LangCodePage: """ Members: @@ -2756,7 +2989,13 @@ class LangCodePage: eISCII_UNICODE_UTF_8 """ - def __init__(self: MSPyBentley.LangCodePage, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eArabic: LangCodePage @@ -2912,7 +3151,13 @@ class PrecisionFormat: eScientific8Places """ - def __init__(self: MSPyBentley.PrecisionFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDecimal1Place: PrecisionFormat @@ -2988,7 +3233,13 @@ class PrecisionType: eScientific """ - def __init__(self: MSPyBentley.PrecisionType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDecimal: PrecisionType @@ -3035,7 +3286,13 @@ class PyNameSpaceManager: eBentley_GeoCoordinates """ - def __init__(self: MSPyBentley.PyNameSpaceManager.NameSpaceID, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBentley_DgnPlatform: NameSpaceID @@ -3062,12 +3319,15 @@ class PyNameSpaceManager: def UsingNameSpace(namespaceID: MSPyBentley.PyNameSpaceManager.NameSpaceID) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBentley_DgnPlatform: NameSpaceID eBentley_DgnPlatform_Raster: NameSpaceID @@ -3082,21 +3342,23 @@ class Utf8String: This class also defines utility functions for constructing and manipulating the string """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Assign(self: MSPyBentley.Utf8String, str: str) -> MSPyBentley.Utf8String: """ Construct a Utf8String by converting from a wchar_t string. """ ... - def AssignOrClear(*args, **kwargs): + def AssignOrClear(self: MSPyBentley.Utf8String, in_: str) -> MSPyBentley.Utf8String: """ - AssignOrClear(self: MSPyBentley.Utf8String, in: str) -> MSPyBentley.Utf8String - Update this string to be equal to *in.* If *in* is NULL, clear this string. """ ... + @staticmethod def CompareTo(*args, **kwargs): """ Overloaded function. @@ -3125,6 +3387,7 @@ class Utf8String: """ ... + @staticmethod def CompareToI(*args, **kwargs): """ Overloaded function. @@ -3153,6 +3416,7 @@ class Utf8String: """ ... + @staticmethod def Equals(*args, **kwargs): """ Overloaded function. @@ -3179,6 +3443,7 @@ class Utf8String: """ ... + @staticmethod def EqualsI(*args, **kwargs): """ Overloaded function. @@ -3308,6 +3573,7 @@ class Utf8String: """ ... + @staticmethod def Trim(*args, **kwargs): """ Overloaded function. @@ -3331,6 +3597,13 @@ class Utf8String: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3355,6 +3628,16 @@ class Utf8StringArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3387,6 +3670,7 @@ class Utf8StringArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -3407,6 +3691,7 @@ class Utf8StringArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -3432,39 +3717,67 @@ class ValuesView[IntIntMap]: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ValuesView[WStringWCharMap]: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ValuesView[WStringWStringMap]: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class WCharArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3497,6 +3810,7 @@ class WCharArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -3517,6 +3831,7 @@ class WCharArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -3544,16 +3859,17 @@ class WString: case-insensitive compare, trimming, padding, and others. """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddQuotes(self: MSPyBentley.WString) -> None: """ Put quotes around a string. """ ... - def AppendA(*args, **kwargs): + def AppendA(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: """ - AppendA(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - Append a null-terminated multibyte, locale-encoded character array to this WString. This will create a WString internally, so if you are appending a character constant it is more efficient to use append @@ -3567,15 +3883,13 @@ class WString: """ ... - def AppendUtf8(*args, **kwargs): + def AppendUtf8(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: """ - AppendUtf8(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - Append a Utf8 character array to this WString. This will create a WString internally, so if you are appending a character constant it is more efficient to use append (L"string to append"). - :param in: + :param in_: The multibyte string :returns: @@ -3583,14 +3897,12 @@ class WString: """ ... - def AssignA(*args, **kwargs): + def AssignA(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: """ - AssignA(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - Define the contents of this WString from a CharCP using the current system locale - :param in: + :param in_: The ASCII string :returns: @@ -3598,19 +3910,14 @@ class WString: """ ... - def AssignOrClear(*args, **kwargs): - """ - AssignOrClear(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - """ + def AssignOrClear(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: ... - def AssignUtf16(*args, **kwargs): + def AssignUtf16(self: MSPyBentley.WString, in_: int) -> MSPyBentley.WString: """ - AssignUtf16(self: MSPyBentley.WString, in: int) -> MSPyBentley.WString - Define the contents of this WString from a Utf8CP - :param in: + :param in_: The Utf8 string. May be NULL. :returns: @@ -3618,10 +3925,8 @@ class WString: """ ... - def AssignUtf8(*args, **kwargs): + def AssignUtf8(self: MSPyBentley.WString, in_: str) -> MSPyBentley.WString: """ - AssignUtf8(self: MSPyBentley.WString, in: str) -> MSPyBentley.WString - Define the contents of this WString from a Utf8CP Parameter ``in``: @@ -3632,6 +3937,7 @@ class WString: """ ... + @staticmethod def CompareTo(*args, **kwargs): """ Overloaded function. @@ -3660,6 +3966,7 @@ class WString: """ ... + @staticmethod def CompareToI(*args, **kwargs): """ Overloaded function. @@ -3688,6 +3995,7 @@ class WString: """ ... + @staticmethod def Contains(*args, **kwargs): """ Overloaded function. @@ -3714,6 +4022,7 @@ class WString: """ ... + @staticmethod def ContainsI(*args, **kwargs): """ Overloaded function. @@ -3759,6 +4068,7 @@ class WString: """ ... + @staticmethod def Equals(*args, **kwargs): """ Overloaded function. @@ -3785,6 +4095,7 @@ class WString: """ ... + @staticmethod def EqualsI(*args, **kwargs): """ Overloaded function. @@ -3912,6 +4223,7 @@ class WString: """ ... + @staticmethod def Trim(*args, **kwargs): """ Overloaded function. @@ -3928,6 +4240,13 @@ class WString: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3940,15 +4259,15 @@ class WString: 4. __init__(self: MSPyBentley.WString, __n: int, __c: str) -> None - 5. __init__(self: MSPyBentley.WString, in: int) -> None + 5. __init__(self: MSPyBentley.WString, in_: int) -> None Construct a WString from a Utf16 encoded Unicode string - 6. __init__(self: MSPyBentley.WString, in: str, isUtf8: bool = False) -> None + 6. __init__(self: MSPyBentley.WString, in_: str, isUtf8: bool = False) -> None Construct a WString from a CharCP using either the current system locale or Utf8 - 7. __init__(self: MSPyBentley.WString, in: str, encoding: BentleyCharEncoding) -> None + 7. __init__(self: MSPyBentley.WString, in_: str, encoding: BentleyCharEncoding) -> None Construct a WString from a CharCP string in the specified encoding """ @@ -3985,6 +4304,16 @@ class WStringArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4017,6 +4346,7 @@ class WStringArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4037,6 +4367,7 @@ class WStringArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4062,7 +4393,16 @@ class WStringWCharMap: None """ - def __init__(self: MSPyBentley.WStringWCharMap) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def items(self: MSPyBentley.WStringWCharMap) -> MSPyBentley.ItemsView[WStringWCharMap]: @@ -4079,7 +4419,16 @@ class WStringWStringMap: None """ - def __init__(self: MSPyBentley.WStringWStringMap) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def items(self: MSPyBentley.WStringWStringMap) -> MSPyBentley.ItemsView[WStringWStringMap]: diff --git a/MSPythonSamples/Intellisense/MSPyBentleyGeom.pyi b/MSPythonSamples/Intellisense/MSPyBentleyGeom.pyi index fca4d15..4393120 100644 --- a/MSPythonSamples/Intellisense/MSPyBentleyGeom.pyi +++ b/MSPythonSamples/Intellisense/MSPyBentleyGeom.pyi @@ -1,6 +1,10 @@ -from typing import Any, Optional, overload, Type, Sequence, Iterable, Union, Callable +from __future__ import annotations +from typing import Any, Optional, overload, Callable, ClassVar +from collections.abc import Sequence, Iterable, Iterator from enum import Enum -import MSPyBentleyGeom + +# Module self-reference for proper type resolution +import MSPyBentleyGeom as MSPyBentleyGeom ANY_EDGE: int @@ -28,10 +32,10 @@ class Angle: def ApplyGivensWeights(a: float, b: float, cos: float, sin: float) -> tuple: """ :param (output): - aOut{(a,b) DOT (cos,sin)} + aOut{(a,b) -> DOT (cos,sin)} :param (output): - bOut{(cross,sin) DOT (a,b)} + bOut{(cross,sin) -> DOT (a,b)} :param (input): a x coordiante @@ -448,6 +452,13 @@ class Angle: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -522,6 +533,13 @@ class AngleInDegrees: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -542,12 +560,15 @@ class AnnounceDoubleDPoint2d: def Announce(self: MSPyBentleyGeom.AnnounceDoubleDPoint2d, fraction: float, xy: DVec2d) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class AreaSelect: """ Members: @@ -561,7 +582,13 @@ class AreaSelect: eAreaSelect_CCWNegativeWindingNumber """ - def __init__(self: MSPyBentleyGeom.AreaSelect, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAreaSelect_CCWNegativeWindingNumber: AreaSelect @@ -610,7 +637,7 @@ class BCurveSegment: """ ... - def AddStrokes(self: MSPyBentleyGeom.BCurveSegment, points: List[DPoint3d], derivatives: List[DVec3d], params: MSPyBentleyGeom.DoubleArray, options: IFacetOptions, fractionA: float = 0.0, fractionB: float = 1.0, useWorkPoles: bool = False, curve: MSBsplineCurve = None) -> None: + def AddStrokes(self: MSPyBentleyGeom.BCurveSegment, points: list[DPoint3d], derivatives: list[DVec3d], params: MSPyBentleyGeom.DoubleArray, options: IFacetOptions, fractionA: float = 0.0, fractionB: float = 1.0, useWorkPoles: bool = False, curve: MSBsplineCurve = None) -> None: """ Add strokes to point and param arrays. @@ -647,6 +674,7 @@ class BCurveSegment: """ ... + @staticmethod def CopyFrom(*args, **kwargs): """ Overloaded function. @@ -671,6 +699,7 @@ class BCurveSegment: """ ... + @staticmethod def FractionToPoint(*args, **kwargs): """ Overloaded function. @@ -689,6 +718,7 @@ class BCurveSegment: """ ... + @staticmethod def GetKnotP(*args, **kwargs): """ Overloaded function. @@ -715,6 +745,7 @@ class BCurveSegment: """ ... + @staticmethod def GetPoleP(*args, **kwargs): """ Overloaded function. @@ -761,6 +792,7 @@ class BCurveSegment: """ ... + @staticmethod def Length(*args, **kwargs): """ Overloaded function. @@ -884,7 +916,13 @@ class BCurveSegment: """ ... - def __init__(self: MSPyBentleyGeom.BCurveSegment) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... BSCURVE_CIRCLE: int @@ -903,21 +941,43 @@ BSCURVE_LINE: int BSCURVE_PARABOLIC_ARC: int -class BSIIncrementalVectorIntegrand: +class BSIIncrementalVectorIntegrand(MSPyBentleyGeom.BSIVectorIntegrand): """ None """ - def AnnounceIntermediateIntegral(self: MSPyBentleyGeom.BSIIncrementalVectorIntegrand, t: float, pIntegrals: MSPyBentleyGeom.DoubleArray) -> bool: + @staticmethod + def AnnounceIntermediateIntegral(*args, **kwargs): + """ + Overloaded function. + + 1. AnnounceIntermediateIntegral(self: MSPyBentleyGeom.BSIIncrementalVectorIntegrand, t: float, pIntegrals: MSPyBentleyGeom.DoubleArray) -> bool + + 2. AnnounceIntermediateIntegral(self: MSPyBentleyGeom.BSIIncrementalVectorIntegrand, t: float, pIntegrals: list) -> bool + """ ... - def EvaluateVectorIntegrand(self: MSPyBentleyGeom.BSIVectorIntegrand, t: float, pF: MSPyBentleyGeom.DoubleArray) -> None: + @staticmethod + def EvaluateVectorIntegrand(*args, **kwargs): + """ + Overloaded function. + + 1. EvaluateVectorIntegrand(self: MSPyBentleyGeom.BSIVectorIntegrand, t: float, pF: MSPyBentleyGeom.DoubleArray) -> None + + 2. EvaluateVectorIntegrand(self: MSPyBentleyGeom.BSIVectorIntegrand, t: float, pF: list) -> None + """ ... def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.BSIIncrementalVectorIntegrand) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class BSIQuadraturePoints: @@ -925,8 +985,32 @@ class BSIQuadraturePoints: None """ - def AccumulateWeightedSums(self: MSPyBentleyGeom.BSIQuadraturePoints, function: MSPyBentleyGeom.BSIVectorIntegrand, t0: float, t1: float, pSums: MSPyBentleyGeom.DoubleArray, numInterval: int) -> None: + @staticmethod + def AccumulateWeightedSums(*args, **kwargs): """ + Overloaded function. + + 1. AccumulateWeightedSums(self: MSPyBentleyGeom.BSIQuadraturePoints, function: MSPyBentleyGeom.BSIVectorIntegrand, t0: float, t1: float, pSums: MSPyBentleyGeom.DoubleArray, numInterval: int) -> None + + @description Evaluate and accumulate function values over an interval. + + :param (input): + function function object that can be called as often as needed. + + :param (input): + t0 start of interval. + + :param (input): + t1 end of interval. + + :param [in,out]: + pSums accumulating sums. + + :param (input): + numInterval number of intervals to use within t0..t1. + + 2. AccumulateWeightedSums(self: MSPyBentleyGeom.BSIQuadraturePoints, function: MSPyBentleyGeom.BSIVectorIntegrand, t0: float, t1: float, pSums: list, numInterval: int) -> None + @description Evaluate and accumulate function values over an interval. :param (input): @@ -1136,7 +1220,13 @@ class BSIQuadraturePoints: def NumEval(arg0: MSPyBentleyGeom.BSIQuadraturePoints) -> int: ... - def __init__(self: MSPyBentleyGeom.BSIQuadraturePoints) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class BSITriangleQuadraturePoints: @@ -1144,10 +1234,26 @@ class BSITriangleQuadraturePoints: None """ - def AccumulateWeightedSums(self: MSPyBentleyGeom.BSITriangleQuadraturePoints, arg0: MSPyBentleyGeom.BSIVectorIntegrandXY, arg1: MSPyBentleyGeom.DoubleArray) -> None: + @staticmethod + def AccumulateWeightedSums(*args, **kwargs): + """ + Overloaded function. + + 1. AccumulateWeightedSums(self: MSPyBentleyGeom.BSITriangleQuadraturePoints, arg0: MSPyBentleyGeom.BSIVectorIntegrandXY, arg1: MSPyBentleyGeom.DoubleArray) -> None + + 2. AccumulateWeightedSums(self: MSPyBentleyGeom.BSITriangleQuadraturePoints, arg0: MSPyBentleyGeom.BSIVectorIntegrandXY, arg1: list) -> None + """ ... - def AccumulateWeightedSumsMapped(self: MSPyBentleyGeom.BSITriangleQuadraturePoints, arg0: MSPyBentleyGeom.BSIVectorIntegrandXY, arg1: MSPyBentleyGeom.DoubleArray, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float, arg7: float) -> None: + @staticmethod + def AccumulateWeightedSumsMapped(*args, **kwargs): + """ + Overloaded function. + + 1. AccumulateWeightedSumsMapped(self: MSPyBentleyGeom.BSITriangleQuadraturePoints, arg0: MSPyBentleyGeom.BSIVectorIntegrandXY, arg1: MSPyBentleyGeom.DoubleArray, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float, arg7: float) -> None + + 2. AccumulateWeightedSumsMapped(self: MSPyBentleyGeom.BSITriangleQuadraturePoints, arg0: MSPyBentleyGeom.BSIVectorIntegrandXY, arg1: list, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float, arg7: float) -> None + """ ... def GetEval(self: MSPyBentleyGeom.BSITriangleQuadraturePoints, i: int) -> tuple: @@ -1205,7 +1311,13 @@ class BSITriangleQuadraturePoints: def NumEval(arg0: MSPyBentleyGeom.BSITriangleQuadraturePoints) -> int: ... - def __init__(self: MSPyBentleyGeom.BSITriangleQuadraturePoints) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class BSIVectorIntegrand: @@ -1213,13 +1325,27 @@ class BSIVectorIntegrand: None """ - def EvaluateVectorIntegrand(self: MSPyBentleyGeom.BSIVectorIntegrand, t: float, pF: MSPyBentleyGeom.DoubleArray) -> None: + @staticmethod + def EvaluateVectorIntegrand(*args, **kwargs): + """ + Overloaded function. + + 1. EvaluateVectorIntegrand(self: MSPyBentleyGeom.BSIVectorIntegrand, t: float, pF: MSPyBentleyGeom.DoubleArray) -> None + + 2. EvaluateVectorIntegrand(self: MSPyBentleyGeom.BSIVectorIntegrand, t: float, pF: list) -> None + """ ... def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.BSIVectorIntegrand) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class BSIVectorIntegrandXY: @@ -1227,13 +1353,27 @@ class BSIVectorIntegrandXY: None """ - def EvaluateVectorIntegrand(self: MSPyBentleyGeom.BSIVectorIntegrandXY, x: float, y: float, pF: MSPyBentleyGeom.DoubleArray) -> None: + @staticmethod + def EvaluateVectorIntegrand(*args, **kwargs): + """ + Overloaded function. + + 1. EvaluateVectorIntegrand(self: MSPyBentleyGeom.BSIVectorIntegrandXY, x: float, y: float, pF: MSPyBentleyGeom.DoubleArray) -> None + + 2. EvaluateVectorIntegrand(self: MSPyBentleyGeom.BSIVectorIntegrandXY, x: float, y: float, pF: list) -> None + """ ... def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrandXY) -> int: ... - def __init__(self: MSPyBentleyGeom.BSIVectorIntegrandXY) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... BSSURF_CONE: int @@ -1263,6 +1403,16 @@ class BeExtendedData: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1289,6 +1439,7 @@ class BeExtendedData: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -1309,6 +1460,7 @@ class BeExtendedData: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -1349,7 +1501,13 @@ class BeExtendedDataEntry: def Value(self: MSPyBentleyGeom.BeExtendedDataEntry, arg0: MSPyBentley.Utf8String) -> None: ... - def __init__(self: MSPyBentleyGeom.BeExtendedDataEntry) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class BeExtendedDataGeometryMap: @@ -1357,7 +1515,16 @@ class BeExtendedDataGeometryMap: None """ - def __init__(self: MSPyBentleyGeom.BeExtendedDataGeometryMap) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def items(self: MSPyBentleyGeom.BeExtendedDataGeometryMap) -> MSPyBentleyGeom.ItemsView[BeExtendedDataGeometryMap]: @@ -1385,12 +1552,15 @@ class BeXmlCGStreamReader: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class BeXmlCGWriter: """ None @@ -1404,23 +1574,29 @@ class BeXmlCGWriter: def WriteBytes(byte: MSPyBentleyGeom.UInt8Array, data: MSPyBentleyGeom.IGeometry, extendedData: MSPyBentleyGeom.BeExtendedDataGeometryMap = 0, preferCGSweeps: bool = False) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class BlendDetail: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def detailA(self: MSPyBentleyGeom.BlendDetail) -> MSPyBentleyGeom.CurveLocationDetail: ... @@ -1447,6 +1623,16 @@ class BlendDetailArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1473,6 +1659,7 @@ class BlendDetailArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -1493,6 +1680,7 @@ class BlendDetailArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -1516,7 +1704,13 @@ class BlendType: eCURVE_CURVE_BLEND_VerticalAxisParabola """ - def __init__(self: MSPyBentleyGeom.BlendType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCURVE_CURVE_BLEND_BisectorParabola: BlendType @@ -1531,11 +1725,14 @@ class BlendType: def value(arg0: MSPyBentleyGeom.BlendType) -> int: ... -class BlockedVectorCurveTopologyId: +class BlockedVectorCurveTopologyId(MSPyBentleyGeom.CurveTopologyIdArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorCurveTopologyId) -> bool: ... @@ -1543,6 +1740,7 @@ class BlockedVectorCurveTopologyId: def Active(arg0: MSPyBentleyGeom.BlockedVectorCurveTopologyId, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -1561,6 +1759,7 @@ class BlockedVectorCurveTopologyId: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorCurveTopologyId, source: MSPyBentleyGeom.CurveTopologyIdArray) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -1621,6 +1820,13 @@ class BlockedVectorCurveTopologyId: def TryGet(self: MSPyBentleyGeom.BlockedVectorCurveTopologyId, index: int, defaultValue: MSPyBentleyGeom.CurveTopologyId) -> Tuple[bool, MSPyBentleyGeom.CurveTopologyId]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1649,6 +1855,7 @@ class BlockedVectorCurveTopologyId: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -1669,6 +1876,7 @@ class BlockedVectorCurveTopologyId: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -1689,11 +1897,14 @@ class BlockedVectorCurveTopologyId: """ ... -class BlockedVectorDPoint2d: +class BlockedVectorDPoint2d(MSPyBentleyGeom.DPoint2dArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorDPoint2d) -> bool: ... @@ -1701,6 +1912,7 @@ class BlockedVectorDPoint2d: def Active(arg0: MSPyBentleyGeom.BlockedVectorDPoint2d, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -1719,6 +1931,7 @@ class BlockedVectorDPoint2d: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorDPoint2d, source: MSPyBentleyGeom.DPoint2dArray) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -1779,6 +1992,13 @@ class BlockedVectorDPoint2d: def TryGet(self: MSPyBentleyGeom.BlockedVectorDPoint2d, index: int, defaultValue: MSPyBentleyGeom.DPoint2d) -> Tuple[bool, MSPyBentleyGeom.DPoint2d]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1807,6 +2027,7 @@ class BlockedVectorDPoint2d: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -1827,6 +2048,7 @@ class BlockedVectorDPoint2d: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -1847,11 +2069,14 @@ class BlockedVectorDPoint2d: """ ... -class BlockedVectorDPoint3d: +class BlockedVectorDPoint3d(MSPyBentleyGeom.DPoint3dArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorDPoint3d) -> bool: ... @@ -1859,6 +2084,7 @@ class BlockedVectorDPoint3d: def Active(arg0: MSPyBentleyGeom.BlockedVectorDPoint3d, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -1877,6 +2103,7 @@ class BlockedVectorDPoint3d: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorDPoint3d, source: MSPyBentleyGeom.DPoint3dArray) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -1937,6 +2164,13 @@ class BlockedVectorDPoint3d: def TryGet(self: MSPyBentleyGeom.BlockedVectorDPoint3d, index: int, defaultValue: MSPyBentleyGeom.DPoint3d) -> Tuple[bool, MSPyBentleyGeom.DPoint3d]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1965,6 +2199,7 @@ class BlockedVectorDPoint3d: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -1985,6 +2220,7 @@ class BlockedVectorDPoint3d: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -2005,11 +2241,14 @@ class BlockedVectorDPoint3d: """ ... -class BlockedVectorDVec3d: +class BlockedVectorDVec3d(MSPyBentleyGeom.DVec3dArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorDVec3d) -> bool: ... @@ -2017,6 +2256,7 @@ class BlockedVectorDVec3d: def Active(arg0: MSPyBentleyGeom.BlockedVectorDVec3d, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -2035,6 +2275,7 @@ class BlockedVectorDVec3d: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorDVec3d, source: MSPyBentleyGeom.DVec3dArray) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -2095,6 +2336,13 @@ class BlockedVectorDVec3d: def TryGet(self: MSPyBentleyGeom.BlockedVectorDVec3d, index: int, defaultValue: MSPyBentleyGeom.DVec3d) -> Tuple[bool, MSPyBentleyGeom.DVec3d]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -2123,6 +2371,7 @@ class BlockedVectorDVec3d: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -2143,6 +2392,7 @@ class BlockedVectorDVec3d: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -2163,11 +2413,14 @@ class BlockedVectorDVec3d: """ ... -class BlockedVectorFacetFaceData: +class BlockedVectorFacetFaceData(MSPyBentleyGeom.FacetFaceDataArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorFacetFaceData) -> bool: ... @@ -2175,6 +2428,7 @@ class BlockedVectorFacetFaceData: def Active(arg0: MSPyBentleyGeom.BlockedVectorFacetFaceData, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -2193,6 +2447,7 @@ class BlockedVectorFacetFaceData: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorFacetFaceData, source: MSPyBentleyGeom.FacetFaceDataArray) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -2253,6 +2508,13 @@ class BlockedVectorFacetFaceData: def TryGet(self: MSPyBentleyGeom.BlockedVectorFacetFaceData, index: int, defaultValue: MSPyBentleyGeom.FacetFaceData) -> Tuple[bool, MSPyBentleyGeom.FacetFaceData]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -2275,6 +2537,7 @@ class BlockedVectorFacetFaceData: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -2295,6 +2558,7 @@ class BlockedVectorFacetFaceData: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -2309,11 +2573,14 @@ class BlockedVectorFacetFaceData: """ ... -class BlockedVectorFloatRgb: +class BlockedVectorFloatRgb(MSPyBentleyGeom.FloatRgbArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorFloatRgb) -> bool: ... @@ -2321,6 +2588,7 @@ class BlockedVectorFloatRgb: def Active(arg0: MSPyBentleyGeom.BlockedVectorFloatRgb, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -2339,6 +2607,7 @@ class BlockedVectorFloatRgb: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorFloatRgb, source: MSPyBentleyGeom.FloatRgbArray) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -2399,6 +2668,13 @@ class BlockedVectorFloatRgb: def TryGet(self: MSPyBentleyGeom.BlockedVectorFloatRgb, index: int, defaultValue: MSPyBentleyGeom.FloatRgb) -> Tuple[bool, MSPyBentleyGeom.FloatRgb]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -2421,6 +2697,7 @@ class BlockedVectorFloatRgb: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -2441,6 +2718,7 @@ class BlockedVectorFloatRgb: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -2455,11 +2733,14 @@ class BlockedVectorFloatRgb: """ ... -class BlockedVectorInt: +class BlockedVectorInt(MSPyBentleyGeom.BlockedVectorIntT): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Abs(self: MSPyBentleyGeom.BlockedVectorInt) -> None: """ Set each entry to its absolute value @@ -2520,6 +2801,7 @@ class BlockedVectorInt: """ ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -2541,6 +2823,7 @@ class BlockedVectorInt: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorIntT, source: MSPyBentleyGeom.Int32Array) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -2598,7 +2881,13 @@ class BlockedVectorInt: eNegate """ - def __init__(self: MSPyBentleyGeom.BlockedVectorInt.IndexAction, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eForceNegative: IndexAction @@ -2684,7 +2973,13 @@ class BlockedVectorInt: def TryGet(self: MSPyBentleyGeom.BlockedVectorIntT, index: int, defaultValue: int) -> Tuple[bool, int]: ... - def __init__(self: MSPyBentleyGeom.BlockedVectorInt) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def append(self: MSPyBentleyGeom.Int32Array, x: int) -> None: @@ -2713,6 +3008,7 @@ class BlockedVectorInt: eNone: IndexAction + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -2733,6 +3029,7 @@ class BlockedVectorInt: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -2753,11 +3050,14 @@ class BlockedVectorInt: """ ... -class BlockedVectorIntT: +class BlockedVectorIntT(MSPyBentleyGeom.Int32Array): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorIntT) -> bool: ... @@ -2765,6 +3065,7 @@ class BlockedVectorIntT: def Active(arg0: MSPyBentleyGeom.BlockedVectorIntT, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -2783,6 +3084,7 @@ class BlockedVectorIntT: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorIntT, source: MSPyBentleyGeom.Int32Array) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -2843,6 +3145,13 @@ class BlockedVectorIntT: def TryGet(self: MSPyBentleyGeom.BlockedVectorIntT, index: int, defaultValue: int) -> Tuple[bool, int]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -2871,6 +3180,7 @@ class BlockedVectorIntT: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -2891,6 +3201,7 @@ class BlockedVectorIntT: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -2911,11 +3222,14 @@ class BlockedVectorIntT: """ ... -class BlockedVectorPolyfaceEdgeChain: +class BlockedVectorPolyfaceEdgeChain(MSPyBentleyGeom.PolyfaceEdgeChainArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorPolyfaceEdgeChain) -> bool: ... @@ -2923,6 +3237,7 @@ class BlockedVectorPolyfaceEdgeChain: def Active(arg0: MSPyBentleyGeom.BlockedVectorPolyfaceEdgeChain, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -2941,6 +3256,7 @@ class BlockedVectorPolyfaceEdgeChain: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorPolyfaceEdgeChain, source: MSPyBentleyGeom.PolyfaceEdgeChainArray) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -3001,6 +3317,13 @@ class BlockedVectorPolyfaceEdgeChain: def TryGet(self: MSPyBentleyGeom.BlockedVectorPolyfaceEdgeChain, index: int, defaultValue: MSPyBentleyGeom.PolyfaceEdgeChain) -> Tuple[bool, MSPyBentleyGeom.PolyfaceEdgeChain]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3023,6 +3346,7 @@ class BlockedVectorPolyfaceEdgeChain: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -3043,6 +3367,7 @@ class BlockedVectorPolyfaceEdgeChain: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -3057,11 +3382,14 @@ class BlockedVectorPolyfaceEdgeChain: """ ... -class BlockedVectorRgbFactor: +class BlockedVectorRgbFactor(MSPyBentleyGeom.RgbFactorArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorRgbFactor) -> bool: ... @@ -3069,6 +3397,7 @@ class BlockedVectorRgbFactor: def Active(arg0: MSPyBentleyGeom.BlockedVectorRgbFactor, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -3087,6 +3416,7 @@ class BlockedVectorRgbFactor: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorRgbFactor, source: MSPyBentleyGeom.RgbFactorArray) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -3147,6 +3477,13 @@ class BlockedVectorRgbFactor: def TryGet(self: MSPyBentleyGeom.BlockedVectorRgbFactor, index: int, defaultValue: MSPyBentleyGeom.RgbFactor) -> Tuple[bool, MSPyBentleyGeom.RgbFactor]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3169,6 +3506,7 @@ class BlockedVectorRgbFactor: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -3189,6 +3527,7 @@ class BlockedVectorRgbFactor: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -3203,11 +3542,14 @@ class BlockedVectorRgbFactor: """ ... -class BlockedVectorUInt32: +class BlockedVectorUInt32(MSPyBentleyGeom.UInt32Array): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Active(arg0: MSPyBentleyGeom.BlockedVectorUInt32) -> bool: ... @@ -3215,6 +3557,7 @@ class BlockedVectorUInt32: def Active(arg0: MSPyBentleyGeom.BlockedVectorUInt32, arg1: bool) -> None: ... + @staticmethod def Append(*args, **kwargs): """ Overloaded function. @@ -3233,6 +3576,7 @@ class BlockedVectorUInt32: def ClearAndAppend(self: MSPyBentleyGeom.BlockedVectorUInt32, source: MSPyBentleyGeom.UInt32Array) -> None: ... + @staticmethod def ClearAndAppendBlock(*args, **kwargs): """ Overloaded function. @@ -3293,6 +3637,13 @@ class BlockedVectorUInt32: def TryGet(self: MSPyBentleyGeom.BlockedVectorUInt32, index: int, defaultValue: int) -> Tuple[bool, int]: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3321,6 +3672,7 @@ class BlockedVectorUInt32: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -3341,6 +3693,7 @@ class BlockedVectorUInt32: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -3366,6 +3719,16 @@ class BoolArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3398,6 +3761,7 @@ class BoolArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -3418,6 +3782,7 @@ class BoolArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -3457,7 +3822,13 @@ class BoolSelect: eBoolSelect_FromStructure """ - def __init__(self: MSPyBentleyGeom.BoolSelect, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBoolSelect_FromStructure: BoolSelect @@ -3487,12 +3858,15 @@ class BsplineDisplay: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def curveDisplay(self: MSPyBentleyGeom.BsplineDisplay) -> int: ... @@ -3537,12 +3911,15 @@ class BsplineParam: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def closed(self: MSPyBentleyGeom.BsplineParam) -> int: ... @@ -3595,18 +3972,19 @@ class ClipPlane: ... @staticmethod - def ClipPlaneToRange(range: DRange3d, plane: DPlane3d, clippedPoints: List[DPoint3d], largeRectangle: List[DPoint3d] = None) -> None: + def ClipPlaneToRange(range: DRange3d, plane: DPlane3d, clippedPoints: list[DPoint3d], largeRectangle: list[DPoint3d] = None) -> None: """ Return the (possibly empty) polygon of intersection between a DRange3d and an (unbounded) plane. """ ... + @staticmethod def ConvexPolygonClipInPlace(*args, **kwargs): """ Overloaded function. - 1. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: List[DPoint3d], work: List[DPoint3d], onPlaneHandling: int) -> None + 1. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: list[DPoint3d], work: list[DPoint3d], onPlaneHandling: int) -> None Clip a convex polygon. caller supplies work and altitude arrays as works space. result is written inplace to xyz. @@ -3617,7 +3995,7 @@ class ClipPlane: * onPlaneHandling= -1 means treat all-on as (output) - 2. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: List[DPoint3d], work: List[DPoint3d]) -> None + 2. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: list[DPoint3d], work: list[DPoint3d]) -> None Clip a convex polygon. caller supplies work and altitude arrays as works space. result is written inplace to xyz. @@ -3639,7 +4017,51 @@ class ClipPlane: * onPlaneHandling= -1 means treat all-on as (output) - 4. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: list, work: list) -> None + 4. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: list[DPoint3d], work: list, onPlaneHandling: int) -> None + + Clip a convex polygon. caller supplies work and altitude arrays as + works space. result is written inplace to xyz. + + * onPlaneHandling=0 means no special handling for all-oin. + + * onPlaneHandling=1 means treat all-on as (input) + + * onPlaneHandling= -1 means treat all-on as (output) + + 5. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: list, work: list[DPoint3d], onPlaneHandling: int) -> None + + Clip a convex polygon. caller supplies work and altitude arrays as + works space. result is written inplace to xyz. + + * onPlaneHandling=0 means no special handling for all-oin. + + * onPlaneHandling=1 means treat all-on as (input) + + * onPlaneHandling= -1 means treat all-on as (output) + + 6. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: list, work: list) -> None + + Clip a convex polygon. caller supplies work and altitude arrays as + works space. result is written inplace to xyz. + + * onPlaneHandling=0 means no special handling for all-oin. + + * onPlaneHandling=1 means treat all-on as (input) + + * onPlaneHandling= -1 means treat all-on as (output) + + 7. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: list[DPoint3d], work: list) -> None + + Clip a convex polygon. caller supplies work and altitude arrays as + works space. result is written inplace to xyz. + + * onPlaneHandling=0 means no special handling for all-oin. + + * onPlaneHandling=1 means treat all-on as (input) + + * onPlaneHandling= -1 means treat all-on as (output) + + 8. ConvexPolygonClipInPlace(self: MSPyBentleyGeom.ClipPlane, xyz: list, work: list[DPoint3d]) -> None Clip a convex polygon. caller supplies work and altitude arrays as works space. result is written inplace to xyz. @@ -3652,7 +4074,7 @@ class ClipPlane: """ ... - def ConvexPolygonSplitInsideOutside(self: MSPyBentleyGeom.ClipPlane, xyz: List[DPoint3d], xyzIn: List[DPoint3d], xyzOut: List[DPoint3d], altitudeRange: DRange1d) -> None: + def ConvexPolygonSplitInsideOutside(self: MSPyBentleyGeom.ClipPlane, xyz: list[DPoint3d], xyzIn: list[DPoint3d], xyzOut: list[DPoint3d], altitudeRange: DRange1d) -> None: """ (input) original polygon (output) inside part (output) outside part (output) min and max altitude values. @@ -3666,6 +4088,7 @@ class ClipPlane: def DPlane4d(arg0: MSPyBentleyGeom.ClipPlane, arg1: DPoint4d) -> None: ... + @staticmethod def DotProduct(*args, **kwargs): """ Overloaded function. @@ -3687,7 +4110,7 @@ class ClipPlane: ... @staticmethod - def FindPointOnBothPlanes(data: List[DPoint3d], plane0: MSPyBentleyGeom.ClipPlane, plane1: MSPyBentleyGeom.ClipPlane, tolerance: float) -> MSPyBentleyGeom.ValidatedSize: + def FindPointOnBothPlanes(data: list[DPoint3d], plane0: MSPyBentleyGeom.ClipPlane, plane1: MSPyBentleyGeom.ClipPlane, tolerance: float) -> MSPyBentleyGeom.ValidatedSize: """ Search an array of points for the first index at which the point is on both of two planes. @@ -3711,7 +4134,7 @@ class ClipPlane: ... @staticmethod - def FromPointsAndDistanceAlongPlaneNormal(points: List[DPoint3d], upVector: DVec3d, distance: float, pointInside: bool) -> MSPyBentleyGeom.ValidatedClipPlane: + def FromPointsAndDistanceAlongPlaneNormal(points: list[DPoint3d], upVector: DVec3d, distance: float, pointInside: bool) -> MSPyBentleyGeom.ValidatedClipPlane: """ Create a clip plane perpendicular to upVvector, positioned a distance forward or backward of given points. ul> li @@ -3755,6 +4178,7 @@ class ClipPlane: """ ... + @staticmethod def GetLocalToWorldTransform(*args, **kwargs): """ Overloaded function. @@ -3790,6 +4214,7 @@ class ClipPlane: """ ... + @staticmethod def IsPointOnOrInside(*args, **kwargs): """ Overloaded function. @@ -3806,8 +4231,7 @@ class ClipPlane: def IsVisible(self: MSPyBentleyGeom.ClipPlane) -> bool: """ - Return whether cut for this flag should be displayed (!invisible && - !isInterior); + Return whether cut for this flag should be displayed (!invisible!isInterior); """ ... @@ -3830,10 +4254,9 @@ class ClipPlane: """ ... - def PolygonCrossings(self: MSPyBentleyGeom.ClipPlane, xyz: List[DPoint3d], crossings: List[DPoint3d]) -> None: + def PolygonCrossings(self: MSPyBentleyGeom.ClipPlane, xyz: list[DPoint3d], crossings: list[DPoint3d]) -> None: """ - Return crossings of all edges of a polygon (including final closure) - This uses simple zero tests -- does not try to filter double data at + Return crossings of all edges of a polygon (including final closure) -> This uses simple zero tests -- does not try to filter double data at vertex-on-plane case """ ... @@ -3841,6 +4264,7 @@ class ClipPlane: def SetDPlane4d(self: MSPyBentleyGeom.ClipPlane, plane: DPoint4d) -> None: ... + @staticmethod def SetFlags(*args, **kwargs): """ Overloaded function. @@ -3870,6 +4294,13 @@ class ClipPlane: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3889,6 +4320,16 @@ class ClipPlaneArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3915,6 +4356,7 @@ class ClipPlaneArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -3935,6 +4377,7 @@ class ClipPlaneArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -3960,7 +4403,13 @@ class ClipPlaneContainment: eClipPlaneContainment_StronglyOutside """ - def __init__(self: MSPyBentleyGeom.ClipPlaneContainment, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eClipPlaneContainment_Ambiguous: ClipPlaneContainment @@ -3977,16 +4426,20 @@ class ClipPlaneContainment: def value(arg0: MSPyBentleyGeom.ClipPlaneContainment) -> int: ... -class ClipPlaneSet: +class ClipPlaneSet(MSPyBentleyGeom.ConvexClipPlaneSetArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + @staticmethod def AppendCrossings(*args, **kwargs): """ Overloaded function. - 1. AppendCrossings(self: MSPyBentleyGeom.ClipPlaneSet, curves: CurveVector, crossings: List[CurveLocationDetailPair]) -> None + 1. AppendCrossings(self: MSPyBentleyGeom.ClipPlaneSet, curves: CurveVector, crossings: list[CurveLocationDetailPair]) -> None Compute crossings of this ClipPlaneSet with curve primitives within a CurveVector. @@ -3997,7 +4450,7 @@ class ClipPlaneSet: :param (output): crossings detailed crossing data. - 2. AppendCrossings(self: MSPyBentleyGeom.ClipPlaneSet, curve: ICurvePrimitive, crossings: List[CurveLocationDetailPair]) -> None + 2. AppendCrossings(self: MSPyBentleyGeom.ClipPlaneSet, curve: ICurvePrimitive, crossings: list[CurveLocationDetailPair]) -> None Compute crossings of this ClipPlaneSet with curve primitives within a CurveVector. @@ -4010,19 +4463,32 @@ class ClipPlaneSet: """ ... + @staticmethod def AppendIntervals(*args, **kwargs): """ Overloaded function. - 1. AppendIntervals(self: MSPyBentleyGeom.ClipPlaneSet, segment: DSegment3d, intervals: List[DSegment1d]) -> None + 1. AppendIntervals(self: MSPyBentleyGeom.ClipPlaneSet, segment: DSegment3d, intervals: list[DSegment1d]) -> None Enumerate the " in " intervals .. the array is NOT cleared - 2. AppendIntervals(self: MSPyBentleyGeom.ClipPlaneSet, arc: DEllipse3d, intervals: List[DSegment1d]) -> None + 2. AppendIntervals(self: MSPyBentleyGeom.ClipPlaneSet, segment: DSegment3d, intervals: list) -> None Enumerate the " in " intervals .. the array is NOT cleared - 3. AppendIntervals(self: MSPyBentleyGeom.ClipPlaneSet, curve: MSBsplineCurve, intervals: List[DSegment1d]) -> None + 3. AppendIntervals(self: MSPyBentleyGeom.ClipPlaneSet, arc: DEllipse3d, intervals: list[DSegment1d]) -> None + + Enumerate the " in " intervals .. the array is NOT cleared + + 4. AppendIntervals(self: MSPyBentleyGeom.ClipPlaneSet, arc: DEllipse3d, intervals: list) -> None + + Enumerate the " in " intervals .. the array is NOT cleared + + 5. AppendIntervals(self: MSPyBentleyGeom.ClipPlaneSet, curve: MSBsplineCurve, intervals: list[DSegment1d]) -> None + + Enumerate the " in " intervals .. the array is NOT cleared + + 6. AppendIntervals(self: MSPyBentleyGeom.ClipPlaneSet, curve: MSBsplineCurve, intervals: list) -> None Enumerate the " in " intervals .. the array is NOT cleared """ @@ -4032,7 +4498,7 @@ class ClipPlaneSet: def ClassifyCurvePrimitiveInSetDifference(curve: ICurvePrimitive, clipSet: MSPyBentleyGeom.ClipPlaneSet, maskSet: MSPyBentleyGeom.ClipPlaneSet) -> MSPyBentleyGeom.ClipPlaneContainment: """ Determine if a CurveVector is completely in, completely out, or mixed - with respect to a postive ClipPlaneSet and a mask (hole) ClipPlaneSet. + with respect to a postive ClipPlaneSet and a mask (hole) -> ClipPlaneSet. :param curve: (input) curve to test @@ -4049,7 +4515,7 @@ class ClipPlaneSet: def ClassifyCurveVectorInSetDifference(curves: CurveVector, clipSet: MSPyBentleyGeom.ClipPlaneSet, maskSet: MSPyBentleyGeom.ClipPlaneSet, considerRegions: bool) -> MSPyBentleyGeom.ClipPlaneContainment: """ Determine if a CurveVector is completely in, completely out, or mixed - with respect to a postive ClipPlaneSet and a mask (hole) ClipPlaneSet. + with respect to a postive ClipPlaneSet and a mask (hole) -> ClipPlaneSet. :param curves: (input) curves or region to clip. @@ -4085,7 +4551,7 @@ class ClipPlaneSet: def ClassifyPolyfaceInSetDifference(polyface: PolyfaceQuery, clipSet: MSPyBentleyGeom.ClipPlaneSet, maskSet: MSPyBentleyGeom.ClipPlaneSet) -> MSPyBentleyGeom.ClipPlaneContainment: """ Determine if a Polyface is completely in, completely out, or mixed - with respect to a postive ClipPlaneSet and a mask (hole) ClipPlaneSet. + with respect to a postive ClipPlaneSet and a mask (hole) -> ClipPlaneSet. :param polyface: (input) polyface to test @@ -4163,8 +4629,7 @@ class ClipPlaneSet: @staticmethod def ClipToSetDifference(polyface: PolyfaceQuery, clipSet: MSPyBentleyGeom.ClipPlaneSet, maskSet: MSPyBentleyGeom.ClipPlaneSet) -> tuple: """ - Clip a polyface to a a postive ClipPlaneSet and a mask (hole) - ClipPlaneSet. + Clip a polyface to a a postive ClipPlaneSet and a mask (hole) -> ClipPlaneSet. :param polyface: (input) polyface to test @@ -4188,7 +4653,7 @@ class ClipPlaneSet: """ Overloaded function. - 1. FromSweptPolygon(points: List[DPoint3d], direction: DVec3d = None) -> MSPyBentleyGeom.ClipPlaneSet + 1. FromSweptPolygon(points: list[DPoint3d], direction: DVec3d = None) -> MSPyBentleyGeom.ClipPlaneSet Create a (chain of) convex clippers for an (unbounded) polygon sweep in given direction. polygon may have disconnects. default sweep @@ -4214,6 +4679,7 @@ class ClipPlaneSet: """ ... + @staticmethod def IsAnyPointInOrOn(*args, **kwargs): """ Overloaded function. @@ -4258,7 +4724,7 @@ class ClipPlaneSet: ... @staticmethod - def SweptPolygonClipPolyface(polyface: PolyfaceQuery, polygon: List[DPoint3d], sweepDirection: DVec3d, constructNewFacetsOnClipSetPlanes: bool) -> tuple: + def SweptPolygonClipPolyface(polyface: PolyfaceQuery, polygon: list[DPoint3d], sweepDirection: DVec3d, constructNewFacetsOnClipSetPlanes: bool) -> tuple: """ Clip a polyface to a swept polygon. This produces side faces where the sweep makes a closed cut. If the polyface is not closed, cut faces may @@ -4297,6 +4763,13 @@ class ClipPlaneSet: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4321,6 +4794,7 @@ class ClipPlaneSet: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4341,6 +4815,7 @@ class ClipPlaneSet: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4408,6 +4883,13 @@ class CompoundDrawState: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4420,18 +4902,21 @@ class CompoundDrawState: """ ... -class ConvexClipPlaneSet: +class ConvexClipPlaneSet(MSPyBentleyGeom.ClipPlaneArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Add(self: MSPyBentleyGeom.ConvexClipPlaneSet, plane: MSPyBentleyGeom.ValidatedClipPlane) -> bool: """ Add the plane if it is valid. """ ... - def AddSweptPolyline(self: MSPyBentleyGeom.ConvexClipPlaneSet, points: List[DPoint3d], upVector: DVec3d, tiltAngle: MSPyBentleyGeom.Angle) -> None: + def AddSweptPolyline(self: MSPyBentleyGeom.ConvexClipPlaneSet, points: list[DPoint3d], upVector: DVec3d, tiltAngle: MSPyBentleyGeom.Angle) -> None: """ Add space " to the left of a polyline ", with left determined by edges and an upvector. ul> li>If teh polyline is closed, an orientation test @@ -4446,11 +4931,12 @@ class ConvexClipPlaneSet: """ ... + @staticmethod def AppendCrossings(*args, **kwargs): """ Overloaded function. - 1. AppendCrossings(self: MSPyBentleyGeom.ConvexClipPlaneSet, curves: CurveVector, crossings: List[CurveLocationDetailPair]) -> None + 1. AppendCrossings(self: MSPyBentleyGeom.ConvexClipPlaneSet, curves: CurveVector, crossings: list[CurveLocationDetailPair]) -> None Compute crossings of this set's planes with curve primitives within a CurveVector. @@ -4461,7 +4947,7 @@ class ConvexClipPlaneSet: :param (output): crossings detailed crossing data. - 2. AppendCrossings(self: MSPyBentleyGeom.ConvexClipPlaneSet, curve: ICurvePrimitive, crossings: List[CurveLocationDetailPair]) -> None + 2. AppendCrossings(self: MSPyBentleyGeom.ConvexClipPlaneSet, curve: ICurvePrimitive, crossings: list[CurveLocationDetailPair]) -> None Compute crossings of this set's planes with curve primitives within a CurveVector. @@ -4474,17 +4960,30 @@ class ConvexClipPlaneSet: """ ... + @staticmethod def AppendIntervals(*args, **kwargs): """ Overloaded function. - 1. AppendIntervals(self: MSPyBentleyGeom.ConvexClipPlaneSet, arc: DEllipse3d, intervals: List[DSegment1d], planeSign: float = 1.0) -> bool + 1. AppendIntervals(self: MSPyBentleyGeom.ConvexClipPlaneSet, arc: DEllipse3d, intervals: list[DSegment1d], planeSign: float = 1.0) -> bool + + Enumerate the " in " intervals .. the array is NOT cleared If the + intervals array is nullptr, returns true immediately when any interior + interval is found. + + 2. AppendIntervals(self: MSPyBentleyGeom.ConvexClipPlaneSet, arc: DEllipse3d, intervals: list, planeSign: float = 1.0) -> bool Enumerate the " in " intervals .. the array is NOT cleared If the intervals array is nullptr, returns true immediately when any interior interval is found. - 2. AppendIntervals(self: MSPyBentleyGeom.ConvexClipPlaneSet, curve: MSBsplineCurve, intervals: List[DSegment1d]) -> bool + 3. AppendIntervals(self: MSPyBentleyGeom.ConvexClipPlaneSet, curve: MSBsplineCurve, intervals: list[DSegment1d]) -> bool + + Enumerate the " in " intervals .. the array is NOT cleared If the + intervals array is nullptr, returns true immediately when any interior + interval is found. + + 4. AppendIntervals(self: MSPyBentleyGeom.ConvexClipPlaneSet, curve: MSBsplineCurve, intervals: list) -> bool Enumerate the " in " intervals .. the array is NOT cleared If the intervals array is nullptr, returns true immediately when any interior @@ -4513,7 +5012,7 @@ class ConvexClipPlaneSet: """ ... - def ClipPointsOnOrInside(self: MSPyBentleyGeom.ConvexClipPlaneSet, points: List[DPoint3d], inOrOn: List[DPoint3d], out: List[DPoint3d]) -> None: + def ClipPointsOnOrInside(self: MSPyBentleyGeom.ConvexClipPlaneSet, points: list[DPoint3d], inOrOn: list[DPoint3d], out_: list[DPoint3d]) -> None: """ Clip points. """ @@ -4525,30 +5024,79 @@ class ConvexClipPlaneSet: """ ... + @staticmethod def ConvexPolygonClip(*args, **kwargs): """ Overloaded function. - 1. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: List[DPoint3d], output: List[DPoint3d], work: List[DPoint3d]) -> None + 1. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list[DPoint3d], output: list[DPoint3d], work: list[DPoint3d]) -> None + + Return the (polygon) of intersection + + 2. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list, work: list) -> None Return the (polygon) of intersection - 2. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: List[DPoint3d], output: List[DPoint3d], work: List[DPoint3d], onPlaneHandling: int) -> None + 3. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list, work: list[DPoint3d]) -> None Return the (polygon) of intersection - 3. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list, work: list) -> None + 4. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list[DPoint3d], work: list) -> None Return the (polygon) of intersection - 4. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list, work: list, onPlaneHandling: int) -> None + 5. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list[DPoint3d], output: list, work: list) -> None + + Return the (polygon) of intersection + + 6. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list[DPoint3d], output: list[DPoint3d], work: list) -> None + + Return the (polygon) of intersection + + 7. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list[DPoint3d], output: list, work: list[DPoint3d]) -> None + + Return the (polygon) of intersection + + 8. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list[DPoint3d], work: list[DPoint3d]) -> None + + Return the (polygon) of intersection + + 9. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list[DPoint3d], output: list[DPoint3d], work: list[DPoint3d], onPlaneHandling: int) -> None + + Return the (polygon) of intersection + + 10. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list, work: list, onPlaneHandling: int) -> None + + Return the (polygon) of intersection + + 11. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list, work: list[DPoint3d], onPlaneHandling: int) -> None + + Return the (polygon) of intersection + + 12. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list[DPoint3d], work: list, onPlaneHandling: int) -> None + + Return the (polygon) of intersection + + 13. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list[DPoint3d], output: list, work: list, onPlaneHandling: int) -> None + + Return the (polygon) of intersection + + 14. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list[DPoint3d], output: list[DPoint3d], work: list, onPlaneHandling: int) -> None + + Return the (polygon) of intersection + + 15. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list[DPoint3d], output: list, work: list[DPoint3d], onPlaneHandling: int) -> None + + Return the (polygon) of intersection + + 16. ConvexPolygonClip(self: MSPyBentleyGeom.ConvexClipPlaneSet, input: list, output: list[DPoint3d], work: list[DPoint3d], onPlaneHandling: int) -> None Return the (polygon) of intersection """ ... @staticmethod - def FromXYPolyLine(points: List[DPoint3d], hiddenEdge: MSPyBentleyGeom.BoolArray, leftIsInside: bool) -> MSPyBentleyGeom.ConvexClipPlaneSet: + def FromXYPolyLine(points: list[DPoint3d], hiddenEdge: MSPyBentleyGeom.BoolArray, leftIsInside: bool) -> MSPyBentleyGeom.ConvexClipPlaneSet: """ Create clip plane set for regiosn to one side of a polyline. If hiddenEdge is an empty array, all clips are marked as regular @@ -4590,7 +5138,7 @@ class ConvexClipPlaneSet: """ ... - def ReloadSweptConvexPolygon(self: MSPyBentleyGeom.ConvexClipPlaneSet, points: List[DPoint3d], sweepDirection: DVec3d, sideSelect: int) -> int: + def ReloadSweptConvexPolygon(self: MSPyBentleyGeom.ConvexClipPlaneSet, points: list[DPoint3d], sweepDirection: DVec3d, sideSelect: int) -> int: """ reinitialize to clip to a swept polygon. ul> li> 1 -- success, and the sweep vector and polygon area normal have positive dot product li> -1 @@ -4606,6 +5154,13 @@ class ConvexClipPlaneSet: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4630,6 +5185,7 @@ class ConvexClipPlaneSet: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4650,6 +5206,7 @@ class ConvexClipPlaneSet: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4669,6 +5226,16 @@ class ConvexClipPlaneSetArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4695,6 +5262,7 @@ class ConvexClipPlaneSetArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4715,6 +5283,7 @@ class ConvexClipPlaneSetArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4734,7 +5303,13 @@ class CurveAndSolidLocationDetail: None """ - def __init__(self: MSPyBentleyGeom.CurveAndSolidLocationDetail, curveDetail: MSPyBentleyGeom.CurveLocationDetail, solidDetail: MSPyBentleyGeom.SolidLocationDetail) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -4756,6 +5331,16 @@ class CurveAndSolidLocationDetailArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4782,6 +5367,7 @@ class CurveAndSolidLocationDetailArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4802,6 +5388,7 @@ class CurveAndSolidLocationDetailArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4847,7 +5434,11 @@ class CurveCurve: 1. CollectBlends(curveA: MSPyBentleyGeom.ICurvePrimitive, curveB: MSPyBentleyGeom.ICurvePrimitive, blendType: MSPyBentleyGeom.BlendType, distanceA: float, distanceB: float, extend: bool, blendCurves: MSPyBentleyGeom.BlendDetailArray) -> None - 2. CollectBlends(chainA: MSPyBentleyGeom.CurveVector, chainB: MSPyBentleyGeom.CurveVector, blendType: MSPyBentleyGeom.BlendType, distanceA: float, distanceB: float, extend: bool, blendCurves: MSPyBentleyGeom.BlendDetailArray) -> None + 2. CollectBlends(curveA: MSPyBentleyGeom.ICurvePrimitive, curveB: MSPyBentleyGeom.ICurvePrimitive, blendType: MSPyBentleyGeom.BlendType, distanceA: float, distanceB: float, extend: bool, blendCurves: list) -> None + + 3. CollectBlends(chainA: MSPyBentleyGeom.CurveVector, chainB: MSPyBentleyGeom.CurveVector, blendType: MSPyBentleyGeom.BlendType, distanceA: float, distanceB: float, extend: bool, blendCurves: MSPyBentleyGeom.BlendDetailArray) -> None + + 4. CollectBlends(chainA: MSPyBentleyGeom.CurveVector, chainB: MSPyBentleyGeom.CurveVector, blendType: MSPyBentleyGeom.BlendType, distanceA: float, distanceB: float, extend: bool, blendCurves: list) -> None """ ... @@ -4858,7 +5449,11 @@ class CurveCurve: 1. CollectFilletArcs(curveA: MSPyBentleyGeom.ICurvePrimitive, curveB: MSPyBentleyGeom.ICurvePrimitive, radius: float, extend: bool, arcs: MSPyBentleyGeom.FilletDetailArray) -> None - 2. CollectFilletArcs(chainA: MSPyBentleyGeom.CurveVector, chainB: MSPyBentleyGeom.CurveVector, radius: float, extend: bool, arcs: MSPyBentleyGeom.FilletDetailArray) -> None + 2. CollectFilletArcs(curveA: MSPyBentleyGeom.ICurvePrimitive, curveB: MSPyBentleyGeom.ICurvePrimitive, radius: float, extend: bool, arcs: list) -> None + + 3. CollectFilletArcs(chainA: MSPyBentleyGeom.CurveVector, chainB: MSPyBentleyGeom.CurveVector, radius: float, extend: bool, arcs: MSPyBentleyGeom.FilletDetailArray) -> None + + 4. CollectFilletArcs(chainA: MSPyBentleyGeom.CurveVector, chainB: MSPyBentleyGeom.CurveVector, radius: float, extend: bool, arcs: list) -> None """ ... @@ -4867,12 +5462,15 @@ class CurveCurve: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def arc(self: MSPyBentleyGeom.CurveCurve.FilletDetail) -> DEllipse3d: ... @@ -4960,7 +5558,7 @@ class CurveCurve: ... @staticmethod - def TransverseRegionIntersectionSegments(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, segments: List[DSegment3d]) -> bool: + def TransverseRegionIntersectionSegments(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, segments: list[DSegment3d]) -> bool: """ Determine the line of intersection of the planes of the two containing planes. In that line, find all segments as split by the two curve @@ -4969,12 +5567,15 @@ class CurveCurve: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class CurveGapOptions: """ None @@ -5060,6 +5661,13 @@ class CurveGapOptions: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5108,7 +5716,13 @@ class CurveKeyPointCollector: eNumTypes """ - def __init__(self: MSPyBentleyGeom.CurveKeyPointCollector.KeyPointType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBreakPoint: KeyPointType @@ -5141,7 +5755,13 @@ class CurveKeyPointCollector: """ ... - def __init__(self: MSPyBentleyGeom.CurveKeyPointCollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBreakPoint: KeyPointType @@ -5154,7 +5774,7 @@ class CurveKeyPointCollector: eTangency: KeyPointType -class CurveKeyPoint_ClosestPointCollector: +class CurveKeyPoint_ClosestPointCollector(MSPyBentleyGeom.CurveKeyPointCollector): """ None """ @@ -5205,7 +5825,13 @@ class CurveKeyPoint_ClosestPointCollector: eNumTypes """ - def __init__(self: MSPyBentleyGeom.CurveKeyPointCollector.KeyPointType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBreakPoint: KeyPointType @@ -5238,7 +5864,13 @@ class CurveKeyPoint_ClosestPointCollector: """ ... - def __init__(self: MSPyBentleyGeom.CurveKeyPoint_ClosestPointCollector, biasPoint: DPoint3d) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBreakPoint: KeyPointType @@ -5268,6 +5900,7 @@ class CurveLocationDetail: """ ... + @staticmethod def Interpolate(*args, **kwargs): """ Overloaded function. @@ -5292,7 +5925,7 @@ class CurveLocationDetail: """ Set the componentIndex, numComponent, componentFraction, and fraction. (Component fraction and index are computed from global fraction and - indices) All other data (point, curve pointer, a) is left unchanged. + indices) -> All other data (point, curve pointer, a) is left unchanged. """ ... @@ -5364,6 +5997,13 @@ class CurveLocationDetail: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5431,6 +6071,16 @@ class CurveLocationDetailArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5457,6 +6107,7 @@ class CurveLocationDetailArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -5477,6 +6128,7 @@ class CurveLocationDetailArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -5509,6 +6161,7 @@ class CurveLocationDetailPair: """ ... + @staticmethod def Set(*args, **kwargs): """ Overloaded function. @@ -5523,6 +6176,13 @@ class CurveLocationDetailPair: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5560,6 +6220,16 @@ class CurveLocationDetailPairArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5586,6 +6256,7 @@ class CurveLocationDetailPairArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -5606,6 +6277,7 @@ class CurveLocationDetailPairArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -5716,7 +6388,13 @@ class CurveOffsetOptions: def Tolerance(arg0: MSPyBentleyGeom.CurveOffsetOptions, arg1: float) -> None: ... - def __init__(self: MSPyBentleyGeom.CurveOffsetOptions, offsetDistance: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class CurveParameterMapping: @@ -5730,7 +6408,13 @@ class CurveParameterMapping: eCURVE_PARAMETER_MAPPING_CurveFraction """ - def __init__(self: MSPyBentleyGeom.CurveParameterMapping, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCURVE_PARAMETER_MAPPING_BezierFraction: CurveParameterMapping @@ -5836,6 +6520,13 @@ class CurvePrimitiveId: def Type(arg0: MSPyBentleyGeom.CurvePrimitiveId) -> MSPyBentleyGeom.CurvePrimitiveId.Type: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5880,11 +6571,119 @@ class CurvePrimitiveId: eType_UnusedWasFacetSet: Type +class CurvePrimitivePtrPair: + """ + None + """ + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + + @property + def curveA(self: MSPyBentleyGeom.CurvePrimitivePtrPair) -> ICurvePrimitive: + ... + @curveA.setter + def curveA(self: MSPyBentleyGeom.CurvePrimitivePtrPair, arg0: ICurvePrimitive) -> None: + ... + + @property + def curveB(self: MSPyBentleyGeom.CurvePrimitivePtrPair) -> ICurvePrimitive: + ... + @curveB.setter + def curveB(self: MSPyBentleyGeom.CurvePrimitivePtrPair, arg0: ICurvePrimitive) -> None: + ... + +class CurvePrimitivePtrPairArray: + """ + None + """ + + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod + def __init__(*args, **kwargs): + """ + Overloaded function. + + 1. __init__(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray) -> None + + 2. __init__(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray, arg0: MSPyBentleyGeom.CurvePrimitivePtrPairArray) -> None + + Copy constructor + + 3. __init__(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray, arg0: Iterable) -> None + """ + ... + + def append(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray, x: MSPyBentleyGeom.CurvePrimitivePtrPair) -> None: + """ + Add an item to the end of the list + """ + ... + + def clear(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray) -> None: + """ + Clear the contents + """ + ... + + @staticmethod + def extend(*args, **kwargs): + """ + Overloaded function. + + 1. extend(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray, L: MSPyBentleyGeom.CurvePrimitivePtrPairArray) -> None + + Extend the list by appending all the items in the given list + + 2. extend(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray, L: Iterable) -> None + + Extend the list by appending all the items in the given list + """ + ... + + def insert(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray, i: int, x: MSPyBentleyGeom.CurvePrimitivePtrPair) -> None: + """ + Insert an item at a given position. + """ + ... + + @staticmethod + def pop(*args, **kwargs): + """ + Overloaded function. + + 1. pop(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray) -> MSPyBentleyGeom.CurvePrimitivePtrPair + + Remove and return the last item + + 2. pop(self: MSPyBentleyGeom.CurvePrimitivePtrPairArray, i: int) -> MSPyBentleyGeom.CurvePrimitivePtrPair + + Remove and return the item at index ``i`` + """ + ... + class CurveTopologyId: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @staticmethod def AddCurveVectorIds(curveVector: CurveVector, type: MSPyBentleyGeom.CurvePrimitiveId.Type, id: MSPyBentleyGeom.CurveTopologyId, cds: MSPyBentleyGeom.CompoundDrawState) -> BentleyStatus: ... @@ -6071,6 +6870,7 @@ class CurveTopologyId: """ ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -6101,6 +6901,13 @@ class CurveTopologyId: def Type(arg0: MSPyBentleyGeom.CurveTopologyId) -> MSPyBentleyGeom.CurveTopologyId.Type: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -6182,6 +6989,16 @@ class CurveTopologyIdArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -6214,6 +7031,7 @@ class CurveTopologyIdArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -6234,6 +7052,7 @@ class CurveTopologyIdArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -6259,6 +7078,10 @@ class CurveVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + @staticmethod def Add(*args, **kwargs): """ Overloaded function. @@ -6280,14 +7103,8 @@ class CurveVector: """ ... - def AddSpacedPoints(*args, **kwargs): + def AddSpacedPoints(self: MSPyBentleyGeom.CurveVector, distances: MSPyBentleyGeom.DoubleArray, locations: MSPyBentleyGeom.CurveLocationDetailArray) -> bool: """ - Overloaded function. - - 1. AddSpacedPoints(self: MSPyBentleyGeom.CurveVector, distances: MSPyBentleyGeom.DoubleArray, locations: MSPyBentleyGeom.CurveLocationDetailArray) -> bool - - 2. AddSpacedPoints(self: MSPyBentleyGeom.CurveVector, distances: MSPyBentleyGeom.DoubleArray, locations: MSPyBentleyGeom.CurveLocationDetailArray) -> bool - Compute points at (many) specified distances along the (many) curves in the CurveVector. Intervals between successive distances can " jump " from one curve to the next. If curves to not connect head to tail, the @@ -6303,14 +7120,8 @@ class CurveVector: """ ... - def AddStrokePoints(*args, **kwargs): + def AddStrokePoints(self: MSPyBentleyGeom.CurveVector, points: list[DPoint3d], options: IFacetOptions) -> None: """ - Overloaded function. - - 1. AddStrokePoints(self: MSPyBentleyGeom.CurveVector, points: List[DPoint3d], options: IFacetOptions) -> None - - 2. AddStrokePoints(self: MSPyBentleyGeom.CurveVector, points: List[DPoint3d], options: IFacetOptions) -> None - Add stroke points form all children to output. Strokes from all children are concatenated into the same vector, separated only by DISCONNECT points. Use Stroke() to get structured strokes. @@ -6324,28 +7135,16 @@ class CurveVector: """ ... - def AnnounceKeyPoints(*args, **kwargs): + def AnnounceKeyPoints(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, collector: MSPyBentleyGeom.CurveKeyPointCollector, extend0: bool, extend1: bool) -> None: """ - Overloaded function. - - 1. AnnounceKeyPoints(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, collector: MSPyBentleyGeom.CurveKeyPointCollector, extend0: bool, extend1: bool) -> None - - 2. AnnounceKeyPoints(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, collector: MSPyBentleyGeom.CurveKeyPointCollector, extend0: bool, extend1: bool) -> None - - Search for various keypoints (as requested by the collector) During + Search for various keypoints (as requested by the collector) -> During recursion, extension bits are changed to false for interior points of paths """ ... - def AppendClosedCurvePlaneIntersections(*args, **kwargs): + def AppendClosedCurvePlaneIntersections(self: MSPyBentleyGeom.CurveVector, plane: DPlane3d, intersections: MSPyBentleyGeom.CurveLocationDetailPairArray, tolerance: float = 0.0) -> bool: """ - Overloaded function. - - 1. AppendClosedCurvePlaneIntersections(self: MSPyBentleyGeom.CurveVector, plane: DPlane3d, intersections: MSPyBentleyGeom.CurveLocationDetailPairArray, tolerance: float = 0.0) -> bool - - 2. AppendClosedCurvePlaneIntersections(self: MSPyBentleyGeom.CurveVector, plane: DPlane3d, intersections: MSPyBentleyGeom.CurveLocationDetailPairArray, tolerance: float = 0.0) -> bool - Compute intersections of closed CurveVector with a plane and organize as start end pairs by parity rules. Intersections are reported as CurveLocationDetailPairs for start and end of segments. @@ -6362,18 +7161,11 @@ class CurveVector: """ ... - def AppendCurvePlaneIntersections(*args, **kwargs): + def AppendCurvePlaneIntersections(self: MSPyBentleyGeom.CurveVector, plane: DPlane3d, intersections: MSPyBentleyGeom.CurveLocationDetailPairArray, tolerance: float = 0.0) -> None: """ - Overloaded function. - - 1. AppendCurvePlaneIntersections(self: MSPyBentleyGeom.CurveVector, plane: DPlane3d, intersections: MSPyBentleyGeom.CurveLocationDetailPairArray, tolerance: float = 0.0) -> None - - 2. AppendCurvePlaneIntersections(self: MSPyBentleyGeom.CurveVector, plane: DPlane3d, intersections: MSPyBentleyGeom.CurveLocationDetailPairArray, tolerance: float = 0.0) -> None - Compute simple points of intersection of the curve with a plane. Single point intersection appears as a CurveLocationDetailPair with - identical locations for both parts of the pair (SameCurveAndFraction) - Curve-on-plane appears as CurveLocationDetailPair with curve,fraction + identical locations for both parts of the pair (SameCurveAndFraction) -> Curve-on-plane appears as CurveLocationDetailPair with curve,fraction data for start and end of on-plane sections. :param (input): @@ -6408,14 +7200,8 @@ class CurveVector: ... @staticmethod - def AreaAnalysis(*args, **kwargs): + def AreaAnalysis(region: MSPyBentleyGeom.CurveVector, select1: MSPyBentleyGeom.AreaSelect, select2: MSPyBentleyGeom.BoolSelect, reverse: bool) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. AreaAnalysis(region: MSPyBentleyGeom.CurveVector, select1: MSPyBentleyGeom.AreaSelect, select2: MSPyBentleyGeom.BoolSelect, reverse: bool) -> MSPyBentleyGeom.CurveVector - - 2. AreaAnalysis(region: MSPyBentleyGeom.CurveVector, select1: MSPyBentleyGeom.AreaSelect, select2: MSPyBentleyGeom.BoolSelect, reverse: bool) -> MSPyBentleyGeom.CurveVector - Return a curve vector containing the " inside " areas by various conditions. @@ -6441,14 +7227,8 @@ class CurveVector: ... @staticmethod - def AreaDifference(*args, **kwargs): + def AreaDifference(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: MSPyBentleyGeom.CurvePrimitivePtrPairArray = None) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. AreaDifference(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: List[CurvePrimitivePtrPair] = None) -> MSPyBentleyGeom.CurveVector - - 2. AreaDifference(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: List[CurvePrimitivePtrPair] = None) -> MSPyBentleyGeom.CurveVector - Return a curve vector containing the difference of input areas. :param (input): @@ -6464,14 +7244,8 @@ class CurveVector: ... @staticmethod - def AreaIntersection(*args, **kwargs): + def AreaIntersection(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: MSPyBentleyGeom.CurvePrimitivePtrPairArray = None) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. AreaIntersection(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: List[CurvePrimitivePtrPair] = None) -> MSPyBentleyGeom.CurveVector - - 2. AreaIntersection(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: List[CurvePrimitivePtrPair] = None) -> MSPyBentleyGeom.CurveVector - Return a curve vector containing the intersection of input areas. :param (input): @@ -6498,14 +7272,8 @@ class CurveVector: ... @staticmethod - def AreaParity(*args, **kwargs): + def AreaParity(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: MSPyBentleyGeom.CurvePrimitivePtrPairArray = None) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. AreaParity(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: List[CurvePrimitivePtrPair] = None) -> MSPyBentleyGeom.CurveVector - - 2. AreaParity(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: List[CurvePrimitivePtrPair] = None) -> MSPyBentleyGeom.CurveVector - Return a curve vector containing the parity of input areas. :param (input): @@ -6521,15 +7289,9 @@ class CurveVector: ... @staticmethod - def AreaUnion(*args, **kwargs): + def AreaUnion(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: MSPyBentleyGeom.CurvePrimitivePtrPairArray = None) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. AreaUnion(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: List[CurvePrimitivePtrPair] = None) -> MSPyBentleyGeom.CurveVector - - 2. AreaUnion(regionA: MSPyBentleyGeom.CurveVector, regionB: MSPyBentleyGeom.CurveVector, newToOld: List[CurvePrimitivePtrPair] = None) -> MSPyBentleyGeom.CurveVector - - Return a curve vector containing the union of input areas. + Return a curve vector containing the of input areas. :param (input): regionA left operand @@ -6543,14 +7305,8 @@ class CurveVector: """ ... - def AssembleChains(*args, **kwargs): + def AssembleChains(self: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. AssembleChains(self: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector - - 2. AssembleChains(self: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector - Join curve primitives head to tail. Return a top level BOUNDARY_TYPE_None containing the various BOUNDARY_TYPE_Open and BOUNDARY_TYPE_Outer @@ -6565,13 +7321,9 @@ class CurveVector: """ Return the centroid and area of the curve vector as viewed in the xy plane. return false if the CurveVector is not one of the area types - (union region, parity region, or closed loop) - - Remark: + (region, parity region, or closed loop) -> Remark: Union region moments are the simple sum of constituents (i.e - overlap is not determined) - - Remark: + overlap is not determined) -> Remark: Parity region moments are signed sum per area, assuming largest is outer and all others are inner (subtractive) @@ -6586,18 +7338,12 @@ class CurveVector: def CentroidNormalArea(self: MSPyBentleyGeom.CurveVector) -> tuple: """ Return the centroid, normal and area of the curve vector. return false - if the CurveVector is not one of the area types (union region, parity - region, or closed loop) - - Remark: + if the CurveVector is not one of the area types (region, parity + region, or closed loop) -> Remark: Union region moments are the simple sum of constituents (i.e - overlap is not determined) - - Remark: + overlap is not determined) -> Remark: Parity region moments are signed sum per area, assuming largest is - outer and all others are inner (subtractive) - - Remark: + outer and all others are inner (subtractive) -> Remark: If curves are non-planar, the centroid and normal are approximations with no particular guarantees. @@ -6618,14 +7364,8 @@ class CurveVector: """ ... - def CloneAsBsplines(*args, **kwargs): + def CloneAsBsplines(self: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. CloneAsBsplines(self: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector - - 2. CloneAsBsplines(self: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector - Return a " deep copy " with primitives replaced by bsplines The tree upper levels of the tree structure are retained -- i.e. the output contains corresponding tree structure ParityRegion, UnionRegion, @@ -6637,27 +7377,30 @@ class CurveVector: """ ... - def CloneBetweenCyclicIndexedFractions(*args, **kwargs): + def CloneBetweenCyclicIndexedFractions(self: MSPyBentleyGeom.CurveVector, index0: int, fraction0: float, index1: int, fraction1: float) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. CloneBetweenCyclicIndexedFractions(self: MSPyBentleyGeom.CurveVector, index0: int, fraction0: float, index1: int, fraction1: float) -> MSPyBentleyGeom.CurveVector - - 2. CloneBetweenCyclicIndexedFractions(self: MSPyBentleyGeom.CurveVector, index0: int, fraction0: float, index1: int, fraction1: float) -> MSPyBentleyGeom.CurveVector - Return a new vector containing curves from index0,fraction0 to index1,fraction1 with the (signed int!!) indices interpretted cyclically. """ ... + @staticmethod def CloneBetweenDirectedFractions(*args, **kwargs): """ Overloaded function. 1. CloneBetweenDirectedFractions(self: MSPyBentleyGeom.CurveVector, index0: int, fraction0: float, index1: int, fraction1: float, allowExtrapolation: bool, usePartialCurves: bool = False) -> MSPyBentleyGeom.CurveVector + Return a new vector containing curves from index0,fraction0 to + index1,fraction1 with the (signed int!!) indices restricted to array + bounds. + 2. CloneBetweenDirectedFractions(self: MSPyBentleyGeom.CurveVector, location0: MSPyBentleyGeom.CurveLocationDetail, location1: MSPyBentleyGeom.CurveLocationDetail, allowExtrapolation: bool = False, usePartialCurves: bool = False) -> MSPyBentleyGeom.CurveVector + + Return a new vector containing curves from index0,fraction0 to + index1,fraction1 with the (signed int!!) indices restricted to array + bounds. """ ... @@ -6725,14 +7468,8 @@ class CurveVector: """ ... - def CloneReversed(*args, **kwargs): + def CloneReversed(self: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. CloneReversed(self: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector - - 2. CloneReversed(self: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector - Return a new curve vector that has all components reversed. """ ... @@ -6766,7 +7503,7 @@ class CurveVector: may be closed by directly moving endopints of lines or linestrings. SuggestedValue:10 to 1000 times the equal point tolerance 3) options.SetRemovePriorGapPrimitives(true):primitives marked as gaps - are purged. (And the gaps are re-closed) Suggested value:true. + are purged. (And the gaps are re-closed) -> Suggested value:true. (default is true) 4) options.SetMaxAdjustAlongPrimitive:points may move this far if the final point is on the extended element. """ @@ -6780,14 +7517,8 @@ class CurveVector: """ ... - def ClosestCurveOrRegionPoint(*args, **kwargs): + def ClosestCurveOrRegionPoint(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, curveOrRegionPoint: DPoint3d) -> MSPyBentleyGeom.CurveVector.InOutClassification: """ - Overloaded function. - - 1. ClosestCurveOrRegionPoint(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, curveOrRegionPoint: DPoint3d) -> MSPyBentleyGeom.CurveVector.InOutClassification - - 2. ClosestCurveOrRegionPoint(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, curveOrRegionPoint: DPoint3d) -> MSPyBentleyGeom.CurveVector.InOutClassification - Search for closest point on curve. If CV is a region type, also look for projection onto interior of the region. @@ -6804,52 +7535,47 @@ class CurveVector: """ ... + @staticmethod def ClosestPointBounded(*args, **kwargs): """ Overloaded function. 1. ClosestPointBounded(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, location: MSPyBentleyGeom.CurveLocationDetail) -> bool - 2. ClosestPointBounded(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, location: MSPyBentleyGeom.CurveLocationDetail, extend0: bool, extend1: bool) -> bool - - 3. ClosestPointBounded(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, location: MSPyBentleyGeom.CurveLocationDetail) -> bool - Search for the closest point on any contained curve. - 4. ClosestPointBounded(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, location: MSPyBentleyGeom.CurveLocationDetail, extend0: bool, extend1: bool) -> bool + 2. ClosestPointBounded(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, location: MSPyBentleyGeom.CurveLocationDetail, extend0: bool, extend1: bool) -> bool Search for the closest point on any contained curve. """ ... + @staticmethod def ClosestPointBoundedXY(*args, **kwargs): """ Overloaded function. 1. ClosestPointBoundedXY(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, worldToLocal: DMatrix4d, location: MSPyBentleyGeom.CurveLocationDetail) -> bool - 2. ClosestPointBoundedXY(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, worldToLocal: DMatrix4d, location: MSPyBentleyGeom.CurveLocationDetail, extend0: bool, extend1: bool) -> bool - - 3. ClosestPointBoundedXY(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, worldToLocal: DMatrix4d, location: MSPyBentleyGeom.CurveLocationDetail) -> bool - Search for the closest point on any contained curve, using only xy (viewed) coordinates. - 4. ClosestPointBoundedXY(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, worldToLocal: DMatrix4d, location: MSPyBentleyGeom.CurveLocationDetail, extend0: bool, extend1: bool) -> bool + 2. ClosestPointBoundedXY(self: MSPyBentleyGeom.CurveVector, spacePoint: DPoint3d, worldToLocal: DMatrix4d, location: MSPyBentleyGeom.CurveLocationDetail, extend0: bool, extend1: bool) -> bool Search for the closest point on any contained curve, using only xy (viewed) coordinates. """ ... + @staticmethod def CollectLinearGeometry(*args, **kwargs): """ Overloaded function. - 1. CollectLinearGeometry(self: MSPyBentleyGeom.CurveVector, regionsPoints: List[Bstdcxx.bvector,List[Bstdcxx.bvector >) -> bool + 1. CollectLinearGeometry(self: MSPyBentleyGeom.CurveVector, regionsPoints: list[list[Bstdcxx.bvector) -> bool Add strokes from the instance curves. - * The output retains structure as complex as "union of multi-loop parity regions". + * The output retains structure as complex as "of multi-loop parity regions". * For a BOUNDARY_TYPE_None, each child is added recursively. :regionsPoints [out]: @@ -6861,10 +7587,10 @@ class CurveVector: :returns: true if and only if no geometry was skipped and no unexpected was structure encountered. - 2. CollectLinearGeometry(self: MSPyBentleyGeom.CurveVector, regionsPoints: List[Bstdcxx.bvector,List[Bstdcxx.bvector >, strokeOptions: IFacetOptions) -> bool + 2. CollectLinearGeometry(self: MSPyBentleyGeom.CurveVector, regionsPoints: list[list[Bstdcxx.bvector, strokeOptions: IFacetOptions) -> bool Add strokes from the instance curves. - * The output retains structure as complex as "union of multi-loop parity regions". + * The output retains structure as complex as "of multi-loop parity regions". * For a BOUNDARY_TYPE_None, each child is added recursively. :regionsPoints [out]: @@ -6876,10 +7602,10 @@ class CurveVector: :returns: true if and only if no geometry was skipped and no unexpected was structure encountered. - 3. CollectLinearGeometry(self: MSPyBentleyGeom.CurveVector, regionsPoints: List[Bstdcxx.bvector, strokeOptions: IFacetOptions = None) -> bool + 3. CollectLinearGeometry(self: MSPyBentleyGeom.CurveVector, regionsPoints: list[list[DPoint3d]], strokeOptions: IFacetOptions = None) -> bool Add strokes from the instance curves. - * The output retains structure as complex as "union of multi-loop parity regions". + * The output retains structure as complex as "of multi-loop parity regions". * For a BOUNDARY_TYPE_None, each child is added recursively. :regionsPoints [out]: @@ -6957,22 +7683,19 @@ class CurveVector: """ ... + @staticmethod def ConsolidateAdjacentPrimitives(*args, **kwargs): """ Overloaded function. 1. ConsolidateAdjacentPrimitives(self: MSPyBentleyGeom.CurveVector) -> None - 2. ConsolidateAdjacentPrimitives(self: MSPyBentleyGeom.CurveVector, doSimplifyLinestrings: bool) -> None - - 3. ConsolidateAdjacentPrimitives(self: MSPyBentleyGeom.CurveVector) -> None - Inplace update to consolidate contiguous parts. Adjacent lines and linestrings become a single linestring. Interior colinear points of linestrings are eliminated. Adjacent and compatible arcs become single arc. - 4. ConsolidateAdjacentPrimitives(self: MSPyBentleyGeom.CurveVector, doSimplifyLinestrings: bool) -> None + 2. ConsolidateAdjacentPrimitives(self: MSPyBentleyGeom.CurveVector, doSimplifyLinestrings: bool) -> None Inplace update to consolidate contiguous parts. Adjacent lines and linestrings become a single linestring. Interior colinear points of @@ -6981,14 +7704,8 @@ class CurveVector: """ ... - def ContainsNonLinearPrimitive(*args, **kwargs): + def ContainsNonLinearPrimitive(self: MSPyBentleyGeom.CurveVector) -> bool: """ - Overloaded function. - - 1. ContainsNonLinearPrimitive(self: MSPyBentleyGeom.CurveVector) -> bool - - 2. ContainsNonLinearPrimitive(self: MSPyBentleyGeom.CurveVector) -> bool - Return true if CurveVector has a component that is not a line or linestring. """ @@ -7004,14 +7721,8 @@ class CurveVector: ... @staticmethod - def CreateDisk(*args, **kwargs): + def CreateDisk(arc: DEllipse3d, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = BoundaryType.eBOUNDARY_TYPE_Outer, forceXYOrientation: bool = False) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. CreateDisk(arc: DEllipse3d, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = , forceXYOrientation: bool = False) -> MSPyBentleyGeom.CurveVector - - 2. CreateDisk(arc: DEllipse3d, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = , forceXYOrientation: bool = False) -> MSPyBentleyGeom.CurveVector - Create a (deep) curve vector structure for a complete elliptic (circular) disk. @@ -7044,7 +7755,7 @@ class CurveVector: """ Overloaded function. - 1. CreateLinear(points: List[DPoint3d], boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = , forceXYOrientation: bool = False) -> MSPyBentleyGeom.CurveVector + 1. CreateLinear(points: list[DPoint3d], boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = BoundaryType.eBOUNDARY_TYPE_Open, forceXYOrientation: bool = False) -> MSPyBentleyGeom.CurveVector Create a linestring or polygon from xyz data. @@ -7066,7 +7777,7 @@ class CurveVector: forceXYOrientation true to force outer and inner loops to have correct (CCW/CW) order. - 2. CreateLinear(points: list, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = , forceXYOrientation: bool = False) -> MSPyBentleyGeom.CurveVector + 2. CreateLinear(points: list, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = BoundaryType.eBOUNDARY_TYPE_Open, forceXYOrientation: bool = False) -> MSPyBentleyGeom.CurveVector Create a linestring or polygon from xyz data. @@ -7088,7 +7799,7 @@ class CurveVector: forceXYOrientation true to force outer and inner loops to have correct (CCW/CW) order. - 3. CreateLinear(points: List[DPoint2d], boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = , forceXYOrientation: bool = False) -> MSPyBentleyGeom.CurveVector + 3. CreateLinear(points: list[DPoint2d], boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = BoundaryType.eBOUNDARY_TYPE_Open, forceXYOrientation: bool = False) -> MSPyBentleyGeom.CurveVector Create a linestring or polygon from xyz data. @@ -7113,14 +7824,8 @@ class CurveVector: ... @staticmethod - def CreateRectangle(*args, **kwargs): + def CreateRectangle(x0: float, y0: float, x1: float, y1: float, z: float, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = BoundaryType.eBOUNDARY_TYPE_Outer) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. CreateRectangle(x0: float, y0: float, x1: float, y1: float, z: float, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = ) -> MSPyBentleyGeom.CurveVector - - 2. CreateRectangle(x0: float, y0: float, x1: float, y1: float, z: float, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = ) -> MSPyBentleyGeom.CurveVector - Create a rectangle from xy corners. :param (input): @@ -7155,88 +7860,49 @@ class CurveVector: ... @staticmethod - def CreateRegularPolygonXY(*args, **kwargs): - """ - CreateRegularPolygonXY(center: DPoint3d, xDistance: float, numEdge: int, isOuterRadius: bool, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = ) -> MSPyBentleyGeom.CurveVector - """ + def CreateRegularPolygonXY(center: DPoint3d, xDistance: float, numEdge: int, isOuterRadius: bool, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType = BoundaryType.eBOUNDARY_TYPE_Outer) -> MSPyBentleyGeom.CurveVector: ... @staticmethod - def CreateXYHatch(*args, **kwargs): + def CreateXYHatch(boundary: MSPyBentleyGeom.CurveVector, startPoint: DPoint3d, angleRadians: float, spacing: float, selection: int = 0) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. CreateXYHatch(boundary: MSPyBentleyGeom.CurveVector, startPoint: DPoint3d, angleRadians: float, spacing: float, selection: int = 0) -> MSPyBentleyGeom.CurveVector - - 2. CreateXYHatch(boundary: MSPyBentleyGeom.CurveVector, startPoint: DPoint3d, angleRadians: float, spacing: float, selection: int = 0) -> MSPyBentleyGeom.CurveVector - Return a curve vector (of type BOUNDARY_TYPE_None) containing hatch sticks. """ ... - def CurveLocationDetailCompare(*args, **kwargs): + def CurveLocationDetailCompare(self: MSPyBentleyGeom.CurveVector, location0: MSPyBentleyGeom.CurveLocationDetail, location1: MSPyBentleyGeom.CurveLocationDetail) -> int: """ - Overloaded function. - - 1. CurveLocationDetailCompare(self: MSPyBentleyGeom.CurveVector, location0: MSPyBentleyGeom.CurveLocationDetail, location1: MSPyBentleyGeom.CurveLocationDetail) -> int - - 2. CurveLocationDetailCompare(self: MSPyBentleyGeom.CurveVector, location0: MSPyBentleyGeom.CurveLocationDetail, location1: MSPyBentleyGeom.CurveLocationDetail) -> int - return 0 of locations are equal, -1 if location 0 is less than location 1, and 1 if location 0> location 1. This is a lexical comparison using (only) the curve index and the fraction. """ ... - def CurveLocationDetailIndex(*args, **kwargs): + def CurveLocationDetailIndex(self: MSPyBentleyGeom.CurveVector, location: MSPyBentleyGeom.CurveLocationDetail) -> int: """ - Overloaded function. - - 1. CurveLocationDetailIndex(self: MSPyBentleyGeom.CurveVector, location: MSPyBentleyGeom.CurveLocationDetail) -> int - - 2. CurveLocationDetailIndex(self: MSPyBentleyGeom.CurveVector, location: MSPyBentleyGeom.CurveLocationDetail) -> int - return index of curve location detail in vector (only valid for a vector that is a single open or closed path). Returns SIZE_MAX if not found. """ ... - def CyclicIndex(*args, **kwargs): + def CyclicIndex(self: MSPyBentleyGeom.CurveVector, index: int) -> int: """ - Overloaded function. - - 1. CyclicIndex(self: MSPyBentleyGeom.CurveVector, index: int) -> int - - 2. CyclicIndex(self: MSPyBentleyGeom.CurveVector, index: int) -> int - return mod of index with vector length, properly corrected for negatives. """ ... - def FastLength(*args, **kwargs): + def FastLength(self: MSPyBentleyGeom.CurveVector) -> float: """ - Overloaded function. - - 1. FastLength(self: MSPyBentleyGeom.CurveVector) -> float - - 2. FastLength(self: MSPyBentleyGeom.CurveVector) -> float - Sum lengths of contained curves, using fast method that may overestimate the length but is reasonable for setting tolerances. """ ... - def FastMaxAbs(*args, **kwargs): + def FastMaxAbs(self: MSPyBentleyGeom.CurveVector) -> float: """ - Overloaded function. - - 1. FastMaxAbs(self: MSPyBentleyGeom.CurveVector) -> float - - 2. FastMaxAbs(self: MSPyBentleyGeom.CurveVector) -> float - Return a fast estimate of the maximum absolute value in any coordinate. This will examine all curves, but is allowed to use safe approximations like bspline pole coordinates instead of exact curve @@ -7244,40 +7910,22 @@ class CurveVector: """ ... - def FindIndexOfPrimitive(*args, **kwargs): + def FindIndexOfPrimitive(self: MSPyBentleyGeom.CurveVector, primitive: MSPyBentleyGeom.ICurvePrimitive) -> int: """ - Overloaded function. - - 1. FindIndexOfPrimitive(self: MSPyBentleyGeom.CurveVector, primitive: MSPyBentleyGeom.ICurvePrimitive) -> int - - 2. FindIndexOfPrimitive(self: MSPyBentleyGeom.CurveVector, primitive: MSPyBentleyGeom.ICurvePrimitive) -> int - return index of primitive in vector (only valid for a vector that is a single open or closed path). Returns SIZE_MAX if not found. """ ... - def FindParentOfPrimitive(*args, **kwargs): + def FindParentOfPrimitive(self: MSPyBentleyGeom.CurveVector, primitive: MSPyBentleyGeom.ICurvePrimitive) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. FindParentOfPrimitive(self: MSPyBentleyGeom.CurveVector, primitive: MSPyBentleyGeom.ICurvePrimitive) -> MSPyBentleyGeom.CurveVector - - 2. FindParentOfPrimitive(self: MSPyBentleyGeom.CurveVector, primitive: MSPyBentleyGeom.ICurvePrimitive) -> MSPyBentleyGeom.CurveVector - Search the tree (below the calling instance) for the curve vector which is the immediate parent of given primitive. """ ... - def FixupXYOuterInner(*args, **kwargs): + def FixupXYOuterInner(self: MSPyBentleyGeom.CurveVector, fullGeometryCheck: bool = False) -> bool: """ - Overloaded function. - - 1. FixupXYOuterInner(self: MSPyBentleyGeom.CurveVector, fullGeometryCheck: bool = False) -> bool - - 2. FixupXYOuterInner(self: MSPyBentleyGeom.CurveVector, fullGeometryCheck: bool = False) -> bool - Update order, boundary type, and direction of contained loops. Loop A is considered " inside " loop B if (a) loop A has smaller area and (b) the start point of loop A is inside loop B. A loop that is " inside " an @@ -7290,7 +7938,7 @@ class CurveVector: loops follows. * If there are multiple outer loops, the (modified) curve vector is - marked as a union region. Within the UnionRegion + marked as a region. Within the UnionRegion * Outer loops with no contained loops are present as simple Outer loops. @@ -7308,14 +7956,8 @@ class CurveVector: def FlattenNestedUnionRegions(self: MSPyBentleyGeom.CurveVector) -> None: ... - def GenerateAllParts(*args, **kwargs): + def GenerateAllParts(self: MSPyBentleyGeom.CurveVector, indexA: int, fractionA: float, indexB: int, fractionB: float) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. GenerateAllParts(self: MSPyBentleyGeom.CurveVector, indexA: int, fractionA: float, indexB: int, fractionB: float) -> MSPyBentleyGeom.CurveVector - - 2. GenerateAllParts(self: MSPyBentleyGeom.CurveVector, indexA: int, fractionA: float, indexB: int, fractionB: float) -> MSPyBentleyGeom.CurveVector - Return a CurveVector (BOUNDARY_TYPE_None) which is a collection of open CurveVectors that collectively contain all parts of the input For (indexA,fractionA) prededing (indexB,fractionB) the output traces the @@ -7335,6 +7977,7 @@ class CurveVector: """ ... + @staticmethod def GetAnyFrenetFrame(*args, **kwargs): """ Overloaded function. @@ -7370,59 +8013,41 @@ class CurveVector: """ ... - def GetBsplineCurve(*args, **kwargs): + def GetBsplineCurve(self: MSPyBentleyGeom.CurveVector) -> RefCountedMSBsplineCurve: """ - Overloaded function. - - 1. GetBsplineCurve(self: MSPyBentleyGeom.CurveVector) -> RefCountedMSBsplineCurve - - 2. GetBsplineCurve(self: MSPyBentleyGeom.CurveVector) -> RefCountedMSBsplineCurve - Represent a curve vector that denotes an open or closed path as a single bspline curve. """ ... - def GetCyclic(*args, **kwargs): + def GetCyclic(self: MSPyBentleyGeom.CurveVector, index: int) -> MSPyBentleyGeom.ICurvePrimitive: """ - Overloaded function. - - 1. GetCyclic(self: MSPyBentleyGeom.CurveVector, index: int) -> MSPyBentleyGeom.ICurvePrimitive - - 2. GetCyclic(self: MSPyBentleyGeom.CurveVector, index: int) -> MSPyBentleyGeom.ICurvePrimitive - return child at cyclic index, propertly corrected for negatives. """ ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. 1. GetRange(self: MSPyBentleyGeom.CurveVector, range: DRange3d) -> bool - 2. GetRange(self: MSPyBentleyGeom.CurveVector, range: DRange3d, transform: Transform) -> bool - - 3. GetRange(self: MSPyBentleyGeom.CurveVector, range: DRange3d) -> bool - Return the xyz range of contained curves. - 4. GetRange(self: MSPyBentleyGeom.CurveVector, range: DRange3d, transform: Transform) -> bool + 2. GetRange(self: MSPyBentleyGeom.CurveVector, range: DRange3d, transform: Transform) -> bool Return the xyz range of contained curves. """ ... + @staticmethod def GetStartEnd(*args, **kwargs): """ Overloaded function. 1. GetStartEnd(self: MSPyBentleyGeom.CurveVector, pointA: DPoint3d, pointB: DPoint3d) -> bool - 2. GetStartEnd(self: MSPyBentleyGeom.CurveVector, pointA: DPoint3d, pointB: DPoint3d, unitTangentA: DVec3d, unitTangentB: DVec3d) -> bool - - 3. GetStartEnd(self: MSPyBentleyGeom.CurveVector, pointA: DPoint3d, pointB: DPoint3d) -> bool - Return first/last among children. :param (output): @@ -7431,7 +8056,7 @@ class CurveVector: :param (output): pointB end point - 4. GetStartEnd(self: MSPyBentleyGeom.CurveVector, pointA: DPoint3d, pointB: DPoint3d, unitTangentA: DVec3d, unitTangentB: DVec3d) -> bool + 2. GetStartEnd(self: MSPyBentleyGeom.CurveVector, pointA: DPoint3d, pointB: DPoint3d, unitTangentA: DVec3d, unitTangentB: DVec3d) -> bool Return first/last among children. @@ -7443,14 +8068,8 @@ class CurveVector: """ ... - def GetStartPoint(*args, **kwargs): + def GetStartPoint(self: MSPyBentleyGeom.CurveVector, point: DPoint3d) -> bool: """ - Overloaded function. - - 1. GetStartPoint(self: MSPyBentleyGeom.CurveVector, point: DPoint3d) -> bool - - 2. GetStartPoint(self: MSPyBentleyGeom.CurveVector, point: DPoint3d) -> bool - Return start point of the primitive (or first primitive in deep search) @@ -7482,7 +8101,13 @@ class CurveVector: eINOUT_On """ - def __init__(self: MSPyBentleyGeom.CurveVector.InOutClassification, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eINOUT_In: InOutClassification @@ -7537,14 +8162,8 @@ class CurveVector: """ ... - def IsPlanar(*args, **kwargs): + def IsPlanar(self: MSPyBentleyGeom.CurveVector, localToWorld: Transform, worldToLocal: Transform, range: DRange3d) -> bool: """ - Overloaded function. - - 1. IsPlanar(self: MSPyBentleyGeom.CurveVector, localToWorld: Transform, worldToLocal: Transform, range: DRange3d) -> bool - - 2. IsPlanar(self: MSPyBentleyGeom.CurveVector, localToWorld: Transform, worldToLocal: Transform, range: DRange3d) -> bool - Test if the contained curves are planar. If so, return transforms and local range. @@ -7567,14 +8186,8 @@ class CurveVector: """ ... - def IsPlanarWithDefaultNormal(*args, **kwargs): + def IsPlanarWithDefaultNormal(self: MSPyBentleyGeom.CurveVector, localToWorld: Transform, worldToLocal: Transform, range: DRange3d, normal: DVec3d) -> bool: """ - Overloaded function. - - 1. IsPlanarWithDefaultNormal(self: MSPyBentleyGeom.CurveVector, localToWorld: Transform, worldToLocal: Transform, range: DRange3d, normal: DVec3d) -> bool - - 2. IsPlanarWithDefaultNormal(self: MSPyBentleyGeom.CurveVector, localToWorld: Transform, worldToLocal: Transform, range: DRange3d, normal: DVec3d) -> bool - Test if the contained curves are planar. If so, return transforms and local range. @@ -7611,27 +8224,15 @@ class CurveVector: """ ... - def IsSameStructure(*args, **kwargs): + def IsSameStructure(self: MSPyBentleyGeom.CurveVector, other: MSPyBentleyGeom.CurveVector) -> bool: """ - Overloaded function. - - 1. IsSameStructure(self: MSPyBentleyGeom.CurveVector, other: MSPyBentleyGeom.CurveVector) -> bool - - 2. IsSameStructure(self: MSPyBentleyGeom.CurveVector, other: MSPyBentleyGeom.CurveVector) -> bool - Recursive check for structural match (tree structure and leaf type) with the other curve vector. """ ... - def IsSameStructureAndGeometry(*args, **kwargs): + def IsSameStructureAndGeometry(self: MSPyBentleyGeom.CurveVector, other: MSPyBentleyGeom.CurveVector, tolerance: float = 0.0) -> bool: """ - Overloaded function. - - 1. IsSameStructureAndGeometry(self: MSPyBentleyGeom.CurveVector, other: MSPyBentleyGeom.CurveVector, tolerance: float = 0.0) -> bool - - 2. IsSameStructureAndGeometry(self: MSPyBentleyGeom.CurveVector, other: MSPyBentleyGeom.CurveVector, tolerance: float = 0.0) -> bool - Recursive check for match (tree structure. leaf type, and geometry) with a peer. peer for comparison distance tolerance. (See DoubleOps.AlmostEqual @@ -7641,52 +8242,37 @@ class CurveVector: def IsUnionRegion(self: MSPyBentleyGeom.CurveVector) -> bool: """ - Query:is this a collection of areas with union rules? + Query:is this a collection of areas with rules? """ ... + @staticmethod def Length(*args, **kwargs): """ Overloaded function. 1. Length(self: MSPyBentleyGeom.CurveVector) -> float - 2. Length(self: MSPyBentleyGeom.CurveVector, worldToLocal: RotMatrix) -> float - - 3. Length(self: MSPyBentleyGeom.CurveVector) -> float - Sum lengths of contained curves. - 4. Length(self: MSPyBentleyGeom.CurveVector, worldToLocal: RotMatrix) -> float + 2. Length(self: MSPyBentleyGeom.CurveVector, worldToLocal: RotMatrix) -> float Sum lengths of contained curves. """ ... - def MaxGapWithinPath(*args, **kwargs): + def MaxGapWithinPath(self: MSPyBentleyGeom.CurveVector) -> float: """ - Overloaded function. - - 1. MaxGapWithinPath(self: MSPyBentleyGeom.CurveVector) -> float - - 2. MaxGapWithinPath(self: MSPyBentleyGeom.CurveVector) -> float - Maximum gap distance between end of primitive and start of its successor within Open, outer, or Inner loop. """ ... - def PlaneSection(*args, **kwargs): + def PlaneSection(self: MSPyBentleyGeom.CurveVector, plane: DPlane3d, tolerance: float = 0.0) -> MSPyBentleyGeom.ICurvePrimitive: """ - Overloaded function. - - 1. PlaneSection(self: MSPyBentleyGeom.CurveVector, plane: DPlane3d, tolerance: float = 0.0) -> MSPyBentleyGeom.ICurvePrimitive - - 2. PlaneSection(self: MSPyBentleyGeom.CurveVector, plane: DPlane3d, tolerance: float = 0.0) -> MSPyBentleyGeom.ICurvePrimitive - Compute intersections of closed CurveVector with a plane and organize as start end pairs by parity rules. Return as a single curve primitive - (which may be child vector of multiple primitives) If there are no + (which may be child vector of multiple primitives) -> If there are no intersections the smart pointer is empty (IsValid () returns false) :param (input): @@ -7698,14 +8284,8 @@ class CurveVector: """ ... - def PointInOnOutXY(*args, **kwargs): + def PointInOnOutXY(self: MSPyBentleyGeom.CurveVector, xyz: DPoint3d) -> MSPyBentleyGeom.CurveVector.InOutClassification: """ - Overloaded function. - - 1. PointInOnOutXY(self: MSPyBentleyGeom.CurveVector, xyz: DPoint3d) -> MSPyBentleyGeom.CurveVector.InOutClassification - - 2. PointInOnOutXY(self: MSPyBentleyGeom.CurveVector, xyz: DPoint3d) -> MSPyBentleyGeom.CurveVector.InOutClassification - Test if a point is in, on, or outside when looking at xy plane. return INOUT_Unknown if the CurveVector is not an area. (i.e. type BOUNDARY_TYPE_Outer, BOUNDARY_TYPE_Inner, BOUNDARY_TYPE_ParityRegion, @@ -7738,14 +8318,8 @@ class CurveVector: """ ... - def RayPierceInOnOut(*args, **kwargs): + def RayPierceInOnOut(self: MSPyBentleyGeom.CurveVector, ray: DRay3d, hitDetail: MSPyBentleyGeom.SolidLocationDetail) -> MSPyBentleyGeom.CurveVector.InOutClassification: """ - Overloaded function. - - 1. RayPierceInOnOut(self: MSPyBentleyGeom.CurveVector, ray: DRay3d, hitDetail: MSPyBentleyGeom.SolidLocationDetail) -> MSPyBentleyGeom.CurveVector.InOutClassification - - 2. RayPierceInOnOut(self: MSPyBentleyGeom.CurveVector, ray: DRay3d, hitDetail: MSPyBentleyGeom.SolidLocationDetail) -> MSPyBentleyGeom.CurveVector.InOutClassification - Test for a ray hit in the curve vector's planar region. return INOUT_Unknown if the CurveVector is not an area. (i.e. type BOUNDARY_TYPE_Outer, BOUNDARY_TYPE_Inner, BOUNDARY_TYPE_ParityRegion, @@ -7754,16 +8328,10 @@ class CurveVector: ... @staticmethod - def ReduceToCCWAreas(*args, **kwargs): + def ReduceToCCWAreas(regionA: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. ReduceToCCWAreas(regionA: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector - - 2. ReduceToCCWAreas(regionA: MSPyBentleyGeom.CurveVector) -> MSPyBentleyGeom.CurveVector - Return a curve vector containing only clockwise areas. Loops within - parity regions are fixed first. Then multiple regions in a union are + parity regions are fixed first. Then multiple regions in a are combined. :param (input): @@ -7771,69 +8339,39 @@ class CurveVector: """ ... - def ReorderForSmallGaps(*args, **kwargs): + def ReorderForSmallGaps(self: MSPyBentleyGeom.CurveVector) -> float: """ - Overloaded function. - - 1. ReorderForSmallGaps(self: MSPyBentleyGeom.CurveVector) -> float - - 2. ReorderForSmallGaps(self: MSPyBentleyGeom.CurveVector) -> float - Reorder curve primitives to produce small head-to-tail gaps. reordering is applied only within boundary types None, Open, and Closed. other types are updated recursively. Return the largest gap. """ ... - def ResolveTolerance(*args, **kwargs): + def ResolveTolerance(self: MSPyBentleyGeom.CurveVector, tolerance: float) -> float: """ - Overloaded function. - - 1. ResolveTolerance(self: MSPyBentleyGeom.CurveVector, tolerance: float) -> float - - 2. ResolveTolerance(self: MSPyBentleyGeom.CurveVector, tolerance: float) -> float - return larger of given tolerance and default tolerance based on FastMasAbs of contents ... """ ... - def ReverseCurvesInPlace(*args, **kwargs): + def ReverseCurvesInPlace(self: MSPyBentleyGeom.CurveVector) -> bool: """ - Overloaded function. - - 1. ReverseCurvesInPlace(self: MSPyBentleyGeom.CurveVector) -> bool - - 2. ReverseCurvesInPlace(self: MSPyBentleyGeom.CurveVector) -> bool - Recursively reverse. All leaf curves are reversed. Primitive order within path types (_Outer, _Inner, _Open) is reversed. All others (_Union, _Parity, _None) are unchanged. """ ... - def SimplifyLinestrings(*args, **kwargs): + def SimplifyLinestrings(self: MSPyBentleyGeom.CurveVector, distanceTol: float, eliminateOverdraw: bool, wrap: bool) -> None: """ - Overloaded function. - - 1. SimplifyLinestrings(self: MSPyBentleyGeom.CurveVector, distanceTol: float, eliminateOverdraw: bool, wrap: bool) -> None - - 2. SimplifyLinestrings(self: MSPyBentleyGeom.CurveVector, distanceTol: float, eliminateOverdraw: bool, wrap: bool) -> None - Inplace update to consolidate colinear interior points of linestrings. If distance tolerance is nonpositive a tolerance will be assigned from the range. """ ... - def Stroke(*args, **kwargs): + def Stroke(self: MSPyBentleyGeom.CurveVector, options: IFacetOptions) -> MSPyBentleyGeom.CurveVector: """ - Overloaded function. - - 1. Stroke(self: MSPyBentleyGeom.CurveVector, options: IFacetOptions) -> MSPyBentleyGeom.CurveVector - - 2. Stroke(self: MSPyBentleyGeom.CurveVector, options: IFacetOptions) -> MSPyBentleyGeom.CurveVector - Return a " deep copy " with primitives replaced by strokes. The tree upper levels of the tree structure are retained -- i.e. the output contains corresponding tree structure ParityRegion, UnionRegion, @@ -7858,27 +8396,15 @@ class CurveVector: """ ... - def ToBsplineCurve(*args, **kwargs): + def ToBsplineCurve(self: MSPyBentleyGeom.CurveVector, curve: MSBsplineCurve) -> BentleyStatus: """ - Overloaded function. - - 1. ToBsplineCurve(self: MSPyBentleyGeom.CurveVector, curve: MSBsplineCurve) -> BentleyStatus - - 2. ToBsplineCurve(self: MSPyBentleyGeom.CurveVector, curve: MSBsplineCurve) -> BentleyStatus - Represent a curve vector that denotes an open or closed path as a single bspline curve. """ ... - def TransformInPlace(*args, **kwargs): + def TransformInPlace(self: MSPyBentleyGeom.CurveVector, transform: Transform) -> bool: """ - Overloaded function. - - 1. TransformInPlace(self: MSPyBentleyGeom.CurveVector, transform: Transform) -> bool - - 2. TransformInPlace(self: MSPyBentleyGeom.CurveVector, transform: Transform) -> bool - Apply a transform to all contained curves. """ ... @@ -7923,6 +8449,13 @@ class CurveVector: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -7931,9 +8464,11 @@ class CurveVector: 2. __init__(self: MSPyBentleyGeom.CurveVector, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType, primitive: MSPyBentleyGeom.ICurvePrimitive) -> None - 3. __init__(self: MSPyBentleyGeom.CurveVector, segments: List[DSegment3d]) -> None + 3. __init__(self: MSPyBentleyGeom.CurveVector, segments: list[DSegment3d]) -> None + + 4. __init__(self: MSPyBentleyGeom.CurveVector, segments: list) -> None - 4. __init__(self: MSPyBentleyGeom.CurveVector, child: MSPyBentleyGeom.ICurvePrimitive, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType) -> None + 5. __init__(self: MSPyBentleyGeom.CurveVector, child: MSPyBentleyGeom.ICurvePrimitive, boundaryType: MSPyBentleyGeom.CurveVector.BoundaryType) -> None """ ... @@ -7962,6 +8497,16 @@ class CurveVectorPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -7994,6 +8539,7 @@ class CurveVectorPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -8014,6 +8560,7 @@ class CurveVectorPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -8108,7 +8655,7 @@ class CurveVectorWithDistanceIndex: def SetExtendedPath(self: MSPyBentleyGeom.CurveVectorWithDistanceIndex, path: MSPyBentleyGeom.CurveVector, extensionDistance: float, boundedStart: MSPyBentleyGeom.PathLocationDetail, boundedEnd: MSPyBentleyGeom.PathLocationDetail, measureExtensionInView: bool = False, maxExtensionFactor: float = 4.0) -> bool: """ - Announce the path to be indexed. This will 1) Construct line segments + Announce the path to be indexed. This will 1) -> Construct line segments to extend in the directions of the start and end tangents. 2) create the index 3) return PositionLocationDetails for the limits of the bounded path. @@ -8135,6 +8682,13 @@ class CurveVectorWithDistanceIndex: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -8150,6 +8704,7 @@ class DBilinearPatch3d: None """ + @staticmethod def Evaluate(*args, **kwargs): """ Overloaded function. @@ -8164,7 +8719,7 @@ class DBilinearPatch3d: """ ... - def EvaluateGrid(self: MSPyBentleyGeom.DBilinearPatch3d, numUPoint: int, numVPoint: int, gridPoints: List[DPoint3d]) -> None: + def EvaluateGrid(self: MSPyBentleyGeom.DBilinearPatch3d, numUPoint: int, numVPoint: int, gridPoints: list[DPoint3d]) -> None: ... def EvaluateNormal(self: MSPyBentleyGeom.DBilinearPatch3d, u: float, v: float, xyz: DPoint3d, unitNormal: DVec3d) -> None: @@ -8216,6 +8771,7 @@ class DBilinearPatch3d: """ ... + @staticmethod def IsPlanar(*args, **kwargs): """ Overloaded function. @@ -8232,7 +8788,7 @@ class DBilinearPatch3d: """ ... - def PerpendicularsOnBoundedPatch(self: MSPyBentleyGeom.DBilinearPatch3d, spacePoint: DPoint3d, uv: List[DPoint2d]) -> bool: + def PerpendicularsOnBoundedPatch(self: MSPyBentleyGeom.DBilinearPatch3d, spacePoint: DPoint3d, uv: list[DPoint2d]) -> bool: """ return uv coordinates of projections of xyz onto the (bounded) patch. This returns only true perpendicular projections (i.e. does not give @@ -8240,6 +8796,13 @@ class DBilinearPatch3d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -8313,6 +8876,13 @@ class DCatenary3dPlacement: def Stroke(self: MSPyBentleyGeom.DCatenary3dPlacement, xyz: MSPyBentleyGeom.DPoint3dArray, fraction: MSPyBentleyGeom.DoubleArray, fraction0: float, fraction1: float, chordTolerance: float, angleTolerance: float, maxEdgeLength: float) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -8425,6 +8995,13 @@ class DCatenaryXY: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -8515,6 +9092,7 @@ class DEllipse3d: """ ... + @staticmethod def ClosestPointBoundedXY(*args, **kwargs): """ Overloaded function. @@ -8674,6 +9252,7 @@ class DEllipse3d: """ ... + @staticmethod def Evaluate(*args, **kwargs): """ Overloaded function. @@ -8722,11 +9301,48 @@ class DEllipse3d: """ ... + @staticmethod def EvaluateTrigPairs(*args, **kwargs): """ Overloaded function. - 1. EvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: List[DPoint3d], trig: List[DPoint2d], numPoint: int) -> None + 1. EvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list[DPoint3d], trig: list[DPoint2d], numPoint: int) -> None + + @description Evaluate an ellipse using given coefficients for the + axes. + + Remark: + s If the x,y components of the coefficients define a unit vector, + the point is " on " the ellipse. + + :param (output): + point array of cartesian points + + :param (input): + trig array of local coords (e.g., (cos, sin)). + + :param (input): + numPoint number of pairs + + 2. EvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list, trig: list[DPoint2d], numPoint: int) -> None + + @description Evaluate an ellipse using given coefficients for the + axes. + + Remark: + s If the x,y components of the coefficients define a unit vector, + the point is " on " the ellipse. + + :param (output): + point array of cartesian points + + :param (input): + trig array of local coords (e.g., (cos, sin)). + + :param (input): + numPoint number of pairs + + 3. EvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list[DPoint3d], trig: list, numPoint: int) -> None @description Evaluate an ellipse using given coefficients for the axes. @@ -8744,7 +9360,7 @@ class DEllipse3d: :param (input): numPoint number of pairs - 2. EvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list, trig: List[DPoint2d], numPoint: int) -> None + 4. EvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list, trig: list, numPoint: int) -> None @description Evaluate an ellipse using given coefficients for the axes. @@ -9387,6 +10003,7 @@ class DEllipse3d: """ ... + @staticmethod def InitArcFromPointTangentPoint(*args, **kwargs): """ Overloaded function. @@ -9439,6 +10056,7 @@ class DEllipse3d: """ ... + @staticmethod def InitFromDGNFields2d(*args, **kwargs): """ Overloaded function. @@ -9497,6 +10115,7 @@ class DEllipse3d: """ ... + @staticmethod def InitFromDGNFields3d(*args, **kwargs): """ Overloaded function. @@ -9592,7 +10211,7 @@ class DEllipse3d: Remark: s Return value n=1 is a single tangency point returned in - trigPoints[0]; n=2 is two simple intersections returned in + trigPoints; n=2 is two simple intersections returned in trigPoints[0..1] Remark: @@ -9682,6 +10301,7 @@ class DEllipse3d: """ ... + @staticmethod def IsCircular(*args, **kwargs): """ Overloaded function. @@ -9702,6 +10322,7 @@ class DEllipse3d: """ ... + @staticmethod def IsCircularXY(*args, **kwargs): """ Overloaded function. @@ -9938,11 +10559,29 @@ class DEllipse3d: """ ... + @staticmethod def TestAndEvaluateTrigPairs(*args, **kwargs): """ Overloaded function. - 1. TestAndEvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: List[DPoint3d], trig: List[DPoint2d], numPoint: int) -> int + 1. TestAndEvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list[DPoint3d], trig: list[DPoint2d], numPoint: int) -> int + + @description Evaluate an ellipse at a number of (cosine, sine) pairs, + removing pairs whose corresponding angle is not in range. + + :param (output): + point array of cartesian points + + :param (input): + trig array of local coords + + :param (input): + numPoint number of pairs + + :returns: + number of points found to be in the angular range of the ellipse. + + 2. TestAndEvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list, trig: list[DPoint2d], numPoint: int) -> int @description Evaluate an ellipse at a number of (cosine, sine) pairs, removing pairs whose corresponding angle is not in range. @@ -9959,7 +10598,24 @@ class DEllipse3d: :returns: number of points found to be in the angular range of the ellipse. - 2. TestAndEvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list, trig: List[DPoint2d], numPoint: int) -> int + 3. TestAndEvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list[DPoint3d], trig: list, numPoint: int) -> int + + @description Evaluate an ellipse at a number of (cosine, sine) pairs, + removing pairs whose corresponding angle is not in range. + + :param (output): + point array of cartesian points + + :param (input): + trig array of local coords + + :param (input): + numPoint number of pairs + + :returns: + number of points found to be in the angular range of the ellipse. + + 4. TestAndEvaluateTrigPairs(self: MSPyBentleyGeom.DEllipse3d, point: list, trig: list, numPoint: int) -> int @description Evaluate an ellipse at a number of (cosine, sine) pairs, removing pairs whose corresponding angle is not in range. @@ -10036,7 +10692,13 @@ class DEllipse3d: """ ... - def __init__(self: MSPyBentleyGeom.DEllipse3d) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -10079,6 +10741,16 @@ class DEllipse3dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -10105,6 +10777,7 @@ class DEllipse3dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -10125,6 +10798,7 @@ class DEllipse3dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -10322,7 +10996,7 @@ class DMap4d: preperspective points that correspond to font space (0,0), (1,0), and (0,1). Since then, P00, P10, P01 have been through a homogeneous transformation. (For instance, there may be 'weight' of other than 1 - on each one.) The transformed (homogeneous) points are Q00, Q10, Q01 + on each one.) -> The transformed (homogeneous) points are Q00, Q10, Q01 In device space, we do a projection in the z direction. Hence we need a 4th point Qz=(0,0,1,0). Build this matrix by calling jmdlDMap4d_fillHomogeneousSkewFrame (pHMap, Q00, Q10,Q01,Qz) @@ -10371,6 +11045,7 @@ class DMap4d: """ ... + @staticmethod def InitProduct(*args, **kwargs): """ Overloaded function. @@ -10523,6 +11198,13 @@ class DMap4d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -10547,6 +11229,7 @@ class DMatrix4d: None """ + @staticmethod def Add(*args, **kwargs): """ Overloaded function. @@ -10567,6 +11250,7 @@ class DMatrix4d: """ ... + @staticmethod def AddSymmetricScaledOuterProduct(*args, **kwargs): """ Overloaded function. @@ -10646,6 +11330,7 @@ class DMatrix4d: """ ... + @staticmethod def ConvertInertiaProductsToPrincipalMoments(*args, **kwargs): """ Overloaded function. @@ -10734,10 +11419,40 @@ class DMatrix4d: """ ... - def EvaluateImageGrid(self: MSPyBentleyGeom.DMatrix4d, grid: List[DPoint2d], x00: float, y00: float, m: int, n: int, tol: float) -> bool: + @staticmethod + def EvaluateImageGrid(*args, **kwargs): """ + Overloaded function. + + 1. EvaluateImageGrid(self: MSPyBentleyGeom.DMatrix4d, grid: list[DPoint2d], x00: float, y00: float, m: int, n: int, tol: float) -> bool + + Evaluate pA*X for m*n points X arranged in a grid. The homogeneous + coordinates of the i,j point in the grid is (x0 + i, y0 + j, 0, 1) -> The + returned point grid[i * m + j] is the xy components of the image of + grid poitn ij AFTER normalization. + + :param (output): + grid Array of mXn mapped, normalized points + + :param (input): + x00 grid origin x + + :param (input): + y00 grid origin y + + :param (input): + m number of grid points in x direction + + :param (input): + n number of grid points in y direction + + :param (input): + tol relative tolerance for 0-weight tests. If 0, 1.0e-10 is used * + + 2. EvaluateImageGrid(self: MSPyBentleyGeom.DMatrix4d, grid: list, x00: float, y00: float, m: int, n: int, tol: float) -> bool + Evaluate pA*X for m*n points X arranged in a grid. The homogeneous - coordinates of the i,j point in the grid is (x0 + i, y0 + j, 0, 1) The + coordinates of the i,j point in the grid is (x0 + i, y0 + j, 0, 1) -> The returned point grid[i * m + j] is the xy components of the image of grid poitn ij AFTER normalization. @@ -11018,6 +11733,7 @@ class DMatrix4d: """ ... + @staticmethod def InitFrom(*args, **kwargs): """ Overloaded function. @@ -11163,6 +11879,7 @@ class DMatrix4d: """ ... + @staticmethod def InitProduct(*args, **kwargs): """ Overloaded function. @@ -11267,11 +11984,12 @@ class DMatrix4d: """ ... + @staticmethod def Multiply(*args, **kwargs): """ Overloaded function. - 1. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint4d], inPoints: List[DPoint4d]) -> None + 1. Multiply(self: MSPyBentleyGeom.DMatrix4d, xyz: DPoint3d, w: float) -> DPoint4d Matrix multiplication, using all components of both the matrix and the points. @@ -11285,7 +12003,7 @@ class DMatrix4d: :param (input): n number of points - 2. Multiply(self: MSPyBentleyGeom.DMatrix4d, xyz: DPoint3d, w: float) -> DPoint4d + 2. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list[DPoint4d]) -> None Matrix multiplication, using all components of both the matrix and the points. @@ -11299,7 +12017,7 @@ class DMatrix4d: :param (input): n number of points - 3. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint4d], inPoints: List[DPoint4d]) -> None + 3. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list) -> None Matrix multiplication, using all components of both the matrix and the points. @@ -11313,7 +12031,7 @@ class DMatrix4d: :param (input): n number of points - 4. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[GraphicsPoint], inPoints: List[GraphicsPoint]) -> None + 4. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list) -> None Matrix multiplication, using all components of both the matrix and the points. @@ -11327,7 +12045,7 @@ class DMatrix4d: :param (input): n number of points - 5. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint4d], inPoints: List[DPoint3d], weight: MSPyBentleyGeom.DoubleArray) -> None + 5. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint4d]) -> None Matrix multiplication, using all components of both the matrix and the points. @@ -11341,7 +12059,7 @@ class DMatrix4d: :param (input): n number of points - 6. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint4d], inPoints: list, weight: MSPyBentleyGeom.DoubleArray) -> None + 6. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[GraphicsPoint], inPoints: list[GraphicsPoint]) -> None Matrix multiplication, using all components of both the matrix and the points. @@ -11355,7 +12073,47 @@ class DMatrix4d: :param (input): n number of points - 7. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoint: DPoint4d, inPoint: DPoint4d) -> None + 7. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list[DPoint3d], weight: MSPyBentleyGeom.DoubleArray) -> None + + Matrix multiplication, using all components of both the matrix and the + points. + + :param (output): + outPoint Array of homogeneous products A*inPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 8. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list, weight: list) -> None + + 9. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list, weight: MSPyBentleyGeom.DoubleArray) -> None + + 10. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint3d], weight: list) -> None + + 11. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list, weight: list) -> None + + 12. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint3d], weight: MSPyBentleyGeom.DoubleArray) -> None + + Matrix multiplication, using all components of both the matrix and the + points. + + :param (output): + outPoint Array of homogeneous products A*inPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 13. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list, weight: MSPyBentleyGeom.DoubleArray) -> None + + 14. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list[DPoint3d], weight: list) -> None + + 15. Multiply(self: MSPyBentleyGeom.DMatrix4d, outPoint: DPoint4d, inPoint: DPoint4d) -> None Matrix multiplication, using all components of both the matrix and the points. @@ -11371,11 +12129,12 @@ class DMatrix4d: """ ... + @staticmethod def MultiplyAffine(*args, **kwargs): """ Overloaded function. - 1. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint4d], inPoints: List[DPoint4d]) -> None + 1. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list[DPoint4d]) -> None Matrix*point multiplication, using full 4d points but assuming the matrix is affine, i.e. assume 0001 4th row. @@ -11389,7 +12148,7 @@ class DMatrix4d: :param (input): n number of points - 2. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint3d], inPoints: List[DPoint3d]) -> None + 2. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint4d]) -> None Matrix*point multiplication, using full 4d points but assuming the matrix is affine, i.e. assume 0001 4th row. @@ -11403,7 +12162,63 @@ class DMatrix4d: :param (input): n number of points - 3. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list) -> None + 3. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list) -> None + + Matrix*point multiplication, using full 4d points but assuming the + matrix is affine, i.e. assume 0001 4th row. + + :param (output): + outPoint Array of homogeneous products A*pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 4. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list[DPoint3d]) -> None + + Matrix*point multiplication, using full 4d points but assuming the + matrix is affine, i.e. assume 0001 4th row. + + :param (output): + outPoint Array of homogeneous products A*pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 5. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list) -> None + + Matrix*point multiplication, using full 4d points but assuming the + matrix is affine, i.e. assume 0001 4th row. + + :param (output): + outPoint Array of homogeneous products A*pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 6. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint3d]) -> None + + Matrix*point multiplication, using full 4d points but assuming the + matrix is affine, i.e. assume 0001 4th row. + + :param (output): + outPoint Array of homogeneous products A*pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 7. MultiplyAffine(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list) -> None Matrix*point multiplication, using full 4d points but assuming the matrix is affine, i.e. assume 0001 4th row. @@ -11419,11 +12234,12 @@ class DMatrix4d: """ ... + @staticmethod def MultiplyAffineVectors(*args, **kwargs): """ Overloaded function. - 1. MultiplyAffineVectors(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint3d], inPoints: List[DPoint3d]) -> None + 1. MultiplyAffineVectors(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list[DPoint3d]) -> None Matrix times vector multiplication, assume 0001 4th row and padding 3d data with 0 weight. @@ -11448,16 +12264,73 @@ class DMatrix4d: :param (input): in Source array + :param (input): + n number of vectors + + 3. MultiplyAffineVectors(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint3d]) -> None + + Matrix times vector multiplication, assume 0001 4th row and padding 3d + data with 0 weight. + + :param (output): + out Destination array + + :param (input): + in Source array + + :param (input): + n number of vectors + + 4. MultiplyAffineVectors(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list) -> None + + Matrix times vector multiplication, assume 0001 4th row and padding 3d + data with 0 weight. + + :param (output): + out Destination array + + :param (input): + in Source array + :param (input): n number of vectors """ ... + @staticmethod def MultiplyAndNormalize(*args, **kwargs): """ Overloaded function. - 1. MultiplyAndNormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint3d], inPoints: List[DPoint4d]) -> None + 1. MultiplyAndNormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list[DPoint4d]) -> None + + Multiply an array of points by a matrix, using all components of both + the matrix and the points. + + :param (output): + outPoint Array of products A*inPoint[i] normalized + + :param (input): + inPoint Array of points points + + :param (input): + n number of points + + 2. MultiplyAndNormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint4d]) -> None + + Multiply an array of points by a matrix, using all components of both + the matrix and the points. + + :param (output): + outPoint Array of products A*inPoint[i] normalized + + :param (input): + inPoint Array of points points + + :param (input): + n number of points + + 3. MultiplyAndNormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list) -> None Multiply an array of points by a matrix, using all components of both the matrix and the points. @@ -11471,7 +12344,7 @@ class DMatrix4d: :param (input): n number of points - 2. MultiplyAndNormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: List[DPoint4d]) -> None + 4. MultiplyAndNormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list) -> None Multiply an array of points by a matrix, using all components of both the matrix and the points. @@ -11487,11 +12360,12 @@ class DMatrix4d: """ ... + @staticmethod def MultiplyAndRenormalize(*args, **kwargs): """ Overloaded function. - 1. MultiplyAndRenormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint3d], inPoints: List[DPoint3d]) -> None + 1. MultiplyAndRenormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list[DPoint3d]) -> None Multiply an array of points by a matrix, using all components of both the matrix and the points. @@ -11519,7 +12393,35 @@ class DMatrix4d: :param (input): n number of points - 3. MultiplyAndRenormalize(self: MSPyBentleyGeom.DMatrix4d, outPoint: DPoint3d, inPoint: DPoint3d) -> None + 3. MultiplyAndRenormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list) -> None + + Multiply an array of points by a matrix, using all components of both + the matrix and the points. + + :param (output): + outPoint Array of products A*pPoint[i] renormalized + + :param (input): + inPoint Array of points points + + :param (input): + n number of points + + 4. MultiplyAndRenormalize(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint3d]) -> None + + Multiply an array of points by a matrix, using all components of both + the matrix and the points. + + :param (output): + outPoint Array of products A*pPoint[i] renormalized + + :param (input): + inPoint Array of points points + + :param (input): + n number of points + + 5. MultiplyAndRenormalize(self: MSPyBentleyGeom.DMatrix4d, outPoint: DPoint3d, inPoint: DPoint3d) -> None Multiply an array of points by a matrix, using all components of both the matrix and the points. @@ -11535,11 +12437,12 @@ class DMatrix4d: """ ... + @staticmethod def MultiplyScaleAndTranslate(*args, **kwargs): """ Overloaded function. - 1. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint4d], inPoints: List[DPoint4d]) -> None + 1. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list[DPoint4d]) -> None Matrix*point multiplication, using full 4d points but assuming the matrix is has 3D only scaling and translation. @@ -11553,7 +12456,7 @@ class DMatrix4d: :param (input): n number of points - 2. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint3d], inPoints: List[DPoint3d]) -> None + 2. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint4d]) -> None Matrix*point multiplication, using full 4d points but assuming the matrix is has 3D only scaling and translation. @@ -11567,7 +12470,63 @@ class DMatrix4d: :param (input): n number of points - 3. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list) -> None + 3. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list) -> None + + Matrix*point multiplication, using full 4d points but assuming the + matrix is has 3D only scaling and translation. + + :param (output): + outPoint Array of homogeneous products A*pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 4. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list[DPoint3d]) -> None + + Matrix*point multiplication, using full 4d points but assuming the + matrix is has 3D only scaling and translation. + + :param (output): + outPoint Array of homogeneous products A*pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 5. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint3d]) -> None + + Matrix*point multiplication, using full 4d points but assuming the + matrix is has 3D only scaling and translation. + + :param (output): + outPoint Array of homogeneous products A*pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 6. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint3d], inPoints: list) -> None + + Matrix*point multiplication, using full 4d points but assuming the + matrix is has 3D only scaling and translation. + + :param (output): + outPoint Array of homogeneous products A*pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 7. MultiplyScaleAndTranslate(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list) -> None Matrix*point multiplication, using full 4d points but assuming the matrix is has 3D only scaling and translation. @@ -11583,8 +12542,55 @@ class DMatrix4d: """ ... - def MultiplyTranspose(self: MSPyBentleyGeom.DMatrix4d, outPoints: List[DPoint4d], inPoints: List[DPoint4d]) -> None: + @staticmethod + def MultiplyTranspose(*args, **kwargs): """ + Overloaded function. + + 1. MultiplyTranspose(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list[DPoint4d]) -> None + + Multiply the transformed matrix times points. (Equivalent to + multiplying transposed points times the matrix.) + + :param (output): + outPoint Array of homogeneous products A^T *pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 2. MultiplyTranspose(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list[DPoint4d]) -> None + + Multiply the transformed matrix times points. (Equivalent to + multiplying transposed points times the matrix.) + + :param (output): + outPoint Array of homogeneous products A^T *pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 3. MultiplyTranspose(self: MSPyBentleyGeom.DMatrix4d, outPoints: list[DPoint4d], inPoints: list) -> None + + Multiply the transformed matrix times points. (Equivalent to + multiplying transposed points times the matrix.) + + :param (output): + outPoint Array of homogeneous products A^T *pPoint[i] + + :param (input): + inPoint Array of homogeneous points + + :param (input): + n number of points + + 4. MultiplyTranspose(self: MSPyBentleyGeom.DMatrix4d, outPoints: list, inPoints: list) -> None + Multiply the transformed matrix times points. (Equivalent to multiplying transposed points times the matrix.) @@ -11636,6 +12642,7 @@ class DMatrix4d: """ ... + @staticmethod def SetColumn(*args, **kwargs): """ Overloaded function. @@ -11680,6 +12687,7 @@ class DMatrix4d: """ ... + @staticmethod def SetRow(*args, **kwargs): """ Overloaded function. @@ -11795,7 +12803,13 @@ class DMatrix4d: """ ... - def __init__(self: MSPyBentleyGeom.DMatrix4d) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -11827,11 +12841,12 @@ class DPlane3d: """ ... + @staticmethod def EvaluateMaxAbs(*args, **kwargs): """ Overloaded function. - 1. EvaluateMaxAbs(self: MSPyBentleyGeom.DPlane3d, points: List[DPoint3d]) -> float + 1. EvaluateMaxAbs(self: MSPyBentleyGeom.DPlane3d, points: list[DPoint3d]) -> float :returns: The maximum absolute value of plane evaluation among points in an @@ -11857,11 +12872,12 @@ class DPlane3d: """ ... + @staticmethod def EvaluateRange(*args, **kwargs): """ Overloaded function. - 1. EvaluateRange(self: MSPyBentleyGeom.DPlane3d, points: List[DPoint3d]) -> tuple + 1. EvaluateRange(self: MSPyBentleyGeom.DPlane3d, points: list[DPoint3d]) -> tuple :returns: min and max signed evaluations among points in an array. @@ -11946,6 +12962,7 @@ class DPlane3d: """ ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -11988,11 +13005,12 @@ class DPlane3d: """ ... + @staticmethod def InitFromArray(*args, **kwargs): """ Overloaded function. - 1. InitFromArray(self: MSPyBentleyGeom.DPlane3d, points: List[DPoint3d]) -> bool + 1. InitFromArray(self: MSPyBentleyGeom.DPlane3d, points: list[DPoint3d]) -> bool Compute the origin and normal so the plane passes (approximiately) through the array of points. @@ -12020,6 +13038,7 @@ class DPlane3d: """ ... + @staticmethod def InitFromOriginAndNormal(*args, **kwargs): """ Overloaded function. @@ -12137,6 +13156,13 @@ class DPlane3d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -12172,6 +13198,16 @@ class DPlane3dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -12198,6 +13234,7 @@ class DPlane3dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -12218,6 +13255,7 @@ class DPlane3dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -12241,6 +13279,7 @@ class DPlane3dByVectors: def DPlane3dWithUnitNormal(arg0: MSPyBentleyGeom.DPlane3dByVectors) -> MSPyBentleyGeom.ValidatedDPlane3d: ... + @staticmethod def Evaluate(*args, **kwargs): """ Overloaded function. @@ -12262,6 +13301,7 @@ class DPlane3dByVectors: """ ... + @staticmethod def EvaluateVectorOnly(*args, **kwargs): """ Overloaded function. @@ -12353,6 +13393,13 @@ class DPlane3dByVectors: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -12720,6 +13767,7 @@ class DPoint2d: def GetComponents(self: MSPyBentleyGeom.DPoint2d) -> Tuple[float, float]: ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -12783,6 +13831,7 @@ class DPoint2d: """ ... + @staticmethod def IsEqual(*args, **kwargs): """ Overloaded function. @@ -12868,6 +13917,7 @@ class DPoint2d: """ ... + @staticmethod def Normalize(*args, **kwargs): """ Overloaded function. @@ -12932,6 +13982,7 @@ class DPoint2d: """ ... + @staticmethod def Scale(*args, **kwargs): """ Overloaded function. @@ -12958,6 +14009,7 @@ class DPoint2d: """ ... + @staticmethod def ScaleToLength(*args, **kwargs): """ Overloaded function. @@ -13016,6 +14068,7 @@ class DPoint2d: """ ... + @staticmethod def SumOf(*args, **kwargs): """ Overloaded function. @@ -13101,6 +14154,13 @@ class DPoint2d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -13132,6 +14192,16 @@ class DPoint2dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -13164,6 +14234,7 @@ class DPoint2dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -13184,6 +14255,7 @@ class DPoint2dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -13209,6 +14281,16 @@ class DPoint2dVecArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -13241,6 +14323,7 @@ class DPoint2dVecArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -13261,6 +14344,7 @@ class DPoint2dVecArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -13286,6 +14370,7 @@ class DPoint3d: None """ + @staticmethod def Add(*args, **kwargs): """ Overloaded function. @@ -13323,6 +14408,7 @@ class DPoint3d: """ ... + @staticmethod def AlmostEqual(*args, **kwargs): """ Overloaded function. @@ -13355,6 +14441,7 @@ class DPoint3d: """ ... + @staticmethod def AlmostEqualXY(*args, **kwargs): """ Overloaded function. @@ -13534,6 +14621,7 @@ class DPoint3d: """ ... + @staticmethod def DistanceXY(*args, **kwargs): """ Overloaded function. @@ -13586,7 +14674,109 @@ class DPoint3d: :param (input): n number of points. - 2. DivideArrayByScales(outPoints: list, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + 2. DivideArrayByScales(outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 3. DivideArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 4. DivideArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: list) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 5. DivideArrayByScales(outPoints: list, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 6. DivideArrayByScales(outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: list) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 7. DivideArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list, scales: list) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 8. DivideArrayByScales(outPoints: list, inPoints: list, scales: list) -> None @description Divide each point in an array by its corresponding scale factor. Leave any point with near zero weight unchanged. @@ -13609,7 +14799,7 @@ class DPoint3d: """ @description Returns the (scalar) dot product of a two vectors. One vector is computed internally as the difference of the TargetPoint and - Origin. (TargetPoint-Origin) The other is given directly as a single + Origin. (TargetPoint-Origin) -> The other is given directly as a single argument. :param (input): @@ -13621,6 +14811,7 @@ class DPoint3d: """ ... + @staticmethod def DotProduct(*args, **kwargs): """ Overloaded function. @@ -13983,6 +15174,7 @@ class DPoint3d: def GetComponents(self: MSPyBentleyGeom.DPoint3d) -> Tuple[float, float, float]: ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -14048,6 +15240,7 @@ class DPoint3d: """ ... + @staticmethod def IsEqual(*args, **kwargs): """ Overloaded function. @@ -14283,7 +15476,109 @@ class DPoint3d: :param (input): n number of points. - 2. MultiplyArrayByScales(outPoints: list, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + 2. MultiplyArrayByScales(outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 3. MultiplyArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 4. MultiplyArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: list) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 5. MultiplyArrayByScales(outPoints: list, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 6. MultiplyArrayByScales(outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: list) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 7. MultiplyArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list, scales: list) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 8. MultiplyArrayByScales(outPoints: list, inPoints: list, scales: list) -> None @description Multiply each point in an array by its corresponding scale factor. @@ -14302,6 +15597,7 @@ class DPoint3d: """ ... + @staticmethod def Negate(*args, **kwargs): """ Overloaded function. @@ -14322,6 +15618,7 @@ class DPoint3d: """ ... + @staticmethod def Normalize(*args, **kwargs): """ Overloaded function. @@ -14420,6 +15717,7 @@ class DPoint3d: """ ... + @staticmethod def RotateXY(*args, **kwargs): """ Overloaded function. @@ -14465,6 +15763,7 @@ class DPoint3d: """ ... + @staticmethod def Scale(*args, **kwargs): """ Overloaded function. @@ -14491,6 +15790,7 @@ class DPoint3d: """ ... + @staticmethod def ScaleToLength(*args, **kwargs): """ Overloaded function. @@ -14608,6 +15908,7 @@ class DPoint3d: """ ... + @staticmethod def Subtract(*args, **kwargs): """ Overloaded function. @@ -14634,6 +15935,7 @@ class DPoint3d: """ ... + @staticmethod def SumOf(*args, **kwargs): """ Overloaded function. @@ -14890,6 +16192,13 @@ class DPoint3d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -14930,6 +16239,16 @@ class DPoint3dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -14962,6 +16281,7 @@ class DPoint3dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -14982,6 +16302,7 @@ class DPoint3dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -15011,12 +16332,15 @@ class DPoint3dOps: def Add(xyz: MSPyBentleyGeom.DPoint3dArray, delta: MSPyBentleyGeom.DVec3d) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DPoint3dSizeSize: """ None @@ -15049,6 +16373,13 @@ class DPoint3dSizeSize: def SwapTags(self: MSPyBentleyGeom.DPoint3dSizeSize) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -15064,6 +16395,16 @@ class DPoint3dVecArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -15096,6 +16437,7 @@ class DPoint3dVecArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -15116,6 +16458,7 @@ class DPoint3dVecArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -15141,6 +16484,16 @@ class DPoint3dVecVecArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -15173,6 +16526,7 @@ class DPoint3dVecVecArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -15193,6 +16547,7 @@ class DPoint3dVecVecArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -15228,15 +16583,47 @@ class DPoint4d: ... @staticmethod - def AlmostEqual(dataA: MSPyBentleyGeom.DPoint4dArray, dataB: MSPyBentleyGeom.DPoint4dArray, xyzTol: float, wTol: float) -> bool: + def AlmostEqual(*args, **kwargs): """ + Overloaded function. + + 1. AlmostEqual(dataA: MSPyBentleyGeom.DPoint4dArray, dataB: MSPyBentleyGeom.DPoint4dArray, xyzTol: float, wTol: float) -> bool + + test for nearly equal points in two arrays + + 2. AlmostEqual(dataA: list, dataB: MSPyBentleyGeom.DPoint4dArray, xyzTol: float, wTol: float) -> bool + + test for nearly equal points in two arrays + + 3. AlmostEqual(dataA: MSPyBentleyGeom.DPoint4dArray, dataB: list, xyzTol: float, wTol: float) -> bool + + test for nearly equal points in two arrays + + 4. AlmostEqual(dataA: list, dataB: list, xyzTol: float, wTol: float) -> bool + test for nearly equal points in two arrays """ ... @staticmethod - def AlmostEqualReversed(dataA: MSPyBentleyGeom.DPoint4dArray, dataB: MSPyBentleyGeom.DPoint4dArray, xyzTol: float, wTol: float) -> bool: + def AlmostEqualReversed(*args, **kwargs): """ + Overloaded function. + + 1. AlmostEqualReversed(dataA: MSPyBentleyGeom.DPoint4dArray, dataB: MSPyBentleyGeom.DPoint4dArray, xyzTol: float, wTol: float) -> bool + + test for nearly equal points in two arrays, reversing the second + + 2. AlmostEqualReversed(dataA: list, dataB: MSPyBentleyGeom.DPoint4dArray, xyzTol: float, wTol: float) -> bool + + test for nearly equal points in two arrays, reversing the second + + 3. AlmostEqualReversed(dataA: MSPyBentleyGeom.DPoint4dArray, dataB: list, xyzTol: float, wTol: float) -> bool + + test for nearly equal points in two arrays, reversing the second + + 4. AlmostEqualReversed(dataA: list, dataB: list, xyzTol: float, wTol: float) -> bool + test for nearly equal points in two arrays, reversing the second """ ... @@ -15253,6 +16640,7 @@ class DPoint4d: """ ... + @staticmethod def DotProduct(*args, **kwargs): """ Overloaded function. @@ -15333,8 +16721,8 @@ class DPoint4d: is given as homogeneous point, i.e. weight zero for flat view, nonzero for perspective. Eyepoints constucted 'by hand' usually look like this:Flat view " from infinity " looking in direction (xyz):eyepoint = - (x,y,z,0) i.e. a top view has eyepoint (0,0,1,0) Perspective from - eyepoint at (x,y,z):eyepoint (x,y,z,1) When viewing is constructed by + (x,y,z,0) i.e. a top view has eyepoint (0,0,1,0) -> Perspective from + eyepoint at (x,y,z):eyepoint (x,y,z,1) -> When viewing is constructed by a sequence of homogeneous transformations, with the final (device) projection to the xy plane, the (pretransform) eyepoint is 'by definition' Tinverse * (0,0,1,0)' i.e column 2 (zero based) of the @@ -15424,7 +16812,7 @@ class DPoint4d: 1. FromMultiply(matrix: MSPyBentleyGeom.DMatrix4d, point: MSPyBentleyGeom.DPoint3d) -> MSPyBentleyGeom.DPoint4d - Return product of 3d point with (possibly omitted) DMatrix4d + Return product of 3d point with (possibly omitted) -> DMatrix4d :param (input): matrix if missing, identity matrix is implied. @@ -15434,7 +16822,7 @@ class DPoint4d: 2. FromMultiply(matrix: MSPyBentleyGeom.DMatrix4d, point: MSPyBentleyGeom.DPoint4d) -> MSPyBentleyGeom.DPoint4d - Return product of 3d point with (possibly omitted) DMatrix4d + Return product of 3d point with (possibly omitted) -> DMatrix4d :param (input): matrix if missing, identity matrix is implied. @@ -15521,6 +16909,7 @@ class DPoint4d: """ ... + @staticmethod def GetXYZ(*args, **kwargs): """ Overloaded function. @@ -15543,6 +16932,7 @@ class DPoint4d: """ ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -15625,6 +17015,7 @@ class DPoint4d: """ ... + @staticmethod def IsEqual(*args, **kwargs): """ Overloaded function. @@ -15692,6 +17083,7 @@ class DPoint4d: """ ... + @staticmethod def Negate(*args, **kwargs): """ Overloaded function. @@ -15811,6 +17203,7 @@ class DPoint4d: """ ... + @staticmethod def RealDistanceSquared(*args, **kwargs): """ Overloaded function. @@ -15865,6 +17258,7 @@ class DPoint4d: """ ... + @staticmethod def Scale(*args, **kwargs): """ Overloaded function. @@ -15928,6 +17322,7 @@ class DPoint4d: """ ... + @staticmethod def SumOf(*args, **kwargs): """ Overloaded function. @@ -16013,6 +17408,7 @@ class DPoint4d: def W(self: MSPyBentleyGeom.DPoint4d, arg0: float) -> None: ... + @staticmethod def WeightedDifferenceOf(*args, **kwargs): """ Overloaded function. @@ -16058,6 +17454,13 @@ class DPoint4d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16103,6 +17506,16 @@ class DPoint4dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16129,6 +17542,7 @@ class DPoint4dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -16149,6 +17563,7 @@ class DPoint4dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -16207,6 +17622,7 @@ class DRange1d: """ ... + @staticmethod def Extend(*args, **kwargs): """ Overloaded function. @@ -16223,7 +17639,11 @@ class DRange1d: Extend to include a value. - 4. Extend(self: MSPyBentleyGeom.DRange1d, other: MSPyBentleyGeom.DRange1d) -> None + 4. Extend(self: MSPyBentleyGeom.DRange1d, values: list) -> None + + Extend to include a value. + + 5. Extend(self: MSPyBentleyGeom.DRange1d, other: MSPyBentleyGeom.DRange1d) -> None Extend to include a value. """ @@ -16288,6 +17708,10 @@ class DRange1d: 2. FromIntersection(data: MSPyBentleyGeom.DRange1dArray) -> MSPyBentleyGeom.DRange1d + return the (possibly null) intersection of two ranges. + + 3. FromIntersection(data: list) -> MSPyBentleyGeom.DRange1d + return the (possibly null) intersection of two ranges. """ ... @@ -16303,7 +17727,7 @@ class DRange1d: @staticmethod def FromUnion(rangeA: MSPyBentleyGeom.DRange1d, rangeB: MSPyBentleyGeom.DRange1d) -> MSPyBentleyGeom.DRange1d: """ - return the (possibly null) union of two ranges. + return the (possibly null) of two ranges. """ ... @@ -16371,7 +17795,7 @@ class DRange1d: def IsEmpty(self: MSPyBentleyGeom.DRange1d) -> bool: """ Test if the range has{low> high}, i.e. there are no x - for which{low &le x && x &le high} + for which{lowle xxle high} """ ... @@ -16429,6 +17853,7 @@ class DRange1d: """ ... + @staticmethod def IsSinglePoint(*args, **kwargs): """ Overloaded function. @@ -16556,6 +17981,13 @@ class DRange1d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16573,6 +18005,16 @@ class DRange1dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16599,6 +18041,7 @@ class DRange1dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -16619,6 +18062,7 @@ class DRange1dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -16644,6 +18088,7 @@ class DRange2d: """ ... + @staticmethod def Contains(*args, **kwargs): """ Overloaded function. @@ -16680,6 +18125,7 @@ class DRange2d: """ ... + @staticmethod def Extend(*args, **kwargs): """ Overloaded function. @@ -16724,7 +18170,15 @@ class DRange2d: :param (input): point new point to be included in the range. - 6. Extend(self: MSPyBentleyGeom.DRange2d, extend: float) -> None + 6. Extend(self: MSPyBentleyGeom.DRange2d, points: list) -> None + + Extends the coordinates of the range cube points in pRange so as to + include the single additional point point. + + :param (input): + point new point to be included in the range. + + 7. Extend(self: MSPyBentleyGeom.DRange2d, extend: float) -> None Extends the coordinates of the range cube points in pRange so as to include the single additional point point. @@ -16732,7 +18186,7 @@ class DRange2d: :param (input): point new point to be included in the range. - 7. Extend(self: MSPyBentleyGeom.DRange2d, rangeB: MSPyBentleyGeom.DRange2d) -> None + 8. Extend(self: MSPyBentleyGeom.DRange2d, rangeB: MSPyBentleyGeom.DRange2d) -> None Extends the coordinates of the range cube points in pRange so as to include the single additional point point. @@ -16767,8 +18221,21 @@ class DRange2d: """ ... - def Get4Corners(self: MSPyBentleyGeom.DRange2d, box: MSPyBentleyGeom.DPoint2dArray) -> None: + @staticmethod + def Get4Corners(*args, **kwargs): """ + Overloaded function. + + 1. Get4Corners(self: MSPyBentleyGeom.DRange2d, box: MSPyBentleyGeom.DPoint2dArray) -> None + + Generates a 4 point box around around a range cube. Point ordering is + by " x varies fastest " --- 00, 10, 01, 11 for the unit range. + + :param (output): + box array of 4 points of the box + + 2. Get4Corners(self: MSPyBentleyGeom.DRange2d, box: list) -> None + Generates a 4 point box around around a range cube. Point ordering is by " x varies fastest " --- 00, 10, 01, 11 for the unit range. @@ -16777,8 +18244,49 @@ class DRange2d: """ ... - def Get4Lines(self: MSPyBentleyGeom.DRange2d, originalArray: MSPyBentleyGeom.DPoint2dArray, normalArray: MSPyBentleyGeom.DPoint2dArray) -> None: + @staticmethod + def Get4Lines(*args, **kwargs): """ + Overloaded function. + + 1. Get4Lines(self: MSPyBentleyGeom.DRange2d, originalArray: MSPyBentleyGeom.DPoint2dArray, normalArray: MSPyBentleyGeom.DPoint2dArray) -> None + + Extract the 4 bounding lines for a range rectangle, in origin normal + form + + :param (output): + originArray array of line origins + + :param (output): + normalArray array of plane normals. Directions down, left, right, + up. + + 2. Get4Lines(self: MSPyBentleyGeom.DRange2d, originalArray: list, normalArray: MSPyBentleyGeom.DPoint2dArray) -> None + + Extract the 4 bounding lines for a range rectangle, in origin normal + form + + :param (output): + originArray array of line origins + + :param (output): + normalArray array of plane normals. Directions down, left, right, + up. + + 3. Get4Lines(self: MSPyBentleyGeom.DRange2d, originalArray: MSPyBentleyGeom.DPoint2dArray, normalArray: list) -> None + + Extract the 4 bounding lines for a range rectangle, in origin normal + form + + :param (output): + originArray array of line origins + + :param (output): + normalArray array of plane normals. Directions down, left, right, + up. + + 4. Get4Lines(self: MSPyBentleyGeom.DRange2d, originalArray: list, normalArray: list) -> None + Extract the 4 bounding lines for a range rectangle, in origin normal form @@ -16907,6 +18415,7 @@ class DRange2d: """ ... + @staticmethod def IsEqual(*args, **kwargs): """ Overloaded function. @@ -17031,7 +18540,7 @@ class DRange2d: def UnionOf(self: MSPyBentleyGeom.DRange2d, range1: MSPyBentleyGeom.DRange2d, range2: MSPyBentleyGeom.DRange2d) -> None: """ - Form the union of two ranges. + Form the of two ranges. :param (input): range1 first range. @@ -17053,6 +18562,13 @@ class DRange2d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -17161,6 +18677,7 @@ class DRange3d: """ ... + @staticmethod def Extend(*args, **kwargs): """ Overloaded function. @@ -17229,7 +18746,15 @@ class DRange3d: :param (input): point new point to be included in the range. - 9. Extend(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint3dArray) -> None + 9. Extend(self: MSPyBentleyGeom.DRange3d, points: list, zVal: float) -> None + + Extends the coordinates of the range cube points in + pRange so as to include the single additional point point. + + :param (input): + point new point to be included in the range. + + 10. Extend(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint3dArray) -> None Extends the coordinates of the range cube points in pRange so as to include the single additional point point. @@ -17237,7 +18762,7 @@ class DRange3d: :param (input): point new point to be included in the range. - 10. Extend(self: MSPyBentleyGeom.DRange3d, points: list) -> None + 11. Extend(self: MSPyBentleyGeom.DRange3d, points: list) -> None Extends the coordinates of the range cube points in pRange so as to include the single additional point point. @@ -17245,7 +18770,7 @@ class DRange3d: :param (input): point new point to be included in the range. - 11. Extend(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint4dArray) -> None + 12. Extend(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint4dArray) -> None Extends the coordinates of the range cube points in pRange so as to include the single additional point point. @@ -17253,7 +18778,7 @@ class DRange3d: :param (input): point new point to be included in the range. - 12. Extend(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: MSPyBentleyGeom.DPoint3dArray) -> None + 13. Extend(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: MSPyBentleyGeom.DPoint3dArray) -> None Extends the coordinates of the range cube points in pRange so as to include the single additional point point. @@ -17261,7 +18786,7 @@ class DRange3d: :param (input): point new point to be included in the range. - 13. Extend(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: list) -> None + 14. Extend(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: list) -> None Extends the coordinates of the range cube points in pRange so as to include the single additional point point. @@ -17269,7 +18794,7 @@ class DRange3d: :param (input): point new point to be included in the range. - 14. Extend(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: MSPyBentleyGeom.DPoint4dArray) -> None + 15. Extend(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: MSPyBentleyGeom.DPoint4dArray) -> None Extends the coordinates of the range cube points in pRange so as to include the single additional point point. @@ -17277,7 +18802,7 @@ class DRange3d: :param (input): point new point to be included in the range. - 15. Extend(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: List[MSPyBentleyGeom.DPoint3d], weights: List[float]) -> None + 16. Extend(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: List[MSPyBentleyGeom.DPoint3d], weights: List[float]) -> None Extends the coordinates of the range cube points in pRange so as to include the single additional point point. @@ -17308,17 +18833,6 @@ class DRange3d: """ ... - @staticmethod - def From(*args, **kwargs): - """ - Overloaded function. - - 1. From(points: list) -> MSPyBentleyGeom.DRange3d - - 2. From(transform: Transform, points: list) -> MSPyBentleyGeom.DRange3d - """ - ... - @staticmethod def FromMinMax(v0: float, v1: float) -> MSPyBentleyGeom.DRange3d: """ @@ -17333,6 +18847,7 @@ class DRange3d: """ ... + @staticmethod def Get6Planes(*args, **kwargs): """ Overloaded function. @@ -17348,7 +18863,40 @@ class DRange3d: normalLength scale factor for plane normals. 1.0 is outward unit normals, -1.0 is inward unit normals - 2. Get6Planes(self: MSPyBentleyGeom.DRange3d, origins: MSPyBentleyGeom.DPoint3dArray, normals: MSPyBentleyGeom.DPoint3dArray = 1.0) -> None + 2. Get6Planes(self: MSPyBentleyGeom.DRange3d, planes: list, normalLength: float = 1.0) -> None + + Generates 6 planes for the faces of the box. + + :param (output): + planes array of 6 planes. (Declared and allocated by caller) + + :param (input): + normalLength scale factor for plane normals. 1.0 is outward unit + normals, -1.0 is inward unit normals + + 3. Get6Planes(self: MSPyBentleyGeom.DRange3d, origins: MSPyBentleyGeom.DPoint3dArray, normals: MSPyBentleyGeom.DPoint3dArray = 1.0) -> None + + Generates 6 planes for the faces of the box. + + :param (output): + planes array of 6 planes. (Declared and allocated by caller) + + :param (input): + normalLength scale factor for plane normals. 1.0 is outward unit + normals, -1.0 is inward unit normals + + 4. Get6Planes(self: MSPyBentleyGeom.DRange3d, origins: list, normals: list = 1.0) -> None + + Generates 6 planes for the faces of the box. + + :param (output): + planes array of 6 planes. (Declared and allocated by caller) + + :param (input): + normalLength scale factor for plane normals. 1.0 is outward unit + normals, -1.0 is inward unit normals + + 5. Get6Planes(self: MSPyBentleyGeom.DRange3d, origins: MSPyBentleyGeom.DPoint3dArray, normals: list = 1.0) -> None Generates 6 planes for the faces of the box. @@ -17359,7 +18907,7 @@ class DRange3d: normalLength scale factor for plane normals. 1.0 is outward unit normals, -1.0 is inward unit normals - 3. Get6Planes(self: MSPyBentleyGeom.DRange3d, origins: list, normals: list = 1.0) -> None + 6. Get6Planes(self: MSPyBentleyGeom.DRange3d, origins: list, normals: MSPyBentleyGeom.DPoint3dArray = 1.0) -> None Generates 6 planes for the faces of the box. @@ -17394,6 +18942,7 @@ class DRange3d: """ ... + @staticmethod def GetCornerRange(*args, **kwargs): """ Overloaded function. @@ -17418,7 +18967,7 @@ class DRange3d: """ ... - def GetEdges(self: MSPyBentleyGeom.DRange3d, edges: List[DSegment3d]) -> None: + def GetEdges(self: MSPyBentleyGeom.DRange3d, edges: list[DSegment3d]) -> None: """ Generates individual DSegment3d for the 12 edges of the box. @@ -17546,6 +19095,7 @@ class DRange3d: """ ... + @staticmethod def IntersectsWith(*args, **kwargs): """ Overloaded function. @@ -17600,6 +19150,7 @@ class DRange3d: """ ... + @staticmethod def IsContained(*args, **kwargs): """ Overloaded function. @@ -17671,6 +19222,7 @@ class DRange3d: """ ... + @staticmethod def IsEqual(*args, **kwargs): """ Overloaded function. @@ -17821,7 +19373,7 @@ class DRange3d: def UnionOf(self: MSPyBentleyGeom.DRange3d, range0: MSPyBentleyGeom.DRange3d, range1: MSPyBentleyGeom.DRange3d) -> None: """ - returns the union of two ranges. + returns the of two ranges. :param (input): range0 first range @@ -17855,6 +19407,13 @@ class DRange3d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -17873,21 +19432,27 @@ class DRange3d: 7. __init__(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint2dArray, zVal: float) -> None - 8. __init__(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint3dArray) -> None + 8. __init__(self: MSPyBentleyGeom.DRange3d, points: list, zVal: float) -> None - 9. __init__(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint4dArray) -> None + 9. __init__(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint3dArray) -> None - 10. __init__(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint3dVecArray) -> None + 10. __init__(self: MSPyBentleyGeom.DRange3d, points: list) -> None - 11. __init__(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint3dVecVecArray) -> None + 11. __init__(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint4dArray) -> None - 12. __init__(self: MSPyBentleyGeom.DRange3d, points: List[MSPyBentleyGeom.DPoint3d], weights: List[float]) -> None + 12. __init__(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint3dVecArray) -> None - 13. __init__(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: List[MSPyBentleyGeom.DPoint3d], weights: List[float]) -> None + 13. __init__(self: MSPyBentleyGeom.DRange3d, points: MSPyBentleyGeom.DPoint3dVecVecArray) -> None - 14. __init__(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: MSPyBentleyGeom.DPoint3dArray) -> None + 14. __init__(self: MSPyBentleyGeom.DRange3d, points: List[MSPyBentleyGeom.DPoint3d], weights: List[float]) -> None - 15. __init__(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: MSPyBentleyGeom.DPoint4dArray) -> None + 15. __init__(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: List[MSPyBentleyGeom.DPoint3d], weights: List[float]) -> None + + 16. __init__(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: MSPyBentleyGeom.DPoint3dArray) -> None + + 17. __init__(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: list) -> None + + 18. __init__(self: MSPyBentleyGeom.DRange3d, transform: Transform, points: MSPyBentleyGeom.DPoint4dArray) -> None """ ... @@ -17937,6 +19502,13 @@ class DRange3dSizeSize: def SwapTags(self: MSPyBentleyGeom.DRange3dSizeSize) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -18052,6 +19624,7 @@ class DRay3d: """ ... + @staticmethod def InitFromOriginAndTarget(*args, **kwargs): """ Overloaded function. @@ -18152,6 +19725,13 @@ class DRay3d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -18182,7 +19762,7 @@ class DRay3d: def origin(self: MSPyBentleyGeom.DRay3d, arg0: MSPyBentleyGeom.DPoint3d) -> None: ... -class DSPiral2dViennese: +class DSPiral2dViennese(MSPyBentleyGeom.DSpiral2dBase): """ None """ @@ -18195,15 +19775,23 @@ class DSPiral2dViennese: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ ... + def __init__(self, *args, **kwargs): + ... + + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -18241,6 +19829,7 @@ class DSPiral2dViennese: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -18251,10 +19840,15 @@ class DSPiral2dViennese: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -18265,10 +19859,15 @@ class DSPiral2dViennese: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -18290,6 +19889,7 @@ class DSPiral2dViennese: def DistanceToLocalAngle(self: MSPyBentleyGeom.DSpiral2dBase, distance: float) -> float: ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -18322,7 +19922,8 @@ class DSPiral2dViennese: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -18354,6 +19955,7 @@ class DSPiral2dViennese: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -18385,6 +19987,7 @@ class DSPiral2dViennese: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -18464,12 +20067,14 @@ class DSPiral2dViennese: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -18654,11 +20259,18 @@ class DSPiral2dViennese: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -18694,6 +20306,7 @@ class DSPiral2dViennese: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -18736,6 +20349,7 @@ class DSPiral2dViennese: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -18769,6 +20383,7 @@ class DSPiral2dViennese: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -18820,14 +20435,20 @@ class DSPiral2dViennese: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSPiral2dViennese, cant: float, h: float, e: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSPiral2dWeightedViennese: +class DSPiral2dWeightedViennese(MSPyBentleyGeom.DSpiral2dBase): """ None """ @@ -18840,15 +20461,23 @@ class DSPiral2dWeightedViennese: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -18886,6 +20515,7 @@ class DSPiral2dWeightedViennese: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -18896,10 +20526,15 @@ class DSPiral2dWeightedViennese: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -18910,10 +20545,15 @@ class DSPiral2dWeightedViennese: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -18935,6 +20575,7 @@ class DSPiral2dWeightedViennese: def DistanceToLocalAngle(self: MSPyBentleyGeom.DSpiral2dBase, distance: float) -> float: ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -18968,7 +20609,8 @@ class DSPiral2dWeightedViennese: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -19000,6 +20642,7 @@ class DSPiral2dWeightedViennese: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -19031,6 +20674,7 @@ class DSPiral2dWeightedViennese: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -19110,12 +20754,14 @@ class DSPiral2dWeightedViennese: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -19300,11 +20946,18 @@ class DSPiral2dWeightedViennese: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -19340,6 +20993,7 @@ class DSPiral2dWeightedViennese: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -19382,6 +21036,7 @@ class DSPiral2dWeightedViennese: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -19415,6 +21070,7 @@ class DSPiral2dWeightedViennese: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -19466,7 +21122,13 @@ class DSPiral2dWeightedViennese: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSPiral2dWeightedViennese, cant: float, h: float, e: float, weight0: float, weight1: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -19604,6 +21266,13 @@ class DSegment1d: def Start(arg0: MSPyBentleyGeom.DSegment1d, arg1: float) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -19621,6 +21290,16 @@ class DSegment1dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -19647,6 +21326,7 @@ class DSegment1dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -19667,6 +21347,7 @@ class DSegment1dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -19765,6 +21446,7 @@ class DSegment3d: """ ... + @staticmethod def ClosestPointBoundedXY(*args, **kwargs): """ Overloaded function. @@ -19923,6 +21605,7 @@ class DSegment3d: """ ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -20095,6 +21778,7 @@ class DSegment3d: """ ... + @staticmethod def ProjectPointBounded(*args, **kwargs): """ Overloaded function. @@ -20223,6 +21907,13 @@ class DSegment3d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -20257,6 +21948,16 @@ class DSegment3dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -20283,6 +21984,7 @@ class DSegment3dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -20303,6 +22005,7 @@ class DSegment3dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -20317,7 +22020,7 @@ class DSegment3dArray: """ ... -class DSpiral2dArema: +class DSpiral2dArema(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -20330,9 +22033,16 @@ class DSpiral2dArema: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -20341,12 +22051,14 @@ class DSpiral2dArema: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -20384,6 +22096,7 @@ class DSpiral2dArema: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -20394,10 +22107,15 @@ class DSpiral2dArema: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -20408,10 +22126,15 @@ class DSpiral2dArema: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -20441,6 +22164,7 @@ class DSpiral2dArema: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -20496,7 +22220,8 @@ class DSpiral2dArema: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -20528,6 +22253,7 @@ class DSpiral2dArema: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -20559,6 +22285,7 @@ class DSpiral2dArema: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -20638,12 +22365,14 @@ class DSpiral2dArema: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -20828,11 +22557,18 @@ class DSpiral2dArema: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -20868,6 +22604,7 @@ class DSpiral2dArema: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -20910,6 +22647,7 @@ class DSpiral2dArema: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -20943,6 +22681,7 @@ class DSpiral2dArema: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -20994,14 +22733,20 @@ class DSpiral2dArema: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dArema, nominalLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dAustralianRailCorp: +class DSpiral2dAustralianRailCorp(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -21014,9 +22759,16 @@ class DSpiral2dAustralianRailCorp: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ ... + def __init__(self, *args, **kwargs): + ... + + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -21025,12 +22777,14 @@ class DSpiral2dAustralianRailCorp: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -21068,6 +22822,7 @@ class DSpiral2dAustralianRailCorp: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -21078,10 +22833,15 @@ class DSpiral2dAustralianRailCorp: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -21092,10 +22852,15 @@ class DSpiral2dAustralianRailCorp: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -21125,6 +22890,7 @@ class DSpiral2dAustralianRailCorp: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -21180,7 +22946,8 @@ class DSpiral2dAustralianRailCorp: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -21212,6 +22979,7 @@ class DSpiral2dAustralianRailCorp: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -21243,6 +23011,7 @@ class DSpiral2dAustralianRailCorp: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -21322,12 +23091,14 @@ class DSpiral2dAustralianRailCorp: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -21512,11 +23283,18 @@ class DSpiral2dAustralianRailCorp: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -21552,6 +23330,7 @@ class DSpiral2dAustralianRailCorp: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -21594,6 +23373,7 @@ class DSpiral2dAustralianRailCorp: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -21627,6 +23407,7 @@ class DSpiral2dAustralianRailCorp: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -21678,14 +23459,20 @@ class DSpiral2dAustralianRailCorp: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dAustralianRailCorp, nominalLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dBase: +class DSpiral2dBase(MSPyBentleyGeom.BSIVectorIntegrand): """ None """ @@ -21698,7 +23485,13 @@ class DSpiral2dBase: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @staticmethod @@ -21757,6 +23550,10 @@ class DSpiral2dBase: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... @@ -21772,6 +23569,10 @@ class DSpiral2dBase: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... @@ -21825,7 +23626,7 @@ class DSpiral2dBase: ... @staticmethod - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -22161,12 +23962,18 @@ class DSpiral2dBase: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... @staticmethod - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -22331,6 +24138,13 @@ class DSpiral2dBase: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -22341,7 +24155,9 @@ class DSpiral2dBase: 3. __init__(self: MSPyBentleyGeom.DSpiral2dBase, transitionType: int, extraData: MSPyBentleyGeom.DoubleArray) -> None - 4. __init__(self: MSPyBentleyGeom.DSpiral2dBase, transitionType: int, parameter: float) -> None + 4. __init__(self: MSPyBentleyGeom.DSpiral2dBase, transitionType: int, extraData: list) -> None + + 5. __init__(self: MSPyBentleyGeom.DSpiral2dBase, transitionType: int, parameter: float) -> None """ ... @@ -22349,7 +24165,7 @@ class DSpiral2dBase: def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dBiQuadratic: +class DSpiral2dBiQuadratic(MSPyBentleyGeom.DSpiral2dBase): """ None """ @@ -22362,15 +24178,23 @@ class DSpiral2dBiQuadratic: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -22408,6 +24232,7 @@ class DSpiral2dBiQuadratic: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -22418,10 +24243,15 @@ class DSpiral2dBiQuadratic: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -22432,10 +24262,15 @@ class DSpiral2dBiQuadratic: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -22457,6 +24292,7 @@ class DSpiral2dBiQuadratic: def DistanceToLocalAngle(self: MSPyBentleyGeom.DSpiral2dBase, distance: float) -> float: ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -22482,7 +24318,8 @@ class DSpiral2dBiQuadratic: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -22514,6 +24351,7 @@ class DSpiral2dBiQuadratic: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -22545,6 +24383,7 @@ class DSpiral2dBiQuadratic: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -22624,12 +24463,14 @@ class DSpiral2dBiQuadratic: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -22814,11 +24655,18 @@ class DSpiral2dBiQuadratic: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -22854,6 +24702,7 @@ class DSpiral2dBiQuadratic: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -22896,6 +24745,7 @@ class DSpiral2dBiQuadratic: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -22929,6 +24779,7 @@ class DSpiral2dBiQuadratic: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -22980,14 +24831,20 @@ class DSpiral2dBiQuadratic: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBiQuadratic) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dBloss: +class DSpiral2dBloss(MSPyBentleyGeom.DSpiral2dBase): """ None """ @@ -23000,15 +24857,23 @@ class DSpiral2dBloss: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -23046,6 +24911,7 @@ class DSpiral2dBloss: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -23056,10 +24922,15 @@ class DSpiral2dBloss: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -23070,10 +24941,15 @@ class DSpiral2dBloss: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -23095,6 +24971,7 @@ class DSpiral2dBloss: def DistanceToLocalAngle(self: MSPyBentleyGeom.DSpiral2dBase, distance: float) -> float: ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -23120,7 +24997,8 @@ class DSpiral2dBloss: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -23152,6 +25030,7 @@ class DSpiral2dBloss: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -23183,6 +25062,7 @@ class DSpiral2dBloss: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -23262,12 +25142,14 @@ class DSpiral2dBloss: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -23452,11 +25334,18 @@ class DSpiral2dBloss: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -23492,6 +25381,7 @@ class DSpiral2dBloss: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -23534,6 +25424,7 @@ class DSpiral2dBloss: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -23567,6 +25458,7 @@ class DSpiral2dBloss: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -23618,14 +25510,20 @@ class DSpiral2dBloss: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBloss) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dChinese: +class DSpiral2dChinese(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -23638,9 +25536,16 @@ class DSpiral2dChinese: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -23649,12 +25554,14 @@ class DSpiral2dChinese: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -23692,6 +25599,7 @@ class DSpiral2dChinese: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -23702,10 +25610,15 @@ class DSpiral2dChinese: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -23716,10 +25629,15 @@ class DSpiral2dChinese: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -23749,6 +25667,7 @@ class DSpiral2dChinese: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -23804,7 +25723,8 @@ class DSpiral2dChinese: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -23836,6 +25756,7 @@ class DSpiral2dChinese: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -23867,6 +25788,7 @@ class DSpiral2dChinese: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -23946,12 +25868,14 @@ class DSpiral2dChinese: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -24136,11 +26060,18 @@ class DSpiral2dChinese: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -24176,6 +26107,7 @@ class DSpiral2dChinese: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -24218,6 +26150,7 @@ class DSpiral2dChinese: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -24251,6 +26184,7 @@ class DSpiral2dChinese: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -24302,14 +26236,20 @@ class DSpiral2dChinese: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dChinese, nominalLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dClothoid: +class DSpiral2dClothoid(MSPyBentleyGeom.DSpiral2dBase): """ None """ @@ -24322,15 +26262,23 @@ class DSpiral2dClothoid: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -24368,6 +26316,7 @@ class DSpiral2dClothoid: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -24378,10 +26327,15 @@ class DSpiral2dClothoid: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -24392,10 +26346,15 @@ class DSpiral2dClothoid: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -24417,6 +26376,7 @@ class DSpiral2dClothoid: def DistanceToLocalAngle(self: MSPyBentleyGeom.DSpiral2dBase, distance: float) -> float: ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -24442,7 +26402,8 @@ class DSpiral2dClothoid: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -24474,6 +26435,7 @@ class DSpiral2dClothoid: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -24505,6 +26467,7 @@ class DSpiral2dClothoid: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -24584,12 +26547,14 @@ class DSpiral2dClothoid: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -24774,11 +26739,18 @@ class DSpiral2dClothoid: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -24814,6 +26786,7 @@ class DSpiral2dClothoid: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -24856,6 +26829,7 @@ class DSpiral2dClothoid: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -24889,6 +26863,7 @@ class DSpiral2dClothoid: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -24940,14 +26915,20 @@ class DSpiral2dClothoid: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dClothoid) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dCosine: +class DSpiral2dCosine(MSPyBentleyGeom.DSpiral2dBase): """ None """ @@ -24960,15 +26941,23 @@ class DSpiral2dCosine: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -25006,6 +26995,7 @@ class DSpiral2dCosine: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -25016,10 +27006,15 @@ class DSpiral2dCosine: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -25030,10 +27025,15 @@ class DSpiral2dCosine: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -25055,6 +27055,7 @@ class DSpiral2dCosine: def DistanceToLocalAngle(self: MSPyBentleyGeom.DSpiral2dBase, distance: float) -> float: ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -25080,7 +27081,8 @@ class DSpiral2dCosine: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -25112,6 +27114,7 @@ class DSpiral2dCosine: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -25143,6 +27146,7 @@ class DSpiral2dCosine: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -25222,12 +27226,14 @@ class DSpiral2dCosine: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -25412,11 +27418,18 @@ class DSpiral2dCosine: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -25452,6 +27465,7 @@ class DSpiral2dCosine: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -25494,6 +27508,7 @@ class DSpiral2dCosine: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -25527,6 +27542,7 @@ class DSpiral2dCosine: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -25578,14 +27594,20 @@ class DSpiral2dCosine: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dCosine) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dCzech: +class DSpiral2dCzech(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -25598,9 +27620,16 @@ class DSpiral2dCzech: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -25609,12 +27638,14 @@ class DSpiral2dCzech: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -25652,6 +27683,7 @@ class DSpiral2dCzech: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -25662,10 +27694,15 @@ class DSpiral2dCzech: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -25676,10 +27713,15 @@ class DSpiral2dCzech: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -25717,6 +27759,7 @@ class DSpiral2dCzech: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -25772,7 +27815,8 @@ class DSpiral2dCzech: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -25804,6 +27848,7 @@ class DSpiral2dCzech: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -25835,6 +27880,7 @@ class DSpiral2dCzech: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -25914,12 +27960,14 @@ class DSpiral2dCzech: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -26104,11 +28152,18 @@ class DSpiral2dCzech: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -26144,6 +28199,7 @@ class DSpiral2dCzech: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -26186,6 +28242,7 @@ class DSpiral2dCzech: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -26219,6 +28276,7 @@ class DSpiral2dCzech: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -26270,14 +28328,20 @@ class DSpiral2dCzech: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dCzech, nominalLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dCzechAlongTangent: +class DSpiral2dCzechAlongTangent(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -26290,9 +28354,16 @@ class DSpiral2dCzechAlongTangent: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ ... + def __init__(self, *args, **kwargs): + ... + + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -26301,12 +28372,14 @@ class DSpiral2dCzechAlongTangent: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -26344,6 +28417,7 @@ class DSpiral2dCzechAlongTangent: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -26354,10 +28428,15 @@ class DSpiral2dCzechAlongTangent: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -26368,10 +28447,15 @@ class DSpiral2dCzechAlongTangent: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -26409,6 +28493,7 @@ class DSpiral2dCzechAlongTangent: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -26471,7 +28556,8 @@ class DSpiral2dCzechAlongTangent: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -26503,6 +28589,7 @@ class DSpiral2dCzechAlongTangent: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -26534,6 +28621,7 @@ class DSpiral2dCzechAlongTangent: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -26613,12 +28701,14 @@ class DSpiral2dCzechAlongTangent: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -26803,11 +28893,18 @@ class DSpiral2dCzechAlongTangent: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -26843,6 +28940,7 @@ class DSpiral2dCzechAlongTangent: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -26885,6 +28983,7 @@ class DSpiral2dCzechAlongTangent: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -26918,6 +29017,7 @@ class DSpiral2dCzechAlongTangent: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -26969,14 +29069,20 @@ class DSpiral2dCzechAlongTangent: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dCzechAlongTangent, nominalLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dDirectEvaluation: +class DSpiral2dDirectEvaluation(MSPyBentleyGeom.DSpiral2dBase): """ None """ @@ -26989,7 +29095,13 @@ class DSpiral2dDirectEvaluation: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @staticmethod @@ -27001,12 +29113,14 @@ class DSpiral2dDirectEvaluation: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -27044,6 +29158,7 @@ class DSpiral2dDirectEvaluation: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -27054,10 +29169,15 @@ class DSpiral2dDirectEvaluation: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -27068,10 +29188,15 @@ class DSpiral2dDirectEvaluation: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -27101,6 +29226,7 @@ class DSpiral2dDirectEvaluation: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -27156,7 +29282,8 @@ class DSpiral2dDirectEvaluation: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -27188,6 +29315,7 @@ class DSpiral2dDirectEvaluation: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -27219,6 +29347,7 @@ class DSpiral2dDirectEvaluation: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -27298,12 +29427,14 @@ class DSpiral2dDirectEvaluation: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -27488,11 +29619,18 @@ class DSpiral2dDirectEvaluation: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -27528,6 +29666,7 @@ class DSpiral2dDirectEvaluation: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -27570,6 +29709,7 @@ class DSpiral2dDirectEvaluation: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -27603,6 +29743,7 @@ class DSpiral2dDirectEvaluation: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -27654,14 +29795,20 @@ class DSpiral2dDirectEvaluation: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dDirectEvaluation, nominalLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dDirectHalfCosine: +class DSpiral2dDirectHalfCosine(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -27674,9 +29821,16 @@ class DSpiral2dDirectHalfCosine: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -27685,12 +29839,14 @@ class DSpiral2dDirectHalfCosine: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -27728,6 +29884,7 @@ class DSpiral2dDirectHalfCosine: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -27738,10 +29895,15 @@ class DSpiral2dDirectHalfCosine: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -27752,10 +29914,15 @@ class DSpiral2dDirectHalfCosine: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -27793,6 +29960,7 @@ class DSpiral2dDirectHalfCosine: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -27848,7 +30016,8 @@ class DSpiral2dDirectHalfCosine: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -27880,6 +30049,7 @@ class DSpiral2dDirectHalfCosine: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -27911,6 +30081,7 @@ class DSpiral2dDirectHalfCosine: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -27990,12 +30161,14 @@ class DSpiral2dDirectHalfCosine: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -28180,11 +30353,18 @@ class DSpiral2dDirectHalfCosine: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -28220,6 +30400,7 @@ class DSpiral2dDirectHalfCosine: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -28262,6 +30443,7 @@ class DSpiral2dDirectHalfCosine: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -28295,6 +30477,7 @@ class DSpiral2dDirectHalfCosine: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -28346,14 +30529,20 @@ class DSpiral2dDirectHalfCosine: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dDirectHalfCosine, axisLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dItalian: +class DSpiral2dItalian(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -28366,9 +30555,16 @@ class DSpiral2dItalian: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -28377,12 +30573,14 @@ class DSpiral2dItalian: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -28420,6 +30618,7 @@ class DSpiral2dItalian: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -28430,10 +30629,15 @@ class DSpiral2dItalian: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -28444,10 +30648,15 @@ class DSpiral2dItalian: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -28477,6 +30686,7 @@ class DSpiral2dItalian: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -28532,7 +30742,8 @@ class DSpiral2dItalian: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -28564,6 +30775,7 @@ class DSpiral2dItalian: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -28595,6 +30807,7 @@ class DSpiral2dItalian: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -28674,12 +30887,14 @@ class DSpiral2dItalian: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -28864,11 +31079,18 @@ class DSpiral2dItalian: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -28904,6 +31126,7 @@ class DSpiral2dItalian: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -28946,6 +31169,7 @@ class DSpiral2dItalian: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -28979,6 +31203,7 @@ class DSpiral2dItalian: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -29030,14 +31255,20 @@ class DSpiral2dItalian: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dItalian, pseudoLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dJapaneseCubic: +class DSpiral2dJapaneseCubic(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -29050,9 +31281,16 @@ class DSpiral2dJapaneseCubic: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -29061,12 +31299,14 @@ class DSpiral2dJapaneseCubic: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -29104,6 +31344,7 @@ class DSpiral2dJapaneseCubic: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -29114,10 +31355,15 @@ class DSpiral2dJapaneseCubic: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -29128,10 +31374,15 @@ class DSpiral2dJapaneseCubic: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -29169,6 +31420,7 @@ class DSpiral2dJapaneseCubic: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -29224,7 +31476,8 @@ class DSpiral2dJapaneseCubic: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -29256,6 +31509,7 @@ class DSpiral2dJapaneseCubic: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -29287,6 +31541,7 @@ class DSpiral2dJapaneseCubic: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -29366,12 +31621,14 @@ class DSpiral2dJapaneseCubic: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -29556,11 +31813,18 @@ class DSpiral2dJapaneseCubic: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -29596,6 +31860,7 @@ class DSpiral2dJapaneseCubic: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -29638,6 +31903,7 @@ class DSpiral2dJapaneseCubic: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -29671,6 +31937,7 @@ class DSpiral2dJapaneseCubic: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -29722,14 +31989,20 @@ class DSpiral2dJapaneseCubic: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dJapaneseCubic, axisLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dMXCubicAlongArc: +class DSpiral2dMXCubicAlongArc(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -29742,9 +32015,16 @@ class DSpiral2dMXCubicAlongArc: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -29753,12 +32033,14 @@ class DSpiral2dMXCubicAlongArc: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -29796,6 +32078,7 @@ class DSpiral2dMXCubicAlongArc: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -29806,10 +32089,15 @@ class DSpiral2dMXCubicAlongArc: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -29820,10 +32108,15 @@ class DSpiral2dMXCubicAlongArc: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -29860,6 +32153,7 @@ class DSpiral2dMXCubicAlongArc: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -29915,7 +32209,8 @@ class DSpiral2dMXCubicAlongArc: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -29947,6 +32242,7 @@ class DSpiral2dMXCubicAlongArc: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -29978,6 +32274,7 @@ class DSpiral2dMXCubicAlongArc: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -30057,12 +32354,14 @@ class DSpiral2dMXCubicAlongArc: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -30247,11 +32546,18 @@ class DSpiral2dMXCubicAlongArc: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -30287,6 +32593,7 @@ class DSpiral2dMXCubicAlongArc: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -30329,6 +32636,7 @@ class DSpiral2dMXCubicAlongArc: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -30362,6 +32670,7 @@ class DSpiral2dMXCubicAlongArc: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -30413,7 +32722,13 @@ class DSpiral2dMXCubicAlongArc: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dMXCubicAlongArc, nominalLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -30524,6 +32839,13 @@ class DSpiral2dPlacement: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -30562,7 +32884,7 @@ class DSpiral2dPlacement: def spiral(self: MSPyBentleyGeom.DSpiral2dPlacement, arg0: MSPyBentleyGeom.DSpiral2dBase) -> None: ... -class DSpiral2dPolish: +class DSpiral2dPolish(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -30575,9 +32897,16 @@ class DSpiral2dPolish: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -30586,12 +32915,14 @@ class DSpiral2dPolish: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -30629,6 +32960,7 @@ class DSpiral2dPolish: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -30639,10 +32971,15 @@ class DSpiral2dPolish: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -30653,10 +32990,15 @@ class DSpiral2dPolish: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -30694,6 +33036,7 @@ class DSpiral2dPolish: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -30756,7 +33099,8 @@ class DSpiral2dPolish: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -30788,6 +33132,7 @@ class DSpiral2dPolish: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -30819,6 +33164,7 @@ class DSpiral2dPolish: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -30898,12 +33244,14 @@ class DSpiral2dPolish: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -31088,11 +33436,18 @@ class DSpiral2dPolish: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -31128,6 +33483,7 @@ class DSpiral2dPolish: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -31170,6 +33526,7 @@ class DSpiral2dPolish: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -31203,6 +33560,7 @@ class DSpiral2dPolish: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -31251,6 +33609,7 @@ class DSpiral2dPolish: TransitionType_WesternAustralian: int + @staticmethod def ValidateSeriesInversion() -> float: """ Execute unit test of the series inversion logic. @@ -31260,14 +33619,20 @@ class DSpiral2dPolish: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dPolish, nominalLength: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dSine: +class DSpiral2dSine(MSPyBentleyGeom.DSpiral2dBase): """ None """ @@ -31280,15 +33645,23 @@ class DSpiral2dSine: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -31326,6 +33699,7 @@ class DSpiral2dSine: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -31336,10 +33710,15 @@ class DSpiral2dSine: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -31350,10 +33729,15 @@ class DSpiral2dSine: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -31375,6 +33759,7 @@ class DSpiral2dSine: def DistanceToLocalAngle(self: MSPyBentleyGeom.DSpiral2dBase, distance: float) -> float: ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -31400,7 +33785,8 @@ class DSpiral2dSine: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -31432,6 +33818,7 @@ class DSpiral2dSine: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -31463,6 +33850,7 @@ class DSpiral2dSine: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -31542,12 +33930,14 @@ class DSpiral2dSine: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -31732,11 +34122,18 @@ class DSpiral2dSine: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -31772,6 +34169,7 @@ class DSpiral2dSine: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -31814,6 +34212,7 @@ class DSpiral2dSine: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -31847,6 +34246,7 @@ class DSpiral2dSine: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -31898,14 +34298,20 @@ class DSpiral2dSine: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dSine) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property def mLength(arg0: MSPyBentleyGeom.DSpiral2dBase) -> float: ... -class DSpiral2dWesternAustralian: +class DSpiral2dWesternAustralian(MSPyBentleyGeom.DSpiral2dDirectEvaluation): """ None """ @@ -31918,9 +34324,16 @@ class DSpiral2dWesternAustralian: def Collect(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector, centerA: MSPyBentleyGeom.DPoint3d, arcToSpiralA: MSPyBentleyGeom.DPoint3d, sprialA: MSPyBentleyGeom.DSpiral2dBase, sprialToLineA: MSPyBentleyGeom.DPoint3d, centerB: MSPyBentleyGeom.DPoint3d, arcToSpiralB: MSPyBentleyGeom.DPoint3d, spiralB: MSPyBentleyGeom.DSpiral2dBase, spiralToLibeB: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... + @staticmethod def ApplyCCWRotation(radians: float, xyz: MSPyBentleyGeom.DPoint2d, d1XYZ: DVec2d, d2XYZ: DVec2d, d3XYZ: DVec2d) -> None: """ rotate xy and optional derivatives by radians. (To be called by @@ -31929,12 +34342,14 @@ class DSpiral2dWesternAustralian: """ ... + @staticmethod def ArcSpiralLineSpiralArcTransition(centerA: MSPyBentleyGeom.DPoint3d, radiusA: float, lengthA: float, centerB: MSPyBentleyGeom.DPoint3d, radiusB: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, collector: MSPyBentleyGeom.DSpiral2dBase.ASLSACollector) -> int: ... def Clone(self: MSPyBentleyGeom.DSpiral2dBase) -> MSPyBentleyGeom.DSpiral2dBase: ... + @staticmethod def ClosestPoint(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, spiralToWorld: Transform, spacePoint: MSPyBentleyGeom.DPoint3d) -> tuple: """ Compute the closest spiral point for a given space point. @@ -31972,6 +34387,7 @@ class DSpiral2dWesternAustralian: def CopyBaseParameters(self: MSPyBentleyGeom.DSpiral2dBase, pSource: MSPyBentleyGeom.DSpiral2dBase) -> None: ... + @staticmethod def CreateBearingCurvatureBearingCurvature(*args, **kwargs): """ Overloaded function. @@ -31982,10 +34398,15 @@ class DSpiral2dWesternAustralian: 2. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureBearingCurvature(transitionType: int, startRadians: float, startCurvature: float, endRadians: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def CreateBearingCurvatureLengthCurvature(*args, **kwargs): """ Overloaded function. @@ -31996,10 +34417,15 @@ class DSpiral2dWesternAustralian: 2. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: MSPyBentleyGeom.DoubleArray) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... + + 3. CreateBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, extraData: list) -> MSPyBentleyGeom.DSpiral2dBase + invoke appropriate concrete class constructor ... """ ... + @staticmethod def DefaultStrokeAngle() -> float: ... @@ -32029,6 +34455,7 @@ class DSpiral2dWesternAustralian: """ ... + @staticmethod def EvaluateTwoTermClothoidSeriesAtDistanceInStandardOrientation(s: float, length: float, curvature1: float, xy: MSPyBentleyGeom.DPoint2d, d1XY: DVec2d, d2XY: DVec2d, d3XY: DVec2d) -> bool: """ (input) distance for evaluation (input) nominal length. ASSUMED NONZERO (input) @@ -32084,7 +34511,8 @@ class DSpiral2dWesternAustralian: """ ... - def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 10000.0) -> int: + @staticmethod + def GetIntervalCount(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, minInterval: int = 0, maxStrokeLength: float = 100000.0) -> int: """ Return an interval count for stroking or integration. Except for degenerate single interval cases, the interval count is always even. @@ -32116,6 +34544,7 @@ class DSpiral2dWesternAustralian: def GetVectorIntegrandCount(self: MSPyBentleyGeom.DSpiral2dBase) -> int: ... + @staticmethod def IsValidRLCombination(lengthFromInflection: float, radius: float, spiralType: int = 0) -> bool: """ test if a length-from-inflection and final radius @@ -32147,6 +34576,7 @@ class DSpiral2dWesternAustralian: """ ... + @staticmethod def LineSpiralArcSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, radius: float, lengthA: float, lengthB: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralAToArc: MSPyBentleyGeom.DPoint3d, spiralBToArc: MSPyBentleyGeom.DPoint3d, arc: MSPyBentleyGeom.DEllipse3d) -> bool: """ compute spirals and arc to make a line-to-line @@ -32226,12 +34656,14 @@ class DSpiral2dWesternAustralian: def SetBearingCurvatureLengthCurvature(self: MSPyBentleyGeom.DSpiral2dBase, theta0: float, curvature0: float, length: float, curvature1: float) -> bool: ... + @staticmethod def StringToTransitionType(name: str) -> int: """ return the integer code for the string name. """ ... + @staticmethod def Stroke(*args, **kwargs): """ Overloaded function. @@ -32416,11 +34848,18 @@ class DSpiral2dWesternAustralian: :returns: false if point buffer exceeded. - 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: List[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 10000.0) -> tuple + 7. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 8. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: list, maxStrokeLength: float = 100000.0) -> tuple + + 9. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list, fractions: MSPyBentleyGeom.DoubleArray, maxStrokeLength: float = 100000.0) -> tuple + + 10. Stroke(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, uvPoints: list[DVec2d], fractions: list, maxStrokeLength: float = 100000.0) -> tuple """ ... - def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 10000.0) -> tuple: + @staticmethod + def StrokeToAnnouncer(spiral: MSPyBentleyGeom.DSpiral2dBase, startFraction: float, endFraction: float, maxRadians: float, F: MSPyBentleyGeom.AnnounceDoubleDPoint2d, minIndex: int = 0, maxStrokeLength: float = 100000.0) -> tuple: """ Integrate the vector displacements of a clothoid over a fractional interval. This uses the angles, curvatures, and length. @@ -32456,6 +34895,7 @@ class DSpiral2dWesternAustralian: """ ... + @staticmethod def SymmetricLineSpiralSpiralLineTransition(lineAPoint: MSPyBentleyGeom.DPoint3d, lineBPoint: MSPyBentleyGeom.DPoint3d, lineLineIntersection: MSPyBentleyGeom.DPoint3d, length: float, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, lineToSpiralA: MSPyBentleyGeom.DPoint3d, lineToSpiralB: MSPyBentleyGeom.DPoint3d, spiralToSpiral: MSPyBentleyGeom.DPoint3d) -> tuple: """ compute spirals and arc to make a line-to-line @@ -32498,6 +34938,7 @@ class DSpiral2dWesternAustralian: """ ... + @staticmethod def SymmetricPointShoulderTargetTransition(startPoint: MSPyBentleyGeom.DPoint2d, shoulderPoint: MSPyBentleyGeom.DPoint2d, targetPoint: MSPyBentleyGeom.DPoint2d, spiralA: MSPyBentleyGeom.DSpiral2dBase, spiralB: MSPyBentleyGeom.DSpiral2dBase, junctionPoint: MSPyBentleyGeom.DPoint2d, endPoint: MSPyBentleyGeom.DPoint2d) -> bool: """ compute 2 spirals. @@ -32531,6 +34972,7 @@ class DSpiral2dWesternAustralian: """ ... + @staticmethod def TransitionTypeToString(type: int) -> str: """ return the string name of the type @@ -32582,7 +35024,13 @@ class DSpiral2dWesternAustralian: def VectorIntegrandCount(self: MSPyBentleyGeom.BSIVectorIntegrand) -> int: ... - def __init__(self: MSPyBentleyGeom.DSpiral2dWesternAustralian, arg0: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -32601,6 +35049,7 @@ class DTriangle3d: """ ... + @staticmethod def ClosestPointUnbounded(*args, **kwargs): """ Overloaded function. @@ -32629,6 +35078,7 @@ class DTriangle3d: """ ... + @staticmethod def Evaluate(*args, **kwargs): """ Overloaded function. @@ -32676,6 +35126,13 @@ class DTriangle3d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -32693,6 +35150,16 @@ class DTriangle3dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -32719,6 +35186,7 @@ class DTriangle3dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -32739,6 +35207,7 @@ class DTriangle3dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -32753,7 +35222,7 @@ class DTriangle3dArray: """ ... -class DVec2d: +class DVec2d(MSPyBentleyGeom.DPoint2d): """ None """ @@ -32828,6 +35297,7 @@ class DVec2d: """ ... + @staticmethod def DifferenceOf(*args, **kwargs): """ Overloaded function. @@ -32880,6 +35350,7 @@ class DVec2d: """ ... + @staticmethod def DotProduct(*args, **kwargs): """ Overloaded function. @@ -32933,6 +35404,7 @@ class DVec2d: def From(ax: float, ay: float) -> MSPyBentleyGeom.DVec2d: ... + @staticmethod def FromInterpolate(point0: MSPyBentleyGeom.DPoint2d, fraction: float, point1: MSPyBentleyGeom.DPoint2d) -> MSPyBentleyGeom.DPoint2d: """ Returns an interpolated point. @@ -32948,6 +35420,7 @@ class DVec2d: """ ... + @staticmethod def FromInterpolateBilinear(point00: MSPyBentleyGeom.DPoint2d, point10: MSPyBentleyGeom.DPoint2d, point01: MSPyBentleyGeom.DPoint2d, point11: MSPyBentleyGeom.DPoint2d, u: float, v: float) -> MSPyBentleyGeom.DPoint2d: """ Returns a bilinear interpolation from corners @@ -32975,12 +35448,14 @@ class DVec2d: """ ... + @staticmethod def FromOne() -> MSPyBentleyGeom.DPoint2d: """ Return a DPoint2d with xy = 1. """ ... + @staticmethod def FromScale(point: MSPyBentleyGeom.DPoint2d, scale: float) -> MSPyBentleyGeom.DPoint2d: """ Returns a scalar multiple of a DPoint2d @@ -33032,6 +35507,7 @@ class DVec2d: """ ... + @staticmethod def FromZero() -> MSPyBentleyGeom.DPoint2d: """ Return a DPoint2d with xy = 0. @@ -33055,6 +35531,7 @@ class DVec2d: def GetComponents(self: MSPyBentleyGeom.DVec2d) -> tuple: ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -33103,6 +35580,7 @@ class DVec2d: """ ... + @staticmethod def IsEqual(*args, **kwargs): """ Overloaded function. @@ -33224,6 +35702,7 @@ class DVec2d: """ ... + @staticmethod def Negate(*args, **kwargs): """ Overloaded function. @@ -33244,6 +35723,7 @@ class DVec2d: """ ... + @staticmethod def Normalize(*args, **kwargs): """ Overloaded function. @@ -33282,9 +35762,7 @@ class DVec2d: """ Computes a unit vector in the direction of the difference of the vectors or vectors (Second parameter vector is subtracted from - the first parameter vector, exactly as in the subtract function.) - - Remark: + the first parameter vector, exactly as in the subtract function.) -> Remark: In the 0-length error case, the vector is set to (1,0) in the legacy microstation style. @@ -33327,6 +35805,7 @@ class DVec2d: """ ... + @staticmethod def RotateCCW(*args, **kwargs): """ Overloaded function. @@ -33370,6 +35849,7 @@ class DVec2d: """ ... + @staticmethod def Scale(*args, **kwargs): """ Overloaded function. @@ -33396,6 +35876,7 @@ class DVec2d: """ ... + @staticmethod def ScaleToLength(*args, **kwargs): """ Overloaded function. @@ -33472,6 +35953,7 @@ class DVec2d: """ ... + @staticmethod def SumOf(*args, **kwargs): """ Overloaded function. @@ -33573,6 +36055,13 @@ class DVec2d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -33608,6 +36097,16 @@ class DVec2dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -33640,6 +36139,7 @@ class DVec2dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -33660,6 +36160,7 @@ class DVec2dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -33680,7 +36181,7 @@ class DVec2dArray: """ ... -class DVec3d: +class DVec3d(MSPyBentleyGeom.DPoint3d): """ None """ @@ -33695,6 +36196,7 @@ class DVec3d: """ ... + @staticmethod def AddToArray(*args, **kwargs): """ Overloaded function. @@ -33724,6 +36226,7 @@ class DVec3d: """ ... + @staticmethod def AlmostEqualXY(*args, **kwargs): """ Overloaded function. @@ -33823,6 +36326,7 @@ class DVec3d: """ ... + @staticmethod def CrossProduct(*args, **kwargs): """ Overloaded function. @@ -33913,6 +36417,7 @@ class DVec3d: """ ... + @staticmethod def DifferenceOf(*args, **kwargs): """ Overloaded function. @@ -33993,6 +36498,7 @@ class DVec3d: """ ... + @staticmethod def DivideArrayByScales(*args, **kwargs): """ Overloaded function. @@ -34014,7 +36520,109 @@ class DVec3d: :param (input): n number of points. - 2. DivideArrayByScales(outPoints: list, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + 2. DivideArrayByScales(outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 3. DivideArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 4. DivideArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: list) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 5. DivideArrayByScales(outPoints: list, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 6. DivideArrayByScales(outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: list) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 7. DivideArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list, scales: list) -> None + + @description Divide each point in an array by its corresponding scale + factor. Leave any point with near zero weight unchanged. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 8. DivideArrayByScales(outPoints: list, inPoints: list, scales: list) -> None @description Divide each point in an array by its corresponding scale factor. Leave any point with near zero weight unchanged. @@ -34037,7 +36645,7 @@ class DVec3d: """ @description Returns the (scalar) dot product of a two vectors. One vector is computed internally as the difference of the TargetPoint and - Origin. (TargetPoint-Origin) The other is given directly as a single + Origin. (TargetPoint-Origin) -> The other is given directly as a single argument. :param (input): @@ -34049,6 +36657,7 @@ class DVec3d: """ ... + @staticmethod def DotProduct(*args, **kwargs): """ Overloaded function. @@ -34299,6 +36908,7 @@ class DVec3d: """ ... + @staticmethod def FromInterpolateAndPerpendicularXY(pointA: MSPyBentleyGeom.DPoint3d, fraction: float, pointB: MSPyBentleyGeom.DPoint3d, fractionXYPerp: float) -> MSPyBentleyGeom.DPoint3d: """ interpolate between points. Then add a shift in the xy plane by a @@ -34423,12 +37033,14 @@ class DVec3d: """ ... + @staticmethod def FromOne() -> MSPyBentleyGeom.DPoint3d: """ Return a DPoint3d with xyz = 1. """ ... + @staticmethod def FromProduct(*args, **kwargs): """ Overloaded function. @@ -34567,6 +37179,7 @@ class DVec3d: """ ... + @staticmethod def FromSumOf(*args, **kwargs): """ Overloaded function. @@ -34658,6 +37271,7 @@ class DVec3d: """ ... + @staticmethod def FromWeightedAverage(*args, **kwargs): """ Overloaded function. @@ -34686,6 +37300,7 @@ class DVec3d: """ ... + @staticmethod def FromZero() -> MSPyBentleyGeom.DPoint3d: """ Return a DPoint3d with xyz = 0. @@ -34789,6 +37404,7 @@ class DVec3d: """ ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -34872,6 +37488,7 @@ class DVec3d: """ ... + @staticmethod def IsEqual(*args, **kwargs): """ Overloaded function. @@ -34900,14 +37517,33 @@ class DVec3d: """ ... - def IsParallelTo(self: MSPyBentleyGeom.DVec3d, vector2: MSPyBentleyGeom.DVec3d) -> bool: + @staticmethod + def IsParallelTo(*args, **kwargs): """ + Overloaded function. + + 1. IsParallelTo(self: MSPyBentleyGeom.DVec3d, vector2: MSPyBentleyGeom.DVec3d) -> bool + + Tests if two vectors are parallel (opposites are + considered parallel!) + + :param (input): + vector2 The second vector + + :returns: + true if the vectors are parallel within Angle.SmallAngle() tolerance + + 2. IsParallelTo(self: MSPyBentleyGeom.DVec3d, vector2: MSPyBentleyGeom.DVec3d, tolerance: float) -> bool + Tests if two vectors are parallel (opposites are considered parallel!) :param (input): vector2 The second vector + :param (input): + tolerance angular tolerance in radians + :returns: true if the vectors are parallel within tolerance """ @@ -35121,6 +37757,7 @@ class DVec3d: """ ... + @staticmethod def Multiply(*args, **kwargs): """ Overloaded function. @@ -35147,6 +37784,7 @@ class DVec3d: """ ... + @staticmethod def MultiplyArrayByScales(*args, **kwargs): """ Overloaded function. @@ -35168,7 +37806,109 @@ class DVec3d: :param (input): n number of points. - 2. MultiplyArrayByScales(outPoints: list, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + 2. MultiplyArrayByScales(outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 3. MultiplyArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 4. MultiplyArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: list) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 5. MultiplyArrayByScales(outPoints: list, inPoints: list, scales: MSPyBentleyGeom.DoubleArray) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 6. MultiplyArrayByScales(outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray, scales: list) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 7. MultiplyArrayByScales(outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list, scales: list) -> None + + @description Multiply each point in an array by its corresponding + scale factor. + + :param (output): + pDest destination array. + + :param (input): + pSource source array. + + :param (input): + pScales scale factors + + :param (input): + n number of points. + + 8. MultiplyArrayByScales(outPoints: list, inPoints: list, scales: list) -> None @description Multiply each point in an array by its corresponding scale factor. @@ -35187,6 +37927,7 @@ class DVec3d: """ ... + @staticmethod def MultiplyTranspose(*args, **kwargs): """ Overloaded function. @@ -35213,6 +37954,7 @@ class DVec3d: """ ... + @staticmethod def Negate(*args, **kwargs): """ Overloaded function. @@ -35233,6 +37975,7 @@ class DVec3d: """ ... + @staticmethod def Normalize(*args, **kwargs): """ Overloaded function. @@ -35287,9 +38030,7 @@ class DVec3d: """ Computes a unit vector in the direction of the difference of the vectors or vectors (Second parameter vector is subtracted from - the first parameter vector, exactly as in the subtract function.) - - Remark: + the first parameter vector, exactly as in the subtract function.) -> Remark: In the 0-length error case, the vector is set to (1,0,0) in the legacy microstation style. @@ -35376,6 +38117,7 @@ class DVec3d: """ ... + @staticmethod def RotateXY(*args, **kwargs): """ Overloaded function. @@ -35426,6 +38168,7 @@ class DVec3d: """ ... + @staticmethod def Scale(*args, **kwargs): """ Overloaded function. @@ -35452,6 +38195,7 @@ class DVec3d: """ ... + @staticmethod def ScaleToLength(*args, **kwargs): """ Overloaded function. @@ -35583,6 +38327,7 @@ class DVec3d: """ ... + @staticmethod def SumOf(*args, **kwargs): """ Overloaded function. @@ -35838,6 +38583,13 @@ class DVec3d: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -35884,6 +38636,16 @@ class DVec3dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -35916,6 +38678,7 @@ class DVec3dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -35936,6 +38699,7 @@ class DVec3dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -35961,6 +38725,16 @@ class DVec3dVecArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -35993,6 +38767,7 @@ class DVec3dVecArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -36013,6 +38788,7 @@ class DVec3dVecArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -36038,6 +38814,7 @@ class DgnBoxDetail: None """ + @staticmethod def AddCurveIntersections(*args, **kwargs): """ Overloaded function. @@ -36058,7 +38835,103 @@ class DgnBoxDetail: :param [in,out]: messages array of error messages - 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnBoxDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnBoxDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 3. AddCurveIntersections(self: MSPyBentleyGeom.DgnBoxDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 4. AddCurveIntersections(self: MSPyBentleyGeom.DgnBoxDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 5. AddCurveIntersections(self: MSPyBentleyGeom.DgnBoxDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 6. AddCurveIntersections(self: MSPyBentleyGeom.DgnBoxDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 7. AddCurveIntersections(self: MSPyBentleyGeom.DgnBoxDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 8. AddCurveIntersections(self: MSPyBentleyGeom.DgnBoxDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None Compute intersections with curves and add to the data array. @@ -36177,6 +39050,7 @@ class DgnBoxDetail: """ ... + @staticmethod def GetCorners(*args, **kwargs): """ Overloaded function. @@ -36229,6 +39103,7 @@ class DgnBoxDetail: """ ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -36366,7 +39241,7 @@ class DgnBoxDetail: def TryGetConstructiveFrame(self: MSPyBentleyGeom.DgnBoxDetail, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform) -> bool: """ - Return coordinate system with 1) XY in box base plane, origin at + Return coordinate system with 1) -> XY in box base plane, origin at nominal lower left. 2) Z perpendicular """ ... @@ -36408,6 +39283,13 @@ class DgnBoxDetail: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -36423,6 +39305,7 @@ class DgnConeDetail: None """ + @staticmethod def AddCurveIntersections(*args, **kwargs): """ Overloaded function. @@ -36443,7 +39326,103 @@ class DgnConeDetail: :param [in,out]: messages array of error messages - 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnConeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnConeDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 3. AddCurveIntersections(self: MSPyBentleyGeom.DgnConeDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 4. AddCurveIntersections(self: MSPyBentleyGeom.DgnConeDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 5. AddCurveIntersections(self: MSPyBentleyGeom.DgnConeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 6. AddCurveIntersections(self: MSPyBentleyGeom.DgnConeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 7. AddCurveIntersections(self: MSPyBentleyGeom.DgnConeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 8. AddCurveIntersections(self: MSPyBentleyGeom.DgnConeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None Compute intersections with curves and add to the data array. @@ -36606,6 +39585,7 @@ class DgnConeDetail: """ ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -36718,7 +39698,7 @@ class DgnConeDetail: def TryGetConstructiveFrame(self: MSPyBentleyGeom.DgnConeDetail, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform) -> bool: """ - Return coordinate system with 1) XY plane of base circle, origin at + Return coordinate system with 1) -> XY plane of base circle, origin at center. 2) Z perpendicular """ ... @@ -36760,6 +39740,13 @@ class DgnConeDetail: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -36779,6 +39766,7 @@ class DgnExtrusionDetail: None """ + @staticmethod def AddCurveIntersections(*args, **kwargs): """ Overloaded function. @@ -36799,7 +39787,103 @@ class DgnExtrusionDetail: :param [in,out]: messages array of error messages - 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnExtrusionDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnExtrusionDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 3. AddCurveIntersections(self: MSPyBentleyGeom.DgnExtrusionDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 4. AddCurveIntersections(self: MSPyBentleyGeom.DgnExtrusionDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 5. AddCurveIntersections(self: MSPyBentleyGeom.DgnExtrusionDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 6. AddCurveIntersections(self: MSPyBentleyGeom.DgnExtrusionDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 7. AddCurveIntersections(self: MSPyBentleyGeom.DgnExtrusionDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 8. AddCurveIntersections(self: MSPyBentleyGeom.DgnExtrusionDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None Compute intersections with curves and add to the data array. @@ -36942,6 +40026,7 @@ class DgnExtrusionDetail: """ ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -37049,6 +40134,13 @@ class DgnExtrusionDetail: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -37064,6 +40156,7 @@ class DgnRotationalSweepDetail: None """ + @staticmethod def AddCurveIntersections(*args, **kwargs): """ Overloaded function. @@ -37084,7 +40177,103 @@ class DgnRotationalSweepDetail: :param [in,out]: messages array of error messages - 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnRotationalSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnRotationalSweepDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 3. AddCurveIntersections(self: MSPyBentleyGeom.DgnRotationalSweepDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 4. AddCurveIntersections(self: MSPyBentleyGeom.DgnRotationalSweepDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 5. AddCurveIntersections(self: MSPyBentleyGeom.DgnRotationalSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 6. AddCurveIntersections(self: MSPyBentleyGeom.DgnRotationalSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 7. AddCurveIntersections(self: MSPyBentleyGeom.DgnRotationalSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 8. AddCurveIntersections(self: MSPyBentleyGeom.DgnRotationalSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None Compute intersections with curves and add to the data array. @@ -37241,6 +40430,7 @@ class DgnRotationalSweepDetail: """ ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -37324,7 +40514,13 @@ class DgnRotationalSweepDetail: eCentroidal """ - def __init__(self: MSPyBentleyGeom.DgnRotationalSweepDetail.RadiusType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCentroidal: RadiusType @@ -37436,6 +40632,13 @@ class DgnRotationalSweepDetail: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -37457,6 +40660,7 @@ class DgnRuledSweepDetail: None """ + @staticmethod def AddCurveIntersections(*args, **kwargs): """ Overloaded function. @@ -37477,7 +40681,103 @@ class DgnRuledSweepDetail: :param [in,out]: messages array of error messages - 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnRuledSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnRuledSweepDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 3. AddCurveIntersections(self: MSPyBentleyGeom.DgnRuledSweepDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 4. AddCurveIntersections(self: MSPyBentleyGeom.DgnRuledSweepDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 5. AddCurveIntersections(self: MSPyBentleyGeom.DgnRuledSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 6. AddCurveIntersections(self: MSPyBentleyGeom.DgnRuledSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 7. AddCurveIntersections(self: MSPyBentleyGeom.DgnRuledSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 8. AddCurveIntersections(self: MSPyBentleyGeom.DgnRuledSweepDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None Compute intersections with curves and add to the data array. @@ -37628,6 +40928,7 @@ class DgnRuledSweepDetail: """ ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -37738,15 +41039,24 @@ class DgnRuledSweepDetail: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. 1. __init__(self: MSPyBentleyGeom.DgnRuledSweepDetail, sectionCurves: MSPyBentleyGeom.CurveVectorPtrArray, capped: bool) -> None - 2. __init__(self: MSPyBentleyGeom.DgnRuledSweepDetail, sectionA: MSPyBentleyGeom.CurveVector, sectionB: MSPyBentleyGeom.CurveVector, capped: bool) -> None + 2. __init__(self: MSPyBentleyGeom.DgnRuledSweepDetail, sectionCurves: list, capped: bool) -> None - 3. __init__(self: MSPyBentleyGeom.DgnRuledSweepDetail) -> None + 3. __init__(self: MSPyBentleyGeom.DgnRuledSweepDetail, sectionA: MSPyBentleyGeom.CurveVector, sectionB: MSPyBentleyGeom.CurveVector, capped: bool) -> None + + 4. __init__(self: MSPyBentleyGeom.DgnRuledSweepDetail) -> None """ ... @@ -37755,6 +41065,7 @@ class DgnSphereDetail: None """ + @staticmethod def AddCurveIntersections(*args, **kwargs): """ Overloaded function. @@ -37775,7 +41086,103 @@ class DgnSphereDetail: :param [in,out]: messages array of error messages - 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnSphereDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnSphereDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 3. AddCurveIntersections(self: MSPyBentleyGeom.DgnSphereDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 4. AddCurveIntersections(self: MSPyBentleyGeom.DgnSphereDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 5. AddCurveIntersections(self: MSPyBentleyGeom.DgnSphereDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 6. AddCurveIntersections(self: MSPyBentleyGeom.DgnSphereDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 7. AddCurveIntersections(self: MSPyBentleyGeom.DgnSphereDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 8. AddCurveIntersections(self: MSPyBentleyGeom.DgnSphereDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None Compute intersections with curves and add to the data array. @@ -37919,6 +41326,7 @@ class DgnSphereDetail: """ ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -38052,7 +41460,7 @@ class DgnSphereDetail: def TryGetConstructiveFrame(self: MSPyBentleyGeom.DgnSphereDetail, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform) -> bool: """ - Return coordinate system with 1) XY plane in equatorial plane, origin + Return coordinate system with 1) -> XY plane in equatorial plane, origin at sphere center. 2) Z perpendicular """ ... @@ -38125,6 +41533,13 @@ class DgnSphereDetail: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38144,6 +41559,7 @@ class DgnTorusPipeDetail: None """ + @staticmethod def AddCurveIntersections(*args, **kwargs): """ Overloaded function. @@ -38164,7 +41580,103 @@ class DgnTorusPipeDetail: :param [in,out]: messages array of error messages - 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnTorusPipeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + 2. AddCurveIntersections(self: MSPyBentleyGeom.DgnTorusPipeDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 3. AddCurveIntersections(self: MSPyBentleyGeom.DgnTorusPipeDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 4. AddCurveIntersections(self: MSPyBentleyGeom.DgnTorusPipeDetail, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 5. AddCurveIntersections(self: MSPyBentleyGeom.DgnTorusPipeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 6. AddCurveIntersections(self: MSPyBentleyGeom.DgnTorusPipeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 7. AddCurveIntersections(self: MSPyBentleyGeom.DgnTorusPipeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 8. AddCurveIntersections(self: MSPyBentleyGeom.DgnTorusPipeDetail, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None Compute intersections with curves and add to the data array. @@ -38301,6 +41813,7 @@ class DgnTorusPipeDetail: """ ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -38321,6 +41834,7 @@ class DgnTorusPipeDetail: """ ... + @staticmethod def IntersectCurveLocal(*args, **kwargs): """ Overloaded function. @@ -38333,6 +41847,18 @@ class DgnTorusPipeDetail: 2. IntersectCurveLocal(self: MSPyBentleyGeom.DgnTorusPipeDetail, curve: MSPyBentleyGeom.ICurvePrimitive, curveFractions: MSPyBentleyGeom.DoubleArray, normalizedConePoints: list, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform, boundedConeZ: bool) -> tuple + Return all intersection points of a curve with the pipe body Returned + data is the detailed local coordinates, with additional data to relate + it back to world. + + 3. IntersectCurveLocal(self: MSPyBentleyGeom.DgnTorusPipeDetail, curve: MSPyBentleyGeom.ICurvePrimitive, curveFractions: list, normalizedConePoints: MSPyBentleyGeom.DPoint3dArray, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform, boundedConeZ: bool) -> tuple + + Return all intersection points of a curve with the pipe body Returned + data is the detailed local coordinates, with additional data to relate + it back to world. + + 4. IntersectCurveLocal(self: MSPyBentleyGeom.DgnTorusPipeDetail, curve: MSPyBentleyGeom.ICurvePrimitive, curveFractions: list, normalizedConePoints: list, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform, boundedConeZ: bool) -> tuple + Return all intersection points of a curve with the pipe body Returned data is the detailed local coordinates, with additional data to relate it back to world. @@ -38393,6 +41919,7 @@ class DgnTorusPipeDetail: """ ... + @staticmethod def TryGetFrame(*args, **kwargs): """ Overloaded function. @@ -38497,6 +42024,13 @@ class DgnTorusPipeDetail: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38512,7 +42046,13 @@ class DirectionalVolumeData: None """ - def __init__(self: MSPyBentleyGeom.DirectionalVolumeData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -38534,6 +42074,16 @@ class DoubleArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38566,6 +42116,7 @@ class DoubleArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -38586,6 +42137,7 @@ class DoubleArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -38606,7 +42158,7 @@ class DoubleArray: """ ... -class DoubleSizeSize: +class DoubleSizeSize(MSPyBentleyGeom.DoubleSizeSizeT): """ None """ @@ -38638,7 +42190,13 @@ class DoubleSizeSize: def SwapTags(self: MSPyBentleyGeom.DoubleSizeSizeT) -> None: ... - def __init__(self: MSPyBentleyGeom.DoubleSizeSize, value: float, tagA: int, tagB: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DoubleSizeSizeT: @@ -38673,6 +42231,13 @@ class DoubleSizeSizeT: def SwapTags(self: MSPyBentleyGeom.DoubleSizeSizeT) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38694,7 +42259,13 @@ class EdgeId: def SetFaces(self: MSPyBentleyGeom.EdgeId, f1: MSPyBentleyGeom.FaceId, f2: MSPyBentleyGeom.FaceId) -> None: ... - def __init__(self: MSPyBentleyGeom.EdgeId) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class EdgeIdArray: @@ -38702,6 +42273,16 @@ class EdgeIdArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38728,6 +42309,7 @@ class EdgeIdArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -38748,6 +42330,7 @@ class EdgeIdArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -38775,7 +42358,13 @@ class FaceId: None """ - def __init__(self: MSPyBentleyGeom.FaceId) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -38797,6 +42386,16 @@ class FaceIdArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38829,6 +42428,7 @@ class FaceIdArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -38849,6 +42449,7 @@ class FaceIdArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -38874,6 +42475,16 @@ class FaceIndicesArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38900,6 +42511,7 @@ class FaceIndicesArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -38920,6 +42532,7 @@ class FaceIndicesArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -38978,7 +42591,13 @@ class FacetCutFillHandler: """ ... - def __init__(self: MSPyBentleyGeom.FacetCutFillHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class FacetEdgeLocationDetail: @@ -38986,6 +42605,13 @@ class FacetEdgeLocationDetail: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -39049,7 +42675,13 @@ class FacetFaceData: """ ... - def __init__(self: MSPyBentleyGeom.FacetFaceData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -39099,6 +42731,16 @@ class FacetFaceDataArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -39125,6 +42767,7 @@ class FacetFaceDataArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -39145,6 +42788,7 @@ class FacetFaceDataArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -39324,6 +42968,13 @@ class FacetLocationDetail: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -39339,6 +42990,16 @@ class FacetLocationDetailArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -39365,6 +43026,7 @@ class FacetLocationDetailArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -39385,6 +43047,7 @@ class FacetLocationDetailArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -39404,7 +43067,13 @@ class FacetLocationDetailPair: None """ - def __init__(self: MSPyBentleyGeom.FacetLocationDetailPair) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -39421,11 +43090,18 @@ class FacetLocationDetailPair: def detailB(self: MSPyBentleyGeom.FacetLocationDetailPair, arg0: MSPyBentleyGeom.FacetLocationDetail) -> None: ... -class FacetLocationDetailPairWithIndices: +class FacetLocationDetailPairWithIndices(MSPyBentleyGeom.FacetLocationDetailPair): """ None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -39475,7 +43151,13 @@ class FacetParamMode: eFACET_PARAM_Distance """ - def __init__(self: MSPyBentleyGeom.FacetParamMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFACET_PARAM_01BothAxes: FacetParamMode @@ -39497,6 +43179,16 @@ class FilletDetailArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -39523,6 +43215,7 @@ class FilletDetailArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -39543,6 +43236,7 @@ class FilletDetailArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -39562,6 +43256,16 @@ class FloatArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -39594,6 +43298,7 @@ class FloatArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -39614,6 +43319,7 @@ class FloatArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -39639,7 +43345,13 @@ class FloatRgb: None """ - def __init__(self: MSPyBentleyGeom.FloatRgb) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -39668,6 +43380,16 @@ class FloatRgbArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -39694,6 +43416,7 @@ class FloatRgbArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -39714,6 +43437,7 @@ class FloatRgbArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -39736,7 +43460,13 @@ class GeoPoint: def Init(self: MSPyBentleyGeom.GeoPoint, longitudeValue: float, latitudeValue: float, elevationValue: float) -> None: ... - def __init__(self: MSPyBentleyGeom.GeoPoint) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -39768,7 +43498,13 @@ class GeoPoint2d: def Init(self: MSPyBentleyGeom.GeoPoint2d, longitudeValue: float, latitudeValue: float) -> None: ... - def __init__(self: MSPyBentleyGeom.GeoPoint2d) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -39785,6 +43521,160 @@ class GeoPoint2d: def longitude(self: MSPyBentleyGeom.GeoPoint2d, arg0: float) -> None: ... +class GeoPoint2dArray: + """ + None + """ + + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod + def __init__(*args, **kwargs): + """ + Overloaded function. + + 1. __init__(self: MSPyBentleyGeom.GeoPoint2dArray) -> None + + 2. __init__(self: MSPyBentleyGeom.GeoPoint2dArray, arg0: MSPyBentleyGeom.GeoPoint2dArray) -> None + + Copy constructor + + 3. __init__(self: MSPyBentleyGeom.GeoPoint2dArray, arg0: Iterable) -> None + """ + ... + + def append(self: MSPyBentleyGeom.GeoPoint2dArray, x: MSPyBentleyGeom.GeoPoint2d) -> None: + """ + Add an item to the end of the list + """ + ... + + def clear(self: MSPyBentleyGeom.GeoPoint2dArray) -> None: + """ + Clear the contents + """ + ... + + @staticmethod + def extend(*args, **kwargs): + """ + Overloaded function. + + 1. extend(self: MSPyBentleyGeom.GeoPoint2dArray, L: MSPyBentleyGeom.GeoPoint2dArray) -> None + + Extend the list by appending all the items in the given list + + 2. extend(self: MSPyBentleyGeom.GeoPoint2dArray, L: Iterable) -> None + + Extend the list by appending all the items in the given list + """ + ... + + def insert(self: MSPyBentleyGeom.GeoPoint2dArray, i: int, x: MSPyBentleyGeom.GeoPoint2d) -> None: + """ + Insert an item at a given position. + """ + ... + + @staticmethod + def pop(*args, **kwargs): + """ + Overloaded function. + + 1. pop(self: MSPyBentleyGeom.GeoPoint2dArray) -> MSPyBentleyGeom.GeoPoint2d + + Remove and return the last item + + 2. pop(self: MSPyBentleyGeom.GeoPoint2dArray, i: int) -> MSPyBentleyGeom.GeoPoint2d + + Remove and return the item at index ``i`` + """ + ... + +class GeoPointArray: + """ + None + """ + + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod + def __init__(*args, **kwargs): + """ + Overloaded function. + + 1. __init__(self: MSPyBentleyGeom.GeoPointArray) -> None + + 2. __init__(self: MSPyBentleyGeom.GeoPointArray, arg0: MSPyBentleyGeom.GeoPointArray) -> None + + Copy constructor + + 3. __init__(self: MSPyBentleyGeom.GeoPointArray, arg0: Iterable) -> None + """ + ... + + def append(self: MSPyBentleyGeom.GeoPointArray, x: MSPyBentleyGeom.GeoPoint) -> None: + """ + Add an item to the end of the list + """ + ... + + def clear(self: MSPyBentleyGeom.GeoPointArray) -> None: + """ + Clear the contents + """ + ... + + @staticmethod + def extend(*args, **kwargs): + """ + Overloaded function. + + 1. extend(self: MSPyBentleyGeom.GeoPointArray, L: MSPyBentleyGeom.GeoPointArray) -> None + + Extend the list by appending all the items in the given list + + 2. extend(self: MSPyBentleyGeom.GeoPointArray, L: Iterable) -> None + + Extend the list by appending all the items in the given list + """ + ... + + def insert(self: MSPyBentleyGeom.GeoPointArray, i: int, x: MSPyBentleyGeom.GeoPoint) -> None: + """ + Insert an item at a given position. + """ + ... + + @staticmethod + def pop(*args, **kwargs): + """ + Overloaded function. + + 1. pop(self: MSPyBentleyGeom.GeoPointArray) -> MSPyBentleyGeom.GeoPoint + + Remove and return the last item + + 2. pop(self: MSPyBentleyGeom.GeoPointArray, i: int) -> MSPyBentleyGeom.GeoPoint + + Remove and return the item at index ``i`` + """ + ... + class ICurvePrimitive: """ None @@ -39813,11 +43703,12 @@ class ICurvePrimitive: """ ... + @staticmethod def AddStrokes(*args, **kwargs): """ Overloaded function. - 1. AddStrokes(self: MSPyBentleyGeom.ICurvePrimitive, points: List[DPoint3d], options: IFacetOptions, includeStartPoint: bool = True, startFraction: float = 0.0, endFraction: float = 1.0) -> bool + 1. AddStrokes(self: MSPyBentleyGeom.ICurvePrimitive, points: list[DPoint3d], options: IFacetOptions, includeStartPoint: bool = True, startFraction: float = 0.0, endFraction: float = 1.0) -> bool Stroke the curve and add points to the bvector. return true if this is a strokable primitive -- Line, Arc, Bspline, Spiral, Akima, or partial @@ -39889,12 +43780,12 @@ class ICurvePrimitive: ... @property - def AkimaCurve(arg0: MSPyBentleyGeom.ICurvePrimitive) -> List[DPoint3d]: + def AkimaCurve(arg0: MSPyBentleyGeom.ICurvePrimitive) -> list[DPoint3d]: ... def AnnounceKeyPoints(self: MSPyBentleyGeom.ICurvePrimitive, spacePoint: DPoint3d, collector: MSPyBentleyGeom.CurveKeyPointCollector, extend0: bool, extend1: bool) -> None: """ - Search for various keypoints (as requested by the collector) During + Search for various keypoints (as requested by the collector) -> During recursion, extension bits are changed to false for interior points of paths """ @@ -39906,6 +43797,7 @@ class ICurvePrimitive: """ ... + @staticmethod def AppendCurvePlaneIntersections(*args, **kwargs): """ Overloaded function. @@ -39914,7 +43806,7 @@ class ICurvePrimitive: Return vector of intersections with a plane. Single point intersection appears as a CurveLocationDetailPair with identical locations for both - parts of the pair (SameCurveAndFraction) Curve-on-plane appears as + parts of the pair (SameCurveAndFraction) -> Curve-on-plane appears as CurveLocationDetailPair with curve,fraction data for start and end of on-plane sections. @@ -39928,11 +43820,47 @@ class ICurvePrimitive: tolerance for on-plane decisions. If 0, a tolerance is computed based on the coordinates in the curve. - 2. AppendCurvePlaneIntersections(self: MSPyBentleyGeom.ICurvePrimitive, plane: DPlane3dByVectors, bounded: UVBoundarySelect, intersections: MSPyBentleyGeom.CurveAndSolidLocationDetailArray) -> None + 2. AppendCurvePlaneIntersections(self: MSPyBentleyGeom.ICurvePrimitive, plane: DPlane3d, intersections: list, tolerance: float = 0.0) -> None Return vector of intersections with a plane. Single point intersection appears as a CurveLocationDetailPair with identical locations for both - parts of the pair (SameCurveAndFraction) Curve-on-plane appears as + parts of the pair (SameCurveAndFraction) -> Curve-on-plane appears as + CurveLocationDetailPair with curve,fraction data for start and end of + on-plane sections. + + :param (input): + plane + + :param (output): + intersections intersection details + + :param (input): + tolerance for on-plane decisions. If 0, a tolerance is computed + based on the coordinates in the curve. + + 3. AppendCurvePlaneIntersections(self: MSPyBentleyGeom.ICurvePrimitive, plane: DPlane3dByVectors, bounded: UVBoundarySelect, intersections: MSPyBentleyGeom.CurveAndSolidLocationDetailArray) -> None + + Return vector of intersections with a plane. Single point intersection + appears as a CurveLocationDetailPair with identical locations for both + parts of the pair (SameCurveAndFraction) -> Curve-on-plane appears as + CurveLocationDetailPair with curve,fraction data for start and end of + on-plane sections. + + :param (input): + plane + + :param (output): + intersections intersection details + + :param (input): + tolerance for on-plane decisions. If 0, a tolerance is computed + based on the coordinates in the curve. + + 4. AppendCurvePlaneIntersections(self: MSPyBentleyGeom.ICurvePrimitive, plane: DPlane3dByVectors, bounded: UVBoundarySelect, intersections: list) -> None + + Return vector of intersections with a plane. Single point intersection + appears as a CurveLocationDetailPair with identical locations for both + parts of the pair (SameCurveAndFraction) -> Curve-on-plane appears as CurveLocationDetailPair with curve,fraction data for start and end of on-plane sections. @@ -40021,6 +43949,7 @@ class ICurvePrimitive: """ ... + @staticmethod def ClosestPointBounded(*args, **kwargs): """ Overloaded function. @@ -40069,6 +43998,7 @@ class ICurvePrimitive: """ ... + @staticmethod def ClosestPointBoundedXY(*args, **kwargs): """ Overloaded function. @@ -40103,6 +44033,7 @@ class ICurvePrimitive: """ ... + @staticmethod def ComponentFractionToPoint(*args, **kwargs): """ Overloaded function. @@ -40146,7 +44077,7 @@ class ICurvePrimitive: """ Overloaded function. - 1. CreateAkimaCurve(points: List[DPoint3d]) -> MSPyBentleyGeom.ICurvePrimitive + 1. CreateAkimaCurve(points: list[DPoint3d]) -> MSPyBentleyGeom.ICurvePrimitive Allocate and fill a new akima curve @@ -40302,7 +44233,7 @@ class ICurvePrimitive: """ Overloaded function. - 1. CreateLineString(points: List[DPoint3d]) -> MSPyBentleyGeom.ICurvePrimitive + 1. CreateLineString(points: list[DPoint3d]) -> MSPyBentleyGeom.ICurvePrimitive Allocate and fill a new linestring @@ -40351,7 +44282,7 @@ class ICurvePrimitive: """ Overloaded function. - 1. CreatePointString(points: List[DPoint3d]) -> MSPyBentleyGeom.ICurvePrimitive + 1. CreatePointString(points: list[DPoint3d]) -> MSPyBentleyGeom.ICurvePrimitive Allocate and fill a new point string @@ -40432,8 +44363,12 @@ class ICurvePrimitive: ... @staticmethod - def CreateSpiral(spiral: DSpiral2dBase, frame: Transform, fractionA: float, fractionB: float) -> MSPyBentleyGeom.ICurvePrimitive: + def CreateSpiral(*args, **kwargs): """ + Overloaded function. + + 1. CreateSpiral(spiral: DSpiral2dBase, frame: Transform, fractionA: float, fractionB: float) -> MSPyBentleyGeom.ICurvePrimitive + Allocate and fill a spiral curve. :param (input): @@ -40448,6 +44383,29 @@ class ICurvePrimitive: :param (input): fractionB end fraction for active portion of curve + + :param (input) : + maxStrokeLength maximum stroke length.Recommended 100000 UORs(corresponds to 10 meters, typically). + + 2. CreateSpiral(spiral: DSpiral2dBase, frame: Transform, fractionA: float, fractionB: float, maxStrokeLength: float) -> MSPyBentleyGeom.ICurvePrimitive + + Allocate and fill a spiral curve. + + :param (input): + spiral spiral structure (to be cloned -- caller still responsible + for deallocation) + + :param (input): + frame placement frame + + :param (input): + fractionA start fraction for active portion of curve + + :param (input): + fractionB end fraction for active portion of curve + + :param (input) : + maxStrokeLength maximum stroke length.Recommended 100000 UORs(corresponds to 10 meters, typically). """ ... @@ -40516,7 +44474,36 @@ class ICurvePrimitive: fractionB end fraction for active portion of curve @praam (input) extraData type-specific extra data. - 2. CreateSpiralBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, frame: Transform, fractionA: float, fractionB: float) -> MSPyBentleyGeom.ICurvePrimitive + 2. CreateSpiralBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, frame: Transform, fractionA: float, fractionB: float, extraData: list) -> MSPyBentleyGeom.ICurvePrimitive + + Allocate and fill a spiral curve. + + :param (input): + startRadians bearing at start + + :param (input): + startCurvature curvature at start (or 0 if flat) + + :param (input): + length length along spiral + + :param (input): + endCurvature curvature at end (or 0 if flat) + + :param (input): + transitionType (see DSpiral2dBase) + + :param (input): + frame placement frame + + :param (input): + fractionA start fraction for active portion of curve + + :param (input): + fractionB end fraction for active portion of curve @praam (input) + extraData type-specific extra data. + + 3. CreateSpiralBearingCurvatureLengthCurvature(transitionType: int, startRadians: float, startCurvature: float, length: float, endCurvature: float, frame: Transform, fractionA: float, fractionB: float) -> MSPyBentleyGeom.ICurvePrimitive Allocate and fill a spiral curve. @@ -40581,7 +44568,36 @@ class ICurvePrimitive: fractionB end fraction for active portion of curve @praam (input) extraData type-specific extra data. - 2. CreateSpiralBearingRadiusBearingRadius(transitionType: int, startRadians: float, startRadius: float, endRadians: float, endRadius: float, frame: Transform, fractionA: float, fractionB: float) -> MSPyBentleyGeom.ICurvePrimitive + 2. CreateSpiralBearingRadiusBearingRadius(transitionType: int, startRadians: float, startRadius: float, endRadians: float, endRadius: float, frame: Transform, fractionA: float, fractionB: float, extraData: list) -> MSPyBentleyGeom.ICurvePrimitive + + Allocate and fill a spiral curve. + + :param (input): + startRadians bearing at start + + :param (input): + startRadius radius at start (or 0 of flat) + + :param (input): + endRadians bearing at end + + :param (input): + endRadius radius at end (or 0 if flat) + + :param (input): + transitionType (see DSpiral2dBase) + + :param (input): + frame placement frame + + :param (input): + fractionA start fraction for active portion of curve + + :param (input): + fractionB end fraction for active portion of curve @praam (input) + extraData type-specific extra data. + + 3. CreateSpiralBearingRadiusBearingRadius(transitionType: int, startRadians: float, startRadius: float, endRadians: float, endRadius: float, frame: Transform, fractionA: float, fractionB: float) -> MSPyBentleyGeom.ICurvePrimitive Allocate and fill a spiral curve. @@ -40646,7 +44662,36 @@ class ICurvePrimitive: fractionB end fraction for active portion of curve @praam (input) extraData type-specific extra data. - 2. CreateSpiralBearingRadiusLengthRadius(transitionType: int, startRadians: float, startRadius: float, length: float, endRadius: float, frame: Transform, fractionA: float, fractionB: float) -> MSPyBentleyGeom.ICurvePrimitive + 2. CreateSpiralBearingRadiusLengthRadius(transitionType: int, startRadians: float, startRadius: float, length: float, endRadius: float, frame: Transform, fractionA: float, fractionB: float, extraData: list) -> MSPyBentleyGeom.ICurvePrimitive + + Allocate and fill a spiral curve. + + :param (input): + startRadians bearing at start + + :param (input): + startRadius radius at start (or 0 if flat) + + :param (input): + length length along spiral + + :param (input): + endRadius radius at end (or 0 if flat) + + :param (input): + transitionType (see DSpiral2dBase) + + :param (input): + frame placement frame + + :param (input): + fractionA start fraction for active portion of curve + + :param (input): + fractionB end fraction for active portion of curve @praam (input) + extraData type-specific extra data. + + 3. CreateSpiralBearingRadiusLengthRadius(transitionType: int, startRadians: float, startRadius: float, length: float, endRadius: float, frame: Transform, fractionA: float, fractionB: float) -> MSPyBentleyGeom.ICurvePrimitive Allocate and fill a spiral curve. @@ -40690,7 +44735,13 @@ class ICurvePrimitive: eCURVE_PRIMITIVE_BIT_AllApplicationBits """ - def __init__(self: MSPyBentleyGeom.ICurvePrimitive.CurvePrimitiveMarkerBit, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCURVE_PRIMITIVE_BIT_AllApplicationBits: CurvePrimitiveMarkerBit @@ -40728,6 +44779,7 @@ class ICurvePrimitive: """ ... + @staticmethod def FractionToFrenetFrame(*args, **kwargs): """ Overloaded function. @@ -40782,6 +44834,7 @@ class ICurvePrimitive: """ ... + @staticmethod def FractionToPoint(*args, **kwargs): """ Overloaded function. @@ -40891,7 +44944,7 @@ class ICurvePrimitive: """ ... - def GetAkimaCurve(self: MSPyBentleyGeom.ICurvePrimitive) -> List[DPoint3d]: + def GetAkimaCurve(self: MSPyBentleyGeom.ICurvePrimitive) -> list[DPoint3d]: ... def GetArc(self: MSPyBentleyGeom.ICurvePrimitive) -> DEllipse3d: @@ -40931,7 +44984,7 @@ class ICurvePrimitive: def GetLine(self: MSPyBentleyGeom.ICurvePrimitive) -> DSegment3d: ... - def GetLineString(self: MSPyBentleyGeom.ICurvePrimitive) -> List[DPoint3d]: + def GetLineString(self: MSPyBentleyGeom.ICurvePrimitive) -> list[DPoint3d]: ... def GetMSBsplineCurvePtr(self: MSPyBentleyGeom.ICurvePrimitive, fraction0: float = 0.0, fraction1: float = 1.0) -> RefCountedMSBsplineCurve: @@ -40946,12 +44999,13 @@ class ICurvePrimitive: def GetPartialCurveDetail(self: MSPyBentleyGeom.ICurvePrimitive) -> MSPyBentleyGeom.PartialCurveDetail: ... - def GetPointString(self: MSPyBentleyGeom.ICurvePrimitive) -> List[DPoint3d]: + def GetPointString(self: MSPyBentleyGeom.ICurvePrimitive) -> list[DPoint3d]: ... def GetProxyBsplineCurve(self: MSPyBentleyGeom.ICurvePrimitive) -> RefCountedMSBsplineCurve: ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -40969,6 +45023,7 @@ class ICurvePrimitive: def GetSpiralPlacement(self: MSPyBentleyGeom.ICurvePrimitive) -> DSpiral2dPlacement: ... + @staticmethod def GetStartEnd(*args, **kwargs): """ Overloaded function. @@ -41087,6 +45142,7 @@ class ICurvePrimitive: """ ... + @staticmethod def Length(*args, **kwargs): """ Overloaded function. @@ -41114,7 +45170,7 @@ class ICurvePrimitive: ... @property - def LineString(arg0: MSPyBentleyGeom.ICurvePrimitive) -> List[DPoint3d]: + def LineString(arg0: MSPyBentleyGeom.ICurvePrimitive) -> list[DPoint3d]: ... def NumComponent(self: MSPyBentleyGeom.ICurvePrimitive) -> int: @@ -41129,6 +45185,7 @@ class ICurvePrimitive: def PartialCurveDetail(arg0: MSPyBentleyGeom.ICurvePrimitive) -> MSPyBentleyGeom.PartialCurveDetail: ... + @staticmethod def PointAtSignedDistanceFromFraction(*args, **kwargs): """ Overloaded function. @@ -41149,12 +45206,9 @@ class ICurvePrimitive: :param (output): location fraction and point after move.{a} field indicates actual - signed distance moved (which may be less than request!!) - - Remark: + signed distance moved (which may be less than request!!) -> Remark: If extension is not allowed, there are fussy rules for both the - input and output. (1) The startFraction is clamped to{0..1} (2) - Movement stops at the endpoint in the indicated direction. + input and output. (1) -> The startFraction is clamped to{0..1} (2) -> Movement stops at the endpoint in the indicated direction. 2. PointAtSignedDistanceFromFraction(self: MSPyBentleyGeom.ICurvePrimitive, worldToView: RotMatrix, startFraction: float, signedDistance: float, allowExtension: bool, location: MSPyBentleyGeom.CurveLocationDetail) -> bool @@ -41172,19 +45226,17 @@ class ICurvePrimitive: :param (output): location fraction and point after move.{a} field indicates actual - signed distance moved (which may be less than request!!) - - Remark: + signed distance moved (which may be less than request!!) -> Remark: If extension is not allowed, there are fussy rules for both the - input and output. (1) The startFraction is clamped to{0..1} (2) - Movement stops at the endpoint in the indicated direction. + input and output. (1) -> The startFraction is clamped to{0..1} (2) -> Movement stops at the endpoint in the indicated direction. """ ... @property - def PointString(arg0: MSPyBentleyGeom.ICurvePrimitive) -> List[DPoint3d]: + def PointString(arg0: MSPyBentleyGeom.ICurvePrimitive) -> list[DPoint3d]: ... + @staticmethod def ProjectedParameterRange(*args, **kwargs): """ Overloaded function. @@ -41268,6 +45320,7 @@ class ICurvePrimitive: """ ... + @staticmethod def SignedDistanceBetweenFractions(*args, **kwargs): """ Overloaded function. @@ -41383,12 +45436,15 @@ class ICurvePrimitive: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eCURVE_PRIMITIVE_BIT_AllApplicationBits: CurvePrimitiveMarkerBit eCURVE_PRIMITIVE_BIT_GapCurve: CurvePrimitiveMarkerBit @@ -41422,6 +45478,16 @@ class ICurvePrimitivePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -41454,6 +45520,7 @@ class ICurvePrimitivePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -41474,6 +45541,7 @@ class ICurvePrimitivePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -41513,8 +45581,17 @@ class IFacetOptions: def BSurfSmoothTriangleFlowRequired(arg0: MSPyBentleyGeom.IFacetOptions, arg1: bool) -> None: ... - def BezierStrokeCount(self: MSPyBentleyGeom.IFacetOptions, poles: MSPyBentleyGeom.DPoint4dArray, index0: int, order: int) -> tuple: + @staticmethod + def BezierStrokeCount(*args, **kwargs): """ + Overloaded function. + + 1. BezierStrokeCount(self: MSPyBentleyGeom.IFacetOptions, poles: MSPyBentleyGeom.DPoint4dArray, index0: int, order: int) -> tuple + + Compute the number of strokes needed for a (weighted) bezier. + + 2. BezierStrokeCount(self: MSPyBentleyGeom.IFacetOptions, poles: list, index0: int, order: int) -> tuple + Compute the number of strokes needed for a (weighted) bezier. """ ... @@ -42143,7 +46220,13 @@ class IFacetOptions: def VertexColorsRequired(arg0: MSPyBentleyGeom.IFacetOptions, arg1: bool) -> None: ... - def __init__(self: MSPyBentleyGeom.IFacetOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IGeometry: @@ -42151,6 +46234,7 @@ class IGeometry: None """ + @staticmethod def Clone(*args, **kwargs): """ Overloaded function. @@ -42186,6 +46270,7 @@ class IGeometry: def IsSameStructureAndGeometry(self: MSPyBentleyGeom.IGeometry, other: MSPyBentleyGeom.IGeometry, tolerance: float = 0.0) -> bool: ... + @staticmethod def TryGetRange(*args, **kwargs): """ Overloaded function. @@ -42199,6 +46284,13 @@ class IGeometry: def TryTransformInPlace(self: MSPyBentleyGeom.IGeometry, transform: Transform) -> bool: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -42230,6 +46322,16 @@ class IGeometryPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -42262,6 +46364,7 @@ class IGeometryPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -42282,6 +46385,7 @@ class IGeometryPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -42307,6 +46411,7 @@ class IPolyfaceConstruction: None """ + @staticmethod def Add(*args, **kwargs): """ Overloaded function. @@ -42424,6 +46529,7 @@ class IPolyfaceConstruction: """ ... + @staticmethod def AddLinearSweep(*args, **kwargs): """ Overloaded function. @@ -42437,6 +46543,20 @@ class IPolyfaceConstruction: 2. AddLinearSweep(self: MSPyBentleyGeom.IPolyfaceConstruction, pointA: list, tangentA: MSPyBentleyGeom.DVec3dArray, step: MSPyBentleyGeom.DVec3d) -> None + Make a linear sweep from base points. To indicate a sharp corner, + duplicate the point, using incoming tangent on the first, outgoing on + the second. Any zero-length edge will be skipped, and the sweep edge + will be marked visible. + + 3. AddLinearSweep(self: MSPyBentleyGeom.IPolyfaceConstruction, pointA: MSPyBentleyGeom.DPoint3dArray, tangentA: list, step: MSPyBentleyGeom.DVec3d) -> None + + Make a linear sweep from base points. To indicate a sharp corner, + duplicate the point, using incoming tangent on the first, outgoing on + the second. Any zero-length edge will be skipped, and the sweep edge + will be marked visible. + + 4. AddLinearSweep(self: MSPyBentleyGeom.IPolyfaceConstruction, pointA: list, tangentA: list, step: MSPyBentleyGeom.DVec3d) -> None + Make a linear sweep from base points. To indicate a sharp corner, duplicate the point, using incoming tangent on the first, outgoing on the second. Any zero-length edge will be skipped, and the sweep edge @@ -42457,6 +46577,7 @@ class IPolyfaceConstruction: """ ... + @staticmethod def AddNormalIndexPlanarFan(*args, **kwargs): """ Overloaded function. @@ -42547,6 +46668,7 @@ class IPolyfaceConstruction: """ ... + @staticmethod def AddPointIndexFan(*args, **kwargs): """ Overloaded function. @@ -42649,8 +46771,25 @@ class IPolyfaceConstruction: """ ... - def AddRowMajorQuadGrid(self: MSPyBentleyGeom.IPolyfaceConstruction, points: List[MSPyBentleyGeom.DPoint3d], normals: List[MSPyBentleyGeom.DVec3d], params: List[MSPyBentleyGeom.DPoint2d], numPerRow: int, numRow: int, forceTriangles: bool = False) -> None: + @staticmethod + def AddRowMajorQuadGrid(*args, **kwargs): """ + Overloaded function. + + 1. AddRowMajorQuadGrid(self: MSPyBentleyGeom.IPolyfaceConstruction, points: List[MSPyBentleyGeom.DPoint3d], normals: List[MSPyBentleyGeom.DVec3d], params: List[MSPyBentleyGeom.DPoint2d], numPerRow: int, numRow: int, forceTriangles: bool = False) -> None + + Add square grid with normal, param at each point. + + 2. AddRowMajorQuadGrid(self: MSPyBentleyGeom.IPolyfaceConstruction, points: list, normals: List[MSPyBentleyGeom.DVec3d], params: List[MSPyBentleyGeom.DPoint2d], numPerRow: int, numRow: int, forceTriangles: bool = False) -> None + + Add square grid with normal, param at each point. + + 3. AddRowMajorQuadGrid(self: MSPyBentleyGeom.IPolyfaceConstruction, points: List[MSPyBentleyGeom.DPoint3d], normals: List[MSPyBentleyGeom.DVec3d], params: list, numPerRow: int, numRow: int, forceTriangles: bool = False) -> None + + Add square grid with normal, param at each point. + + 4. AddRowMajorQuadGrid(self: MSPyBentleyGeom.IPolyfaceConstruction, points: list, normals: List[MSPyBentleyGeom.DVec3d], params: list, numPerRow: int, numRow: int, forceTriangles: bool = False) -> None + Add square grid with normal, param at each point. """ ... @@ -42849,8 +46988,18 @@ class IPolyfaceConstruction: """ ... - def FindOrAddNormals(self: MSPyBentleyGeom.IPolyfaceConstruction, point: MSPyBentleyGeom.DVec3dArray, n: int, numWrap: int, index: MSPyBentleyGeom.UInt64Array) -> None: + @staticmethod + def FindOrAddNormals(*args, **kwargs): """ + Overloaded function. + + 1. FindOrAddNormals(self: MSPyBentleyGeom.IPolyfaceConstruction, point: MSPyBentleyGeom.DVec3dArray, n: int, numWrap: int, index: MSPyBentleyGeom.UInt64Array) -> None + + Find or add n indices. Return the n indices plus numWrap additional + wraparounds. + + 2. FindOrAddNormals(self: MSPyBentleyGeom.IPolyfaceConstruction, point: list, n: int, numWrap: int, index: MSPyBentleyGeom.UInt64Array) -> None + Find or add n indices. Return the n indices plus numWrap additional wraparounds. """ @@ -42862,8 +47011,18 @@ class IPolyfaceConstruction: """ ... - def FindOrAddParams(self: MSPyBentleyGeom.IPolyfaceConstruction, params: MSPyBentleyGeom.DPoint2dArray, index: MSPyBentleyGeom.UInt64Array) -> None: + @staticmethod + def FindOrAddParams(*args, **kwargs): """ + Overloaded function. + + 1. FindOrAddParams(self: MSPyBentleyGeom.IPolyfaceConstruction, params: MSPyBentleyGeom.DPoint2dArray, index: MSPyBentleyGeom.UInt64Array) -> None + + Find or add n indices. Return the n indices plus numWrap additional + wraparounds. + + 2. FindOrAddParams(self: MSPyBentleyGeom.IPolyfaceConstruction, params: list, index: MSPyBentleyGeom.UInt64Array) -> None + Find or add n indices. Return the n indices plus numWrap additional wraparounds. """ @@ -42875,6 +47034,7 @@ class IPolyfaceConstruction: """ ... + @staticmethod def FindOrAddPoints(*args, **kwargs): """ Overloaded function. @@ -43060,6 +47220,7 @@ class IPolyfaceConstruction: """ ... + @staticmethod def RemapPseudoDistanceParams(*args, **kwargs): """ Overloaded function. @@ -43096,7 +47257,71 @@ class IPolyfaceConstruction: transform optional transform (e.g. to be applied later to more params in the same parameter space) (May be nullptr) - 2. RemapPseudoDistanceParams(self: MSPyBentleyGeom.IPolyfaceConstruction, params: MSPyBentleyGeom.DPoint2dArray, distanceRange: MSPyBentleyGeom.DRange2d, paramRange: MSPyBentleyGeom.DRange2d, xDistanceFactor: float, yDistanceFactor: float) -> bool + 2. RemapPseudoDistanceParams(self: MSPyBentleyGeom.IPolyfaceConstruction, params: list, distanceRange: MSPyBentleyGeom.DRange2d, paramRange: MSPyBentleyGeom.DRange2d, xDistanceFactor: float, yDistanceFactor: float, transform: Transform) -> bool + + Apply the FacetParamMode to an array of parameters. On input, params + are in coordinates that can be scaled independently in x and y to + obtain distances. On ouptut, params are in PARAM_MODE_01BothAxes, + PARAM_MODE_01LargerAxis, or PARAM_MODE_Distance as requested by the + facet options in effect. + + :param [in,out]: + params parameters to remap. + + :param (output): + distanceRange range of parameters when scaled to distance (whether + or not params are returned as distances) + + :param (output): + paramRange range of parameters as actually returned. + + :param (input): + xDistanceFactor scale factor to turn input x coordinates to + distance (if distance requested either as final result or for + larger axis scaling) + + :param (input): + yDistanceFactor scale factor to turn input y coordinates to + distance (if distance requested either as final result or for + larger axis scaling) + + :param (output): + transform optional transform (e.g. to be applied later to more + params in the same parameter space) (May be nullptr) + + 3. RemapPseudoDistanceParams(self: MSPyBentleyGeom.IPolyfaceConstruction, params: MSPyBentleyGeom.DPoint2dArray, distanceRange: MSPyBentleyGeom.DRange2d, paramRange: MSPyBentleyGeom.DRange2d, xDistanceFactor: float, yDistanceFactor: float) -> bool + + Apply the FacetParamMode to an array of parameters. On input, params + are in coordinates that can be scaled independently in x and y to + obtain distances. On ouptut, params are in PARAM_MODE_01BothAxes, + PARAM_MODE_01LargerAxis, or PARAM_MODE_Distance as requested by the + facet options in effect. + + :param [in,out]: + params parameters to remap. + + :param (output): + distanceRange range of parameters when scaled to distance (whether + or not params are returned as distances) + + :param (output): + paramRange range of parameters as actually returned. + + :param (input): + xDistanceFactor scale factor to turn input x coordinates to + distance (if distance requested either as final result or for + larger axis scaling) + + :param (input): + yDistanceFactor scale factor to turn input y coordinates to + distance (if distance requested either as final result or for + larger axis scaling) + + :param (output): + transform optional transform (e.g. to be applied later to more + params in the same parameter space) (May be nullptr) + + 4. RemapPseudoDistanceParams(self: MSPyBentleyGeom.IPolyfaceConstruction, params: list, distanceRange: MSPyBentleyGeom.DRange2d, paramRange: MSPyBentleyGeom.DRange2d, xDistanceFactor: float, yDistanceFactor: float) -> bool Apply the FacetParamMode to an array of parameters. On input, params are in coordinates that can be scaled independently in x and y to @@ -43183,6 +47408,7 @@ class IPolyfaceConstruction: """ ... + @staticmethod def StrokeWithDoubledPointsAtCorners(*args, **kwargs): """ Overloaded function. @@ -43205,7 +47431,34 @@ class IPolyfaceConstruction: points are doubled at hard corners (so the incoming and outgoing tangents can be distinguished) - 3. StrokeWithDoubledPointsAtCorners(self: MSPyBentleyGeom.IPolyfaceConstruction, curves: MSPyBentleyGeom.CurveVector, points: MSPyBentleyGeom.DPoint3dVecArray, tangent: MSPyBentleyGeom.DVec3dVecArray, curveLengths: MSPyBentleyGeom.DoubleArray) -> bool + 3. StrokeWithDoubledPointsAtCorners(self: MSPyBentleyGeom.IPolyfaceConstruction, curves: MSPyBentleyGeom.CurveVector, points: MSPyBentleyGeom.DPoint3dArray, tangents: list) -> tuple + + Stroke with facet options from the PolyfaceConstruction. Return false + if not a simple loop. + + Remark: + points are doubled at hard corners (so the incoming and outgoing + tangents can be distinguished) + + 4. StrokeWithDoubledPointsAtCorners(self: MSPyBentleyGeom.IPolyfaceConstruction, curves: MSPyBentleyGeom.CurveVector, points: list, tangents: list) -> tuple + + Stroke with facet options from the PolyfaceConstruction. Return false + if not a simple loop. + + Remark: + points are doubled at hard corners (so the incoming and outgoing + tangents can be distinguished) + + 5. StrokeWithDoubledPointsAtCorners(self: MSPyBentleyGeom.IPolyfaceConstruction, curves: MSPyBentleyGeom.CurveVector, points: MSPyBentleyGeom.DPoint3dVecArray, tangent: MSPyBentleyGeom.DVec3dVecArray, curveLengths: MSPyBentleyGeom.DoubleArray) -> bool + + Stroke with facet options from the PolyfaceConstruction. Return false + if not a simple loop. + + Remark: + points are doubled at hard corners (so the incoming and outgoing + tangents can be distinguished) + + 6. StrokeWithDoubledPointsAtCorners(self: MSPyBentleyGeom.IPolyfaceConstruction, curves: MSPyBentleyGeom.CurveVector, points: MSPyBentleyGeom.DPoint3dVecArray, tangents: MSPyBentleyGeom.DVec3dVecArray, curveLengths: list) -> bool Stroke with facet options from the PolyfaceConstruction. Return false if not a simple loop. @@ -43226,7 +47479,13 @@ class IPolyfaceConstruction: def WorldToLocalScale(arg0: MSPyBentleyGeom.IPolyfaceConstruction) -> float: ... - def __init__(self: MSPyBentleyGeom.IPolyfaceConstruction, options: MSPyBentleyGeom.IFacetOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ISolidPrimitive: @@ -43234,6 +47493,7 @@ class ISolidPrimitive: None """ + @staticmethod def AddCurveIntersections(*args, **kwargs): """ Overloaded function. @@ -43254,7 +47514,103 @@ class ISolidPrimitive: :param [in,out]: messages array of error messages - 2. AddCurveIntersections(self: MSPyBentleyGeom.ISolidPrimitive, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + 2. AddCurveIntersections(self: MSPyBentleyGeom.ISolidPrimitive, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 3. AddCurveIntersections(self: MSPyBentleyGeom.ISolidPrimitive, curves: MSPyBentleyGeom.CurveVector, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 4. AddCurveIntersections(self: MSPyBentleyGeom.ISolidPrimitive, curves: MSPyBentleyGeom.CurveVector, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 5. AddCurveIntersections(self: MSPyBentleyGeom.ISolidPrimitive, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 6. AddCurveIntersections(self: MSPyBentleyGeom.ISolidPrimitive, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: MSPyBentleyGeom.SolidLocationDetailArray, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 7. AddCurveIntersections(self: MSPyBentleyGeom.ISolidPrimitive, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: MSPyBentleyGeom.CurveLocationDetailArray, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None + + Compute intersections with curves and add to the data array. + + :param (input): + curves + + :param [in,out]: + curvePoints growing array of curve points. + + :param [in,out]: + solidPoints growing array of solid points. + + :param [in,out]: + messages array of error messages + + 8. AddCurveIntersections(self: MSPyBentleyGeom.ISolidPrimitive, curves: MSPyBentleyGeom.ICurvePrimitive, curvePoints: list, solidPoints: list, messages: MSPyBentleyGeom.MeshAnnotationVector) -> None Compute intersections with curves and add to the data array. @@ -43440,6 +47796,7 @@ class ISolidPrimitive: """ ... + @staticmethod def ComputeSecondMomentAreaProducts(*args, **kwargs): """ Overloaded function. @@ -43478,6 +47835,7 @@ class ISolidPrimitive: """ ... + @staticmethod def ComputeSecondMomentVolumeProducts(*args, **kwargs): """ Overloaded function. @@ -43614,8 +47972,7 @@ class ISolidPrimitive: CurveVectorPtr. Cylindrical side faces will return as DgnConeDetail with no cap. Other ruled side faces will appear as DgnRuledSweepDetail with one swept primitive and no cap. - Rotational sweeps of arcs will appear as (preferably) - DgnTorusPipeDetail or DgnRotationalRotationalSweep. + Rotational sweeps of arcs will appear as (preferably) -> DgnTorusPipeDetail or DgnRotationalRotationalSweep. """ ... @@ -43629,6 +47986,7 @@ class ISolidPrimitive: """ ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -43854,12 +48212,15 @@ class ISolidPrimitive: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IndexedParameterMap: """ None @@ -43879,7 +48240,13 @@ class IndexedParameterMap: def MapPoint2d(self: MSPyBentleyGeom.IndexedParameterMap, xyz: MSPyBentleyGeom.DPoint3d, params: MSPyBentleyGeom.DPoint2dArray) -> MSPyBentleyGeom.DPoint2d: ... - def __init__(self: MSPyBentleyGeom.IndexedParameterMap) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -43922,6 +48289,16 @@ class Int16Array: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -43954,6 +48331,7 @@ class Int16Array: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -43974,6 +48352,7 @@ class Int16Array: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -43999,6 +48378,16 @@ class Int32Array: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -44031,6 +48420,7 @@ class Int32Array: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -44051,6 +48441,7 @@ class Int32Array: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -44076,6 +48467,16 @@ class Int64Array: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -44108,6 +48509,7 @@ class Int64Array: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -44128,6 +48530,7 @@ class Int64Array: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -44153,6 +48556,16 @@ class Int64VecArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -44185,6 +48598,7 @@ class Int64VecArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -44205,6 +48619,7 @@ class Int64VecArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -44230,6 +48645,16 @@ class Int8Array: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -44262,6 +48687,7 @@ class Int8Array: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -44282,6 +48708,7 @@ class Int8Array: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -44307,23 +48734,35 @@ class ItemsView[BeExtendedDataGeometryMap]: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class KeysView[BeExtendedDataGeometryMap]: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LocalCoordinateSelect: """ Members: @@ -44337,7 +48776,13 @@ class LocalCoordinateSelect: eLOCAL_COORDINATE_SCALE_01RangeLargerAxis """ - def __init__(self: MSPyBentleyGeom.LocalCoordinateSelect, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLOCAL_COORDINATE_SCALE_01RangeBothAxes: LocalCoordinateSelect @@ -44364,13 +48809,14 @@ class LocalRange: def DistanceOutside(self: MSPyBentleyGeom.LocalRange, spacePoint: DPoint3d) -> float: ... + @staticmethod def InitFromPrincipalAxesOfPoints(*args, **kwargs): """ Overloaded function. - 1. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyz: List[DPoint3d]) -> bool + 1. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyz: list[DPoint3d]) -> bool - 2. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyzw: List[DPoint4d]) -> bool + 2. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyzw: list[DPoint4d]) -> bool 3. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyz: list) -> bool """ @@ -44383,6 +48829,13 @@ class LocalRange: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -44602,33 +49055,232 @@ class MSBsplineCurve: """ ... + @staticmethod def AddLineIntersectionsXY(*args, **kwargs): """ Overloaded function. 1. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None - 2. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + 2. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 3. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 4. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 5. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 6. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 7. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 8. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 9. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 10. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 11. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 12. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 13. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 14. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 15. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 16. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 17. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 18. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 19. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 20. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 21. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 22. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 23. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 24. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 25. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 26. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 27. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 28. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 29. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 30. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 31. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 32. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None """ ... + @staticmethod def AddLinestringIntersectionsXY(*args, **kwargs): """ Overloaded function. 1. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None - 2. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + 2. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 3. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 4. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 5. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 6. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 7. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 8. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 9. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 10. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 11. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 12. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 13. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 14. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 15. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 16. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 17. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 18. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 19. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 20. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 21. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 22. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 23. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 24. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 25. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 26. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 27. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 28. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 29. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 30. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 31. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 32. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 33. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 34. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 35. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 36. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 37. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 38. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 39. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 40. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 41. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 42. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 43. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 44. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 45. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 46. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 47. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 48. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 49. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 50. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 51. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 52. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 53. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 54. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 55. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 56. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 57. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 58. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 59. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 60. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 61. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 62. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 63. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 64. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None """ ... + @staticmethod def AddPlaneIntersections(*args, **kwargs): """ Overloaded function. 1. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: MSPyBentleyGeom.DoubleArray, plane: MSPyBentleyGeom.DPlane3d) -> None - 2. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: MSPyBentleyGeom.DoubleArray, planeCoeffs: MSPyBentleyGeom.DPoint4d) -> None + 2. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: list, fractionParameters: list, plane: MSPyBentleyGeom.DPlane3d) -> None + + 3. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: list, fractionParameters: MSPyBentleyGeom.DoubleArray, plane: MSPyBentleyGeom.DPlane3d) -> None + + 4. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: list, plane: MSPyBentleyGeom.DPlane3d) -> None + + 5. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: MSPyBentleyGeom.DoubleArray, planeCoeffs: MSPyBentleyGeom.DPoint4d) -> None + + 6. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: list, fractionParameters: list, plane: MSPyBentleyGeom.DPoint4d) -> None + + 7. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: list, fractionParameters: MSPyBentleyGeom.DoubleArray, plane: MSPyBentleyGeom.DPoint4d) -> None + + 8. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: list, plane: MSPyBentleyGeom.DPoint4d) -> None """ ... @@ -44636,6 +49288,7 @@ class MSBsplineCurve: def AddRuleSurfaceRayIntersections(pickData: MSPyBentleyGeom.SolidLocationDetailArray, curveA: MSPyBentleyGeom.MSBsplineCurve, curveB: MSPyBentleyGeom.MSBsplineCurve, ray: MSPyBentleyGeom.DRay3d) -> bool: ... + @staticmethod def AddStrokes(*args, **kwargs): """ Overloaded function. @@ -44644,17 +49297,53 @@ class MSBsplineCurve: 2. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, chordTol: float = 0.0, angleTol: float = 0.2, maxEdgeLength: float = 0.0, includeStartPoint: bool = True) -> None - 3. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, chordTol: float = 0.0, angleTol: float = 0.2, maxEdgeLength: float = 0.0, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = ) -> None + 3. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, chordTol: float = 0.0, angleTol: float = 0.2, maxEdgeLength: float = 0.0, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = CurveParameterMapping.eCURVE_PARAMETER_MAPPING_CurveKnot) -> None + + 4. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: list, params: list, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 5. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: list, params: MSPyBentleyGeom.DoubleArray, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 6. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 7. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: MSPyBentleyGeom.DoubleArray, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 8. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: list, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 9. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: MSPyBentleyGeom.DoubleArray, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 10. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 11. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStart: bool = True) -> None + + 12. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: list, params: list, includeStart: bool) -> None + + 13. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: list, params: MSPyBentleyGeom.DoubleArray, includeStart: bool) -> None + + 14. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, includeStart: bool) -> None + + 15. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: MSPyBentleyGeom.DoubleArray, includeStart: bool) -> None + + 16. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: list, includeStart: bool) -> None + + 17. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: MSPyBentleyGeom.DoubleArray, includeStart: bool) -> None + + 18. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, includeStart: bool) -> None + + 19. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = CurveParameterMapping.eCURVE_PARAMETER_MAPPING_CurveKnot) -> None - 4. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, chordTol: float = 0.0, angleTol: float = 0.2, c: float = 0.0, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = ) -> None + 20. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: list, params: list, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None - 5. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStart: bool = True) -> None + 21. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: list, params: MSPyBentleyGeom.DoubleArray, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None - 6. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStart: bool = True) -> None + 22. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None - 7. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = ) -> None + 23. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: MSPyBentleyGeom.DoubleArray, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None - 8. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = ) -> None + 24. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: list, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 25. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: MSPyBentleyGeom.DoubleArray, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 26. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None """ ... @@ -44715,6 +49404,7 @@ class MSBsplineCurve: """ ... + @staticmethod def Allocate(*args, **kwargs): """ Overloaded function. @@ -44750,6 +49440,7 @@ class MSBsplineCurve: """ ... + @staticmethod def AlmostEqual(*args, **kwargs): """ Overloaded function. @@ -44856,15 +49547,35 @@ class MSBsplineCurve: ... @staticmethod - def CompressKnots(inKnot: MSPyBentleyGeom.DoubleArray, order: int, outKnot: MSPyBentleyGeom.DoubleArray, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple: + def CompressKnots(*args, **kwargs): + """ + Overloaded function. + + 1. CompressKnots(inKnot: MSPyBentleyGeom.DoubleArray, order: int, outKnot: MSPyBentleyGeom.DoubleArray, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple + + 2. CompressKnots(inKnot: list, order: int, outKnot: list, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple + + 3. CompressKnots(inKnot: list, order: int, outKnot: MSPyBentleyGeom.DoubleArray, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple + + 4. CompressKnots(inKnot: MSPyBentleyGeom.DoubleArray, order: int, outKnot: list, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple + """ ... - def ComputeDerivatives(self: MSPyBentleyGeom.MSBsplineCurve, arg0: MSPyBentleyGeom.DVec3dArray, arg1: int, arg2: float) -> None: + @staticmethod + def ComputeDerivatives(*args, **kwargs): + """ + Overloaded function. + + 1. ComputeDerivatives(self: MSPyBentleyGeom.MSBsplineCurve, arg0: MSPyBentleyGeom.DVec3dArray, arg1: int, arg2: float) -> None + + 2. ComputeDerivatives(self: MSPyBentleyGeom.MSBsplineCurve, arg0: list, arg1: int, arg2: float) -> None + """ ... def ComputeGrevilleAbscissa(self: MSPyBentleyGeom.MSBsplineCurve, averageKnots: MSPyBentleyGeom.DoubleArray = True) -> None: ... + @staticmethod def ComputeInflectionPoints(*args, **kwargs): """ Overloaded function. @@ -44874,10 +49585,11 @@ class MSBsplineCurve: Calculate the parameters and location of the all inflection points of a B-spline curve. @DotNetMethodExclude - 2. ComputeInflectionPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, params: MSPyBentleyGeom.DoubleArray) -> None + 2. ComputeInflectionPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, params: list) -> int - Calculate the parameters and location of the all inflection points of - a B-spline curve. @DotNetMethodExclude + 3. ComputeInflectionPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, params: MSPyBentleyGeom.DoubleArray) -> int + + 4. ComputeInflectionPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, params: list) -> int """ ... @@ -45032,6 +49744,7 @@ class MSBsplineCurve: def CreateFromInterpolationPointsWithKnots(xyz: MSPyBentleyGeom.DPoint3dArray, interpolationKnots: MSPyBentleyGeom.DoubleArray, curveKnots: MSPyBentleyGeom.DoubleArray, order: int) -> MSPyBentleyGeom.RefCountedMSBsplineCurve: ... + @staticmethod def CreateFromPointsAndOrder(*args, **kwargs): """ Overloaded function. @@ -45055,11 +49768,23 @@ class MSBsplineCurve: 2. CreateFromPolesAndOrder(poles: list, weights: MSPyBentleyGeom.DoubleArray, knots: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve - 3. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + 3. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, weights: list, knots: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 4. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, weights: MSPyBentleyGeom.DoubleArray, knots: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 5. CreateFromPolesAndOrder(poles: list, weights: list, knots: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 6. CreateFromPolesAndOrder(poles: list, weights: MSPyBentleyGeom.DoubleArray, knots: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve - 4. CreateFromPolesAndOrder(poles: list, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + 7. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, weights: list, knots: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve - 5. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint2dArray, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + 8. CreateFromPolesAndOrder(poles: list, weights: list, knots: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 9. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 10. CreateFromPolesAndOrder(poles: list, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 11. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint2dArray, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve """ ... @@ -45117,6 +49842,7 @@ class MSBsplineCurve: """ ... + @staticmethod def FractionAtSignedDistance(*args, **kwargs): """ Overloaded function. @@ -45133,6 +49859,7 @@ class MSBsplineCurve: """ ... + @staticmethod def FractionToPoint(*args, **kwargs): """ Overloaded function. @@ -45146,11 +49873,10 @@ class MSBsplineCurve: 4. FractionToPoint(self: MSPyBentleyGeom.MSBsplineCurve, xyz: MSPyBentleyGeom.DPoint3d, dXYZ: MSPyBentleyGeom.DVec3d, ddXYZ: MSPyBentleyGeom.DVec3d, f: float) -> None 5. FractionToPoint(self: MSPyBentleyGeom.MSBsplineCurve, points: list, numPoints: int) -> None - - 6. FractionToPoint(self: MSPyBentleyGeom.MSBsplineCurve, points: list, fractions: MSPyBentleyGeom.DoubleArray) -> None """ ... + @staticmethod def FractionToPoints(*args, **kwargs): """ Overloaded function. @@ -45158,6 +49884,12 @@ class MSBsplineCurve: 1. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, numPoints: int) -> None 2. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, fractions: MSPyBentleyGeom.DoubleArray) -> None + + 3. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, fractions: MSPyBentleyGeom.DoubleArray) -> None + + 4. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, fractions: list) -> None + + 5. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, fractions: list) -> None """ ... @@ -45208,13 +49940,16 @@ class MSBsplineCurve: """ ... + @staticmethod def GetFrenetFrame(*args, **kwargs): """ Overloaded function. 1. GetFrenetFrame(self: MSPyBentleyGeom.MSBsplineCurve, frame: MSPyBentleyGeom.DVec3dArray, point: MSPyBentleyGeom.DPoint3d, u: float) -> tuple - 2. GetFrenetFrame(self: MSPyBentleyGeom.MSBsplineCurve, frame: Transform, u: float) -> int + 2. GetFrenetFrame(self: MSPyBentleyGeom.MSBsplineCurve, frame: list, point: MSPyBentleyGeom.DPoint3d, u: float) -> tuple + + 3. GetFrenetFrame(self: MSPyBentleyGeom.MSBsplineCurve, frame: Transform, u: float) -> int """ ... @@ -45231,6 +49966,7 @@ class MSBsplineCurve: """ ... + @staticmethod def GetKnotRange(*args, **kwargs): """ Overloaded function. @@ -45243,6 +49979,7 @@ class MSBsplineCurve: """ ... + @staticmethod def GetKnots(*args, **kwargs): """ Overloaded function. @@ -45334,7 +50071,7 @@ class MSBsplineCurve: def GetReversePole(self: MSPyBentleyGeom.MSBsplineCurve, index: int) -> MSPyBentleyGeom.DPoint3d: """ return pole by index, counting from the last pole . (i.e. index 0 is - the final weight) Returns 0 point if out of range. (Use + the final weight) -> Returns 0 point if out of range. (Use NumberAllocatedPoles to determine index range). @DotNetMethodExclude """ ... @@ -45342,7 +50079,7 @@ class MSBsplineCurve: def GetReverseWeight(self: MSPyBentleyGeom.MSBsplineCurve, index: int) -> float: """ return weight by index, counting from the last weight. (i.e. index 0 - is the final weight) Returns 1.0 if out of range. (Use + is the final weight) -> Returns 1.0 if out of range. (Use NumberAllocatedPoles to determine index range). @DotNetMethodExclude """ ... @@ -45420,6 +50157,7 @@ class MSBsplineCurve: """ ... + @staticmethod def InitAkima(*args, **kwargs): """ Overloaded function. @@ -45445,12 +50183,21 @@ class MSBsplineCurve: """ ... - def InitFromDPoint4dArray(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint4dArray, order: int) -> None: + @staticmethod + def InitFromDPoint4dArray(*args, **kwargs): + """ + Overloaded function. + + 1. InitFromDPoint4dArray(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint4dArray, order: int) -> None + + 2. InitFromDPoint4dArray(self: MSPyBentleyGeom.MSBsplineCurve, points: list, order: int) -> int + """ ... def InitFromGeneralLeastSquares(self: MSPyBentleyGeom.MSBsplineCurve, avgDistance: float, maxDistance: float, info: MSPyBentleyGeom.BsplineParam, knts: MSPyBentleyGeom.DoubleArray, pnts: MSPyBentleyGeom.DPoint3d, uValues: float, numPnts: int) -> int: ... + @staticmethod def InitFromInterpolatePoints(*args, **kwargs): """ Overloaded function. @@ -45464,6 +50211,7 @@ class MSBsplineCurve: def InitFromLeastSquaresFit(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3d, numPoints: int, endControl: bool, sTangent: MSPyBentleyGeom.DVec3d, eTangent: MSPyBentleyGeom.DVec3d, keepTanMag: bool, iterDegree: int, reqDegree: int, singleKnot: bool, tolerance: float) -> int: ... + @staticmethod def InitFromPoints(*args, **kwargs): """ Overloaded function. @@ -45514,7 +50262,13 @@ class MSBsplineCurve: eKNOTPOS_AFTER_FINAL """ - def __init__(self: MSPyBentleyGeom.MSBsplineCurve.KnotPosition, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eKNOTPOS_AFTER_FINAL: KnotPosition @@ -45550,6 +50304,7 @@ class MSBsplineCurve: """ ... + @staticmethod def Length(*args, **kwargs): """ Overloaded function. @@ -45564,6 +50319,7 @@ class MSBsplineCurve: """ ... + @staticmethod def LengthBetweenFractions(*args, **kwargs): """ Overloaded function. @@ -45574,6 +50330,7 @@ class MSBsplineCurve: """ ... + @staticmethod def LengthBetweenKnots(*args, **kwargs): """ Overloaded function. @@ -45681,13 +50438,26 @@ class MSBsplineCurve: """ ... + @staticmethod def Populate(*args, **kwargs): """ Overloaded function. 1. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: MSPyBentleyGeom.DPoint3dArray, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int - 2. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + 2. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: list, knotVector: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 3. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: list, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 4. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 5. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 6. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: MSPyBentleyGeom.DPoint3dArray, weightVector: list, knotVector: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 7. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: MSPyBentleyGeom.DPoint3dArray, weightVector: list, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 8. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: MSPyBentleyGeom.DPoint3dArray, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int """ ... @@ -45716,6 +50486,7 @@ class MSBsplineCurve: """ ... + @staticmethod def Resolution(*args, **kwargs): """ Overloaded function. @@ -45773,6 +50544,7 @@ class MSBsplineCurve: """ ... + @staticmethod def SetPole(*args, **kwargs): """ Overloaded function. @@ -45843,6 +50615,7 @@ class MSBsplineCurve: """ ... + @staticmethod def TransformPoles(*args, **kwargs): """ Overloaded function. @@ -45885,12 +50658,15 @@ class MSBsplineCurve: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def display(self: MSPyBentleyGeom.MSBsplineCurve) -> MSPyBentleyGeom.BsplineDisplay: ... @@ -45948,6 +50724,16 @@ class MSBsplineCurveArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -45974,6 +50760,7 @@ class MSBsplineCurveArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -45994,6 +50781,7 @@ class MSBsplineCurveArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -46013,6 +50801,16 @@ class MSBsplineCurvePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -46045,6 +50843,7 @@ class MSBsplineCurvePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -46065,6 +50864,7 @@ class MSBsplineCurvePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -46098,6 +50898,7 @@ class MSBsplineSurface: """ ... + @staticmethod def AddTrimBoundary(*args, **kwargs): """ Overloaded function. @@ -46301,6 +51102,17 @@ class MSBsplineSurface: :param (input): primitive base curve to be swept + :param (input): + delta sweep direction. + + 4. CreateLinearSweep(surfaces: list, baseCurves: MSPyBentleyGeom.CurveVector, delta: MSPyBentleyGeom.DVec3d) -> bool + + Create a linear sweep from a (single) base curve. Fails (i.e. returns + NULL) if the primitive has children. + + :param (input): + primitive base curve to be swept + :param (input): delta sweep direction. """ @@ -46316,6 +51128,8 @@ class MSBsplineSurface: 2. CreateRotationalSweep(primitive: MSPyBentleyGeom.MSBsplineCurve, center: MSPyBentleyGeom.DPoint3d, axis: MSPyBentleyGeom.DVec3d, sweepRadians: float) -> MSPyBentleyGeom.RefCountedMSBsplineSurface 3. CreateRotationalSweep(surfaces: MSPyBentleyGeom.MSBsplineSurfacePtrArray, baseCurves: MSPyBentleyGeom.CurveVector, center: MSPyBentleyGeom.DPoint3d, axis: MSPyBentleyGeom.DVec3d, sweepRadians: float) -> bool + + 4. CreateRotationalSweep(surfaces: list, baseCurves: MSPyBentleyGeom.CurveVector, center: MSPyBentleyGeom.DPoint3d, axis: MSPyBentleyGeom.DVec3d, sweepRadians: float) -> bool """ ... @@ -46352,7 +51166,11 @@ class MSBsplineSurface: 1. CreateTrimmedSurfaces(surfaces: MSPyBentleyGeom.MSBsplineSurfacePtrArray, source: MSPyBentleyGeom.CurveVector, options: MSPyBentleyGeom.IFacetOptions = None) -> bool - 2. CreateTrimmedSurfaces(surfaces: MSPyBentleyGeom.MSBsplineSurfacePtrArray, source: ISolidPrimitive, options: MSPyBentleyGeom.IFacetOptions = None) -> bool + 2. CreateTrimmedSurfaces(surfaces: list, source: MSPyBentleyGeom.CurveVector, options: MSPyBentleyGeom.IFacetOptions = None) -> bool + + 3. CreateTrimmedSurfaces(surfaces: MSPyBentleyGeom.MSBsplineSurfacePtrArray, source: ISolidPrimitive, options: MSPyBentleyGeom.IFacetOptions = None) -> bool + + 4. CreateTrimmedSurfaces(surfaces: list, source: ISolidPrimitive, options: MSPyBentleyGeom.IFacetOptions = None) -> bool """ ... @@ -46407,6 +51225,7 @@ class MSBsplineSurface: """ ... + @staticmethod def EvaluatePoint(*args, **kwargs): """ Overloaded function. @@ -46428,6 +51247,7 @@ class MSBsplineSurface: def EvaluatePrincipalCurvature(self: MSPyBentleyGeom.MSBsplineSurface, xyz: MSPyBentleyGeom.DPoint3d, unitA: MSPyBentleyGeom.DVec3d, unitB: MSPyBentleyGeom.DVec3d, u: float, v: float) -> tuple: ... + @staticmethod def EvaluateUniformGrid(*args, **kwargs): """ Overloaded function. @@ -46436,9 +51256,25 @@ class MSBsplineSurface: 2. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: MSPyBentleyGeom.DoubleArray, vParams: MSPyBentleyGeom.DoubleArray, gridPoints: list) -> None - 3. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: MSPyBentleyGeom.DPoint2dArray, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None + 3. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: MSPyBentleyGeom.DoubleArray, vParams: list, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None + + 4. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: list, vParams: MSPyBentleyGeom.DoubleArray, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: list, vParams: list, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None + + 6. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: list, vParams: MSPyBentleyGeom.DoubleArray, gridPoints: list) -> None + + 7. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: MSPyBentleyGeom.DoubleArray, vParams: list, gridPoints: list) -> None + + 8. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: list, vParams: list, gridPoints: list) -> None + + 9. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: MSPyBentleyGeom.DPoint2dArray, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None - 4. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: MSPyBentleyGeom.DPoint2dArray, gridPoints: list) -> None + 10. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: MSPyBentleyGeom.DPoint2dArray, gridPoints: list) -> None + + 11. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: list, gridPoints: list) -> None + + 12. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: list, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None """ ... @@ -46564,6 +51400,7 @@ class MSBsplineSurface: def GetParameterRegion(self: MSPyBentleyGeom.MSBsplineSurface) -> tuple: ... + @staticmethod def GetPole(*args, **kwargs): """ Overloaded function. @@ -46574,6 +51411,7 @@ class MSBsplineSurface: """ ... + @staticmethod def GetPoleDPoint4d(*args, **kwargs): """ Overloaded function. @@ -46584,6 +51422,7 @@ class MSBsplineSurface: """ ... + @staticmethod def GetPoleRange(*args, **kwargs): """ Overloaded function. @@ -46671,6 +51510,7 @@ class MSBsplineSurface: """ ... + @staticmethod def GetUVBoundaryLoops(*args, **kwargs): """ Overloaded function. @@ -46681,6 +51521,7 @@ class MSBsplineSurface: """ ... + @staticmethod def GetUnWeightedPole(*args, **kwargs): """ Overloaded function. @@ -46697,6 +51538,7 @@ class MSBsplineSurface: """ ... + @staticmethod def GetUnstructuredBoundaryCurves(*args, **kwargs): """ Overloaded function. @@ -46719,6 +51561,7 @@ class MSBsplineSurface: """ ... + @staticmethod def GetWeight(*args, **kwargs): """ Overloaded function. @@ -46765,6 +51608,7 @@ class MSBsplineSurface: """ ... + @staticmethod def IntersectRay(*args, **kwargs): """ Overloaded function. @@ -46773,9 +51617,33 @@ class MSBsplineSurface: 2. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d) -> None - 3. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + 3. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d) -> None + + 4. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d) -> None + + 5. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: list, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d) -> None + + 6. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: list, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d) -> None + + 7. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: list, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d) -> None + + 8. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: list, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d) -> None + + 9. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 10. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None - 4. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + 11. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 12. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 13. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: list, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 14. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: list, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 15. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: list, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 16. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: list, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None """ ... @@ -46807,6 +51675,7 @@ class MSBsplineSurface: def IsPhysicallyClosed(self: MSPyBentleyGeom.MSBsplineSurface) -> tuple: ... + @staticmethod def IsPlanarBilinear(*args, **kwargs): """ Overloaded function. @@ -46876,7 +51745,7 @@ class MSBsplineSurface: """ ... - def MakeBeziers(self: MSPyBentleyGeom.MSBsplineSurface, beziers: List[MSBsplineSurface]) -> int: + def MakeBeziers(self: MSPyBentleyGeom.MSBsplineSurface, beziers: list[MSBsplineSurface]) -> int: """ Create a series of Bezier surfaces for the B-spline surface. """ @@ -46960,12 +51829,13 @@ class MSBsplineSurface: """ ... - def RemoveKnotsBounded(self: MSPyBentleyGeom.MSBsplineSurface, dir: int, tol: float) -> int: + def RemoveKnotsBounded(self: MSPyBentleyGeom.MSBsplineSurface, dir_: int, tol: float) -> int: """ Remove all removable knots with the tolerance constraint. """ ... + @staticmethod def Resolution(*args, **kwargs): """ Overloaded function. @@ -46991,6 +51861,7 @@ class MSBsplineSurface: """ ... + @staticmethod def SetPole(*args, **kwargs): """ Overloaded function. @@ -47015,6 +51886,7 @@ class MSBsplineSurface: def SetPolygonDisplay(self: MSPyBentleyGeom.MSBsplineSurface, display: bool) -> None: ... + @staticmethod def SetReWeightedPole(*args, **kwargs): """ Overloaded function. @@ -47108,6 +51980,7 @@ class MSBsplineSurface: def TryGetBoundaryUV(self: MSPyBentleyGeom.MSBsplineSurface, boundaryIndex: int, pointIndex: int, uv: MSPyBentleyGeom.DPoint2d) -> bool: ... + @staticmethod def TryGetUnWeightedPole(*args, **kwargs): """ Overloaded function. @@ -47150,7 +52023,13 @@ class MSBsplineSurface: """ ... - def __init__(self: MSPyBentleyGeom.MSBsplineSurface) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -47235,6 +52114,16 @@ class MSBsplineSurfacePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -47267,6 +52156,7 @@ class MSBsplineSurfacePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -47287,6 +52177,7 @@ class MSBsplineSurfacePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -47343,6 +52234,7 @@ class MSInterpolationCurve: def GetOrder(self: MSPyBentleyGeom.MSInterpolationCurve) -> int: ... + @staticmethod def InitFromPointsAndEndTangents(*args, **kwargs): """ Overloaded function. @@ -47357,6 +52249,7 @@ class MSInterpolationCurve: def Order(arg0: MSPyBentleyGeom.MSInterpolationCurve) -> int: ... + @staticmethod def Populate(*args, **kwargs): """ Overloaded function. @@ -47365,7 +52258,11 @@ class MSInterpolationCurve: 2. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: list, knots: MSPyBentleyGeom.DoubleArray, startTangent: MSPyBentleyGeom.DVec3d, endTangent: MSPyBentleyGeom.DVec3d) -> int - 3. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: List[MSPyBentleyGeom.DPoint3d], knots: List[float]) -> int + 3. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: MSPyBentleyGeom.DPoint3dArray, knots: list, startTangent: MSPyBentleyGeom.DVec3d, endTangent: MSPyBentleyGeom.DVec3d) -> int + + 4. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: list, knots: list, startTangent: MSPyBentleyGeom.DVec3d, endTangent: MSPyBentleyGeom.DVec3d) -> int + + 5. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: List[MSPyBentleyGeom.DPoint3d], knots: List[float]) -> int """ ... @@ -47381,7 +52278,13 @@ class MSInterpolationCurve: """ ... - def __init__(self: MSPyBentleyGeom.MSInterpolationCurve) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class MeshAnnotation: @@ -47412,6 +52315,7 @@ class MeshAnnotation: def Pass(self: MSPyBentleyGeom.MeshAnnotation, arg0: int) -> None: ... + @staticmethod def Record(*args, **kwargs): """ Overloaded function. @@ -47424,17 +52328,30 @@ class MeshAnnotation: """ ... - def __init__(self: MSPyBentleyGeom.MeshAnnotation, arg0: str) -> None: + class __class__(type): """ - name + None """ ... + def __init__(self, *args, **kwargs): + ... + class MeshAnnotationArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -47461,6 +52378,7 @@ class MeshAnnotationArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -47481,6 +52399,7 @@ class MeshAnnotationArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -47495,11 +52414,14 @@ class MeshAnnotationArray: """ ... -class MeshAnnotationVector: +class MeshAnnotationVector(MSPyBentleyGeom.MeshAnnotationArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def GetTotalFail(self: MSPyBentleyGeom.MeshAnnotationVector) -> int: """ Query the total number of tests failed. @@ -47520,7 +52442,13 @@ class MeshAnnotationVector: def TotalPass(arg0: MSPyBentleyGeom.MeshAnnotationVector) -> int: ... - def __init__(self: MSPyBentleyGeom.MeshAnnotationVector, recordAllTestDescriptions: bool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def append(self: MSPyBentleyGeom.MeshAnnotationArray, x: MSPyBentleyGeom.MeshAnnotation) -> None: @@ -47535,6 +52463,7 @@ class MeshAnnotationVector: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -47555,6 +52484,7 @@ class MeshAnnotationVector: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -47586,6 +52516,13 @@ class OrderedIGeometryPtr: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -47633,6 +52570,13 @@ class PartialCurveDetail: def UpdateFraction1AndUserData(self: MSPyBentleyGeom.PartialCurveDetail, f1: float, newData: int) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -47680,6 +52624,16 @@ class PartialCurveDetailArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -47706,6 +52660,7 @@ class PartialCurveDetailArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -47726,6 +52681,7 @@ class PartialCurveDetailArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -47762,6 +52718,7 @@ class PathLocationDetail: """ ... + @staticmethod def DistanceToPoint(*args, **kwargs): """ Overloaded function. @@ -47822,6 +52779,13 @@ class PathLocationDetail: def PrimitiveIndex(arg0: MSPyBentleyGeom.PathLocationDetail) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -47849,7 +52813,13 @@ class PlanePolygonSSICode: eCoincident """ - def __init__(self: MSPyBentleyGeom.PlanePolygonSSICode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCoincident: PlanePolygonSSICode @@ -47885,7 +52855,13 @@ class Point2d: def Y(self: MSPyBentleyGeom.Point2d, arg0: int) -> None: ... - def __init__(self: MSPyBentleyGeom.Point2d) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -47907,6 +52883,16 @@ class Point2dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -47933,6 +52919,7 @@ class Point2dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -47953,6 +52940,7 @@ class Point2dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -47993,7 +52981,13 @@ class Point3d: def Z(self: MSPyBentleyGeom.Point3d, arg0: int) -> None: ... - def __init__(self: MSPyBentleyGeom.Point3d) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -48022,6 +53016,16 @@ class Point3dArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -48048,6 +53052,7 @@ class Point3dArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -48068,6 +53073,7 @@ class Point3dArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -48087,6 +53093,9 @@ class PolyfaceEdgeChain: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddIndex(self: MSPyBentleyGeom.PolyfaceEdgeChain, index: int) -> None: """ add an index. @@ -48122,6 +53131,13 @@ class PolyfaceEdgeChain: def IndexCount(arg0: MSPyBentleyGeom.PolyfaceEdgeChain) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -48139,6 +53155,16 @@ class PolyfaceEdgeChainArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -48165,6 +53191,7 @@ class PolyfaceEdgeChainArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -48185,6 +53212,7 @@ class PolyfaceEdgeChainArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -48199,7 +53227,7 @@ class PolyfaceEdgeChainArray: """ ... -class PolyfaceHeader: +class PolyfaceHeader(MSPyBentleyGeom.PolyfaceVectors): """ None """ @@ -48238,6 +53266,7 @@ class PolyfaceHeader: def AddIndexedFacet(self: MSPyBentleyGeom.PolyfaceHeader, pointIndices: MSPyBentleyGeom.Int32Array, normalIndices: MSPyBentleyGeom.Int32Array, paramIndices: MSPyBentleyGeom.Int32Array, colorIndices: MSPyBentleyGeom.Int32Array) -> bool: ... + @staticmethod def AddPolygon(*args, **kwargs): """ Overloaded function. @@ -48246,23 +53275,36 @@ class PolyfaceHeader: 2. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: list, normal: MSPyBentleyGeom.DVec3dArray = None, param: MSPyBentleyGeom.DPoint2dArray = None) -> bool - 3. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: MSPyBentleyGeom.DPoint3dArray, visitor: PolyfaceVisitor, mapping: MSPyBentleyGeom.IndexedParameterMap) -> bool + 3. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: MSPyBentleyGeom.DPoint3dArray, normal: MSPyBentleyGeom.DVec3dArray = None, param: list = None) -> bool + + 4. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: list, normal: MSPyBentleyGeom.DVec3dArray = None, param: list = None) -> bool + + 5. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: MSPyBentleyGeom.DPoint3dArray, normal: list = None, param: MSPyBentleyGeom.DPoint2dArray = None) -> bool + + 6. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: list, normal: list = None, param: MSPyBentleyGeom.DPoint2dArray = None) -> bool + + 7. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: MSPyBentleyGeom.DPoint3dArray, normal: list = None, param: list = None) -> bool + + 8. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: list, normal: list = None, param: list = None) -> bool - 4. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: list, visitor: PolyfaceVisitor, mapping: MSPyBentleyGeom.IndexedParameterMap) -> bool + 9. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: MSPyBentleyGeom.DPoint3dArray, visitor: PolyfaceVisitor, mapping: MSPyBentleyGeom.IndexedParameterMap) -> bool - 5. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: MSPyBentleyGeom.DPoint3dArray, worldToParameterSpace: MSPyBentleyGeom.Transform, normal: MSPyBentleyGeom.DVec3d, compressNormal: bool, reverseXYZ: bool) -> bool + 10. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: list, visitor: PolyfaceVisitor, mapping: MSPyBentleyGeom.IndexedParameterMap) -> bool - 6. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: list, worldToParameterSpace: MSPyBentleyGeom.Transform, normal: MSPyBentleyGeom.DVec3d, compressNormal: bool, reverseXYZ: bool) -> bool + 11. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: MSPyBentleyGeom.DPoint3dArray, worldToParameterSpace: MSPyBentleyGeom.Transform, normal: MSPyBentleyGeom.DVec3d, compressNormal: bool, reverseXYZ: bool) -> bool + + 12. AddPolygon(self: MSPyBentleyGeom.PolyfaceHeader, xyz: list, worldToParameterSpace: MSPyBentleyGeom.Transform, normal: MSPyBentleyGeom.DVec3d, compressNormal: bool, reverseXYZ: bool) -> bool """ ... + @staticmethod def AddToTaggedPolygons(*args, **kwargs): """ Overloaded function. - 1. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: List[TaggedPolygon], indexA: int, numWrap: int, selectRange: MSPyBentleyGeom.DRange3d = None) -> None + 1. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: list[TaggedPolygon], indexA: int, numWrap: int, selectRange: MSPyBentleyGeom.DRange3d = None) -> None - 2. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: List[TaggedPolygon], indexA: int, numWrap: int, filer: IPolyfaceVisitorFilter) -> None + 2. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: list[TaggedPolygon], indexA: int, numWrap: int, filer: IPolyfaceVisitorFilter) -> None """ ... @@ -48335,10 +53377,11 @@ class PolyfaceHeader: """ ... + @staticmethod def ClipPolyfaceToClipPlanes(insideClip: PolyfaceHeader, outsideClip: PolyfaceHeader, targetMesh: MSPyBentleyGeom.PolyfaceQuery, clipPlanes: MSPyBentleyGeom.ClipPlaneSet, formNewFacesOnClipPlanes: bool) -> bool: ... - def ClipToPlaneSetIntersection(self: MSPyBentleyGeom.PolyfaceQuery, planeSets: List[ClipPlaneSet], output: MSPyBentleyGeom.PolyfaceQuery.IClipToPlaneSetOutput, trangulateOutput: bool) -> int: + def ClipToPlaneSetIntersection(self: MSPyBentleyGeom.PolyfaceQuery, planeSets: list[ClipPlaneSet], output: MSPyBentleyGeom.PolyfaceQuery.IClipToPlaneSetOutput, trangulateOutput: bool) -> int: """ @description Clip polyface to intersection of an array of plane sets. """ @@ -48425,7 +53468,7 @@ class PolyfaceHeader: def CollectCounts(self: MSPyBentleyGeom.PolyfaceQuery) -> tuple: ... - def CollectEdgeMateData(self: MSPyBentleyGeom.PolyfaceHeader, segments: List[FacetEdgeDetail], includeMatched: bool = False, returnSingleEdgeReadIndex: bool = False) -> None: + def CollectEdgeMateData(self: MSPyBentleyGeom.PolyfaceHeader, segments: list[FacetEdgeDetail], includeMatched: bool = False, returnSingleEdgeReadIndex: bool = False) -> None: """ Create segments containing edges of this polyface. The returned array indicates @@ -48511,6 +53554,7 @@ class PolyfaceHeader: """ ... + @staticmethod def Compress(*args, **kwargs): """ Overloaded function. @@ -48528,6 +53572,7 @@ class PolyfaceHeader: def ComputeOffset(self: MSPyBentleyGeom.PolyfaceHeader, options: MSPyBentleyGeom.PolyfaceHeader.OffsetOptions, distance1: float, distance2: float, outputOffset1: bool = True, outputOffset2: bool = True, outputSideFacets: bool = True) -> MSPyBentleyGeom.PolyfaceHeader: ... + @staticmethod def ComputeOverAndUnderXY(polyfaceA: PolyfaceHeader, filterA: IPolyfaceVisitorFilter, polyfaceB: PolyfaceHeader, filterB: IPolyfaceVisitorFilter, polyfaceAOverB: PolyfaceHeader, polyfaceBUnderA: PolyfaceHeader, computeAndApplyTransform: bool = True) -> None: ... @@ -48540,7 +53585,8 @@ class PolyfaceHeader: def ComputePrincipalMomentsAllowMissingSideFacets(self: MSPyBentleyGeom.PolyfaceQuery, centroid: MSPyBentleyGeom.DPoint3d, axes: MSPyBentleyGeom.RotMatrix, momentxyz: MSPyBentleyGeom.DVec3d, forcePositiveVolume: bool, relativeTolerance: float = 1e-08) -> tuple: ... - def ComputePunch(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, keepInside: bool, result: List[PolyfaceHeader]) -> None: + @staticmethod + def ComputePunch(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, keepInside: bool, result: list[PolyfaceHeader]) -> None: """ @description " Punch " through target polygons. @@ -48559,6 +53605,7 @@ class PolyfaceHeader: """ ... + @staticmethod def ComputePunchXYByPlaneSets(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, inside: PolyfaceHeader, outside: PolyfaceHeader, debugMesh: PolyfaceHeader = None) -> None: """ (input) each facet of this is used as a " punch " (input) facets to be split @@ -48582,7 +53629,13 @@ class PolyfaceHeader: eFillMeshOnly """ - def __init__(self: MSPyBentleyGeom.PolyfaceHeader.ComputeSingleSheetOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBoth: ComputeSingleSheetOption @@ -48599,6 +53652,7 @@ class PolyfaceHeader: def value(arg0: MSPyBentleyGeom.PolyfaceHeader.ComputeSingleSheetOption) -> int: ... + @staticmethod def ComputeUndercut(polyfaceA: PolyfaceHeader, filterA: IPolyfaceVisitorFilter, polyfaceB: PolyfaceHeader, filterB: IPolyfaceVisitorFilter, undercutPolyface: PolyfaceHeader) -> None: """ @description Compute volumes where polyfaceB undercuts polyfaceA @@ -48625,7 +53679,7 @@ class PolyfaceHeader: def ConvertTableColorToColorIndices(self: MSPyBentleyGeom.PolyfaceHeader, faceToTableColor: MSPyBentleyGeom.BlockedVectorInt, vertexToTableColor: MSPyBentleyGeom.BlockedVectorInt) -> bool: """ - Build color indices as face loops (as needed) Return false if no + Build color indices as face loops (as needed) -> Return false if no conversion or if point index tables asked for more table indices than present in the TableColor arrays. """ @@ -48657,13 +53711,18 @@ class PolyfaceHeader: """ ... + @staticmethod def CopyPartitions(*args, **kwargs): """ Overloaded function. 1. CopyPartitions(self: MSPyBentleyGeom.PolyfaceHeader, blockedReadIndex: MSPyBentleyGeom.Int64Array, submeshArray: MSPyBentleyGeom.PolyfaceHeaderPtrArray) -> bool - 2. CopyPartitions(self: MSPyBentleyGeom.PolyfaceHeader, blockedReadIndex: MSPyBentleyGeom.Int64VecArray, submeshArray: MSPyBentleyGeom.PolyfaceHeaderPtrArray) -> bool + 2. CopyPartitions(self: MSPyBentleyGeom.PolyfaceHeader, blockedReadIndex: MSPyBentleyGeom.Int64Array, submeshList: list) -> bool + + 3. CopyPartitions(self: MSPyBentleyGeom.PolyfaceHeader, blockedReadIndex: MSPyBentleyGeom.Int64VecArray, submeshArray: MSPyBentleyGeom.PolyfaceHeaderPtrArray) -> bool + + 4. CopyPartitions(self: MSPyBentleyGeom.PolyfaceHeader, blockedReadIndex: MSPyBentleyGeom.Int64VecArray, submeshArray: list) -> bool """ ... @@ -48699,7 +53758,7 @@ class PolyfaceHeader: @staticmethod def CreateFixedBlockCoordinates(numPerFaces: int) -> MSPyBentleyGeom.PolyfaceHeader: """ - Create a (smart pointer to a) new (empty) PolyfaceHeader, with each + Create a (smart pointer to a) new (empty) -> PolyfaceHeader, with each facet defined by 3 or 4 unindexed points as indicated by the arg. :returns: @@ -48710,7 +53769,7 @@ class PolyfaceHeader: @staticmethod def CreateFixedBlockIndexed(numPerBlock: int) -> MSPyBentleyGeom.PolyfaceHeader: """ - Create a (smart pointer to a) new (empty) PolyfaceHeader, with fixed + Create a (smart pointer to a) new (empty) -> PolyfaceHeader, with fixed number of indices per face :returns: @@ -48719,7 +53778,7 @@ class PolyfaceHeader: ... @staticmethod - def CreateFromTaggedPolygons(polygons: List[TaggedPolygon]) -> MSPyBentleyGeom.PolyfaceHeader: + def CreateFromTaggedPolygons(polygons: list[TaggedPolygon]) -> MSPyBentleyGeom.PolyfaceHeader: """ Create a (indexed) polyface containing all polygons from a TaggedPolygonVector @@ -48736,7 +53795,7 @@ class PolyfaceHeader: @staticmethod def CreateQuadGrid(numPerRow: int) -> MSPyBentleyGeom.PolyfaceHeader: """ - Create a (smart pointer to a) new (empty) PolyfaceHeader, with + Create a (smart pointer to a) new (empty) -> PolyfaceHeader, with quadrilaterals defined by points in a grid. :returns: @@ -48824,7 +53883,7 @@ class PolyfaceHeader: @staticmethod def CreateTriangleGrid(numPerRow: int) -> MSPyBentleyGeom.PolyfaceHeader: """ - Create a (smart pointer to a) new (empty) PolyfaceHeader, with + Create a (smart pointer to a) new (empty) -> PolyfaceHeader, with quadrilaterals defined by points in a grid, and then each quad is split to triangle. @@ -48847,13 +53906,13 @@ class PolyfaceHeader: @staticmethod def CreateVariableSizeIndexed() -> MSPyBentleyGeom.PolyfaceHeader: """ - Create a (smart pointer to a) new (empty) PolyfaceHeader, with + Create a (smart pointer to a) new (empty) -> PolyfaceHeader, with variable length faces. This is the most common mesh style. """ ... @staticmethod - def CreateVerticalPanelsBetweenSegments(segments: List[FacetEdgeDetail]) -> MSPyBentleyGeom.PolyfaceHeader: + def CreateVerticalPanelsBetweenSegments(segments: list[FacetEdgeDetail]) -> MSPyBentleyGeom.PolyfaceHeader: ... @staticmethod @@ -48896,14 +53955,14 @@ class PolyfaceHeader: :param (output): pData array (allocated by caller) of various integrals: - * pData[0], pData[1], pData[2] = view along respective axes. Use + * pData, pData, pData = view along respective axes. Use signed area, so result should be zero if all facets are present to cancel. - * pData[0], pData[1], pData[2] = view along respective axes. Use + * pData, pData, pData = view along respective axes. Use absolute area, so result should be useful for setting tolerances. - * pData[6] = full 3d area. + * pData = full 3d area. :param (output): directionalProducts array of products integrals wrt origin. @@ -49002,7 +54061,13 @@ class PolyfaceHeader: eTranslatePointsAndTriangulateFringeFaces """ - def __init__(self: MSPyBentleyGeom.PolyfaceHeader.FacetTranslationMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eJustTranslatePoints: FacetTranslationMode @@ -49200,6 +54265,7 @@ class PolyfaceHeader: """ ... + @staticmethod def HasIndexErrors(*args, **kwargs): """ Overloaded function. @@ -49220,6 +54286,7 @@ class PolyfaceHeader: """ ... + @staticmethod def HealVerticalPanels(polyface: MSPyBentleyGeom.PolyfaceQuery, tryVerticalPanels: bool, trySpaceTriangulation: bool, healedPolyface: PolyfaceHeader) -> int: """ Attempt to heal vertical gaps in a mesh. @@ -49248,12 +54315,15 @@ class PolyfaceHeader: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def IdentifyDuplicates(self: MSPyBentleyGeom.PolyfaceHeader, nonduplicatedFacetReadIndex: MSPyBentleyGeom.Int64Array, duplicatedFacetFirstReadIndex: MSPyBentleyGeom.Int64Array, duplicatedFacetAdditionalReadIndex: MSPyBentleyGeom.Int64Array, baseIndexForAdditionalReadIndex: MSPyBentleyGeom.Int64Array) -> None: ... @@ -49343,6 +54413,7 @@ class PolyfaceHeader: """ ... + @staticmethod def MarkInvisibleEdges(*args, **kwargs): """ Overloaded function. @@ -49374,13 +54445,22 @@ class PolyfaceHeader: def MediumTolerance(arg0: MSPyBentleyGeom.PolyfaceQuery) -> float: ... + @staticmethod def MergeAndCollectVolumes(*args, **kwargs): """ Overloaded function. - 1. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: List[PolyfaceHeader]) -> None + 1. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: list[PolyfaceHeader]) -> None + + 2. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: list) -> None + + 3. MergeAndCollectVolumes(inputMesh: list[PolyfaceHeader], enclosedVolumes: list[PolyfaceHeader]) -> None + + 4. MergeAndCollectVolumes(inputMesh: list, enclosedVolumes: list[PolyfaceHeader]) -> None - 2. MergeAndCollectVolumes(inputMesh: List[PolyfaceHeader], enclosedVolumes: List[PolyfaceHeader]) -> None + 5. MergeAndCollectVolumes(inputMesh: list[PolyfaceHeader], enclosedVolumes: list) -> None + + 6. MergeAndCollectVolumes(inputMesh: list, enclosedVolumes: list) -> None """ ... @@ -49417,7 +54497,13 @@ class PolyfaceHeader: None """ - def __init__(self: MSPyBentleyGeom.PolyfaceHeader.OffsetOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -49477,33 +54563,42 @@ class PolyfaceHeader: """ ... + @staticmethod def PartitionByConnectivity(*args, **kwargs): """ Overloaded function. 1. PartitionByConnectivity(self: MSPyBentleyGeom.PolyfaceHeader, connectivityType: int, submeshArray: MSPyBentleyGeom.PolyfaceHeaderPtrArray) -> bool - 2. PartitionByConnectivity(self: MSPyBentleyGeom.PolyfaceHeader, connectivityType: int, submeshArray: MSPyBentleyGeom.Int64Array) -> bool + 2. PartitionByConnectivity(self: MSPyBentleyGeom.PolyfaceHeader, connectivityType: int, submeshArray: list) -> bool + + 3. PartitionByConnectivity(self: MSPyBentleyGeom.PolyfaceHeader, connectivityType: int, submeshArray: MSPyBentleyGeom.Int64Array) -> bool """ ... + @staticmethod def PartitionByXYRange(*args, **kwargs): """ Overloaded function. 1. PartitionByXYRange(self: MSPyBentleyGeom.PolyfaceHeader, targetFaceCount: int, targetMeshCount: int, submeshArray: MSPyBentleyGeom.PolyfaceHeaderPtrArray) -> bool - 2. PartitionByXYRange(self: MSPyBentleyGeom.PolyfaceHeader, targetFaceCount: int, targetMeshCount: int, blockedReadIndexArray: MSPyBentleyGeom.Int64Array) -> bool + 2. PartitionByXYRange(self: MSPyBentleyGeom.PolyfaceHeader, targetFaceCount: int, targetMeshCount: int, submeshArray: list) -> bool + + 3. PartitionByXYRange(self: MSPyBentleyGeom.PolyfaceHeader, targetFaceCount: int, targetMeshCount: int, blockedReadIndexArray: MSPyBentleyGeom.Int64Array) -> bool """ ... + @staticmethod def PartitionMaintainFaceOrder(*args, **kwargs): """ Overloaded function. 1. PartitionMaintainFaceOrder(self: MSPyBentleyGeom.PolyfaceHeader, targetFaceCount: int, targetMeshCount: int, submeshArray: MSPyBentleyGeom.PolyfaceHeaderPtrArray) -> bool - 2. PartitionMaintainFaceOrder(self: MSPyBentleyGeom.PolyfaceHeader, targetFaceCount: int, targetMeshCount: int, blockedReadIndexArray: MSPyBentleyGeom.Int64Array) -> bool + 2. PartitionMaintainFaceOrder(self: MSPyBentleyGeom.PolyfaceHeader, targetFaceCount: int, targetMeshCount: int, submeshArray: list) -> bool + + 3. PartitionMaintainFaceOrder(self: MSPyBentleyGeom.PolyfaceHeader, targetFaceCount: int, targetMeshCount: int, blockedReadIndexArray: MSPyBentleyGeom.Int64Array) -> bool """ ... @@ -49531,13 +54626,14 @@ class PolyfaceHeader: """ ... + @staticmethod def PlaneSlice(*args, **kwargs): """ Overloaded function. 1. PlaneSlice(self: MSPyBentleyGeom.PolyfaceQuery, sectionPlane: MSPyBentleyGeom.DPlane3d, formRegions: bool, markEdgeFraction: bool = False) -> MSPyBentleyGeom.CurveVector - Cut with a plane. (Prototype) Return as a curve vector. Optionally + Cut with a plane. (Prototype) -> Return as a curve vector. Optionally structure as area-bounding loops. :param (input): @@ -49555,7 +54651,7 @@ class PolyfaceHeader: 2. PlaneSlice(self: MSPyBentleyGeom.PolyfaceQuery, sectionPlane: MSPyBentleyGeom.DPlane3d, formRegions: bool, markEdgeFractions: bool, skipOnPlaneFacets: bool) -> MSPyBentleyGeom.CurveVector - Cut with a plane. (Prototype) Return as a curve vector. Optionally + Cut with a plane. (Prototype) -> Return as a curve vector. Optionally structure as area-bounding loops. :param (input): @@ -49616,16 +54712,11 @@ class PolyfaceHeader: """ ... - def ReverseIndicesAllFaces(*args, **kwargs): - """ - ReverseIndicesAllFaces(self: MSPyBentleyGeom.PolyfaceQuery, negateNormals: bool = True, flipMarked: bool = True, flipUnMarked: bool = True, normalIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = ) -> bool - """ + def ReverseIndicesAllFaces(self: MSPyBentleyGeom.PolyfaceQuery, negateNormals: bool = True, flipMarked: bool = True, flipUnMarked: bool = True, normalIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = IndexAction.eNone) -> bool: ... - def ReverseIndicesOneFace(*args, **kwargs): + def ReverseIndicesOneFace(self: MSPyBentleyGeom.PolyfaceQuery, iFirst: int, iLast: int, normalArrayIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = IndexAction.eNone) -> None: """ - ReverseIndicesOneFace(self: MSPyBentleyGeom.PolyfaceQuery, iFirst: int, iLast: int, normalArrayIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = ) -> None - Reverse a single face loop in parallel index arrays. Remark: @@ -49641,13 +54732,13 @@ class PolyfaceHeader: :param (input): normalArrayIndexAction selects action in normal array. This can be - * IndexAction::None -- leave the index value unchanged + * IndexAction.None -- leave the index value unchanged - * IndexAction::ForcePositive -- change to positive + * IndexAction.ForcePositive -- change to positive - * IndexAction::ForceNegative -- change to negative + * IndexAction.ForceNegative -- change to negative - * IndexAction::Negate -- change to negative of its current sign + * IndexAction.Negate -- change to negative of its current sign """ ... @@ -49658,6 +54749,7 @@ class PolyfaceHeader: """ ... + @staticmethod def SearchClosestApproach(*args, **kwargs): """ Overloaded function. @@ -49670,6 +54762,7 @@ class PolyfaceHeader: """ ... + @staticmethod def SearchClosestApproachToLinestring(polyfaceA: MSPyBentleyGeom.PolyfaceQuery, points: MSPyBentleyGeom.DPoint3dArray, segment: MSPyBentleyGeom.DSegment3d) -> bool: ... @@ -49699,7 +54792,8 @@ class PolyfaceHeader: """ ... - def SelectMeshesByVolumeSign(inputVolumes: List[PolyfaceHeader], negativeVolumeMeshes: List[PolyfaceHeader], zeroVolumeMeshes: List[PolyfaceHeader], positiveVolumeMeshes: List[PolyfaceHeader]) -> None: + @staticmethod + def SelectMeshesByVolumeSign(inputVolumes: list[PolyfaceHeader], negativeVolumeMeshes: list[PolyfaceHeader], zeroVolumeMeshes: list[PolyfaceHeader], positiveVolumeMeshes: list[PolyfaceHeader]) -> None: ... def SetActiveFlagsByAvailableData(self: MSPyBentleyGeom.PolyfaceHeader) -> None: @@ -49923,6 +55017,7 @@ class PolyfaceHeader: """ ... + @staticmethod def Triangulate(*args, **kwargs): """ Overloaded function. @@ -50028,12 +55123,15 @@ class PolyfaceHeader: def VolumeFromBoreData(segments: MSPyBentleyGeom.DSegment3dArray, topFacetReadIndex: MSPyBentleyGeom.Int64Array, bottomFacetReadIndex: MSPyBentleyGeom.Int64Array, sideFacetReadIndex: MSPyBentleyGeom.Int64Array) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBoth: ComputeSingleSheetOption eCutMeshOnly: ComputeSingleSheetOption @@ -50051,6 +55149,16 @@ class PolyfaceHeaderPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -50083,6 +55191,7 @@ class PolyfaceHeaderPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -50103,6 +55212,7 @@ class PolyfaceHeaderPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -50128,13 +55238,14 @@ class PolyfaceQuery: None """ + @staticmethod def AddToTaggedPolygons(*args, **kwargs): """ Overloaded function. - 1. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: List[TaggedPolygon], indexA: int, numWrap: int, selectRange: MSPyBentleyGeom.DRange3d = None) -> None + 1. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: list[TaggedPolygon], indexA: int, numWrap: int, selectRange: MSPyBentleyGeom.DRange3d = None) -> None - 2. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: List[TaggedPolygon], indexA: int, numWrap: int, filer: IPolyfaceVisitorFilter) -> None + 2. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: list[TaggedPolygon], indexA: int, numWrap: int, filer: IPolyfaceVisitorFilter) -> None """ ... @@ -50142,7 +55253,7 @@ class PolyfaceQuery: def ClipPolyfaceToClipPlanes(insideClip: PolyfaceHeader, outsideClip: PolyfaceHeader, targetMesh: MSPyBentleyGeom.PolyfaceQuery, clipPlanes: MSPyBentleyGeom.ClipPlaneSet, formNewFacesOnClipPlanes: bool) -> bool: ... - def ClipToPlaneSetIntersection(self: MSPyBentleyGeom.PolyfaceQuery, planeSets: List[ClipPlaneSet], output: MSPyBentleyGeom.PolyfaceQuery.IClipToPlaneSetOutput, trangulateOutput: bool) -> int: + def ClipToPlaneSetIntersection(self: MSPyBentleyGeom.PolyfaceQuery, planeSets: list[ClipPlaneSet], output: MSPyBentleyGeom.PolyfaceQuery.IClipToPlaneSetOutput, trangulateOutput: bool) -> int: """ @description Clip polyface to intersection of an array of plane sets. """ @@ -50204,7 +55315,7 @@ class PolyfaceQuery: ... @staticmethod - def ComputePunch(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, keepInside: bool, result: List[PolyfaceHeader]) -> None: + def ComputePunch(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, keepInside: bool, result: list[PolyfaceHeader]) -> None: """ @description " Punch " through target polygons. @@ -50261,14 +55372,14 @@ class PolyfaceQuery: :param (output): pData array (allocated by caller) of various integrals: - * pData[0], pData[1], pData[2] = view along respective axes. Use + * pData, pData, pData = view along respective axes. Use signed area, so result should be zero if all facets are present to cancel. - * pData[0], pData[1], pData[2] = view along respective axes. Use + * pData, pData, pData = view along respective axes. Use absolute area, so result should be useful for setting tolerances. - * pData[6] = full 3d area. + * pData = full 3d area. :param (output): directionalProducts array of products integrals wrt origin. @@ -50470,6 +55581,7 @@ class PolyfaceQuery: """ ... + @staticmethod def HasIndexErrors(*args, **kwargs): """ Overloaded function. @@ -50519,12 +55631,15 @@ class PolyfaceQuery: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def InspectFaces(self: MSPyBentleyGeom.PolyfaceQuery) -> tuple: ... @@ -50567,9 +55682,17 @@ class PolyfaceQuery: """ Overloaded function. - 1. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: List[PolyfaceHeader]) -> None + 1. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: list[PolyfaceHeader]) -> None - 2. MergeAndCollectVolumes(inputMesh: List[PolyfaceHeader], enclosedVolumes: List[PolyfaceHeader]) -> None + 2. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: list) -> None + + 3. MergeAndCollectVolumes(inputMesh: list[PolyfaceHeader], enclosedVolumes: list[PolyfaceHeader]) -> None + + 4. MergeAndCollectVolumes(inputMesh: list, enclosedVolumes: list[PolyfaceHeader]) -> None + + 5. MergeAndCollectVolumes(inputMesh: list[PolyfaceHeader], enclosedVolumes: list) -> None + + 6. MergeAndCollectVolumes(inputMesh: list, enclosedVolumes: list) -> None """ ... @@ -50606,13 +55729,14 @@ class PolyfaceQuery: """ ... + @staticmethod def PlaneSlice(*args, **kwargs): """ Overloaded function. 1. PlaneSlice(self: MSPyBentleyGeom.PolyfaceQuery, sectionPlane: MSPyBentleyGeom.DPlane3d, formRegions: bool, markEdgeFraction: bool = False) -> MSPyBentleyGeom.CurveVector - Cut with a plane. (Prototype) Return as a curve vector. Optionally + Cut with a plane. (Prototype) -> Return as a curve vector. Optionally structure as area-bounding loops. :param (input): @@ -50630,7 +55754,7 @@ class PolyfaceQuery: 2. PlaneSlice(self: MSPyBentleyGeom.PolyfaceQuery, sectionPlane: MSPyBentleyGeom.DPlane3d, formRegions: bool, markEdgeFractions: bool, skipOnPlaneFacets: bool) -> MSPyBentleyGeom.CurveVector - Cut with a plane. (Prototype) Return as a curve vector. Optionally + Cut with a plane. (Prototype) -> Return as a curve vector. Optionally structure as area-bounding loops. :param (input): @@ -50662,16 +55786,11 @@ class PolyfaceQuery: """ ... - def ReverseIndicesAllFaces(*args, **kwargs): - """ - ReverseIndicesAllFaces(self: MSPyBentleyGeom.PolyfaceQuery, negateNormals: bool = True, flipMarked: bool = True, flipUnMarked: bool = True, normalIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = ) -> bool - """ + def ReverseIndicesAllFaces(self: MSPyBentleyGeom.PolyfaceQuery, negateNormals: bool = True, flipMarked: bool = True, flipUnMarked: bool = True, normalIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = IndexAction.eNone) -> bool: ... - def ReverseIndicesOneFace(*args, **kwargs): + def ReverseIndicesOneFace(self: MSPyBentleyGeom.PolyfaceQuery, iFirst: int, iLast: int, normalArrayIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = IndexAction.eNone) -> None: """ - ReverseIndicesOneFace(self: MSPyBentleyGeom.PolyfaceQuery, iFirst: int, iLast: int, normalArrayIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = ) -> None - Reverse a single face loop in parallel index arrays. Remark: @@ -50687,13 +55806,13 @@ class PolyfaceQuery: :param (input): normalArrayIndexAction selects action in normal array. This can be - * IndexAction::None -- leave the index value unchanged + * IndexAction.None -- leave the index value unchanged - * IndexAction::ForcePositive -- change to positive + * IndexAction.ForcePositive -- change to positive - * IndexAction::ForceNegative -- change to negative + * IndexAction.ForceNegative -- change to negative - * IndexAction::Negate -- change to negative of its current sign + * IndexAction.Negate -- change to negative of its current sign """ ... @@ -50715,7 +55834,7 @@ class PolyfaceQuery: ... @staticmethod - def SelectMeshesByVolumeSign(inputVolumes: List[PolyfaceHeader], negativeVolumeMeshes: List[PolyfaceHeader], zeroVolumeMeshes: List[PolyfaceHeader], positiveVolumeMeshes: List[PolyfaceHeader]) -> None: + def SelectMeshesByVolumeSign(inputVolumes: list[PolyfaceHeader], negativeVolumeMeshes: list[PolyfaceHeader], zeroVolumeMeshes: list[PolyfaceHeader], positiveVolumeMeshes: list[PolyfaceHeader]) -> None: ... def SumDirectedAreas(self: MSPyBentleyGeom.PolyfaceQuery, vectorToEye: MSPyBentleyGeom.DVec3d) -> tuple: @@ -50847,31 +55966,36 @@ class PolyfaceQuery: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class PolyfaceQueryCarrier: + def __init__(self, *args, **kwargs): + ... + +class PolyfaceQueryCarrier(MSPyBentleyGeom.PolyfaceQuery): """ None """ + @staticmethod def AddToTaggedPolygons(*args, **kwargs): """ Overloaded function. - 1. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: List[TaggedPolygon], indexA: int, numWrap: int, selectRange: MSPyBentleyGeom.DRange3d = None) -> None + 1. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: list[TaggedPolygon], indexA: int, numWrap: int, selectRange: MSPyBentleyGeom.DRange3d = None) -> None - 2. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: List[TaggedPolygon], indexA: int, numWrap: int, filer: IPolyfaceVisitorFilter) -> None + 2. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: list[TaggedPolygon], indexA: int, numWrap: int, filer: IPolyfaceVisitorFilter) -> None """ ... + @staticmethod def ClipPolyfaceToClipPlanes(insideClip: PolyfaceHeader, outsideClip: PolyfaceHeader, targetMesh: MSPyBentleyGeom.PolyfaceQuery, clipPlanes: MSPyBentleyGeom.ClipPlaneSet, formNewFacesOnClipPlanes: bool) -> bool: ... - def ClipToPlaneSetIntersection(self: MSPyBentleyGeom.PolyfaceQuery, planeSets: List[ClipPlaneSet], output: MSPyBentleyGeom.PolyfaceQuery.IClipToPlaneSetOutput, trangulateOutput: bool) -> int: + def ClipToPlaneSetIntersection(self: MSPyBentleyGeom.PolyfaceQuery, planeSets: list[ClipPlaneSet], output: MSPyBentleyGeom.PolyfaceQuery.IClipToPlaneSetOutput, trangulateOutput: bool) -> int: """ @description Clip polyface to intersection of an array of plane sets. """ @@ -50919,6 +56043,7 @@ class PolyfaceQueryCarrier: def ColorCount(arg0: MSPyBentleyGeom.PolyfaceQuery) -> int: ... + @staticmethod def ComputeOverAndUnderXY(polyfaceA: PolyfaceHeader, filterA: IPolyfaceVisitorFilter, polyfaceB: PolyfaceHeader, filterB: IPolyfaceVisitorFilter, polyfaceAOverB: PolyfaceHeader, polyfaceBUnderA: PolyfaceHeader, computeAndApplyTransform: bool = True) -> None: ... @@ -50931,7 +56056,8 @@ class PolyfaceQueryCarrier: def ComputePrincipalMomentsAllowMissingSideFacets(self: MSPyBentleyGeom.PolyfaceQuery, centroid: MSPyBentleyGeom.DPoint3d, axes: MSPyBentleyGeom.RotMatrix, momentxyz: MSPyBentleyGeom.DVec3d, forcePositiveVolume: bool, relativeTolerance: float = 1e-08) -> tuple: ... - def ComputePunch(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, keepInside: bool, result: List[PolyfaceHeader]) -> None: + @staticmethod + def ComputePunch(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, keepInside: bool, result: list[PolyfaceHeader]) -> None: """ @description " Punch " through target polygons. @@ -50950,6 +56076,7 @@ class PolyfaceQueryCarrier: """ ... + @staticmethod def ComputePunchXYByPlaneSets(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, inside: PolyfaceHeader, outside: PolyfaceHeader, debugMesh: PolyfaceHeader = None) -> None: """ (input) each facet of this is used as a " punch " (input) facets to be split @@ -50958,6 +56085,7 @@ class PolyfaceQueryCarrier: """ ... + @staticmethod def ComputeUndercut(polyfaceA: PolyfaceHeader, filterA: IPolyfaceVisitorFilter, polyfaceB: PolyfaceHeader, filterB: IPolyfaceVisitorFilter, undercutPolyface: PolyfaceHeader) -> None: """ @description Compute volumes where polyfaceB undercuts polyfaceA @@ -50986,14 +56114,14 @@ class PolyfaceQueryCarrier: :param (output): pData array (allocated by caller) of various integrals: - * pData[0], pData[1], pData[2] = view along respective axes. Use + * pData, pData, pData = view along respective axes. Use signed area, so result should be zero if all facets are present to cancel. - * pData[0], pData[1], pData[2] = view along respective axes. Use + * pData, pData, pData = view along respective axes. Use absolute area, so result should be useful for setting tolerances. - * pData[6] = full 3d area. + * pData = full 3d area. :param (output): directionalProducts array of products integrals wrt origin. @@ -51195,6 +56323,7 @@ class PolyfaceQueryCarrier: """ ... + @staticmethod def HasIndexErrors(*args, **kwargs): """ Overloaded function. @@ -51215,6 +56344,7 @@ class PolyfaceQueryCarrier: """ ... + @staticmethod def HealVerticalPanels(polyface: MSPyBentleyGeom.PolyfaceQuery, tryVerticalPanels: bool, trySpaceTriangulation: bool, healedPolyface: PolyfaceHeader) -> int: """ Attempt to heal vertical gaps in a mesh. @@ -51243,12 +56373,15 @@ class PolyfaceQueryCarrier: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def InspectFaces(self: MSPyBentleyGeom.PolyfaceQuery) -> tuple: ... @@ -51286,13 +56419,22 @@ class PolyfaceQueryCarrier: def MediumTolerance(arg0: MSPyBentleyGeom.PolyfaceQuery) -> float: ... + @staticmethod def MergeAndCollectVolumes(*args, **kwargs): """ Overloaded function. - 1. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: List[PolyfaceHeader]) -> None + 1. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: list[PolyfaceHeader]) -> None + + 2. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: list) -> None - 2. MergeAndCollectVolumes(inputMesh: List[PolyfaceHeader], enclosedVolumes: List[PolyfaceHeader]) -> None + 3. MergeAndCollectVolumes(inputMesh: list[PolyfaceHeader], enclosedVolumes: list[PolyfaceHeader]) -> None + + 4. MergeAndCollectVolumes(inputMesh: list, enclosedVolumes: list[PolyfaceHeader]) -> None + + 5. MergeAndCollectVolumes(inputMesh: list[PolyfaceHeader], enclosedVolumes: list) -> None + + 6. MergeAndCollectVolumes(inputMesh: list, enclosedVolumes: list) -> None """ ... @@ -51329,13 +56471,14 @@ class PolyfaceQueryCarrier: """ ... + @staticmethod def PlaneSlice(*args, **kwargs): """ Overloaded function. 1. PlaneSlice(self: MSPyBentleyGeom.PolyfaceQuery, sectionPlane: MSPyBentleyGeom.DPlane3d, formRegions: bool, markEdgeFraction: bool = False) -> MSPyBentleyGeom.CurveVector - Cut with a plane. (Prototype) Return as a curve vector. Optionally + Cut with a plane. (Prototype) -> Return as a curve vector. Optionally structure as area-bounding loops. :param (input): @@ -51353,7 +56496,7 @@ class PolyfaceQueryCarrier: 2. PlaneSlice(self: MSPyBentleyGeom.PolyfaceQuery, sectionPlane: MSPyBentleyGeom.DPlane3d, formRegions: bool, markEdgeFractions: bool, skipOnPlaneFacets: bool) -> MSPyBentleyGeom.CurveVector - Cut with a plane. (Prototype) Return as a curve vector. Optionally + Cut with a plane. (Prototype) -> Return as a curve vector. Optionally structure as area-bounding loops. :param (input): @@ -51385,16 +56528,11 @@ class PolyfaceQueryCarrier: """ ... - def ReverseIndicesAllFaces(*args, **kwargs): - """ - ReverseIndicesAllFaces(self: MSPyBentleyGeom.PolyfaceQuery, negateNormals: bool = True, flipMarked: bool = True, flipUnMarked: bool = True, normalIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = ) -> bool - """ + def ReverseIndicesAllFaces(self: MSPyBentleyGeom.PolyfaceQuery, negateNormals: bool = True, flipMarked: bool = True, flipUnMarked: bool = True, normalIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = IndexAction.eNone) -> bool: ... - def ReverseIndicesOneFace(*args, **kwargs): + def ReverseIndicesOneFace(self: MSPyBentleyGeom.PolyfaceQuery, iFirst: int, iLast: int, normalArrayIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = IndexAction.eNone) -> None: """ - ReverseIndicesOneFace(self: MSPyBentleyGeom.PolyfaceQuery, iFirst: int, iLast: int, normalArrayIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = ) -> None - Reverse a single face loop in parallel index arrays. Remark: @@ -51410,16 +56548,17 @@ class PolyfaceQueryCarrier: :param (input): normalArrayIndexAction selects action in normal array. This can be - * IndexAction::None -- leave the index value unchanged + * IndexAction.None -- leave the index value unchanged - * IndexAction::ForcePositive -- change to positive + * IndexAction.ForcePositive -- change to positive - * IndexAction::ForceNegative -- change to negative + * IndexAction.ForceNegative -- change to negative - * IndexAction::Negate -- change to negative of its current sign + * IndexAction.Negate -- change to negative of its current sign """ ... + @staticmethod def SearchClosestApproach(*args, **kwargs): """ Overloaded function. @@ -51432,10 +56571,12 @@ class PolyfaceQueryCarrier: """ ... + @staticmethod def SearchClosestApproachToLinestring(polyfaceA: MSPyBentleyGeom.PolyfaceQuery, points: MSPyBentleyGeom.DPoint3dArray, segment: MSPyBentleyGeom.DSegment3d) -> bool: ... - def SelectMeshesByVolumeSign(inputVolumes: List[PolyfaceHeader], negativeVolumeMeshes: List[PolyfaceHeader], zeroVolumeMeshes: List[PolyfaceHeader], positiveVolumeMeshes: List[PolyfaceHeader]) -> None: + @staticmethod + def SelectMeshesByVolumeSign(inputVolumes: list[PolyfaceHeader], negativeVolumeMeshes: list[PolyfaceHeader], zeroVolumeMeshes: list[PolyfaceHeader], positiveVolumeMeshes: list[PolyfaceHeader]) -> None: ... def SumDirectedAreas(self: MSPyBentleyGeom.PolyfaceQuery, vectorToEye: MSPyBentleyGeom.DVec3d) -> tuple: @@ -51567,24 +56708,28 @@ class PolyfaceQueryCarrier: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class PolyfaceVectors: + def __init__(self, *args, **kwargs): + ... + +class PolyfaceVectors(MSPyBentleyGeom.PolyfaceQuery): """ None """ + @staticmethod def AddToTaggedPolygons(*args, **kwargs): """ Overloaded function. - 1. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: List[TaggedPolygon], indexA: int, numWrap: int, selectRange: MSPyBentleyGeom.DRange3d = None) -> None + 1. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: list[TaggedPolygon], indexA: int, numWrap: int, selectRange: MSPyBentleyGeom.DRange3d = None) -> None - 2. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: List[TaggedPolygon], indexA: int, numWrap: int, filer: IPolyfaceVisitorFilter) -> None + 2. AddToTaggedPolygons(self: MSPyBentleyGeom.PolyfaceQuery, polygons: list[TaggedPolygon], indexA: int, numWrap: int, filer: IPolyfaceVisitorFilter) -> None """ ... @@ -51594,10 +56739,11 @@ class PolyfaceVectors: """ ... + @staticmethod def ClipPolyfaceToClipPlanes(insideClip: PolyfaceHeader, outsideClip: PolyfaceHeader, targetMesh: MSPyBentleyGeom.PolyfaceQuery, clipPlanes: MSPyBentleyGeom.ClipPlaneSet, formNewFacesOnClipPlanes: bool) -> bool: ... - def ClipToPlaneSetIntersection(self: MSPyBentleyGeom.PolyfaceQuery, planeSets: List[ClipPlaneSet], output: MSPyBentleyGeom.PolyfaceQuery.IClipToPlaneSetOutput, trangulateOutput: bool) -> int: + def ClipToPlaneSetIntersection(self: MSPyBentleyGeom.PolyfaceQuery, planeSets: list[ClipPlaneSet], output: MSPyBentleyGeom.PolyfaceQuery.IClipToPlaneSetOutput, trangulateOutput: bool) -> int: """ @description Clip polyface to intersection of an array of plane sets. """ @@ -51645,6 +56791,7 @@ class PolyfaceVectors: def ColorCount(arg0: MSPyBentleyGeom.PolyfaceQuery) -> int: ... + @staticmethod def ComputeOverAndUnderXY(polyfaceA: PolyfaceHeader, filterA: IPolyfaceVisitorFilter, polyfaceB: PolyfaceHeader, filterB: IPolyfaceVisitorFilter, polyfaceAOverB: PolyfaceHeader, polyfaceBUnderA: PolyfaceHeader, computeAndApplyTransform: bool = True) -> None: ... @@ -51657,7 +56804,8 @@ class PolyfaceVectors: def ComputePrincipalMomentsAllowMissingSideFacets(self: MSPyBentleyGeom.PolyfaceQuery, centroid: MSPyBentleyGeom.DPoint3d, axes: MSPyBentleyGeom.RotMatrix, momentxyz: MSPyBentleyGeom.DVec3d, forcePositiveVolume: bool, relativeTolerance: float = 1e-08) -> tuple: ... - def ComputePunch(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, keepInside: bool, result: List[PolyfaceHeader]) -> None: + @staticmethod + def ComputePunch(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, keepInside: bool, result: list[PolyfaceHeader]) -> None: """ @description " Punch " through target polygons. @@ -51676,6 +56824,7 @@ class PolyfaceVectors: """ ... + @staticmethod def ComputePunchXYByPlaneSets(punch: MSPyBentleyGeom.PolyfaceQuery, target: MSPyBentleyGeom.PolyfaceQuery, inside: PolyfaceHeader, outside: PolyfaceHeader, debugMesh: PolyfaceHeader = None) -> None: """ (input) each facet of this is used as a " punch " (input) facets to be split @@ -51684,6 +56833,7 @@ class PolyfaceVectors: """ ... + @staticmethod def ComputeUndercut(polyfaceA: PolyfaceHeader, filterA: IPolyfaceVisitorFilter, polyfaceB: PolyfaceHeader, filterB: IPolyfaceVisitorFilter, undercutPolyface: PolyfaceHeader) -> None: """ @description Compute volumes where polyfaceB undercuts polyfaceA @@ -51725,14 +56875,14 @@ class PolyfaceVectors: :param (output): pData array (allocated by caller) of various integrals: - * pData[0], pData[1], pData[2] = view along respective axes. Use + * pData, pData, pData = view along respective axes. Use signed area, so result should be zero if all facets are present to cancel. - * pData[0], pData[1], pData[2] = view along respective axes. Use + * pData, pData, pData = view along respective axes. Use absolute area, so result should be useful for setting tolerances. - * pData[6] = full 3d area. + * pData = full 3d area. :param (output): directionalProducts array of products integrals wrt origin. @@ -51941,6 +57091,7 @@ class PolyfaceVectors: """ ... + @staticmethod def HasIndexErrors(*args, **kwargs): """ Overloaded function. @@ -51961,6 +57112,7 @@ class PolyfaceVectors: """ ... + @staticmethod def HealVerticalPanels(polyface: MSPyBentleyGeom.PolyfaceQuery, tryVerticalPanels: bool, trySpaceTriangulation: bool, healedPolyface: PolyfaceHeader) -> int: """ Attempt to heal vertical gaps in a mesh. @@ -51989,12 +57141,15 @@ class PolyfaceVectors: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def InspectFaces(self: MSPyBentleyGeom.PolyfaceQuery) -> tuple: ... @@ -52032,13 +57187,22 @@ class PolyfaceVectors: def MediumTolerance(arg0: MSPyBentleyGeom.PolyfaceQuery) -> float: ... + @staticmethod def MergeAndCollectVolumes(*args, **kwargs): """ Overloaded function. - 1. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: List[PolyfaceHeader]) -> None + 1. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: list[PolyfaceHeader]) -> None + + 2. MergeAndCollectVolumes(meshA: MSPyBentleyGeom.PolyfaceQuery, meshB: MSPyBentleyGeom.PolyfaceQuery, enclosedVolumes: list) -> None + + 3. MergeAndCollectVolumes(inputMesh: list[PolyfaceHeader], enclosedVolumes: list[PolyfaceHeader]) -> None + + 4. MergeAndCollectVolumes(inputMesh: list, enclosedVolumes: list[PolyfaceHeader]) -> None - 2. MergeAndCollectVolumes(inputMesh: List[PolyfaceHeader], enclosedVolumes: List[PolyfaceHeader]) -> None + 5. MergeAndCollectVolumes(inputMesh: list[PolyfaceHeader], enclosedVolumes: list) -> None + + 6. MergeAndCollectVolumes(inputMesh: list, enclosedVolumes: list) -> None """ ... @@ -52075,13 +57239,14 @@ class PolyfaceVectors: """ ... + @staticmethod def PlaneSlice(*args, **kwargs): """ Overloaded function. 1. PlaneSlice(self: MSPyBentleyGeom.PolyfaceQuery, sectionPlane: MSPyBentleyGeom.DPlane3d, formRegions: bool, markEdgeFraction: bool = False) -> MSPyBentleyGeom.CurveVector - Cut with a plane. (Prototype) Return as a curve vector. Optionally + Cut with a plane. (Prototype) -> Return as a curve vector. Optionally structure as area-bounding loops. :param (input): @@ -52099,7 +57264,7 @@ class PolyfaceVectors: 2. PlaneSlice(self: MSPyBentleyGeom.PolyfaceQuery, sectionPlane: MSPyBentleyGeom.DPlane3d, formRegions: bool, markEdgeFractions: bool, skipOnPlaneFacets: bool) -> MSPyBentleyGeom.CurveVector - Cut with a plane. (Prototype) Return as a curve vector. Optionally + Cut with a plane. (Prototype) -> Return as a curve vector. Optionally structure as area-bounding loops. :param (input): @@ -52131,16 +57296,11 @@ class PolyfaceVectors: """ ... - def ReverseIndicesAllFaces(*args, **kwargs): - """ - ReverseIndicesAllFaces(self: MSPyBentleyGeom.PolyfaceQuery, negateNormals: bool = True, flipMarked: bool = True, flipUnMarked: bool = True, normalIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = ) -> bool - """ + def ReverseIndicesAllFaces(self: MSPyBentleyGeom.PolyfaceQuery, negateNormals: bool = True, flipMarked: bool = True, flipUnMarked: bool = True, normalIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = IndexAction.eNone) -> bool: ... - def ReverseIndicesOneFace(*args, **kwargs): + def ReverseIndicesOneFace(self: MSPyBentleyGeom.PolyfaceQuery, iFirst: int, iLast: int, normalArrayIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = IndexAction.eNone) -> None: """ - ReverseIndicesOneFace(self: MSPyBentleyGeom.PolyfaceQuery, iFirst: int, iLast: int, normalArrayIndexAction: MSPyBentleyGeom.BlockedVectorInt.IndexAction = ) -> None - Reverse a single face loop in parallel index arrays. Remark: @@ -52156,16 +57316,17 @@ class PolyfaceVectors: :param (input): normalArrayIndexAction selects action in normal array. This can be - * IndexAction::None -- leave the index value unchanged + * IndexAction.None -- leave the index value unchanged - * IndexAction::ForcePositive -- change to positive + * IndexAction.ForcePositive -- change to positive - * IndexAction::ForceNegative -- change to negative + * IndexAction.ForceNegative -- change to negative - * IndexAction::Negate -- change to negative of its current sign + * IndexAction.Negate -- change to negative of its current sign """ ... + @staticmethod def SearchClosestApproach(*args, **kwargs): """ Overloaded function. @@ -52178,10 +57339,12 @@ class PolyfaceVectors: """ ... + @staticmethod def SearchClosestApproachToLinestring(polyfaceA: MSPyBentleyGeom.PolyfaceQuery, points: MSPyBentleyGeom.DPoint3dArray, segment: MSPyBentleyGeom.DSegment3d) -> bool: ... - def SelectMeshesByVolumeSign(inputVolumes: List[PolyfaceHeader], negativeVolumeMeshes: List[PolyfaceHeader], zeroVolumeMeshes: List[PolyfaceHeader], positiveVolumeMeshes: List[PolyfaceHeader]) -> None: + @staticmethod + def SelectMeshesByVolumeSign(inputVolumes: list[PolyfaceHeader], negativeVolumeMeshes: list[PolyfaceHeader], zeroVolumeMeshes: list[PolyfaceHeader], positiveVolumeMeshes: list[PolyfaceHeader]) -> None: ... def SetMeshStyle(self: MSPyBentleyGeom.PolyfaceVectors, meshStyle: int) -> None: @@ -52337,12 +57500,15 @@ class PolyfaceVectors: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PolyfaceVisitor: """ None @@ -52362,6 +57528,7 @@ class PolyfaceVisitor: """ ... + @staticmethod def AdvanceToFacetBySearchPoint(*args, **kwargs): """ Overloaded function. @@ -52400,6 +57567,7 @@ class PolyfaceVisitor: """ ... + @staticmethod def AdvanceToFacetBySearchRay(*args, **kwargs): """ Overloaded function. @@ -52821,14 +57989,12 @@ class PolyfaceVisitor: """ ... - def TryGetLocalFrame(*args, **kwargs): + def TryGetLocalFrame(self: MSPyBentleyGeom.PolyfaceVisitor, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform, selector: MSPyBentleyGeom.LocalCoordinateSelect = LocalCoordinateSelect.eLOCAL_COORDINATE_SCALE_01RangeBothAxes) -> bool: """ - TryGetLocalFrame(self: MSPyBentleyGeom.PolyfaceVisitor, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform, selector: MSPyBentleyGeom.LocalCoordinateSelect = ) -> bool - - Interogate the xy coordinates (NOT THE STORED Param() ARRAY !!!) to + Interogate the xy coordinates (NOT THE STORED Param() -> ARRAY !!!) to determine a local coordinate frame for the current facet. This is the - same logic used for CurveVector::CloneInLocalCoordinates and - PolygonOps::CoordinateFrame. That is:ul> li>The prefered x axis + same logic used for CurveVector.CloneInLocalCoordinates and + PolygonOps.CoordinateFrame. That is:ul> li>The prefered x axis direction is parallel to the first edge. li>The prefered z direction is the outward normal of the xyz loop with CCW direction. li>The selector parameter chooses among 4 options: @@ -52861,10 +58027,8 @@ class PolyfaceVisitor: """ ... - def TryGetLocalFrameAndRank(*args, **kwargs): + def TryGetLocalFrameAndRank(self: MSPyBentleyGeom.PolyfaceVisitor, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform, selector: MSPyBentleyGeom.LocalCoordinateSelect = LocalCoordinateSelect.eLOCAL_COORDINATE_SCALE_01RangeBothAxes) -> int: """ - TryGetLocalFrameAndRank(self: MSPyBentleyGeom.PolyfaceVisitor, localToWorld: MSPyBentleyGeom.Transform, worldToLocal: MSPyBentleyGeom.Transform, selector: MSPyBentleyGeom.LocalCoordinateSelect = ) -> int - Like TryGetLocalFrame, but with integer return type to distinguish * 0 -- really degenerate data -- single point? @@ -52927,12 +58091,15 @@ class PolyfaceVisitor: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PolygonOps: """ None @@ -53057,12 +58224,15 @@ class PolygonOps: def SplitToConvexPartsXY(indices: MSPyBentleyGeom.Int32Array, xyzOut: MSPyBentleyGeom.DPoint3dArray, xyzIn: MSPyBentleyGeom.DPoint3dArray, xyTol: float = -1.0) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PolylineOps: """ None @@ -53110,13 +58280,16 @@ class PolylineOps: def SetPolylinePolylineHeapTrigger(mn: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class RefCountedMSBsplineCurve: + def __init__(self, *args, **kwargs): + ... + +class RefCountedMSBsplineCurve(MSPyBentleyGeom.MSBsplineCurve): """ None """ @@ -53161,39 +58334,240 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def AddLineIntersectionsXY(*args, **kwargs): """ Overloaded function. 1. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None - 2. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + 2. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 3. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 4. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 5. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 6. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 7. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 8. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 9. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 10. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 11. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 12. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 13. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 14. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 15. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 16. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 17. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 18. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 19. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 20. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 21. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 22. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 23. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 24. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 25. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: list, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 26. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 27. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 28. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 29. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: list, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 30. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 31. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: list, lineFractions: MSPyBentleyGeom.DoubleArray, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 32. AddLineIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoints: MSPyBentleyGeom.DPoint3dArray, curveFractions: MSPyBentleyGeom.DoubleArray, linePoints: MSPyBentleyGeom.DPoint3dArray, lineFractions: list, segment: MSPyBentleyGeom.DSegment3d, extendSegment0: bool, extendSegment1: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None """ ... + @staticmethod def AddLinestringIntersectionsXY(*args, **kwargs): """ Overloaded function. 1. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None - 2. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + 2. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 3. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 4. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 5. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 6. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 7. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 8. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 9. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 10. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 11. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 12. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 13. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 14. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 15. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 16. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 17. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 18. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 19. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 20. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 21. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 22. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 23. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 24. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 25. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 26. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 27. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 28. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 29. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 30. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 31. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 32. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 33. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 34. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 35. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 36. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 37. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 38. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 39. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 40. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 41. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 42. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 43. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 44. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 45. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 46. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 47. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 48. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 49. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: list, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 50. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 51. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 52. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 53. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 54. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 55. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 56. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 57. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: list, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 58. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 59. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 60. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 61. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: list, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 62. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 63. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: list, lineString: MSPyBentleyGeom.DPoint3dArray, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None + + 64. AddLinestringIntersectionsXY(self: MSPyBentleyGeom.MSBsplineCurve, curveAPoints: MSPyBentleyGeom.DPoint3dArray, curveAFractions: MSPyBentleyGeom.DoubleArray, curveBPoints: MSPyBentleyGeom.DPoint3dArray, curveBFractions: MSPyBentleyGeom.DoubleArray, lineString: list, extendLineString: bool, matrix: MSPyBentleyGeom.DMatrix4d) -> None """ ... + @staticmethod def AddPlaneIntersections(*args, **kwargs): """ Overloaded function. 1. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: MSPyBentleyGeom.DoubleArray, plane: MSPyBentleyGeom.DPlane3d) -> None - 2. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: MSPyBentleyGeom.DoubleArray, planeCoeffs: MSPyBentleyGeom.DPoint4d) -> None + 2. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: list, fractionParameters: list, plane: MSPyBentleyGeom.DPlane3d) -> None + + 3. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: list, fractionParameters: MSPyBentleyGeom.DoubleArray, plane: MSPyBentleyGeom.DPlane3d) -> None + + 4. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: list, plane: MSPyBentleyGeom.DPlane3d) -> None + + 5. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: MSPyBentleyGeom.DoubleArray, planeCoeffs: MSPyBentleyGeom.DPoint4d) -> None + + 6. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: list, fractionParameters: list, plane: MSPyBentleyGeom.DPoint4d) -> None + + 7. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: list, fractionParameters: MSPyBentleyGeom.DoubleArray, plane: MSPyBentleyGeom.DPoint4d) -> None + + 8. AddPlaneIntersections(self: MSPyBentleyGeom.MSBsplineCurve, point: MSPyBentleyGeom.DPoint3dArray, fractionParameters: list, plane: MSPyBentleyGeom.DPoint4d) -> None """ ... + @staticmethod def AddRuleSurfaceRayIntersections(pickData: MSPyBentleyGeom.SolidLocationDetailArray, curveA: MSPyBentleyGeom.MSBsplineCurve, curveB: MSPyBentleyGeom.MSBsplineCurve, ray: MSPyBentleyGeom.DRay3d) -> bool: ... + @staticmethod def AddStrokes(*args, **kwargs): """ Overloaded function. @@ -53202,17 +58576,53 @@ class RefCountedMSBsplineCurve: 2. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, chordTol: float = 0.0, angleTol: float = 0.2, maxEdgeLength: float = 0.0, includeStartPoint: bool = True) -> None - 3. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, chordTol: float = 0.0, angleTol: float = 0.2, maxEdgeLength: float = 0.0, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = ) -> None + 3. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, chordTol: float = 0.0, angleTol: float = 0.2, maxEdgeLength: float = 0.0, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = CurveParameterMapping.eCURVE_PARAMETER_MAPPING_CurveKnot) -> None + + 4. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: list, params: list, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 5. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: list, params: MSPyBentleyGeom.DoubleArray, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 6. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 7. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: MSPyBentleyGeom.DoubleArray, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 8. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: list, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 9. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: MSPyBentleyGeom.DoubleArray, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 10. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, chordTol: float, angleTol: float, maxEdgeLength: float, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 11. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStart: bool = True) -> None + + 12. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: list, params: list, includeStart: bool) -> None - 4. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, points: list, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, chordTol: float = 0.0, angleTol: float = 0.2, c: float = 0.0, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = ) -> None + 13. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: list, params: MSPyBentleyGeom.DoubleArray, includeStart: bool) -> None - 5. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStart: bool = True) -> None + 14. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, includeStart: bool) -> None - 6. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStart: bool = True) -> None + 15. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: MSPyBentleyGeom.DoubleArray, includeStart: bool) -> None - 7. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = ) -> None + 16. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: list, includeStart: bool) -> None - 8. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = ) -> None + 17. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: MSPyBentleyGeom.DoubleArray, includeStart: bool) -> None + + 18. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, options: MSPyBentleyGeom.IFacetOptions, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, includeStart: bool) -> None + + 19. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray = None, params: MSPyBentleyGeom.DoubleArray = None, includeStartPoint: bool = True, parameterSelect: MSPyBentleyGeom.CurveParameterMapping = CurveParameterMapping.eCURVE_PARAMETER_MAPPING_CurveKnot) -> None + + 20. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: list, params: list, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 21. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: list, params: MSPyBentleyGeom.DoubleArray, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 22. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 23. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: list, derivatives: MSPyBentleyGeom.DVec3dArray, params: MSPyBentleyGeom.DoubleArray, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 24. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: list, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 25. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: list, params: MSPyBentleyGeom.DoubleArray, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None + + 26. AddStrokes(self: MSPyBentleyGeom.MSBsplineCurve, numPoints: int, points: MSPyBentleyGeom.DPoint3dArray, derivatives: MSPyBentleyGeom.DVec3dArray, params: list, includeStartPoint: bool, parameterSelect: MSPyBentleyGeom.CurveParameterMapping) -> None """ ... @@ -53273,6 +58683,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def Allocate(*args, **kwargs): """ Overloaded function. @@ -53308,6 +58719,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def AlmostEqual(*args, **kwargs): """ Overloaded function. @@ -53358,12 +58770,15 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def ApproximateG1Curve(outCurve: MSPyBentleyGeom.MSBsplineCurve, inCurve: MSPyBentleyGeom.MSBsplineCurve, degree: int, keepTangent: bool, parametrization: int, geomTol: float, paramTol: float, pointTol: float) -> int: ... + @staticmethod def ApproximateNurbsCurve(outCurve: MSPyBentleyGeom.MSBsplineCurve, inCurve: MSPyBentleyGeom.MSBsplineCurve, degree: int, keepTangent: bool, parametrization: int, tol: float) -> int: ... + @staticmethod def AreCompatible(curveA: MSPyBentleyGeom.MSBsplineCurve, curveB: MSPyBentleyGeom.MSBsplineCurve) -> bool: """ Test if two curves have compatible knots, order, and pole @@ -53377,6 +58792,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def AreSameKnots(knot0: float, knot1: float) -> bool: """ Compare knots. Absolute tolerance 1e-8 for knots in -1..1. Relative @@ -53384,6 +58800,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def AreSameWeights(w0: float, w1: float) -> bool: """ Compare weights with arbitrary but consistent tolerance. @@ -53408,15 +58825,36 @@ class RefCountedMSBsplineCurve: def ClosestTangentXY(self: MSPyBentleyGeom.MSBsplineCurve, curvePoint: MSPyBentleyGeom.DPoint3d, spacePoint: MSPyBentleyGeom.DPoint3d, biasPoint: MSPyBentleyGeom.DPoint3d, matrix: MSPyBentleyGeom.DMatrix4d) -> tuple: ... - def CompressKnots(inKnot: MSPyBentleyGeom.DoubleArray, order: int, outKnot: MSPyBentleyGeom.DoubleArray, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple: + @staticmethod + def CompressKnots(*args, **kwargs): + """ + Overloaded function. + + 1. CompressKnots(inKnot: MSPyBentleyGeom.DoubleArray, order: int, outKnot: MSPyBentleyGeom.DoubleArray, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple + + 2. CompressKnots(inKnot: list, order: int, outKnot: list, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple + + 3. CompressKnots(inKnot: list, order: int, outKnot: MSPyBentleyGeom.DoubleArray, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple + + 4. CompressKnots(inKnot: MSPyBentleyGeom.DoubleArray, order: int, outKnot: list, multiplicities: MSPyBentleyGeom.UInt64Array) -> tuple + """ ... - def ComputeDerivatives(self: MSPyBentleyGeom.MSBsplineCurve, arg0: MSPyBentleyGeom.DVec3dArray, arg1: int, arg2: float) -> None: + @staticmethod + def ComputeDerivatives(*args, **kwargs): + """ + Overloaded function. + + 1. ComputeDerivatives(self: MSPyBentleyGeom.MSBsplineCurve, arg0: MSPyBentleyGeom.DVec3dArray, arg1: int, arg2: float) -> None + + 2. ComputeDerivatives(self: MSPyBentleyGeom.MSBsplineCurve, arg0: list, arg1: int, arg2: float) -> None + """ ... def ComputeGrevilleAbscissa(self: MSPyBentleyGeom.MSBsplineCurve, averageKnots: MSPyBentleyGeom.DoubleArray = True) -> None: ... + @staticmethod def ComputeInflectionPoints(*args, **kwargs): """ Overloaded function. @@ -53426,10 +58864,11 @@ class RefCountedMSBsplineCurve: Calculate the parameters and location of the all inflection points of a B-spline curve. @DotNetMethodExclude - 2. ComputeInflectionPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, params: MSPyBentleyGeom.DoubleArray) -> None + 2. ComputeInflectionPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, params: list) -> int - Calculate the parameters and location of the all inflection points of - a B-spline curve. @DotNetMethodExclude + 3. ComputeInflectionPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, params: MSPyBentleyGeom.DoubleArray) -> int + + 4. ComputeInflectionPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, params: list) -> int """ ... @@ -53440,6 +58879,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def ComputeUniformKnotGrevilleAbscissa(averageKnots: MSPyBentleyGeom.DoubleArray, numInterval: int, order: int) -> None: ... @@ -53497,6 +58937,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def Create() -> MSPyBentleyGeom.RefCountedMSBsplineCurve: ... @@ -53570,15 +59011,19 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def CreateFromInterpolationAtBasisFunctionPeaks(xyz: MSPyBentleyGeom.DPoint3dArray, order: int, selector: int = 0) -> MSPyBentleyGeom.RefCountedMSBsplineCurve: ... + @staticmethod def CreateFromInterpolationAtGrevilleKnots(curve: MSPyBentleyGeom.ICurvePrimitive, numPoles: int, order: int, normalizeKnots: bool, knotSelector: int = 0) -> MSPyBentleyGeom.RefCountedMSBsplineCurve: ... + @staticmethod def CreateFromInterpolationPointsWithKnots(xyz: MSPyBentleyGeom.DPoint3dArray, interpolationKnots: MSPyBentleyGeom.DoubleArray, curveKnots: MSPyBentleyGeom.DoubleArray, order: int) -> MSPyBentleyGeom.RefCountedMSBsplineCurve: ... + @staticmethod def CreateFromPointsAndOrder(*args, **kwargs): """ Overloaded function. @@ -53593,6 +59038,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def CreateFromPolesAndOrder(*args, **kwargs): """ Overloaded function. @@ -53601,14 +59047,27 @@ class RefCountedMSBsplineCurve: 2. CreateFromPolesAndOrder(poles: list, weights: MSPyBentleyGeom.DoubleArray, knots: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve - 3. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + 3. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, weights: list, knots: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 4. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, weights: MSPyBentleyGeom.DoubleArray, knots: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 5. CreateFromPolesAndOrder(poles: list, weights: list, knots: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 6. CreateFromPolesAndOrder(poles: list, weights: MSPyBentleyGeom.DoubleArray, knots: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 7. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, weights: list, knots: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve - 4. CreateFromPolesAndOrder(poles: list, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + 8. CreateFromPolesAndOrder(poles: list, weights: list, knots: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve - 5. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint2dArray, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + 9. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint3dArray, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 10. CreateFromPolesAndOrder(poles: list, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve + + 11. CreateFromPolesAndOrder(poles: MSPyBentleyGeom.DPoint2dArray, order: int, closed: bool = True) -> MSPyBentleyGeom.RefCountedMSBsplineCurve """ ... + @staticmethod def CreateInterpolationBetweenCurves(curveA: MSPyBentleyGeom.MSBsplineCurve, fraction: float, curveB: MSPyBentleyGeom.MSBsplineCurve) -> MSPyBentleyGeom.RefCountedMSBsplineCurve: """ Create a curve whose poles are interpolated between the poles @@ -53662,6 +59121,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def FractionAtSignedDistance(*args, **kwargs): """ Overloaded function. @@ -53678,6 +59138,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def FractionToPoint(*args, **kwargs): """ Overloaded function. @@ -53691,11 +59152,10 @@ class RefCountedMSBsplineCurve: 4. FractionToPoint(self: MSPyBentleyGeom.MSBsplineCurve, xyz: MSPyBentleyGeom.DPoint3d, dXYZ: MSPyBentleyGeom.DVec3d, ddXYZ: MSPyBentleyGeom.DVec3d, f: float) -> None 5. FractionToPoint(self: MSPyBentleyGeom.MSBsplineCurve, points: list, numPoints: int) -> None - - 6. FractionToPoint(self: MSPyBentleyGeom.MSBsplineCurve, points: list, fractions: MSPyBentleyGeom.DoubleArray) -> None """ ... + @staticmethod def FractionToPoints(*args, **kwargs): """ Overloaded function. @@ -53703,9 +59163,16 @@ class RefCountedMSBsplineCurve: 1. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, numPoints: int) -> None 2. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, fractions: MSPyBentleyGeom.DoubleArray) -> None + + 3. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, fractions: MSPyBentleyGeom.DoubleArray) -> None + + 4. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3dArray, fractions: list) -> None + + 5. FractionToPoints(self: MSPyBentleyGeom.MSBsplineCurve, points: list, fractions: list) -> None """ ... + @staticmethod def GeneralLeastSquaresApproximation(outCurve: MSPyBentleyGeom.MSBsplineCurve, Q: MSPyBentleyGeom.DPoint3dArray, u: MSPyBentleyGeom.DoubleArray, knots: MSPyBentleyGeom.DoubleArray, numPoles: int, order: int) -> int: ... @@ -53752,13 +59219,16 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def GetFrenetFrame(*args, **kwargs): """ Overloaded function. 1. GetFrenetFrame(self: MSPyBentleyGeom.MSBsplineCurve, frame: MSPyBentleyGeom.DVec3dArray, point: MSPyBentleyGeom.DPoint3d, u: float) -> tuple - 2. GetFrenetFrame(self: MSPyBentleyGeom.MSBsplineCurve, frame: Transform, u: float) -> int + 2. GetFrenetFrame(self: MSPyBentleyGeom.MSBsplineCurve, frame: list, point: MSPyBentleyGeom.DPoint3d, u: float) -> tuple + + 3. GetFrenetFrame(self: MSPyBentleyGeom.MSBsplineCurve, frame: Transform, u: float) -> int """ ... @@ -53775,6 +59245,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def GetKnotRange(*args, **kwargs): """ Overloaded function. @@ -53787,6 +59258,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def GetKnots(*args, **kwargs): """ Overloaded function. @@ -53868,6 +59340,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def GetRemovalKnotBound(curve: MSPyBentleyGeom.MSBsplineCurve, r: int, s: int) -> float: """ Compute the bound of remove r-th knot s times @@ -53877,7 +59350,7 @@ class RefCountedMSBsplineCurve: def GetReversePole(self: MSPyBentleyGeom.MSBsplineCurve, index: int) -> MSPyBentleyGeom.DPoint3d: """ return pole by index, counting from the last pole . (i.e. index 0 is - the final weight) Returns 0 point if out of range. (Use + the final weight) -> Returns 0 point if out of range. (Use NumberAllocatedPoles to determine index range). @DotNetMethodExclude """ ... @@ -53885,7 +59358,7 @@ class RefCountedMSBsplineCurve: def GetReverseWeight(self: MSPyBentleyGeom.MSBsplineCurve, index: int) -> float: """ return weight by index, counting from the last weight. (i.e. index 0 - is the final weight) Returns 1.0 if out of range. (Use + is the final weight) -> Returns 1.0 if out of range. (Use NumberAllocatedPoles to determine index range). @DotNetMethodExclude """ ... @@ -53963,6 +59436,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def InitAkima(*args, **kwargs): """ Overloaded function. @@ -53988,12 +59462,21 @@ class RefCountedMSBsplineCurve: """ ... - def InitFromDPoint4dArray(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint4dArray, order: int) -> None: + @staticmethod + def InitFromDPoint4dArray(*args, **kwargs): + """ + Overloaded function. + + 1. InitFromDPoint4dArray(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint4dArray, order: int) -> None + + 2. InitFromDPoint4dArray(self: MSPyBentleyGeom.MSBsplineCurve, points: list, order: int) -> int + """ ... def InitFromGeneralLeastSquares(self: MSPyBentleyGeom.MSBsplineCurve, avgDistance: float, maxDistance: float, info: MSPyBentleyGeom.BsplineParam, knts: MSPyBentleyGeom.DoubleArray, pnts: MSPyBentleyGeom.DPoint3d, uValues: float, numPnts: int) -> int: ... + @staticmethod def InitFromInterpolatePoints(*args, **kwargs): """ Overloaded function. @@ -54007,6 +59490,7 @@ class RefCountedMSBsplineCurve: def InitFromLeastSquaresFit(self: MSPyBentleyGeom.MSBsplineCurve, points: MSPyBentleyGeom.DPoint3d, numPoints: int, endControl: bool, sTangent: MSPyBentleyGeom.DVec3d, eTangent: MSPyBentleyGeom.DVec3d, keepTanMag: bool, iterDegree: int, reqDegree: int, singleKnot: bool, tolerance: float) -> int: ... + @staticmethod def InitFromPoints(*args, **kwargs): """ Overloaded function. @@ -54057,7 +59541,13 @@ class RefCountedMSBsplineCurve: eKNOTPOS_AFTER_FINAL """ - def __init__(self: MSPyBentleyGeom.MSBsplineCurve.KnotPosition, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eKNOTPOS_AFTER_FINAL: KnotPosition @@ -54080,6 +59570,7 @@ class RefCountedMSBsplineCurve: def value(arg0: MSPyBentleyGeom.MSBsplineCurve.KnotPosition) -> int: ... + @staticmethod def KnotRefinement(X: MSPyBentleyGeom.DoubleArray, curve: MSPyBentleyGeom.MSBsplineCurve) -> int: ... @@ -54092,6 +59583,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def Length(*args, **kwargs): """ Overloaded function. @@ -54106,6 +59598,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def LengthBetweenFractions(*args, **kwargs): """ Overloaded function. @@ -54116,6 +59609,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def LengthBetweenKnots(*args, **kwargs): """ Overloaded function. @@ -54163,6 +59657,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def MapFractions(params: MSPyBentleyGeom.DoubleArray, derivatives: MSPyBentleyGeom.DVec3dArray, i0: int, knot0: float, knot1: float, select: MSPyBentleyGeom.CurveParameterMapping, curve: MSPyBentleyGeom.MSBsplineCurve) -> None: ... @@ -54222,13 +59717,26 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def Populate(*args, **kwargs): """ Overloaded function. 1. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: MSPyBentleyGeom.DPoint3dArray, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int - 2. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + 2. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: list, knotVector: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 3. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: list, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 4. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 5. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: list, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 6. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: MSPyBentleyGeom.DPoint3dArray, weightVector: list, knotVector: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 7. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: MSPyBentleyGeom.DPoint3dArray, weightVector: list, knotVector: MSPyBentleyGeom.DoubleArray, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int + + 8. Populate(self: MSPyBentleyGeom.MSBsplineCurve, pointVector: MSPyBentleyGeom.DPoint3dArray, weightVector: MSPyBentleyGeom.DoubleArray, knotVector: list, order: int, closed: bool, inputPolesAlreadyWeighted: bool) -> int """ ... @@ -54257,6 +59765,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def Resolution(*args, **kwargs): """ Overloaded function. @@ -54280,9 +59789,11 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def RuledSurfaceClosestPoint(pickData: MSPyBentleyGeom.SolidLocationDetail, curveA: MSPyBentleyGeom.MSBsplineCurve, curveB: MSPyBentleyGeom.MSBsplineCurve, spacePoint: MSPyBentleyGeom.DPoint3d) -> bool: ... + @staticmethod def SampleG1CurveByPoints(P: MSPyBentleyGeom.DPoint3dArray, up: MSPyBentleyGeom.DoubleArray, uq: MSPyBentleyGeom.DoubleArray, curve: MSPyBentleyGeom.MSBsplineCurve, par: int, Eg: float, ptol: float) -> int: ... @@ -54312,6 +59823,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def SetPole(*args, **kwargs): """ Overloaded function. @@ -54382,6 +59894,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def TransformPoles(*args, **kwargs): """ Overloaded function. @@ -54409,6 +59922,7 @@ class RefCountedMSBsplineCurve: """ ... + @staticmethod def WeightedLeastSquaresFit(outCurve: MSPyBentleyGeom.MSBsplineCurve, Q: MSPyBentleyGeom.DPoint3dArray, u: MSPyBentleyGeom.DoubleArray, endControl: bool, sTangent: MSPyBentleyGeom.DVec3d, eTangent: MSPyBentleyGeom.DVec3d, numPoles: int, order: int) -> int: ... @@ -54423,12 +59937,15 @@ class RefCountedMSBsplineCurve: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def display(self: MSPyBentleyGeom.MSBsplineCurve) -> MSPyBentleyGeom.BsplineDisplay: ... @@ -54481,7 +59998,7 @@ class RefCountedMSBsplineCurve: def weights(arg0: MSPyBentleyGeom.MSBsplineCurve) -> list: ... -class RefCountedMSBsplineSurface: +class RefCountedMSBsplineSurface(MSPyBentleyGeom.MSBsplineSurface): """ None """ @@ -54494,6 +60011,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def AddTrimBoundary(*args, **kwargs): """ Overloaded function. @@ -54637,6 +60155,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def Create() -> MSPyBentleyGeom.RefCountedMSBsplineSurface: ... @@ -54647,6 +60166,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def CreateCatmullRom(points: MSPyBentleyGeom.DPoint3dArray, numU: int, numV: int, uv: MSPyBentleyGeom.DPoint2dArray) -> MSPyBentleyGeom.RefCountedMSBsplineSurface: ... @@ -54656,9 +60176,11 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def CreateFromPolesAndOrder(pointVector: MSPyBentleyGeom.DPoint3dArray, weightVector: MSPyBentleyGeom.DoubleArray, uKnotVector: MSPyBentleyGeom.DoubleArray, uOrder: int, numUPoints: int, uClosed: bool, vKnotVector: MSPyBentleyGeom.DoubleArray, vOrder: int, numVPoints: int, vClosed: bool, inputPolesAlreadyWeighted: bool) -> MSPyBentleyGeom.RefCountedMSBsplineSurface: ... + @staticmethod def CreateLinearSweep(*args, **kwargs): """ Overloaded function. @@ -54693,11 +60215,23 @@ class RefCountedMSBsplineSurface: :param (input): primitive base curve to be swept + :param (input): + delta sweep direction. + + 4. CreateLinearSweep(surfaces: list, baseCurves: MSPyBentleyGeom.CurveVector, delta: MSPyBentleyGeom.DVec3d) -> bool + + Create a linear sweep from a (single) base curve. Fails (i.e. returns + NULL) if the primitive has children. + + :param (input): + primitive base curve to be swept + :param (input): delta sweep direction. """ ... + @staticmethod def CreateRotationalSweep(*args, **kwargs): """ Overloaded function. @@ -54707,9 +60241,12 @@ class RefCountedMSBsplineSurface: 2. CreateRotationalSweep(primitive: MSPyBentleyGeom.MSBsplineCurve, center: MSPyBentleyGeom.DPoint3d, axis: MSPyBentleyGeom.DVec3d, sweepRadians: float) -> MSPyBentleyGeom.RefCountedMSBsplineSurface 3. CreateRotationalSweep(surfaces: MSPyBentleyGeom.MSBsplineSurfacePtrArray, baseCurves: MSPyBentleyGeom.CurveVector, center: MSPyBentleyGeom.DPoint3d, axis: MSPyBentleyGeom.DVec3d, sweepRadians: float) -> bool + + 4. CreateRotationalSweep(surfaces: list, baseCurves: MSPyBentleyGeom.CurveVector, center: MSPyBentleyGeom.DPoint3d, axis: MSPyBentleyGeom.DVec3d, sweepRadians: float) -> bool """ ... + @staticmethod def CreateRuled(curveA: MSPyBentleyGeom.ICurvePrimitive, curveB: MSPyBentleyGeom.ICurvePrimitive) -> MSPyBentleyGeom.RefCountedMSBsplineSurface: """ Create a linear sweep from a ruled surface between two curves. Fails @@ -54724,6 +60261,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def CreateTrimmedDisk(ellipse: MSPyBentleyGeom.DEllipse3d) -> MSPyBentleyGeom.RefCountedMSBsplineSurface: """ Create a planar (bilinear) surface for the parallelogram around the @@ -54734,16 +60272,22 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def CreateTrimmedSurfaces(*args, **kwargs): """ Overloaded function. 1. CreateTrimmedSurfaces(surfaces: MSPyBentleyGeom.MSBsplineSurfacePtrArray, source: MSPyBentleyGeom.CurveVector, options: MSPyBentleyGeom.IFacetOptions = None) -> bool - 2. CreateTrimmedSurfaces(surfaces: MSPyBentleyGeom.MSBsplineSurfacePtrArray, source: ISolidPrimitive, options: MSPyBentleyGeom.IFacetOptions = None) -> bool + 2. CreateTrimmedSurfaces(surfaces: list, source: MSPyBentleyGeom.CurveVector, options: MSPyBentleyGeom.IFacetOptions = None) -> bool + + 3. CreateTrimmedSurfaces(surfaces: MSPyBentleyGeom.MSBsplineSurfacePtrArray, source: ISolidPrimitive, options: MSPyBentleyGeom.IFacetOptions = None) -> bool + + 4. CreateTrimmedSurfaces(surfaces: list, source: ISolidPrimitive, options: MSPyBentleyGeom.IFacetOptions = None) -> bool """ ... + @staticmethod def CreateTubeSurface(baseCurve: MSPyBentleyGeom.MSBsplineCurve, translateBaseCurve: bool, traceCurve: MSPyBentleyGeom.MSBsplineCurve) -> MSPyBentleyGeom.RefCountedMSBsplineSurface: """ Create a surface swept along a trace curve. @@ -54794,6 +60338,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def EvaluatePoint(*args, **kwargs): """ Overloaded function. @@ -54815,6 +60360,7 @@ class RefCountedMSBsplineSurface: def EvaluatePrincipalCurvature(self: MSPyBentleyGeom.MSBsplineSurface, xyz: MSPyBentleyGeom.DPoint3d, unitA: MSPyBentleyGeom.DVec3d, unitB: MSPyBentleyGeom.DVec3d, u: float, v: float) -> tuple: ... + @staticmethod def EvaluateUniformGrid(*args, **kwargs): """ Overloaded function. @@ -54823,9 +60369,25 @@ class RefCountedMSBsplineSurface: 2. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: MSPyBentleyGeom.DoubleArray, vParams: MSPyBentleyGeom.DoubleArray, gridPoints: list) -> None - 3. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: MSPyBentleyGeom.DPoint2dArray, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None + 3. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: MSPyBentleyGeom.DoubleArray, vParams: list, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None - 4. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: MSPyBentleyGeom.DPoint2dArray, gridPoints: list) -> None + 4. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: list, vParams: MSPyBentleyGeom.DoubleArray, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: list, vParams: list, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None + + 6. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: list, vParams: MSPyBentleyGeom.DoubleArray, gridPoints: list) -> None + + 7. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: MSPyBentleyGeom.DoubleArray, vParams: list, gridPoints: list) -> None + + 8. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uParams: list, vParams: list, gridPoints: list) -> None + + 9. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: MSPyBentleyGeom.DPoint2dArray, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None + + 10. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: MSPyBentleyGeom.DPoint2dArray, gridPoints: list) -> None + + 11. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: list, gridPoints: list) -> None + + 12. EvaluateUniformGrid(self: MSPyBentleyGeom.MSBsplineSurface, numUPoint: int, numVPoint: int, uvParams: list, gridPoints: MSPyBentleyGeom.DPoint3dArray) -> None """ ... @@ -54951,6 +60513,7 @@ class RefCountedMSBsplineSurface: def GetParameterRegion(self: MSPyBentleyGeom.MSBsplineSurface) -> tuple: ... + @staticmethod def GetPole(*args, **kwargs): """ Overloaded function. @@ -54961,6 +60524,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def GetPoleDPoint4d(*args, **kwargs): """ Overloaded function. @@ -54971,6 +60535,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def GetPoleRange(*args, **kwargs): """ Overloaded function. @@ -55058,6 +60623,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def GetUVBoundaryLoops(*args, **kwargs): """ Overloaded function. @@ -55068,6 +60634,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def GetUnWeightedPole(*args, **kwargs): """ Overloaded function. @@ -55084,6 +60651,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def GetUnstructuredBoundaryCurves(*args, **kwargs): """ Overloaded function. @@ -55106,6 +60674,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def GetWeight(*args, **kwargs): """ Overloaded function. @@ -55152,6 +60721,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def IntersectRay(*args, **kwargs): """ Overloaded function. @@ -55160,9 +60730,33 @@ class RefCountedMSBsplineSurface: 2. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d) -> None - 3. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + 3. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d) -> None + + 4. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d) -> None + + 5. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: list, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d) -> None + + 6. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: list, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d) -> None + + 7. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: list, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d) -> None + + 8. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: list, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d) -> None - 4. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + 9. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 10. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 11. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 12. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: MSPyBentleyGeom.DoubleArray, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 13. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: list, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 14. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: MSPyBentleyGeom.DPoint3dArray, rayParameters: list, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 15. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: list, surfaceParameters: MSPyBentleyGeom.DPoint2dArray, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None + + 16. IntersectRay(self: MSPyBentleyGeom.MSBsplineSurface, intersectionPoints: list, rayParameters: list, surfaceParameters: list, ray: MSPyBentleyGeom.DRay3d, rayInterval: MSPyBentleyGeom.DRange1d) -> None """ ... @@ -55194,6 +60788,7 @@ class RefCountedMSBsplineSurface: def IsPhysicallyClosed(self: MSPyBentleyGeom.MSBsplineSurface) -> tuple: ... + @staticmethod def IsPlanarBilinear(*args, **kwargs): """ Overloaded function. @@ -55263,7 +60858,7 @@ class RefCountedMSBsplineSurface: """ ... - def MakeBeziers(self: MSPyBentleyGeom.MSBsplineSurface, beziers: List[MSBsplineSurface]) -> int: + def MakeBeziers(self: MSPyBentleyGeom.MSBsplineSurface, beziers: list[MSBsplineSurface]) -> int: """ Create a series of Bezier surfaces for the B-spline surface. """ @@ -55347,12 +60942,13 @@ class RefCountedMSBsplineSurface: """ ... - def RemoveKnotsBounded(self: MSPyBentleyGeom.MSBsplineSurface, dir: int, tol: float) -> int: + def RemoveKnotsBounded(self: MSPyBentleyGeom.MSBsplineSurface, dir_: int, tol: float) -> int: """ Remove all removable knots with the tolerance constraint. """ ... + @staticmethod def Resolution(*args, **kwargs): """ Overloaded function. @@ -55378,6 +60974,7 @@ class RefCountedMSBsplineSurface: """ ... + @staticmethod def SetPole(*args, **kwargs): """ Overloaded function. @@ -55402,6 +60999,7 @@ class RefCountedMSBsplineSurface: def SetPolygonDisplay(self: MSPyBentleyGeom.MSBsplineSurface, display: bool) -> None: ... + @staticmethod def SetReWeightedPole(*args, **kwargs): """ Overloaded function. @@ -55495,6 +61093,7 @@ class RefCountedMSBsplineSurface: def TryGetBoundaryUV(self: MSPyBentleyGeom.MSBsplineSurface, boundaryIndex: int, pointIndex: int, uv: MSPyBentleyGeom.DPoint2d) -> bool: ... + @staticmethod def TryGetUnWeightedPole(*args, **kwargs): """ Overloaded function. @@ -55537,12 +61136,15 @@ class RefCountedMSBsplineSurface: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def display(self: MSPyBentleyGeom.MSBsplineSurface) -> MSPyBentleyGeom.BsplineDisplay: ... @@ -55620,7 +61222,7 @@ class RefCountedMSBsplineSurface: def weights(arg0: MSPyBentleyGeom.MSBsplineSurface, arg1: numpy.typing.NDArray) -> None: ... -class RefCountedMSInterpolationCurve: +class RefCountedMSInterpolationCurve(MSPyBentleyGeom.MSInterpolationCurve): """ None """ @@ -55649,12 +61251,14 @@ class RefCountedMSInterpolationCurve: """ ... + @staticmethod def Create() -> MSPyBentleyGeom.RefCountedMSInterpolationCurve: ... def GetOrder(self: MSPyBentleyGeom.MSInterpolationCurve) -> int: ... + @staticmethod def InitFromPointsAndEndTangents(*args, **kwargs): """ Overloaded function. @@ -55669,6 +61273,7 @@ class RefCountedMSInterpolationCurve: def Order(arg0: MSPyBentleyGeom.MSInterpolationCurve) -> int: ... + @staticmethod def Populate(*args, **kwargs): """ Overloaded function. @@ -55677,7 +61282,11 @@ class RefCountedMSInterpolationCurve: 2. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: list, knots: MSPyBentleyGeom.DoubleArray, startTangent: MSPyBentleyGeom.DVec3d, endTangent: MSPyBentleyGeom.DVec3d) -> int - 3. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: List[MSPyBentleyGeom.DPoint3d], knots: List[float]) -> int + 3. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: MSPyBentleyGeom.DPoint3dArray, knots: list, startTangent: MSPyBentleyGeom.DVec3d, endTangent: MSPyBentleyGeom.DVec3d) -> int + + 4. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: list, knots: list, startTangent: MSPyBentleyGeom.DVec3d, endTangent: MSPyBentleyGeom.DVec3d) -> int + + 5. Populate(self: MSPyBentleyGeom.MSInterpolationCurve, order: int, periodic: bool, isChordLenKnots: int, isColinearTangents: int, isChordLenTangents: int, isNaturalTangents: int, fitPoints: List[MSPyBentleyGeom.DPoint3d], knots: List[float]) -> int """ ... @@ -55693,12 +61302,15 @@ class RefCountedMSInterpolationCurve: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ReprojectStatus: """ Members: @@ -55730,7 +61342,13 @@ class ReprojectStatus: eREPROJECT_InvalidCoordSys """ - def __init__(self: MSPyBentleyGeom.ReprojectStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREPROJECT_BadArgument: ReprojectStatus @@ -55793,7 +61411,13 @@ class RgbFactor: def ScaleInPlace(self: MSPyBentleyGeom.RgbFactor, a: float) -> None: ... - def __init__(self: MSPyBentleyGeom.RgbFactor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -55822,6 +61446,16 @@ class RgbFactorArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -55848,6 +61482,7 @@ class RgbFactorArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -55868,6 +61503,7 @@ class RgbFactorArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -55952,6 +61588,7 @@ class RotMatrix: """ ... + @staticmethod def DiagonalAbsRange(*args, **kwargs): """ Overloaded function. @@ -56041,7 +61678,7 @@ class RotMatrix: ... @staticmethod - def From1Vector(dir: MSPyBentleyGeom.DVec3d, axis: int, normalize: bool) -> MSPyBentleyGeom.RotMatrix: + def From1Vector(dir_: MSPyBentleyGeom.DVec3d, axis: int, normalize: bool) -> MSPyBentleyGeom.RotMatrix: """ Initializes this instance matrix so that the indicated axis (axis = 0,1,or 2) is aligned with the vector dir. The normalize @@ -56322,6 +61959,7 @@ class RotMatrix: """ ... + @staticmethod def GetQuaternion(*args, **kwargs): """ Overloaded function. @@ -56339,6 +61977,14 @@ class RotMatrix: :param (output): quat quaternion, stored as xyzw + :param (input): + transpose true if matrix is stored transposed + + 3. GetQuaternion(self: MSPyBentleyGeom.RotMatrix, wxyzQuat: list, transpose: bool) -> None + + :param (output): + quat quaternion, stored as xyzw + :param (input): transpose true if matrix is stored transposed """ @@ -56373,14 +62019,28 @@ class RotMatrix: """ ... - def GetRowValues(self: MSPyBentleyGeom.RotMatrix) -> List[float[9]]: + def GetRowValues(self: MSPyBentleyGeom.RotMatrix) -> list[float]: """ Get all contents as individual doubles, moving along rows """ ... - def GetRowValuesXY(self: MSPyBentleyGeom.RotMatrix, arg0: MSPyBentleyGeom.DoubleArray) -> None: + @staticmethod + def GetRowValuesXY(*args, **kwargs): """ + Overloaded function. + + 1. GetRowValuesXY(self: MSPyBentleyGeom.RotMatrix, arg0: MSPyBentleyGeom.DoubleArray) -> None + + Copies 4 doubles from xx,xy,yx,yy positions into an + array. + + :param (output): + data returned data -- first 2 entries in row 0, then first 2 in + row 1. + + 2. GetRowValuesXY(self: MSPyBentleyGeom.RotMatrix, arg0: list) -> None + Copies 4 doubles from xx,xy,yx,yy positions into an array. @@ -56495,7 +62155,7 @@ class RotMatrix: """ ... - def InitFrom1Vector(self: MSPyBentleyGeom.RotMatrix, dir: MSPyBentleyGeom.DVec3d, axis: int, normalize: bool) -> bool: + def InitFrom1Vector(self: MSPyBentleyGeom.RotMatrix, dir_: MSPyBentleyGeom.DVec3d, axis: int, normalize: bool) -> bool: """ Initializes this instance matrix so that the indicated axis (axis = 0,1,or 2) is aligned with the vector dir. The normalize @@ -56582,6 +62242,7 @@ class RotMatrix: """ ... + @staticmethod def InitFromQuaternion(*args, **kwargs): """ Overloaded function. @@ -56591,7 +62252,7 @@ class RotMatrix: :param (input): quat The quaternion, stored as (xyzw) - 2. InitFromQuaternion(self: MSPyBentleyGeom.RotMatrix, wxyzQuat: List[float[4]]) -> None + 2. InitFromQuaternion(self: MSPyBentleyGeom.RotMatrix, wxyzQuat: list[float]) -> None """ ... @@ -56629,6 +62290,7 @@ class RotMatrix: """ ... + @staticmethod def InitFromRowValuesXY(*args, **kwargs): """ Overloaded function. @@ -56650,7 +62312,7 @@ class RotMatrix: :param (input): x11 The 11 entry - 2. InitFromRowValuesXY(self: MSPyBentleyGeom.RotMatrix, value: List[float[4]]) -> None + 2. InitFromRowValuesXY(self: MSPyBentleyGeom.RotMatrix, value: list[float]) -> None """ ... @@ -56718,6 +62380,7 @@ class RotMatrix: """ ... + @staticmethod def InitProduct(*args, **kwargs): """ Overloaded function. @@ -56867,6 +62530,7 @@ class RotMatrix: """ ... + @staticmethod def IsEqual(*args, **kwargs): """ Overloaded function. @@ -57080,6 +62744,7 @@ class RotMatrix: """ ... + @staticmethod def Multiply(*args, **kwargs): """ Overloaded function. @@ -57164,7 +62829,7 @@ class RotMatrix: :param (input): numPoint The number of points - 6. Multiply(self: MSPyBentleyGeom.RotMatrix, xyzOut: list, xyzIn: list) -> None + 6. Multiply(self: MSPyBentleyGeom.RotMatrix, xyOut: MSPyBentleyGeom.DPoint2dArray, xyIn: MSPyBentleyGeom.DPoint2dArray) -> None Computes{M*P[i]} where M is this instance matrix and each P[i] is a point in the input array point. Each result is placed in the @@ -57180,7 +62845,103 @@ class RotMatrix: :param (input): numPoint The number of points - 7. Multiply(self: MSPyBentleyGeom.RotMatrix, xyOut: MSPyBentleyGeom.DPoint2dArray, xyIn: MSPyBentleyGeom.DPoint2dArray) -> None + 7. Multiply(self: MSPyBentleyGeom.RotMatrix, xyOut: list, xyIn: list) -> None + + Computes{M*P[i]} where M is this instance matrix and each P[i] is a + point in the input array point. Each result is placed in the + corresponding entry in the output array result. The same array may be + named for the input and output arrays. + + :param (output): + result output points + + :param (input): + point The input points + + :param (input): + numPoint The number of points + + 8. Multiply(self: MSPyBentleyGeom.RotMatrix, outRange: list, inRange: MSPyBentleyGeom.DPoint4dArray) -> None + + Computes{M*P[i]} where M is this instance matrix and each P[i] is a + point in the input array point. Each result is placed in the + corresponding entry in the output array result. The same array may be + named for the input and output arrays. + + :param (output): + result output points + + :param (input): + point The input points + + :param (input): + numPoint The number of points + + 9. Multiply(self: MSPyBentleyGeom.RotMatrix, outRange: list, inRange: MSPyBentleyGeom.DPoint3dArray) -> None + + Computes{M*P[i]} where M is this instance matrix and each P[i] is a + point in the input array point. Each result is placed in the + corresponding entry in the output array result. The same array may be + named for the input and output arrays. + + :param (output): + result output points + + :param (input): + point The input points + + :param (input): + numPoint The number of points + + 10. Multiply(self: MSPyBentleyGeom.RotMatrix, outRange: list, inRange: MSPyBentleyGeom.DPoint2dArray) -> None + + Computes{M*P[i]} where M is this instance matrix and each P[i] is a + point in the input array point. Each result is placed in the + corresponding entry in the output array result. The same array may be + named for the input and output arrays. + + :param (output): + result output points + + :param (input): + point The input points + + :param (input): + numPoint The number of points + + 11. Multiply(self: MSPyBentleyGeom.RotMatrix, outXYZ: MSPyBentleyGeom.DPoint4dArray, inXYZ: list) -> None + + Computes{M*P[i]} where M is this instance matrix and each P[i] is a + point in the input array point. Each result is placed in the + corresponding entry in the output array result. The same array may be + named for the input and output arrays. + + :param (output): + result output points + + :param (input): + point The input points + + :param (input): + numPoint The number of points + + 12. Multiply(self: MSPyBentleyGeom.RotMatrix, outXYZ: MSPyBentleyGeom.DPoint3dArray, inXYZ: list) -> None + + Computes{M*P[i]} where M is this instance matrix and each P[i] is a + point in the input array point. Each result is placed in the + corresponding entry in the output array result. The same array may be + named for the input and output arrays. + + :param (output): + result output points + + :param (input): + point The input points + + :param (input): + numPoint The number of points + + 13. Multiply(self: MSPyBentleyGeom.RotMatrix, outXYZ: MSPyBentleyGeom.DPoint2dArray, inXYZ: list) -> None Computes{M*P[i]} where M is this instance matrix and each P[i] is a point in the input array point. Each result is placed in the @@ -57217,6 +62978,7 @@ class RotMatrix: """ ... + @staticmethod def MultiplyTranspose(*args, **kwargs): """ Overloaded function. @@ -57258,6 +63020,26 @@ class RotMatrix: :param (output): result result of the multiplication. + :param (input): + point The known point. + + 5. MultiplyTranspose(self: MSPyBentleyGeom.RotMatrix, outXYZ: MSPyBentleyGeom.DPoint3dArray, inXYZ: list) -> None + + Returns the product of a matrix transpose times a point. + + :param (output): + result result of the multiplication. + + :param (input): + point The known point. + + 6. MultiplyTranspose(self: MSPyBentleyGeom.RotMatrix, outXYZ: list, inXYZ: MSPyBentleyGeom.DPoint3dArray) -> None + + Returns the product of a matrix transpose times a point. + + :param (output): + result result of the multiplication. + :param (input): point The known point. """ @@ -57336,10 +63118,8 @@ class RotMatrix: """ ... - def RotateAndSkewFactors(*args, **kwargs): + def RotateAndSkewFactors(self: MSPyBentleyGeom.RotMatrix, rotation: MSPyBentleyGeom.RotMatrix, skewFactor: MSPyBentleyGeom.RotMatrix, primiaryAxis: int, secondaryAxis: int) -> bool: """ - RotateAndSkewFactors(self: MSPyBentleyGeom.RotMatrix, rotation: MSPyBentleyGeom.RotMatrix, skewFactor: MSPyBentleyGeom.RotMatrix = 0, primiaryAxis: int, secondaryAxis: int) -> bool - Factor as{rotation*skewFactor} where the rotation favors indicated primary and secondary axes. @@ -57404,6 +63184,7 @@ class RotMatrix: """ ... + @staticmethod def ScaleColumns(*args, **kwargs): """ Overloaded function. @@ -57521,6 +63302,7 @@ class RotMatrix: """ ... + @staticmethod def SolveArray(*args, **kwargs): """ Overloaded function. @@ -57532,6 +63314,16 @@ class RotMatrix: 2. SolveArray(self: MSPyBentleyGeom.RotMatrix, xyzOut: list, xyzIn: list) -> None + Solve M*xyzOut[i] = xyzIn[i] for array of points. + (Equivalent to multiplying by the matrix inverse) + + 3. SolveArray(self: MSPyBentleyGeom.RotMatrix, xyzOut: MSPyBentleyGeom.DPoint3dArray, xyzIn: list) -> None + + Solve M*xyzOut[i] = xyzIn[i] for array of points. + (Equivalent to multiplying by the matrix inverse) + + 4. SolveArray(self: MSPyBentleyGeom.RotMatrix, xyzOut: list, xyzIn: MSPyBentleyGeom.DPoint3dArray) -> None + Solve M*xyzOut[i] = xyzIn[i] for array of points. (Equivalent to multiplying by the matrix inverse) """ @@ -57553,6 +63345,7 @@ class RotMatrix: """ ... + @staticmethod def SquareAndNormalizeColumns(*args, **kwargs): """ Overloaded function. @@ -57615,6 +63408,7 @@ class RotMatrix: """ ... + @staticmethod def SquareAndNormalizeColumnsAnyOrder(*args, **kwargs): """ Overloaded function. @@ -57757,7 +63551,13 @@ class RotMatrix: def Zero(self: MSPyBentleyGeom.RotMatrix) -> None: ... - def __init__(self: MSPyBentleyGeom.RotMatrix) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -57772,6 +63572,16 @@ class RotMatrixArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -57798,6 +63608,7 @@ class RotMatrixArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -57818,6 +63629,7 @@ class RotMatrixArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -57995,6 +63807,7 @@ class SolidLocationDetail: """ ... + @staticmethod def SetFaceIndices(*args, **kwargs): """ Overloaded function. @@ -58039,6 +63852,7 @@ class SolidLocationDetail: """ ... + @staticmethod def SetUV(*args, **kwargs): """ Overloaded function. @@ -58122,6 +63936,13 @@ class SolidLocationDetail: def XYZ(arg0: MSPyBentleyGeom.SolidLocationDetail, arg1: DPoint3d) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -58141,6 +63962,16 @@ class SolidLocationDetailArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -58167,6 +63998,7 @@ class SolidLocationDetailArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -58187,6 +64019,7 @@ class SolidLocationDetailArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -58222,7 +64055,13 @@ class SolidPrimitiveType: eSolidPrimitiveType_DgnRuledSweep """ - def __init__(self: MSPyBentleyGeom.SolidPrimitiveType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSolidPrimitiveType_DgnBox: SolidPrimitiveType @@ -58257,7 +64096,7 @@ TRUNCATE_NONE: int TRUNCATE_SINGLE: int -class TaggedLocalRange: +class TaggedLocalRange(MSPyBentleyGeom.LocalRange): """ None """ @@ -58265,13 +64104,14 @@ class TaggedLocalRange: def DistanceOutside(self: MSPyBentleyGeom.LocalRange, spacePoint: DPoint3d) -> float: ... + @staticmethod def InitFromPrincipalAxesOfPoints(*args, **kwargs): """ Overloaded function. - 1. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyz: List[DPoint3d]) -> bool + 1. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyz: list[DPoint3d]) -> bool - 2. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyzw: List[DPoint4d]) -> bool + 2. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyzw: list[DPoint4d]) -> bool 3. InitFromPrincipalAxesOfPoints(self: MSPyBentleyGeom.LocalRange, xyz: list) -> bool """ @@ -58288,10 +64128,16 @@ class TaggedLocalRange: ... @staticmethod - def SortByA(data: List[TaggedLocalRange]) -> None: + def SortByA(data: list[TaggedLocalRange]) -> None: ... - def __init__(self: MSPyBentleyGeom.TaggedLocalRange, indexA: int, indexB: int, a: float = 0.0) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -58613,7 +64459,7 @@ class Transform: def FromOriginAndXVector(origin: MSPyBentleyGeom.DPoint2d, xVector: MSPyBentleyGeom.DVec2d) -> MSPyBentleyGeom.Transform: """ Returns a transform with given origin and xVector. The yVector is a - CCW perpendicular to the xVector (with the same length) The zVecotor + CCW perpendicular to the xVector (with the same length) -> The zVecotor is a unitZ. """ ... @@ -58821,6 +64667,7 @@ class Transform: """ ... + @staticmethod def GetFixedPlane(*args, **kwargs): """ Overloaded function. @@ -58903,6 +64750,7 @@ class Transform: """ ... + @staticmethod def GetOriginAndVectors(*args, **kwargs): """ Overloaded function. @@ -58954,6 +64802,7 @@ class Transform: """ ... + @staticmethod def GetTranslation(*args, **kwargs): """ Overloaded function. @@ -58997,6 +64846,7 @@ class Transform: """ ... + @staticmethod def InitFrom(*args, **kwargs): """ Overloaded function. @@ -59168,6 +65018,7 @@ class Transform: """ ... + @staticmethod def InitFromOriginAndVectors(*args, **kwargs): """ Overloaded function. @@ -59368,6 +65219,7 @@ class Transform: """ ... + @staticmethod def InitProduct(*args, **kwargs): """ Overloaded function. @@ -59427,10 +65279,8 @@ class Transform: """ ... - def InverseOf(*args, **kwargs): + def InverseOf(self: MSPyBentleyGeom.Transform, in_: MSPyBentleyGeom.Transform) -> bool: """ - InverseOf(self: MSPyBentleyGeom.Transform, in: MSPyBentleyGeom.Transform) -> bool - Sets this instance to the inverse transform of in. in may be the same as this instance. This is a modestly expensive floating point computation (33 multiplies, 14 adds). Symbolically, given transform [R @@ -59448,12 +65298,10 @@ class Transform: """ ... - def InvertRigidBodyTransformation(*args, **kwargs): + def InvertRigidBodyTransformation(self: MSPyBentleyGeom.Transform, in_: MSPyBentleyGeom.Transform) -> None: """ - InvertRigidBodyTransformation(self: MSPyBentleyGeom.Transform, in: MSPyBentleyGeom.Transform) -> None - - Sets this instance to a matrix which is the inverse of in (input) THE - SPECIAL CASE WHERE in HAS ONLY PURE ROTATION OR MIRRORING (input) ITS + Sets this instance to a matrix which is the inverse of in (input) -> THE + SPECIAL CASE WHERE in HAS ONLY PURE ROTATION OR MIRRORING (input) -> ITS ROTATIONAL PART. These special conditions allow the 'inversion' to be done by only a transposition and one matrix-times-point multiplication, rather than the full effort of inverting a general @@ -59476,6 +65324,7 @@ class Transform: """ ... + @staticmethod def IsEqual(*args, **kwargs): """ Overloaded function. @@ -59715,6 +65564,7 @@ class Transform: """ ... + @staticmethod def Multiply(*args, **kwargs): """ Overloaded function. @@ -59759,31 +65609,7 @@ class Transform: :param [in,out]: point point to be updated - 6. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: MSPyBentleyGeom.DPoint3dArray) -> None - - Multiplies a point by a transform, returning the result - in place of the input point. - - :param [in,out]: - point point to be updated - - 7. Multiply(self: MSPyBentleyGeom.Transform, outPoints: list, inPoints: list) -> None - - Multiplies a point by a transform, returning the result - in place of the input point. - - :param [in,out]: - point point to be updated - - 8. Multiply(self: MSPyBentleyGeom.Transform, result: MSPyBentleyGeom.DPoint2d, point: MSPyBentleyGeom.DPoint2d) -> None - - Multiplies a point by a transform, returning the result - in place of the input point. - - :param [in,out]: - point point to be updated - - 9. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint2dArray, inPoints: MSPyBentleyGeom.DPoint2dArray) -> None + 6. Multiply(self: MSPyBentleyGeom.Transform, xyzOut: MSPyBentleyGeom.DPoint3dArray, xyzIn: MSPyBentleyGeom.DPoint3dArray) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59791,7 +65617,7 @@ class Transform: :param [in,out]: point point to be updated - 10. Multiply(self: MSPyBentleyGeom.Transform, result: MSPyBentleyGeom.DPoint3d, point: MSPyBentleyGeom.DPoint2d) -> None + 7. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint2dArray, inPoints: MSPyBentleyGeom.DPoint2dArray) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59799,7 +65625,7 @@ class Transform: :param [in,out]: point point to be updated - 11. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: MSPyBentleyGeom.DPoint2dArray) -> None + 8. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: MSPyBentleyGeom.DPoint2dArray) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59807,7 +65633,7 @@ class Transform: :param [in,out]: point point to be updated - 12. Multiply(self: MSPyBentleyGeom.Transform, outPoints: list, inPoints: MSPyBentleyGeom.DPoint2dArray) -> None + 9. Multiply(self: MSPyBentleyGeom.Transform, outPoints: list, inPoints: list) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59815,7 +65641,7 @@ class Transform: :param [in,out]: point point to be updated - 13. Multiply(self: MSPyBentleyGeom.Transform, result: MSPyBentleyGeom.DPoint2d, point: MSPyBentleyGeom.DPoint3d) -> None + 10. Multiply(self: MSPyBentleyGeom.Transform, outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59823,7 +65649,7 @@ class Transform: :param [in,out]: point point to be updated - 14. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint2dArray, inPoints: MSPyBentleyGeom.DPoint2dArray) -> None + 11. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59831,7 +65657,7 @@ class Transform: :param [in,out]: point point to be updated - 15. Multiply(self: MSPyBentleyGeom.Transform, result: MSPyBentleyGeom.DPoint4d, point: MSPyBentleyGeom.DPoint4d) -> None + 12. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint2dArray, inPoints: list) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59839,7 +65665,7 @@ class Transform: :param [in,out]: point point to be updated - 16. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint4dArray, inPoints: MSPyBentleyGeom.DPoint4dArray) -> None + 13. Multiply(self: MSPyBentleyGeom.Transform, outPoints: list, inPoints: MSPyBentleyGeom.DPoint2dArray) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59847,7 +65673,7 @@ class Transform: :param [in,out]: point point to be updated - 17. Multiply(self: MSPyBentleyGeom.Transform, outRange: MSPyBentleyGeom.DRange3d, inRange: MSPyBentleyGeom.DRange3d) -> None + 14. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint4dArray, inPoints: list) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59855,7 +65681,7 @@ class Transform: :param [in,out]: point point to be updated - 18. Multiply(self: MSPyBentleyGeom.Transform, inoutEllipse: MSPyBentleyGeom.DEllipse3d) -> None + 15. Multiply(self: MSPyBentleyGeom.Transform, outPoints: list, inPoints: MSPyBentleyGeom.DPoint4dArray) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59863,7 +65689,7 @@ class Transform: :param [in,out]: point point to be updated - 19. Multiply(self: MSPyBentleyGeom.Transform, outEllipse: MSPyBentleyGeom.DEllipse3d, inEllipse: MSPyBentleyGeom.DEllipse3d) -> None + 16. Multiply(self: MSPyBentleyGeom.Transform, result: MSPyBentleyGeom.DPoint2d, point: MSPyBentleyGeom.DPoint2d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59871,7 +65697,7 @@ class Transform: :param [in,out]: point point to be updated - 20. Multiply(self: MSPyBentleyGeom.Transform, inoutPlane: MSPyBentleyGeom.DPlane3d) -> bool + 17. Multiply(self: MSPyBentleyGeom.Transform, result: MSPyBentleyGeom.DPoint3d, point: MSPyBentleyGeom.DPoint2d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59879,7 +65705,7 @@ class Transform: :param [in,out]: point point to be updated - 21. Multiply(self: MSPyBentleyGeom.Transform, outPlane: MSPyBentleyGeom.DPlane3d, inPlane: MSPyBentleyGeom.DPlane3d) -> bool + 18. Multiply(self: MSPyBentleyGeom.Transform, result: MSPyBentleyGeom.DPoint2d, point: MSPyBentleyGeom.DPoint3d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59887,7 +65713,7 @@ class Transform: :param [in,out]: point point to be updated - 22. Multiply(self: MSPyBentleyGeom.Transform, inoutSegment: MSPyBentleyGeom.DSegment3d) -> None + 19. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint2dArray, inPoints: MSPyBentleyGeom.DPoint2dArray) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59895,7 +65721,7 @@ class Transform: :param [in,out]: point point to be updated - 23. Multiply(self: MSPyBentleyGeom.Transform, outSegment: MSPyBentleyGeom.DSegment3d, inSegment: MSPyBentleyGeom.DSegment3d) -> None + 20. Multiply(self: MSPyBentleyGeom.Transform, result: MSPyBentleyGeom.DPoint4d, point: MSPyBentleyGeom.DPoint4d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59903,7 +65729,7 @@ class Transform: :param [in,out]: point point to be updated - 24. Multiply(self: MSPyBentleyGeom.Transform, inoutRay: MSPyBentleyGeom.DRay3d) -> None + 21. Multiply(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint4dArray, inPoints: MSPyBentleyGeom.DPoint4dArray) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59911,7 +65737,7 @@ class Transform: :param [in,out]: point point to be updated - 25. Multiply(self: MSPyBentleyGeom.Transform, outRay: MSPyBentleyGeom.DRay3d, inRay: MSPyBentleyGeom.DRay3d) -> None + 22. Multiply(self: MSPyBentleyGeom.Transform, outRange: MSPyBentleyGeom.DRange3d, inRange: MSPyBentleyGeom.DRange3d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59919,7 +65745,7 @@ class Transform: :param [in,out]: point point to be updated - 26. Multiply(self: MSPyBentleyGeom.Transform, xyzwOut: MSPyBentleyGeom.DPoint4dArray, xyzwIn: MSPyBentleyGeom.DPoint4dArray) -> None + 23. Multiply(self: MSPyBentleyGeom.Transform, inoutEllipse: MSPyBentleyGeom.DEllipse3d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59927,7 +65753,7 @@ class Transform: :param [in,out]: point point to be updated - 27. Multiply(self: MSPyBentleyGeom.Transform, xyzOut: MSPyBentleyGeom.DPoint3dArray, xyzIn: MSPyBentleyGeom.DPoint3dArray) -> None + 24. Multiply(self: MSPyBentleyGeom.Transform, outEllipse: MSPyBentleyGeom.DEllipse3d, inEllipse: MSPyBentleyGeom.DEllipse3d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59935,7 +65761,7 @@ class Transform: :param [in,out]: point point to be updated - 28. Multiply(self: MSPyBentleyGeom.Transform, outXYZ: list, inXYZ: list) -> None + 25. Multiply(self: MSPyBentleyGeom.Transform, inoutPlane: MSPyBentleyGeom.DPlane3d) -> bool Multiplies a point by a transform, returning the result in place of the input point. @@ -59943,7 +65769,7 @@ class Transform: :param [in,out]: point point to be updated - 29. Multiply(self: MSPyBentleyGeom.Transform, xyOut: MSPyBentleyGeom.DPoint2dArray, xyIn: MSPyBentleyGeom.DPoint2dArray) -> None + 26. Multiply(self: MSPyBentleyGeom.Transform, outPlane: MSPyBentleyGeom.DPlane3d, inPlane: MSPyBentleyGeom.DPlane3d) -> bool Multiplies a point by a transform, returning the result in place of the input point. @@ -59951,7 +65777,7 @@ class Transform: :param [in,out]: point point to be updated - 30. Multiply(self: MSPyBentleyGeom.Transform, xyzOut: MSPyBentleyGeom.DPoint3dArray, xyIn: MSPyBentleyGeom.DPoint2dArray) -> None + 27. Multiply(self: MSPyBentleyGeom.Transform, inoutSegment: MSPyBentleyGeom.DSegment3d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59959,7 +65785,7 @@ class Transform: :param [in,out]: point point to be updated - 31. Multiply(self: MSPyBentleyGeom.Transform, outXYZ: list, inXY: MSPyBentleyGeom.DPoint2dArray) -> None + 28. Multiply(self: MSPyBentleyGeom.Transform, outSegment: MSPyBentleyGeom.DSegment3d, inSegment: MSPyBentleyGeom.DSegment3d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59967,7 +65793,7 @@ class Transform: :param [in,out]: point point to be updated - 32. Multiply(self: MSPyBentleyGeom.Transform, xyOut: MSPyBentleyGeom.DPoint2dArray, xyzIn: MSPyBentleyGeom.DPoint3dArray) -> None + 29. Multiply(self: MSPyBentleyGeom.Transform, inoutRay: MSPyBentleyGeom.DRay3d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59975,7 +65801,7 @@ class Transform: :param [in,out]: point point to be updated - 33. Multiply(self: MSPyBentleyGeom.Transform, outXY: MSPyBentleyGeom.DPoint2dArray, inXYZ: list) -> None + 30. Multiply(self: MSPyBentleyGeom.Transform, outRay: MSPyBentleyGeom.DRay3d, inRay: MSPyBentleyGeom.DRay3d) -> None Multiplies a point by a transform, returning the result in place of the input point. @@ -59985,6 +65811,7 @@ class Transform: """ ... + @staticmethod def MultiplyMatrixOnly(*args, **kwargs): """ Overloaded function. @@ -60077,6 +65904,7 @@ class Transform: """ ... + @staticmethod def MultiplyTranspose(*args, **kwargs): """ Overloaded function. @@ -60117,7 +65945,25 @@ class Transform: :param (input): numPoint The number of points - 3. MultiplyTranspose(self: MSPyBentleyGeom.Transform, points: MSPyBentleyGeom.DPoint3dArray) -> None + 3. MultiplyTranspose(self: MSPyBentleyGeom.Transform, outPoints: MSPyBentleyGeom.DPoint3dArray, inPoints: list) -> None + + Multiplies this instance times each column vector in inPoint, using + the transpose of the matrix part of this instance in the + multiplications, and places the resulting points in outPoint. + Symbolically, given transform [R t], each returned point has the + equivalent form p*R + t, where p is a row vector. inPoint and outPoint + may be the same. + + :param (output): + outPoint transformed points + + :param (input): + inPoint The input points + + :param (input): + numPoint The number of points + + 4. MultiplyTranspose(self: MSPyBentleyGeom.Transform, outPoints: list, inPoints: MSPyBentleyGeom.DPoint3dArray) -> None Multiplies this instance times each column vector in inPoint, using the transpose of the matrix part of this instance in the @@ -60135,7 +65981,25 @@ class Transform: :param (input): numPoint The number of points - 4. MultiplyTranspose(self: MSPyBentleyGeom.Transform, points: list) -> None + 5. MultiplyTranspose(self: MSPyBentleyGeom.Transform, points: MSPyBentleyGeom.DPoint3dArray) -> None + + Multiplies this instance times each column vector in inPoint, using + the transpose of the matrix part of this instance in the + multiplications, and places the resulting points in outPoint. + Symbolically, given transform [R t], each returned point has the + equivalent form p*R + t, where p is a row vector. inPoint and outPoint + may be the same. + + :param (output): + outPoint transformed points + + :param (input): + inPoint The input points + + :param (input): + numPoint The number of points + + 6. MultiplyTranspose(self: MSPyBentleyGeom.Transform, points: list) -> None Multiplies this instance times each column vector in inPoint, using the transpose of the matrix part of this instance in the @@ -60155,6 +66019,7 @@ class Transform: """ ... + @staticmethod def MultiplyTransposeMatrixOnly(*args, **kwargs): """ Overloaded function. @@ -60215,6 +66080,7 @@ class Transform: """ ... + @staticmethod def MultiplyWeighted(*args, **kwargs): """ Overloaded function. @@ -60252,15 +66118,85 @@ class Transform: :param [in,out]: point point to be updated + :param (input): + weight The weight + + 4. MultiplyWeighted(self: MSPyBentleyGeom.Transform, weightedXYZOut: MSPyBentleyGeom.DPoint3dArray, weightedXYZIn: list, weights: MSPyBentleyGeom.DoubleArray) -> None + + Multiplies a " weighted point " in place. That is, the point is input + and output as (wx,wy,wz,w) where x,y,z are the cartesian image + coordinates. + + :param [in,out]: + point point to be updated + + :param (input): + weight The weight + + 5. MultiplyWeighted(self: MSPyBentleyGeom.Transform, weightedXYZOut: list, weightedXYZIn: MSPyBentleyGeom.DPoint3dArray, weights: MSPyBentleyGeom.DoubleArray) -> None + + Multiplies a " weighted point " in place. That is, the point is input + and output as (wx,wy,wz,w) where x,y,z are the cartesian image + coordinates. + + :param [in,out]: + point point to be updated + + :param (input): + weight The weight + + 6. MultiplyWeighted(self: MSPyBentleyGeom.Transform, weightedXYZOut: list, weightedXYZIn: list, weights: list) -> None + + Multiplies a " weighted point " in place. That is, the point is input + and output as (wx,wy,wz,w) where x,y,z are the cartesian image + coordinates. + + :param [in,out]: + point point to be updated + + :param (input): + weight The weight + + 7. MultiplyWeighted(self: MSPyBentleyGeom.Transform, weightedXYZOut: MSPyBentleyGeom.DPoint3dArray, weightedXYZIn: list, weights: list) -> None + + Multiplies a " weighted point " in place. That is, the point is input + and output as (wx,wy,wz,w) where x,y,z are the cartesian image + coordinates. + + :param [in,out]: + point point to be updated + + :param (input): + weight The weight + + 8. MultiplyWeighted(self: MSPyBentleyGeom.Transform, weightedXYZOut: list, weightedXYZIn: MSPyBentleyGeom.DPoint3dArray, weights: list) -> None + + Multiplies a " weighted point " in place. That is, the point is input + and output as (wx,wy,wz,w) where x,y,z are the cartesian image + coordinates. + + :param [in,out]: + point point to be updated + + :param (input): + weight The weight + + 9. MultiplyWeighted(self: MSPyBentleyGeom.Transform, weightedXYZOut: MSPyBentleyGeom.DPoint3dArray, weightedXYZIn: MSPyBentleyGeom.DPoint3dArray, weights: list) -> None + + Multiplies a " weighted point " in place. That is, the point is input + and output as (wx,wy,wz,w) where x,y,z are the cartesian image + coordinates. + + :param [in,out]: + point point to be updated + :param (input): weight The weight """ ... - def OffsetPointByColumn(*args, **kwargs): + def OffsetPointByColumn(self: MSPyBentleyGeom.Transform, out_: MSPyBentleyGeom.DPoint3d, in_: MSPyBentleyGeom.DPoint3d, i: int) -> None: """ - OffsetPointByColumn(self: MSPyBentleyGeom.Transform, out: MSPyBentleyGeom.DPoint3d, in: MSPyBentleyGeom.DPoint3d, i: int) -> None - Adds column i of the matrix part of this instance to point in and places the result in out. @@ -60314,6 +66250,7 @@ class Transform: """ ... + @staticmethod def ScaleMatrixColumns(*args, **kwargs): """ Overloaded function. @@ -60375,6 +66312,7 @@ class Transform: """ ... + @staticmethod def SetFixedPoint(*args, **kwargs): """ Overloaded function. @@ -60441,6 +66379,7 @@ class Transform: """ ... + @staticmethod def SetTranslation(*args, **kwargs): """ Overloaded function. @@ -60487,6 +66426,7 @@ class Transform: """ ... + @staticmethod def SolveArray(*args, **kwargs): """ Overloaded function. @@ -60513,7 +66453,51 @@ class Transform: :returns: false if the matrix part of this instance is singular. - 2. SolveArray(self: MSPyBentleyGeom.Transform, outXYZ: list, inXYZ: list) -> None + 2. SolveArray(self: MSPyBentleyGeom.Transform, outXYZ: list, inXYZ: list) -> bool + + Solves the linear systems TX=B, where T is this instance, B is the + matrix of numPoints input points and X is the matrix of numPoints + output points. No simplifying assumptions are made regarding the + matrix part of T. Symbolically, if T = [M t], then for each + input/output point i, X[i] = Q (B[i] - t), where Q is the inverse of M + (i.e., the i_th system is equivalent to MX[i] = B[i] - t). inPoint and + outPoint may have identical addresses. + + :param (output): + outPoint column points of solution matrix to system + + :param (input): + inPoint The column points of constant matrix of system + + :param (input): + numPoints The number of input/output points + + :returns: + false if the matrix part of this instance is singular. + + 3. SolveArray(self: MSPyBentleyGeom.Transform, outXYZ: MSPyBentleyGeom.DPoint3dArray, inXYZ: list) -> bool + + Solves the linear systems TX=B, where T is this instance, B is the + matrix of numPoints input points and X is the matrix of numPoints + output points. No simplifying assumptions are made regarding the + matrix part of T. Symbolically, if T = [M t], then for each + input/output point i, X[i] = Q (B[i] - t), where Q is the inverse of M + (i.e., the i_th system is equivalent to MX[i] = B[i] - t). inPoint and + outPoint may have identical addresses. + + :param (output): + outPoint column points of solution matrix to system + + :param (input): + inPoint The column points of constant matrix of system + + :param (input): + numPoints The number of input/output points + + :returns: + false if the matrix part of this instance is singular. + + 4. SolveArray(self: MSPyBentleyGeom.Transform, outXYZ: list, inXYZ: MSPyBentleyGeom.DPoint3dArray) -> bool Solves the linear systems TX=B, where T is this instance, B is the matrix of numPoints input points and X is the matrix of numPoints @@ -60568,10 +66552,8 @@ class Transform: """ ... - def TranslateInLocalCoordinates(*args, **kwargs): + def TranslateInLocalCoordinates(self: MSPyBentleyGeom.Transform, in_: MSPyBentleyGeom.Transform, x: float, y: float, z: float) -> None: """ - TranslateInLocalCoordinates(self: MSPyBentleyGeom.Transform, in: MSPyBentleyGeom.Transform, x: float, y: float, z: float) -> None - Sets this instance to a transformation that has the same matrix part as transform in and a translation part that is the SUM of the translation part of in plus the product of the matrix part of in times @@ -60637,7 +66619,13 @@ class Transform: """ ... - def __init__(self: MSPyBentleyGeom.Transform) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -60652,6 +66640,16 @@ class TransformArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -60678,6 +66676,7 @@ class TransformArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -60698,6 +66697,7 @@ class TransformArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -60721,6 +66721,16 @@ class UInt16Array: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -60753,6 +66763,7 @@ class UInt16Array: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -60773,6 +66784,7 @@ class UInt16Array: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -60798,6 +66810,16 @@ class UInt32Array: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -60830,6 +66852,7 @@ class UInt32Array: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -60850,6 +66873,7 @@ class UInt32Array: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -60875,6 +66899,16 @@ class UInt64Array: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -60907,6 +66941,7 @@ class UInt64Array: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -60927,6 +66962,7 @@ class UInt64Array: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -60952,6 +66988,16 @@ class UInt64VecArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -60984,6 +67030,7 @@ class UInt64VecArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -61004,6 +67051,7 @@ class UInt64VecArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -61029,6 +67077,16 @@ class UInt8Array: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61061,6 +67119,7 @@ class UInt8Array: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -61081,6 +67140,7 @@ class UInt8Array: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -61101,12 +67161,21 @@ class UInt8Array: """ ... -class UpdateSequenceList: +class UpdateSequenceList(MSPyBentleyGeom.UInt64Array): """ None """ - def __init__(self: MSPyBentleyGeom.UpdateSequenceList) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def append(self: MSPyBentleyGeom.UInt64Array, x: int) -> None: @@ -61127,6 +67196,7 @@ class UpdateSequenceList: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -61147,6 +67217,7 @@ class UpdateSequenceList: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -61176,6 +67247,7 @@ class ValidatedClipPlane: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61192,6 +67264,13 @@ class ValidatedClipPlane: def Value(self: MSPyBentleyGeom.ValidatedClipPlane) -> MSPyBentleyGeom.ClipPlane: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61209,6 +67288,7 @@ class ValidatedCurveLocationDetail: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61225,6 +67305,13 @@ class ValidatedCurveLocationDetail: def Value(self: MSPyBentleyGeom.ValidatedCurveLocationDetail) -> MSPyBentleyGeom.CurveLocationDetail: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61242,6 +67329,7 @@ class ValidatedDEllipse3d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61258,6 +67346,13 @@ class ValidatedDEllipse3d: def Value(self: MSPyBentleyGeom.ValidatedDEllipse3d) -> MSPyBentleyGeom.DEllipse3d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61275,6 +67370,7 @@ class ValidatedDPlane3d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61291,6 +67387,13 @@ class ValidatedDPlane3d: def Value(self: MSPyBentleyGeom.ValidatedDPlane3d) -> MSPyBentleyGeom.DPlane3d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61308,6 +67411,7 @@ class ValidatedDPlane3dByVectors: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61324,6 +67428,13 @@ class ValidatedDPlane3dByVectors: def Value(self: MSPyBentleyGeom.ValidatedDPlane3dByVectors) -> MSPyBentleyGeom.DPlane3dByVectors: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61341,6 +67452,7 @@ class ValidatedDPoint2d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61357,6 +67469,13 @@ class ValidatedDPoint2d: def Value(self: MSPyBentleyGeom.ValidatedDPoint2d) -> MSPyBentleyGeom.DPoint2d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61374,6 +67493,7 @@ class ValidatedDPoint3d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61390,6 +67510,13 @@ class ValidatedDPoint3d: def Value(self: MSPyBentleyGeom.ValidatedDPoint3d) -> MSPyBentleyGeom.DPoint3d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61407,6 +67534,7 @@ class ValidatedDPoint4d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61423,6 +67551,13 @@ class ValidatedDPoint4d: def Value(self: MSPyBentleyGeom.ValidatedDPoint4d) -> MSPyBentleyGeom.DPoint4d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61440,6 +67575,7 @@ class ValidatedDRange3d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61456,6 +67592,13 @@ class ValidatedDRange3d: def Value(self: MSPyBentleyGeom.ValidatedDRange3d) -> MSPyBentleyGeom.DRange3d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61473,6 +67616,7 @@ class ValidatedDRay3d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61489,6 +67633,13 @@ class ValidatedDRay3d: def Value(self: MSPyBentleyGeom.ValidatedDRay3d) -> MSPyBentleyGeom.DRay3d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61506,6 +67657,7 @@ class ValidatedDSegment3d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61522,6 +67674,13 @@ class ValidatedDSegment3d: def Value(self: MSPyBentleyGeom.ValidatedDSegment3d) -> MSPyBentleyGeom.DSegment3d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61539,6 +67698,7 @@ class ValidatedDVec2d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61555,6 +67715,13 @@ class ValidatedDVec2d: def Value(self: MSPyBentleyGeom.ValidatedDVec2d) -> MSPyBentleyGeom.DVec2d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61572,6 +67739,7 @@ class ValidatedDVec3d: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61588,6 +67756,13 @@ class ValidatedDVec3d: def Value(self: MSPyBentleyGeom.ValidatedDVec3d) -> MSPyBentleyGeom.DVec3d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61605,6 +67780,7 @@ class ValidatedDouble: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61621,6 +67797,13 @@ class ValidatedDouble: def Value(self: MSPyBentleyGeom.ValidatedDouble) -> float: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61638,6 +67821,7 @@ class ValidatedLocalRange: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61654,6 +67838,13 @@ class ValidatedLocalRange: def Value(self: MSPyBentleyGeom.ValidatedLocalRange) -> MSPyBentleyGeom.LocalRange: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61671,6 +67862,7 @@ class ValidatedRotMatrix: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61687,6 +67879,13 @@ class ValidatedRotMatrix: def Value(self: MSPyBentleyGeom.ValidatedRotMatrix) -> MSPyBentleyGeom.RotMatrix: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61704,6 +67903,7 @@ class ValidatedSize: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61720,6 +67920,13 @@ class ValidatedSize: def Value(self: MSPyBentleyGeom.ValidatedSize) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61737,6 +67944,7 @@ class ValidatedTransform: None """ + @staticmethod def IsValid(*args, **kwargs): """ Overloaded function. @@ -61753,6 +67961,13 @@ class ValidatedTransform: def Value(self: MSPyBentleyGeom.ValidatedTransform) -> MSPyBentleyGeom.Transform: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61770,12 +67985,18 @@ class ValuesView[BeExtendedDataGeometryMap]: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class VertexId: """ None @@ -61787,7 +68008,13 @@ class VertexId: def SetFaces(self: MSPyBentleyGeom.VertexId, f1: MSPyBentleyGeom.FaceId, f2: MSPyBentleyGeom.FaceId, f3: MSPyBentleyGeom.FaceId) -> None: ... - def __init__(self: MSPyBentleyGeom.VertexId) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class VertexIdArray: @@ -61795,6 +68022,16 @@ class VertexIdArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61821,6 +68058,7 @@ class VertexIdArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -61841,6 +68079,7 @@ class VertexIdArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -61944,6 +68183,13 @@ class YawPitchRollAngles: def Yaw(arg0: MSPyBentleyGeom.YawPitchRollAngles) -> MSPyBentleyGeom.AngleInDegrees: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -62061,12 +68307,15 @@ class interpolationParam: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def isChordLenKnots(self: MSPyBentleyGeom.interpolationParam) -> int: ... diff --git a/MSPythonSamples/Intellisense/MSPyDgnPlatform.pyi b/MSPythonSamples/Intellisense/MSPyDgnPlatform.pyi index b0b6667..df24916 100644 --- a/MSPythonSamples/Intellisense/MSPyDgnPlatform.pyi +++ b/MSPythonSamples/Intellisense/MSPyDgnPlatform.pyi @@ -1,6 +1,10 @@ -from typing import Any, Optional, overload, Type, Sequence, Iterable, Union, Callable +from __future__ import annotations +from typing import Any, Optional, overload, Callable, ClassVar +from collections.abc import Sequence, Iterable, Iterator from enum import Enum -import MSPyDgnPlatform + +# Module self-reference for proper type resolution +import MSPyDgnPlatform as MSPyDgnPlatform class ACSDisplayOptions: """ @@ -19,7 +23,13 @@ class ACSDisplayOptions: eCheckVisible """ - def __init__(self: MSPyDgnPlatform.ACSDisplayOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eActive: ACSDisplayOptions @@ -59,7 +69,13 @@ class ACSEventType: eDelete """ - def __init__(self: MSPyDgnPlatform.ACSEventType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eChangeWritten: ACSEventType @@ -93,7 +109,13 @@ class ACSFlags: eViewIndependent """ - def __init__(self: MSPyDgnPlatform.ACSFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDefault: ACSFlags @@ -121,7 +143,13 @@ class ACSSaveOptions: eAllowNew """ - def __init__(self: MSPyDgnPlatform.ACSSaveOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAllowNew: ACSSaveOptions @@ -153,7 +181,13 @@ class ACSType: eExtended """ - def __init__(self: MSPyDgnPlatform.ACSType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCylindrical: ACSType @@ -195,7 +229,13 @@ class ActivePointType: eACTIVEPOINTTYPE_Cell """ - def __init__(self: MSPyDgnPlatform.ActivePointType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eACTIVEPOINTTYPE_Cell: ActivePointType @@ -212,7 +252,7 @@ class ActivePointType: def value(arg0: MSPyDgnPlatform.ActivePointType) -> int: ... -class AdvancedLight: +class AdvancedLight(MSPyDgnPlatform.Light): """ None """ @@ -324,6 +364,7 @@ class AdvancedLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -365,6 +406,7 @@ class AdvancedLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -592,7 +634,13 @@ class AdvancedLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -1011,12 +1059,15 @@ class AdvancedLight: def VolumeShift(arg0: MSPyDgnPlatform.AdvancedLight, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eLIGHTTYPE_Ambient: LightType eLIGHTTYPE_Area: LightType @@ -1078,7 +1129,13 @@ class AgendaEvent: ePreCopy """ - def __init__(self: MSPyDgnPlatform.AgendaEvent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAddClipboardFormats: AgendaEvent @@ -1112,7 +1169,13 @@ class AgendaHilitedState: eNo """ - def __init__(self: MSPyDgnPlatform.AgendaHilitedState, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNo: AgendaHilitedState @@ -1142,7 +1205,13 @@ class AgendaModify: eClipCopy """ - def __init__(self: MSPyDgnPlatform.AgendaModify, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eClipCopy: AgendaModify @@ -1192,7 +1261,13 @@ class AgendaOperation: eDrop """ - def __init__(self: MSPyDgnPlatform.AgendaOperation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eArray: AgendaOperation @@ -1240,7 +1315,13 @@ class AkimaCurveStatus: eAKIMACURVE_STATUS_NullSolution """ - def __init__(self: MSPyDgnPlatform.AkimaCurveStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAKIMACURVE_STATUS_BadElement: AkimaCurveStatus @@ -1257,7 +1338,7 @@ class AkimaCurveStatus: def value(arg0: MSPyDgnPlatform.AkimaCurveStatus) -> int: ... -class AmbientLight: +class AmbientLight(MSPyDgnPlatform.Light): """ None """ @@ -1360,6 +1441,7 @@ class AmbientLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -1381,6 +1463,7 @@ class AmbientLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -1484,7 +1567,13 @@ class AmbientLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -1649,7 +1738,13 @@ class AmbientLight: def Type(arg0: MSPyDgnPlatform.Light) -> MSPyDgnPlatform.Light.LightType: ... - def __init__(self: MSPyDgnPlatform.AmbientLight, arg0: MSPyDgnPlatform.AmbientLight) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -1713,7 +1808,13 @@ class AngleFormatVals: eSurveyor """ - def __init__(self: MSPyDgnPlatform.AngleFormatVals, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eActive: AngleFormatVals @@ -1913,12 +2014,15 @@ class AngleFormatter: def TrailingZeros(arg0: MSPyDgnPlatform.AngleFormatter, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class AngleMode: """ Members: @@ -1936,7 +2040,13 @@ class AngleMode: eRadians """ - def __init__(self: MSPyDgnPlatform.AngleMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCentesimal: AngleMode @@ -1994,14 +2104,12 @@ class AngleParser: """ ... - def ToValue(*args, **kwargs): + def ToValue(self: MSPyDgnPlatform.AngleParser, in_: str) -> tuple: """ - ToValue(self: MSPyDgnPlatform.AngleParser, in: str) -> tuple - Parse a string into an angle value in degrees. - :param in: + :param in_: input string. Returns (Tuple, 0): @@ -2012,6 +2120,13 @@ class AngleParser: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -2045,7 +2160,13 @@ class AnglePrecision: eUse8Places """ - def __init__(self: MSPyDgnPlatform.AnglePrecision, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUse1Place: AnglePrecision @@ -2095,7 +2216,13 @@ class AnnotationAttachmentStatus: eActiveAnnotationAttachment """ - def __init__(self: MSPyDgnPlatform.AnnotationAttachmentStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eActiveAnnotationAttachment: AnnotationAttachmentStatus @@ -2133,7 +2260,13 @@ class AnnotationScaleAction: eRemove """ - def __init__(self: MSPyDgnPlatform.AnnotationScaleAction, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAdd: AnnotationScaleAction @@ -2155,7 +2288,16 @@ class AnonymousSharedCellDefCollection: None """ - def __init__(self: MSPyDgnPlatform.AnonymousSharedCellDefCollection, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class AntiAliasPref: @@ -2169,7 +2311,13 @@ class AntiAliasPref: eOff """ - def __init__(self: MSPyDgnPlatform.AntiAliasPref, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDetect: AntiAliasPref @@ -2191,7 +2339,13 @@ class AppDataKey: None """ - def __init__(self: MSPyDgnPlatform.AppDataKey) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ApplicableSignaturesCollection: @@ -2199,7 +2353,16 @@ class ApplicableSignaturesCollection: None """ - def __init__(self: MSPyDgnPlatform.ApplicableSignaturesCollection, model: MSPyDgnPlatform.DgnModel) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ApplicationElm: @@ -2207,12 +2370,15 @@ class ApplicationElm: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def appData(arg0: MSPyDgnPlatform.ApplicationElm) -> int: ... @@ -2276,12 +2442,15 @@ class ApplicationSettings: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ApplyViewOptions: """ None @@ -2550,10 +2719,16 @@ class ApplyViewOptions: def ViewportResizeMode(arg0: MSPyDgnPlatform.ApplyViewOptions, arg1: MSPyDgnPlatform.ViewportResizeMode) -> None: ... - def __init__(self: MSPyDgnPlatform.ApplyViewOptions, initFromActive: bool) -> None: + class __class__(type): + """ + None + """ ... -class ArcHandler: + def __init__(self, *args, **kwargs): + ... + +class ArcHandler(MSPyDgnPlatform.EllipticArcBaseHandler): """ None """ @@ -2700,9 +2875,11 @@ class ArcHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -2714,12 +2891,15 @@ class ArcHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -2766,6 +2946,7 @@ class ArcHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -2792,23 +2973,29 @@ class ArcHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Arc_2d: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Arc_2d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -2870,12 +3057,15 @@ class Arc_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Arc_3d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -2932,7 +3122,7 @@ class Arc_3d: def sweepAngle(self: MSPyDgnPlatform.Arc_3d, arg0: float) -> None: ... -class AreaFormatter: +class AreaFormatter(MSPyDgnPlatform.AreaOrVolumeFormatterBase): """ None """ @@ -3141,6 +3331,7 @@ class AreaFormatter: """ ... + @staticmethod def SetStorageUnit(*args, **kwargs): """ Overloaded function. @@ -3220,13 +3411,16 @@ class AreaFormatter: def UorPerStorageUnit(arg0: MSPyDgnPlatform.AreaOrVolumeFormatterBase, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class AreaHatchAction: + def __init__(self, *args, **kwargs): + ... + +class AreaHatchAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -3252,7 +3446,13 @@ class AreaHatchAction: None """ - def __init__(self: MSPyDgnPlatform.AreaHatchAction.HatchParams, distance1: float, angle1: float, distance2: Optional[float] = None, angle2: Optional[float] = None, annotationScaleOn: bool = False, color: Optional[int] = None, weight: Optional[int] = None, style: Optional[int] = None) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -3325,10 +3525,16 @@ class AreaHatchAction: def Params(arg0: MSPyDgnPlatform.AreaHatchAction, arg1: MSPyDgnPlatform.AreaHatchAction.HatchParams) -> None: ... - def __init__(self: MSPyDgnPlatform.AreaHatchAction, params: MSPyDgnPlatform.AreaHatchAction.HatchParams, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class AreaLight: +class AreaLight(MSPyDgnPlatform.LightElement): """ None """ @@ -3548,6 +3754,7 @@ class AreaLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -3589,6 +3796,7 @@ class AreaLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -3841,7 +4049,13 @@ class AreaLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -3878,6 +4092,7 @@ class AreaLight: def value(arg0: MSPyDgnPlatform.Light.LightType) -> int: ... + @staticmethod def LoadFromElement(*args, **kwargs): """ Overloaded function. @@ -4423,7 +4638,13 @@ class AreaLight: def VolumeShift(arg0: MSPyDgnPlatform.AdvancedLight, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.AreaLight) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -4470,7 +4691,7 @@ class AreaLight: eSHADOWTYPE_RayTrace: ShadowType -class AreaOrVolumeFormatterBase: +class AreaOrVolumeFormatterBase(MSPyDgnPlatform.DoubleFormatterBase): """ None """ @@ -4654,6 +4875,7 @@ class AreaOrVolumeFormatterBase: """ ... + @staticmethod def SetStorageUnit(*args, **kwargs): """ Overloaded function. @@ -4723,12 +4945,15 @@ class AreaOrVolumeFormatterBase: def UorPerStorageUnit(arg0: MSPyDgnPlatform.AreaOrVolumeFormatterBase, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class AreaOrVolumeParser: """ None @@ -4772,14 +4997,12 @@ class AreaOrVolumeParser: """ ... - def ToValue(*args, **kwargs): + def ToValue(self: MSPyDgnPlatform.AreaOrVolumeParser, in_: str) -> tuple: """ - ToValue(self: MSPyDgnPlatform.AreaOrVolumeParser, in: str) -> tuple - Parse a string into a distance value in uors. - :param in: + :param in_: input string. Returns (Tuple, 0): @@ -4790,13 +5013,16 @@ class AreaOrVolumeParser: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class AreaParser: + def __init__(self, *args, **kwargs): + ... + +class AreaParser(MSPyDgnPlatform.AreaOrVolumeParser): """ None """ @@ -4845,14 +5071,12 @@ class AreaParser: """ ... - def ToValue(*args, **kwargs): + def ToValue(self: MSPyDgnPlatform.AreaOrVolumeParser, in_: str) -> tuple: """ - ToValue(self: MSPyDgnPlatform.AreaOrVolumeParser, in: str) -> tuple - Parse a string into a distance value in uors. - :param in: + :param in_: input string. Returns (Tuple, 0): @@ -4863,6 +5087,13 @@ class AreaParser: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4875,7 +5106,7 @@ class AreaParser: """ ... -class AreaPatternAction: +class AreaPatternAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -4889,7 +5120,13 @@ class AreaPatternAction: None """ - def __init__(self: MSPyDgnPlatform.AreaPatternAction.AreaPatternParams, cellId: int, scale: float, annotationScaleOn: bool = False, angle: Optional[float] = None, color: Optional[int] = None, weight: Optional[int] = None, style: Optional[int] = None) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -4980,7 +5217,13 @@ class AreaPatternAction: """ ... - def __init__(self: MSPyDgnPlatform.AreaPatternAction, params: MSPyDgnPlatform.AreaPatternAction.AreaPatternParams, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class AssocPoint: @@ -4988,10 +5231,19 @@ class AssocPoint: None """ - def __init__(self: MSPyDgnPlatform.AssocPoint) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ ... -class AssocRegionCellHeaderHandler: + def __init__(self, *args, **kwargs): + ... + +class AssocRegionCellHeaderHandler(MSPyDgnPlatform.Type2Handler, MSPyDgnPlatform.ICurvePathEdit, MSPyDgnPlatform.IAssocRegionQuery, MSPyDgnPlatform.IAreaFillPropertiesEdit): """ None """ @@ -5011,9 +5263,11 @@ class AssocRegionCellHeaderHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -5033,9 +5287,11 @@ class AssocRegionCellHeaderHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -5047,12 +5303,15 @@ class AssocRegionCellHeaderHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -5102,7 +5361,15 @@ class AssocRegionCellHeaderHandler: def GetPathDescription(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, string: MSPyBentley.WString, path: MSPyDgnPlatform.DisplayPath, levelStr: str, modelStr: str, groupStr: str, delimiterStr: str) -> None: ... - def GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: List[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple: + @staticmethod + def GetPattern(*args, **kwargs): + """ + Overloaded function. + + 1. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + + 2. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list, origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + """ ... def GetRoots(self: MSPyDgnPlatform.IAssocRegionQuery, eh: MSPyDgnPlatform.ElementHandle, roots: MSPyDgnPlatform.DependencyRootArray) -> BentleyStatus: @@ -5123,6 +5390,7 @@ class AssocRegionCellHeaderHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -5146,7 +5414,13 @@ class AssocRegionCellHeaderHandler: None """ - def __init__(self: MSPyDgnPlatform.IAssocRegionQuery.LoopData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -5192,12 +5466,15 @@ class AssocRegionCellHeaderHandler: def SetLoopRoots(eeh: MSPyDgnPlatform.EditElementHandle, boundaryRoots: MSPyDgnPlatform.DependencyRoot, numBoundaryRoots: int) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class AssociativePoint: """ None @@ -5216,7 +5493,13 @@ class AssociativePoint: eARC_END """ - def __init__(self: MSPyDgnPlatform.AssociativePoint.ArcLocation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eARC_ANGLE: ArcLocation @@ -5252,7 +5535,13 @@ class AssociativePoint: eCREATE_ASSOC_MASK_TEXT """ - def __init__(self: MSPyDgnPlatform.AssociativePoint.CreateMask, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCREATE_ASSOC_MASK_CELLS: CreateMask @@ -5288,7 +5577,13 @@ class AssociativePoint: eCREATE_ASSOC_AllowAdjustedPoints """ - def __init__(self: MSPyDgnPlatform.AssociativePoint.CreateOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCREATE_ASSOC_AllowAdjustedPoints: CreateOptions @@ -5314,16 +5609,16 @@ class AssociativePoint: given element. :param assocPoint: - (output) The associative point to query. + (output) -> The associative point to query. :param element: - (input) The element to extract the point from. + (input) -> The element to extract the point from. :param pointNum: - (input) The index of point to extract. + (input) -> The index of point to extract. :param maxPoints: - (input) The maximum number of associative points on the element. + (input) -> The maximum number of associative points on the element. :returns: SUCCESS if associative point was extracted. @@ -5337,13 +5632,13 @@ class AssociativePoint: returned in outPoint. :param outPoint: - (output) The point location of the evaluated associative point. + (output) -> The point location of the evaluated associative point. :param assocPoint: - (input) The associative point to query. + (input) -> The associative point to query. :param modelRef: - (input) The model that contains the associative point dependent + (input) -> The model that contains the associative point dependent element. :returns: @@ -5358,17 +5653,17 @@ class AssociativePoint: dependency. :param path: - (input) (output) The seed DisplayPath that is to be populated. + (input) (output) -> The seed DisplayPath that is to be populated. :param assocPoint: - (input) The associative point to query. + (input) -> The associative point to query. :param modelRef: - (input) The model that contains the associative point dependent + (input) -> The model that contains the associative point dependent element. :param rootIndex: - (input) Which root to get, an intersection association has 2 roots. + (input) -> Which root to get, an intersection association has 2 roots. Returns (Tuple, 0): A DisplayPath to associative point root or NULL. Caller needs to @@ -5385,16 +5680,16 @@ class AssociativePoint: represents a point on an arc or ellipse element. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param keyPoint: - (input) The location on the arc to create the association to. + (input) -> The location on the arc to create the association to. ARC_ANGLE angle radians from the primary axis ARC_CENTER center of the arc or ellipse ARC_START arc start point ARC_END arc end point

:param angle: - (input) The angle (radians) from the primary axis of the arc or ellipse + (input) -> The angle (radians) from the primary axis of the arc or ellipse to the association point. This argument is used only when the value of *keyPoint* is

ARC_ANGLE
. """ @@ -5407,10 +5702,10 @@ class AssociativePoint: represents a point on a bspline curve. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param uParam: - (input) The parameter along the B-spline curve representing the + (input) -> The parameter along the B-spline curve representing the associative point. """ ... @@ -5422,14 +5717,14 @@ class AssociativePoint: represents a point on a bspline surface. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param uParam: - (input) The u parameter along the B-spline surface representing the + (input) -> The u parameter along the B-spline surface representing the associative point. :param vParam: - (input) The v parameter along the B-spline surface representing the + (input) -> The v parameter along the B-spline surface representing the associative point. """ ... @@ -5441,29 +5736,29 @@ class AssociativePoint: represents the intersection of 2 curve paths. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param index: - (input) The index of the intersection between the two elements where + (input) -> The index of the intersection between the two elements where the association will be created. The number of intersections between two elements can be found via the mdlIntersect_allBetweenElms function. :param seg1: - (input) The index of the segment of element 1 where the intersection + (input) -> The index of the segment of element 1 where the intersection occurs. :param seg2: - (input) The index of the segment of element 2 where the intersection + (input) -> The index of the segment of element 2 where the intersection occurs. :param nSeg1: - (input) The number of vertices of element 1. This parameter is + (input) -> The number of vertices of element 1. This parameter is optional, you can pass zero. If non-zero this value is used to avoid the association jumping as vertices are inserted/deleted. :param nSeg2: - (input) The number of vertices of element 2. This parameter is + (input) -> The number of vertices of element 2. This parameter is optional, you can pass zero. If non-zero this value is used to avoid the association jumping as vertices are inserted/deleted. """ @@ -5476,23 +5771,23 @@ class AssociativePoint: represents a point on a linear element. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param vertex: - (input) The index of the vertex directly preceding the association + (input) -> The index of the vertex directly preceding the association point. :param nVertex: - (input) The total number of vertices of the linear element. This is + (input) -> The total number of vertices of the linear element. This is optional, but if supplied the association can be adjusted for insert/delete vertex on the root/target. :param numerator: - (input) The distance from vertex number vertex in units of divisor as + (input) -> The distance from vertex number vertex in units of divisor as described below. Its range must be between 0 and 32767. :param divisor: - (input) The number of units (segments) to be considered between the + (input) -> The number of units (segments) to be considered between the points at vertex and vertex+1. The values of numerator and divisor are used together as the fraction of the distance between the points at vertex and vertex+1, where the association point will be @@ -5507,16 +5802,16 @@ class AssociativePoint: represents a point on a mesh edge. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param edgeIndex: - (input) The index of the edge for the association point. + (input) -> The index of the edge for the association point. :param nEdge: - (input) The total number of edges of the mesh element. + (input) -> The total number of edges of the mesh element. :param uParam: - (input) The parameter along the mesh edge representing the associative + (input) -> The parameter along the mesh edge representing the associative point. """ ... @@ -5528,13 +5823,13 @@ class AssociativePoint: represents a mesh vertex. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param vertexIndex: (input) he index of the vertex for the association point. :param nVertex: - (input) The total number of vertices of the mesh element. + (input) -> The total number of vertices of the mesh element. """ ... @@ -5545,28 +5840,28 @@ class AssociativePoint: represents a point on a multiline element. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param vertex: - (input) The index of the vertex directly preceding the association + (input) -> The index of the vertex directly preceding the association point. :param nVertex: - (input) The total number of vertices of the multiline element. This is + (input) -> The total number of vertices of the multiline element. This is optional, but if supplied the association can be adjusted for insert/delete vertex on the root/target multiline. :param lineNo: - (input) Indicates which profile line in the multiline the association + (input) -> Indicates which profile line in the multiline the association is to. :param offset: - (input) The distance from the specified vertex to the association + (input) -> The distance from the specified vertex to the association point, measured along the work line and divided by the work line length. Not used if joint is true. :param joint: - (input) If true, the association point is at the intersection of the + (input) -> If true, the association point is at the intersection of the line specified by lineNo and the joint bvector at vertex. In other words, the association point will always be on the joint. """ @@ -5579,10 +5874,10 @@ class AssociativePoint: represents the origin of an element. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param option: - (input) Origin association option flag. + (input) -> Origin association option flag. See also: DisplayHandler.GetSnapOrigin @@ -5596,19 +5891,19 @@ class AssociativePoint: represents a point on a linear element. :param assocPoint: - (output) The associative point to setup. + (output) -> The associative point to setup. :param vertex: - (input) The index of the vertex directly preceding the association + (input) -> The index of the vertex directly preceding the association point. :param nVertex: - (input) The total number of vertices of the linear element. This is + (input) -> The total number of vertices of the linear element. This is optional, but if supplied the association can be adjusted for insert/delete vertex on the root/target. :param ratio: - (input) Fraction parameter along segment defined by vertex number. + (input) -> Fraction parameter along segment defined by vertex number. """ ... @@ -5618,16 +5913,16 @@ class AssociativePoint: Insert an association point to the specified element. :param element: - (input) The element to add the associative point to. + (input) -> The element to add the associative point to. :param assocPoint: - (input) The associative point to insert. + (input) -> The associative point to insert. :param pointNum: - (input) The index of point to insert. + (input) -> The index of point to insert. :param maxPoints: - (input) The maximum number of associative points on the element. + (input) -> The maximum number of associative points on the element. :returns: SUCCESS if associative point was inserted. @note An element that @@ -5643,14 +5938,14 @@ class AssociativePoint: Test if the associative point evaluates to a valid location. :param assocPoint: - (input) The associative point to check. + (input) -> The associative point to check. :param pathRoot: - (input) The model that contains an associative point root element (can + (input) -> The model that contains an associative point root element (can use either root for intersection). :param parentModel: - (input) The model that contains the associative point dependent + (input) -> The model that contains the associative point dependent element. :returns: @@ -5671,7 +5966,7 @@ class AssociativePoint: Removes all association points from an element. :param element: - (input) The element to remove the associative points on. + (input) -> The element to remove the associative points on. :returns: SUCCESS if associative points were removed. @@ -5684,13 +5979,13 @@ class AssociativePoint: Remove a single associative point from an element. :param element: - (input) The element to remove the associative point on. + (input) -> The element to remove the associative point on. :param pointNum: - (input) The point number to remove. + (input) -> The point number to remove. :param maxPoints: - (input) The total number of points on element. + (input) -> The total number of points on element. :returns: SUCCESS if associative point was removed. @@ -5708,21 +6003,21 @@ class AssociativePoint: element for the dependency by a pair of element ids. :param assocPoint: - (input) The associative point being created. + (input) -> The associative point being created. :param elemId: - (input) ElementId of the target/root of the associative point + (input) -> ElementId of the target/root of the associative point dependency. :param refAttId: - (input) ElementId of a top-level reference, an un-nested shared cell + (input) -> ElementId of a top-level reference, an un-nested shared cell instance, far path element, or 0. Only needed if elemId is a component of a shared cell definition or in a reference, if elemId is from the same model as the element the association is being added to pass 0. :param rootIndex: - (input) Which root to set, an intersection association requires 2 + (input) -> Which root to set, an intersection association requires 2 roots. :returns: @@ -5735,21 +6030,21 @@ class AssociativePoint: element for the dependency by a pair of element ids. :param assocPoint: - (input) The associative point being created. + (input) -> The associative point being created. :param elemId: - (input) ElementId of the target/root of the associative point + (input) -> ElementId of the target/root of the associative point dependency. :param refAttId: - (input) ElementId of a top-level reference, an un-nested shared cell + (input) -> ElementId of a top-level reference, an un-nested shared cell instance, far path element, or 0. Only needed if elemId is a component of a shared cell definition or in a reference, if elemId is from the same model as the element the association is being added to pass 0. :param rootIndex: - (input) Which root to set, an intersection association requires 2 + (input) -> Which root to set, an intersection association requires 2 roots. :returns: @@ -5758,12 +6053,15 @@ class AssociativePoint: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eARC_ANGLE: ArcLocation eARC_CENTER: ArcLocation @@ -5858,12 +6156,15 @@ class AuditTrailRecord: def User(arg0: MSPyDgnPlatform.AuditTrailRecord) -> MSPyBentley.WString: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class AuditTrailRecordType: """ Members: @@ -5881,7 +6182,13 @@ class AuditTrailRecordType: eAUDIT_TRAIL_RECORD_TYPE_Create """ - def __init__(self: MSPyDgnPlatform.AuditTrailRecordType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAUDIT_TRAIL_RECORD_TYPE_ChangeDescription: AuditTrailRecordType @@ -5941,6 +6248,7 @@ class BSIRect: """ ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -6020,7 +6328,7 @@ class BSIRect: def Union(self: MSPyDgnPlatform.BSIRect, other: MSPyDgnPlatform.BSIRect) -> None: """ - form union of this rectangle with another rectangle + form of this rectangle with another rectangle """ ... @@ -6031,7 +6339,13 @@ class BSIRect: """ ... - def __init__(self: MSPyDgnPlatform.BSIRect) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -6048,7 +6362,7 @@ class BSIRect: def origin(self: MSPyDgnPlatform.BSIRect, arg0: MSPyBentleyGeom.Point2d) -> None: ... -class BSplineCurveHandler: +class BSplineCurveHandler(MSPyDgnPlatform.ComplexHeaderDisplayHandler, MSPyDgnPlatform.ICurvePathEdit, MSPyDgnPlatform.IAreaFillPropertiesEdit): """ None """ @@ -6091,9 +6405,11 @@ class BSplineCurveHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -6105,12 +6421,15 @@ class BSplineCurveHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -6154,7 +6473,15 @@ class BSplineCurveHandler: def GetPathDescription(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, string: MSPyBentley.WString, path: MSPyDgnPlatform.DisplayPath, levelStr: str, modelStr: str, groupStr: str, delimiterStr: str) -> None: ... - def GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: List[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple: + @staticmethod + def GetPattern(*args, **kwargs): + """ + Overloaded function. + + 1. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + + 2. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list, origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + """ ... def GetSnapOrigin(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, origin: MSPyBentleyGeom.DPoint3d) -> None: @@ -6169,6 +6496,7 @@ class BSplineCurveHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -6236,12 +6564,15 @@ class BSplineCurveHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class BSplineStatus: """ Members: @@ -6289,7 +6620,13 @@ class BSplineStatus: eBSPLINE_STATUS_RecurseLimit """ - def __init__(self: MSPyDgnPlatform.BSplineStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBSPLINE_STATUS_BadBspElement: BSplineStatus @@ -6342,7 +6679,7 @@ class BSplineStatus: def value(arg0: MSPyDgnPlatform.BSplineStatus) -> int: ... -class BSplineSurfaceHandler: +class BSplineSurfaceHandler(MSPyDgnPlatform.ComplexHeaderDisplayHandler, MSPyDgnPlatform.IBsplineSurfaceEdit): """ None """ @@ -6377,12 +6714,15 @@ class BSplineSurfaceHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -6429,6 +6769,7 @@ class BSplineSurfaceHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -6459,12 +6800,15 @@ class BSplineSurfaceHandler: def SetBsplineSurface(self: MSPyDgnPlatform.IBsplineSurfaceEdit, eeh: MSPyDgnPlatform.EditElementHandle, surface: MSPyBentleyGeom.MSBsplineSurface) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class BackgroundMapType: """ Members: @@ -6478,7 +6822,13 @@ class BackgroundMapType: eHybrid """ - def __init__(self: MSPyDgnPlatform.BackgroundMapType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAerial: BackgroundMapType @@ -6577,6 +6927,8 @@ class BaseGCS: a GCS to the cartesian of the target. 3D conversion is applied. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -6590,12 +6942,13 @@ class BaseGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The converted Cartesian coordinates in the target GCS. :param outCartesian: - (output) Receives the output coordinate. + (output) -> Receives the output coordinate. :param inCartesian: - (input) The input coordinate. + (input) -> The input coordinate. :param targetGCS: (input) target coordinate system @@ -6614,6 +6967,8 @@ class BaseGCS: 3D conversion is applied. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -6627,15 +6982,16 @@ class BaseGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The converted coordinates in the target GCS. :param outCartesian: - (output) Receives the output coordinate. + (output) -> Receives the output coordinate. :param inECEF: - (input) The input coordinate. + (input) -> The input coordinate. :param targetGCS: - (input) Target coordinate system + (input) -> Target coordinate system Sarah Keenan. """ @@ -6647,10 +7003,10 @@ class BaseGCS: Longitude/Latitude/Elevation point. :param outCartesian: - (output) The calculated cartesian coordinates. + (output) -> The calculated cartesian coordinates. :param inLatLong: - (input) The longitude,latitude,elevation in the datum of this GCS. + (input) -> The longitude,latitude,elevation in the datum of this GCS. """ ... @@ -6660,10 +7016,10 @@ class BaseGCS: point. The input elevation is ignored. :param outCartesian: - (output) The calculated cartesian coordinates. + (output) -> The calculated cartesian coordinates. :param inLatLong: - (input) The longitude,latitude,elevation in the datum of this GCS. + (input) -> The longitude,latitude,elevation in the datum of this GCS. """ ... @@ -6688,33 +7044,54 @@ class BaseGCS: def CentralPointLongitude(arg0: MSPyDgnPlatform.BaseGCS, arg1: float) -> int: ... - def CheckCartesianRange(self: MSPyDgnPlatform.BaseGCS, points: MSPyBentleyGeom.DPoint3d, numPoints: int) -> MSPyDgnPlatform.BaseGCS.RangeTestResult: + @staticmethod + def CheckGeoPointRange(*args, **kwargs): """ + Overloaded function. + + 1. CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: MSPyBentleyGeom.GeoPointArray) -> MSPyDgnPlatform.BaseGCS.RangeTestResult + Determines whether the input GeoPoints are within the useful range of the coordinate system. :param points: - (input) The points to test. + (input) -> The points to test. :param numPoints: - (input) Number of points to test. + (input) -> Number of points to test. + + 2. CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: list) -> MSPyDgnPlatform.BaseGCS.RangeTestResult - Remark: - s The input points must be in the cartesian units of the - coordinate system. - """ - ... - - def CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: MSPyBentleyGeom.GeoPoint, numPoints: int) -> MSPyDgnPlatform.BaseGCS.RangeTestResult: - """ Determines whether the input GeoPoints are within the useful range of the coordinate system. :param points: - (input) The points to test. + (input) -> The points to test. :param numPoints: - (input) Number of points to test. + (input) -> Number of points to test. + + 3. CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: MSPyBentleyGeom.DPoint3dArray) -> MSPyDgnPlatform.BaseGCS.RangeTestResult + + Determines whether the input GeoPoints are within the useful range of + the coordinate system. + + :param points: + (input) -> The points to test. + + :param numPoints: + (input) -> Number of points to test. + + 4. CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: list) -> MSPyDgnPlatform.BaseGCS.RangeTestResult + + Determines whether the input GeoPoints are within the useful range of + the coordinate system. + + :param points: + (input) -> The points to test. + + :param numPoints: + (input) -> Number of points to test. """ ... @@ -6848,19 +7225,19 @@ class BaseGCS: for the Datum of this GCS. :param deltaValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the delta parameters are used. :param rotationValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the rotation parameters are used. :param scaleValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the scale parameter is used. :param gridValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that grid file is used. :returns: @@ -6874,15 +7251,15 @@ class BaseGCS: for the Datum of this GCS. :param deltaValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the delta parameters are used. :param rotationValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the rotation parameters are used. :param scaleValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the scale parameter is used. :returns: @@ -6911,7 +7288,7 @@ class BaseGCS: Converts from Radians to Degrees :param inRadians: - (input) Angular value in radians. + (input) -> Angular value in radians. :returns: Angular value in degrees @@ -6932,6 +7309,8 @@ class BaseGCS: conversion is applied. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -6945,12 +7324,13 @@ class BaseGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The converted coordinates in the target GCS. :param outECEF: - (output) Receives the output coordinate. + (output) -> Receives the output coordinate. :param inCartesian: - (input) The input coordinate. + (input) -> The input coordinate. Sarah Keenan. """ @@ -7102,25 +7482,25 @@ class BaseGCS: post affine projections. :param A0: - (output) The X translation of the affine transformation + (output) -> The X translation of the affine transformation :param A1: - (output) The A1 parameter of the rotation/scale/shearing portion of the + (output) -> The A1 parameter of the rotation/scale/shearing portion of the affine. :param A2: - (output) The A2 parameter of the rotation/scale/shearing portion of the + (output) -> The A2 parameter of the rotation/scale/shearing portion of the affine. :param B0: - (output) The Y translation of the affine transformation + (output) -> The Y translation of the affine transformation :param B1: - (output) The B1 parameter of the rotation/scale/shearing portion of the + (output) -> The B1 parameter of the rotation/scale/shearing portion of the affine. :param B2: - (output) The B2 parameter of the rotation/scale/shearing portion of the + (output) -> The B2 parameter of the rotation/scale/shearing portion of the affine. """ ... @@ -7142,7 +7522,7 @@ class BaseGCS: the projection in use. :param centerPoint: - (output) The center point. + (output) -> The center point. """ ... @@ -7189,7 +7569,7 @@ class BaseGCS: Out The Well Known Text specifying the coordinate system. :param wktFlavor: - (input) The WKT Flavor desired. If not known, use wktFlavorUnknown + (input) -> The WKT Flavor desired. If not known, use wktFlavorUnknown :param originalIfPresent: (input) true indicates that if the BaseGCS originates from a WKT @@ -7202,12 +7582,12 @@ class BaseGCS: this was considered necessary. :param doNotInsertTOWGS84: - (input) If true indicates that the TOWGS84 clause should not be added. + (input) -> If true indicates that the TOWGS84 clause should not be added. default is false which indicates to add it if applicable to flavor and datum transformation. :param posVectorRotationSignConvention: - (input) If true indicates that the TOWGS84 rotation signal convention + (input) -> If true indicates that the TOWGS84 rotation signal convention should follow Position Vector (EPSG:9607) convention. The default is false to use the Coordinate Frame (EPSG:9606) convention. """ @@ -7219,7 +7599,7 @@ class BaseGCS: the specified longitude/latitude. :param point: - (input) The point at which the convergence angle is to be computed. + (input) -> The point at which the convergence angle is to be computed. See also: #GetScaleAlongMeridian, #GetScaleAlongParallel. @@ -7280,7 +7660,7 @@ class BaseGCS: of the Datum of this GCS. :param delta: - (output) The vector from the geocenter of the WGS84 Datum to the + (output) -> The vector from the geocenter of the WGS84 Datum to the geocenter of this Datum. """ ... @@ -7319,7 +7699,7 @@ class BaseGCS: of this GCS :param rotation: - (output) The rotation angles. + (output) -> The rotation angles. """ ... @@ -7361,18 +7741,18 @@ class BaseGCS: setting. :param distance: - (output) The distance, in units of this GCS, from startPoint to + (output) -> The distance, in units of this GCS, from startPoint to endPoint. :param azimuth: - (output) The initial azimuth, in degrees clockwise from true north, + (output) -> The initial azimuth, in degrees clockwise from true north, needed to get from startPoint to endPoint. :param startPoint: - (input) The starting point. + (input) -> The starting point. :param endPoint: - (input) The end point. + (input) -> The end point. Remark: s If either distance or azimuth is not needed, pass NULL. @@ -7389,17 +7769,17 @@ class BaseGCS: setting. :param distance: - (output) The distance, in meters from startPoint to endPoint. + (output) -> The distance, in meters from startPoint to endPoint. :param azimuth: - (output) The initial azimuth, in degrees clockwise from true north, + (output) -> The initial azimuth, in degrees clockwise from true north, needed to get from startPoint to endPoint. :param startPoint: - (input) The starting point. + (input) -> The starting point. :param endPoint: - (input) The end point. + (input) -> The end point. Remark: s If either distance or azimuth is not needed, pass NULL. @@ -7625,7 +8005,7 @@ class BaseGCS: longitude/latitude. :param point: - (input) The point at which the grid scale is to be computed. + (input) -> The point at which the grid scale is to be computed. :returns: The grid scale at the position specified. @@ -7672,6 +8052,8 @@ class BaseGCS: coordinate system. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -7685,6 +8067,9 @@ class BaseGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The computed linear transformation. + - (tuple, 2): The maximum error observed over the extent. + - (tuple, 3): The mean error observed over the extent. :param outTransform: (output) the transform effective at the point elementOrigin in source @@ -7703,10 +8088,10 @@ class BaseGCS: (input) target coordinate system :param maxError: - (output) If provided receives the max error observed over the extent + (output) -> If provided receives the max error observed over the extent :param meanError: - (output) If provided receives the mean error observed over the extent + (output) -> If provided receives the mean error observed over the extent """ ... @@ -7717,6 +8102,8 @@ class BaseGCS: coordinate system. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -7730,6 +8117,9 @@ class BaseGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The computed linear transformation. + - (tuple, 2): The maximum error observed over the extent. + - (tuple, 3): The mean error observed over the extent. :param outTransform: (output) the transform effective at the point elementOrigin in source @@ -7745,10 +8135,10 @@ class BaseGCS: (input) target coordinate system :param maxError: - (output) If provided receives the max error observed over the extent + (output) -> If provided receives the max error observed over the extent :param meanError: - (output) If provided receives the mean error observed over the extent + (output) -> If provided receives the mean error observed over the extent Sarah.Keenan """ ... @@ -7760,6 +8150,8 @@ class BaseGCS: and ECEF. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -7773,6 +8165,9 @@ class BaseGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The computed linear transformation. + - (tuple, 2): The maximum error observed over the extent. + - (tuple, 3): The mean error observed over the extent. :param outTransform: (output) the transform effective at the point elementOrigin in source @@ -7788,10 +8183,10 @@ class BaseGCS: elevation (z) ordinate. :param maxError: - (output) If provided receives the max error observed over the extent + (output) -> If provided receives the max error observed over the extent :param meanError: - (output) If provided receives the mean error observed over the extent + (output) -> If provided receives the mean error observed over the extent Sarah.Keenan """ ... @@ -7815,7 +8210,7 @@ class BaseGCS: """ ... - def GetMathematicalDomain(self: MSPyDgnPlatform.BaseGCS, shape: MSPyDgnPlatform.GeoPointVector) -> int: + def GetMathematicalDomain(self: MSPyDgnPlatform.BaseGCS, shape: MSPyBentleyGeom.GeoPointArray) -> int: """ Returns the mathematical domain of application for GCS. The domain will usually be much larger than the user domain yet caller must @@ -8109,7 +8504,7 @@ class BaseGCS: specified longitude/latitude. :param point: - (input) The point at which the grid scale is to be computed. + (input) -> The point at which the grid scale is to be computed. :returns: The grid scale along the meridian at the position specified. @@ -8133,7 +8528,7 @@ class BaseGCS: specified longitude/latitude. :param point: - (input) The point at which the grid scale is to be computed. + (input) -> The point at which the grid scale is to be computed. :returns: The grid scale along the parallel at the position specified. @@ -8268,13 +8663,15 @@ class BaseGCS: Gets the Well Known Text string from a coordinate system definition. :returns: - SUCCESS or a CS_MAP error code. + A tuple: + - (tuple, 0): The status of the operation (e.g., `SUCCESS` or a CS_MAP error code). + - (tuple, 1): The Well-Known Text string specifying the coordinate system. :param wellKnownText: Out The Well Known Text specifying the coordinate system. :param wktFlavor: - (input) The WKT Flavor desired. If not known, use wktFlavorUnknown + (input) -> The WKT Flavor desired. If not known, use wktFlavorUnknown :param originalIfPresent: (input) true indicates that if the BaseGCS originates from a WKT @@ -8285,12 +8682,12 @@ class BaseGCS: considered necessary. :param doNotInsertTOWGS84: - (input) If true indicates that the TOWGS84 clause should not be added. + (input) -> If true indicates that the TOWGS84 clause should not be added. default is false which indicates to add it if applicable to flavor and datum transformation. :param posVectorRotationSignConvention: - (input) If true indicates that the TOWGS84 rotation signal convention + (input) -> If true indicates that the TOWGS84 rotation signal convention should follow Position Vector (EPSG:9607) convention. The default is false to use the Coordinate Frame (EPSG:9606) convention. """ @@ -8311,7 +8708,7 @@ class BaseGCS: returns true if they have equivalent datum (including ellipsoid). :param compareTo: - (input) The BaseGCS to compare to. + (input) -> The BaseGCS to compare to. """ ... @@ -8339,33 +8736,33 @@ class BaseGCS: message when an error occurs. :param datumName: - (input) The name of the datum used in the GCS, such as " WGS84 ". + (input) -> The name of the datum used in the GCS, such as " WGS84 ". :param unitName: - (input) The name of the linear unit for the Cartesian coordinates, such + (input) -> The name of the linear unit for the Cartesian coordinates, such as " METER ". :param originLongitude: - (input) The longitude of the tangency point. + (input) -> The longitude of the tangency point. :param originLatitude: - (input) The latitude of the tangency point. + (input) -> The latitude of the tangency point. :param azimuthAngle: - (input) The angle, clockwise from true north in decimal degrees, of the + (input) -> The angle, clockwise from true north in decimal degrees, of the rotation to be applied. :param scale: - (input) This argument is ignored. The scale is always 1.0. + (input) -> This argument is ignored. The scale is always 1.0. :param falseEasting: - (input) The value to add to each Cartesian X value. + (input) -> The value to add to each Cartesian X value. :param falseNorthing: - (input) The value to add to each Cartesian Y value. + (input) -> The value to add to each Cartesian Y value. :param quadrant: - (input) Quadrant for the cartesian coordinate system. If north is up + (input) -> Quadrant for the cartesian coordinate system. If north is up and east is right, pass 1. """ ... @@ -8378,7 +8775,10 @@ class BaseGCS: and 4000 through 4199 for geographic (Lat/long) coordinate systems. :returns: - SUCCESS or a CS_MAP error code. + A tuple: + - (tuple, 0): The status of the operation (e.g., `SUCCESS` or a CS_MAP error code). + - (tuple, 1): A warning code, if applicable. + - (tuple, 2): A warning or error message, if applicable. :param warning: (output) if non-NULL, this might reveal a warning even if the return @@ -8389,7 +8789,7 @@ class BaseGCS: or error message. :param epsgCode: - (input) The EPSG code for the desired coordinate system. + (input) -> The EPSG code for the desired coordinate system. Remark: s Only those EPSG coordinate systems that are in our library will @@ -8410,10 +8810,11 @@ class BaseGCS: SUCCESS or a CS_MAP error code. :param autoXML: - (input) The XML specifying the coordinate system. + (input) -> The XML specifying the coordinate system. """ ... + @staticmethod def InitFromWellKnownText(*args, **kwargs): """ Overloaded function. @@ -8423,9 +8824,6 @@ class BaseGCS: Used in conjunction with the CreateGCS factory method to set the BaseGCS from a " well known text " string. - :returns: - SUCCESS or a CS_MAP error code. - :param warning: (output) if non-NULL, this might reveal a warning even if the return value is SUCCESS. @@ -8435,19 +8833,22 @@ class BaseGCS: or error message. :param wktFlavor: - (input) The WKT Flavor. If not known, use wktFlavorUnknown. + (input) -> The WKT Flavor. If not known, use wktFlavorUnknown. :param wellKnownText: - (input) The Well Known Text specifying the coordinate system. + (input) -> The Well Known Text specifying the coordinate system. + + :returns: + A tuple: + - (tuple, 0): The status of the operation (e.g., SUCCESS or an error code). + - (tuple, 1): A warning code, if applicable. + - (tuple, 2): A warning or error message, if applicable. 2. InitFromWellKnownText(self: MSPyDgnPlatform.BaseGCS, wellKnownText: str) -> tuple Used in conjunction with the CreateGCS factory method to set the BaseGCS from a " well known text " string. - :returns: - SUCCESS or a CS_MAP error code. - :param warning: (output) if non-NULL, this might reveal a warning even if the return value is SUCCESS. @@ -8457,13 +8858,20 @@ class BaseGCS: or error message. :param wktFlavor: - (input) The WKT Flavor. If not known, use wktFlavorUnknown. + (input) -> The WKT Flavor. If not known, use wktFlavorUnknown. :param wellKnownText: - (input) The Well Known Text specifying the coordinate system. + (input) -> The Well Known Text specifying the coordinate system. + + :returns: + A tuple: + - (tuple, 0): The status of the operation (e.g., SUCCESS or an error code). + - (tuple, 1): A warning code, if applicable. + - (tuple, 2): A warning or error message, if applicable. """ ... + @staticmethod def InitLatLong(*args, **kwargs): """ Overloaded function. @@ -8483,22 +8891,22 @@ class BaseGCS: message when an error occurs. :param datumName: - (input) The name of the datum used in the GCS, such as " WGS84 ". + (input) -> The name of the datum used in the GCS, such as " WGS84 ". :param ellipsoidName: - (input) The name of the ellipsoid used in the GCS, such as " WGS84 ". + (input) -> The name of the ellipsoid used in the GCS, such as " WGS84 ". This is used only if the datumName is NULL. :param unitName: - (input) The name of the linear unit for the Cartesian coordinates, such + (input) -> The name of the linear unit for the Cartesian coordinates, such as " METER ". :param originLongitude: - (input) Allows displacement of the longitude values if a different + (input) -> Allows displacement of the longitude values if a different origin is desired - usually 0.0. :param originLatitude: - (input) Allows displacement of the latitude values if a different + (input) -> Allows displacement of the latitude values if a different origin is desired - usually 0.0. 2. InitLatLong(self: MSPyDgnPlatform.BaseGCS, datumName: str, ellipsoidName: str, unitName: str, originLongitude: float, originLatitude: float) -> tuple @@ -8516,22 +8924,22 @@ class BaseGCS: message when an error occurs. :param datumName: - (input) The name of the datum used in the GCS, such as " WGS84 ". + (input) -> The name of the datum used in the GCS, such as " WGS84 ". :param ellipsoidName: - (input) The name of the ellipsoid used in the GCS, such as " WGS84 ". + (input) -> The name of the ellipsoid used in the GCS, such as " WGS84 ". This is used only if the datumName is NULL. :param unitName: - (input) The name of the linear unit for the Cartesian coordinates, such + (input) -> The name of the linear unit for the Cartesian coordinates, such as " METER ". :param originLongitude: - (input) Allows displacement of the longitude values if a different + (input) -> Allows displacement of the longitude values if a different origin is desired - usually 0.0. :param originLatitude: - (input) Allows displacement of the latitude values if a different + (input) -> Allows displacement of the latitude values if a different origin is desired - usually 0.0. """ ... @@ -8549,29 +8957,29 @@ class BaseGCS: message when an error occurs. :param datumName: - (input) The name of the datum used in the GCS, such as " WGS84 ". + (input) -> The name of the datum used in the GCS, such as " WGS84 ". :param unitName: - (input) The name of the linear unit for the Cartesian coordinates, such + (input) -> The name of the linear unit for the Cartesian coordinates, such as " METER ". :param originLongitude: - (input) The longitude of the tangency point. + (input) -> The longitude of the tangency point. :param originLatitude: - (input) The latitude of the tangency point. + (input) -> The latitude of the tangency point. :param scale: - (input) This scale reduction at the origin. + (input) -> This scale reduction at the origin. :param falseEasting: - (input) The value to add to each Cartesian X value. + (input) -> The value to add to each Cartesian X value. :param falseNorthing: - (input) The value to add to each Cartesian Y value. + (input) -> The value to add to each Cartesian Y value. :param quadrant: - (input) Quadrant for the cartesian coordinate system. If north is up + (input) -> Quadrant for the cartesian coordinate system. If north is up and east is right, pass 1. """ ... @@ -8584,7 +8992,7 @@ class BaseGCS: projection method, unit etc be identical. :param compareTo: - (input) The BaseGCS to compare to. + (input) -> The BaseGCS to compare to. """ ... @@ -8595,7 +9003,7 @@ class BaseGCS: modifiers. :param compareTo: - (input) The BaseGCS to compare to. + (input) -> The BaseGCS to compare to. """ ... @@ -8635,11 +9043,11 @@ class BaseGCS: and z. :param outLatLong: - (output) The calculated longitude,latitude,elevation in the datum of + (output) -> The calculated longitude,latitude,elevation in the datum of this GCS. :param inCartesian: - (input) The input cartesian coordinates. + (input) -> The input cartesian coordinates. """ ... @@ -8649,11 +9057,11 @@ class BaseGCS: Elevation is unchanged. :param outLatLong: - (output) The calculated longitude and latitude in the datum of this + (output) -> The calculated longitude and latitude in the datum of this GCS. :param inCartesian: - (input) The input cartesian coordinates. + (input) -> The input cartesian coordinates. """ ... @@ -8663,14 +9071,14 @@ class BaseGCS: appropriate datum shift. :param outLatLong: - (output) The calculated longitude,latitude,elevation in the datum of + (output) -> The calculated longitude,latitude,elevation in the datum of targetGCS. :param inLatLong: - (input) The longitude,latitude,elevation in the datum of this GCS. + (input) -> The longitude,latitude,elevation in the datum of this GCS. :param targetGCS: - (input) The Coordinate System corresponding to outLatLong. + (input) -> The Coordinate System corresponding to outLatLong. """ ... @@ -8680,13 +9088,13 @@ class BaseGCS: appropriate datum shift. :param outLatLong: - (output) The calculated longitude,latitude in the datum of targetGCS. + (output) -> The calculated longitude,latitude in the datum of targetGCS. :param inLatLong: - (input) The longitude,latitude in the datum of this GCS. + (input) -> The longitude,latitude in the datum of this GCS. :param targetGCS: - (input) The Coordinate System corresponding to outLatLong. + (input) -> The Coordinate System corresponding to outLatLong. """ ... @@ -8719,10 +9127,10 @@ class BaseGCS: relative to the OSGB datum based on the Airy30 ellipsoid. :param outLatLong: - (output) The calculated longitude,latitude,elevation. + (output) -> The calculated longitude,latitude,elevation. :param inXYZ: - (input) The XYZ (ECEF) coordinates of this GCS. + (input) -> The XYZ (ECEF) coordinates of this GCS. """ ... @@ -8990,7 +9398,13 @@ class BaseGCS: epcvTransverseMercatorOstn15 """ - def __init__(self: MSPyDgnPlatform.BaseGCS.ProjectionCodeValue, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... epcvAlbersEqualArea: ProjectionCodeValue @@ -9176,7 +9590,7 @@ class BaseGCS: Converts from Degrees to Radians :param inDegrees: - (input) Angular value in degrees. + (input) -> Angular value in degrees. :returns: Angular value in radians @@ -9194,7 +9608,13 @@ class BaseGCS: eRangeTestOutsideMathDomain """ - def __init__(self: MSPyDgnPlatform.BaseGCS.RangeTestResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRangeTestOk: RangeTestResult @@ -9295,25 +9715,25 @@ class BaseGCS: shearing, set A1 and B2 equal to 1.0 and A2 and B1 equal to 0.0. :param A0: - (input) The X translation of the affine transformation + (input) -> The X translation of the affine transformation :param A1: - (input) The A1 parameter of the rotation/scale/shearing portion of the + (input) -> The A1 parameter of the rotation/scale/shearing portion of the affine. :param A2: - (input) The A2 parameter of the rotation/scale/shearing portion of the + (input) -> The A2 parameter of the rotation/scale/shearing portion of the affine. :param B0: - (input) The Y translation of the affine transformation + (input) -> The Y translation of the affine transformation :param B1: - (input) The B1 parameter of the rotation/scale/shearing portion of the + (input) -> The B1 parameter of the rotation/scale/shearing portion of the affine. :param B2: - (input) The B2 parameter of the rotation/scale/shearing portion of the + (input) -> The B2 parameter of the rotation/scale/shearing portion of the affine. :returns: @@ -9669,7 +10089,7 @@ class BaseGCS: Sets the EPSG code in the coordinate system definition. :param value: - (input) The new EPSG code. Can be 0 to 32768 + (input) -> The new EPSG code. Can be 0 to 32768 :returns: SUCCESS is successful @@ -9824,7 +10244,13 @@ class BaseGCS: ewktFlavorLclAlt """ - def __init__(self: MSPyDgnPlatform.BaseGCS.WktFlavor, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ewktFlavorAppAlt: WktFlavor @@ -9887,13 +10313,20 @@ class BaseGCS: relative to the OSGB datum based on the Airy30 ellipsoid. :param outXYZ: - (output) The calculated XYZ (ECEF) coordinates. + (output) -> The calculated XYZ (ECEF) coordinates. :param inLatLong: - (input) The latitude, longitude and elevation to convert. + (input) -> The latitude, longitude and elevation to convert. + """ + ... + + class __class__(type): + """ + None """ ... + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -10154,14 +10587,12 @@ class BeTextFile: ... @staticmethod - def Open(*args, **kwargs): + def Open(fullFileSpec: str, openType: MSPyDgnPlatform.TextFileOpenType, options: MSPyDgnPlatform.TextFileOptions, encoding: MSPyDgnPlatform.TextFileEncoding = TextFileEncoding.eCurrentLocale) -> tuple: """ - Open(fullFileSpec: str, openType: MSPyDgnPlatform.TextFileOpenType, options: MSPyDgnPlatform.TextFileOptions, encoding: MSPyDgnPlatform.TextFileEncoding = ) -> tuple - Opens a text file for reading or writing. :param status: - BeFileStatus::Success on success or the file open error. + BeFileStatus.Success on success or the file open error. :param fullFileSpec: Name of the file to open. @@ -10173,9 +10604,9 @@ class BeTextFile: Options controlling how newline characters are treated on read. :param encoding: - Encoding for the file; use TextFileEncoding::CurrentLocale for + Encoding for the file; use TextFileEncoding.CurrentLocale for ASCII. This parameter is used only when openType is - TextFileOpenType::Write. + TextFileOpenType.Write. Remark: s When opened for read or append, the text file encoding will be @@ -10187,9 +10618,10 @@ class BeTextFile: output is to be written. If there is an existing file with the same name, that file is replaced by a new file. - :returns: - A pointer to the file. If status is not BeFileStatus::Success then - the pointer will fail the IsValid() check. + returns: + A Tuple: + - (Tuple, 0): BeFileStatus.Success on success or the file open error. + - (Tuple, 1): A pointer to the file. If the status is not BeFileStatus.Success, this will be None. """ ... @@ -10246,12 +10678,15 @@ class BeTextFile: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class BentleyStatus: """ Members: @@ -10265,7 +10700,13 @@ class BentleyStatus: eBSIERROR """ - def __init__(self: MSPyDgnPlatform.BentleyStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBSIERROR: BentleyStatus @@ -10592,6 +11033,7 @@ class BitMask: """ ... + @staticmethod def Test(*args, **kwargs): """ Overloaded function. @@ -10641,7 +11083,13 @@ class BitMask: """ ... - def __init__(self: MSPyDgnPlatform.BitMask, defaultBitValue: bool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class BitMaskOperation: @@ -10659,7 +11107,13 @@ class BitMaskOperation: eAndNot """ - def __init__(self: MSPyDgnPlatform.BitMaskOperation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAnd: BitMaskOperation @@ -10680,7 +11134,7 @@ class BitMaskOperation: def value(arg0: MSPyDgnPlatform.BitMaskOperation) -> int: ... -class BrepCellHeaderHandler: +class BrepCellHeaderHandler(MSPyDgnPlatform.Type2Handler, MSPyDgnPlatform.IBRepEdit): """ None """ @@ -10691,9 +11145,11 @@ class BrepCellHeaderHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -10746,12 +11202,15 @@ class BrepCellHeaderHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -10792,6 +11251,7 @@ class BrepCellHeaderHandler: def GetSnapOrigin(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, origin: MSPyBentleyGeom.DPoint3d) -> None: ... + @staticmethod def GetSolidKernelToUORScale(dgnCache: MSPyDgnPlatform.DgnModel) -> float: ... @@ -10801,6 +11261,7 @@ class BrepCellHeaderHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -10839,23 +11300,29 @@ class BrepCellHeaderHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Bspline_curve: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def componentCount(self: MSPyDgnPlatform.Bspline_curve) -> int: ... @@ -10903,12 +11370,15 @@ class Bspline_flags: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def closed(arg0: MSPyDgnPlatform.Bspline_flags) -> int: ... @@ -11019,12 +11489,15 @@ class Bspline_knot: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def ehdr(self: MSPyDgnPlatform.Bspline_knot) -> MSPyDgnPlatform.Elm_hdr: ... @@ -11041,12 +11514,15 @@ class Bspline_pole_2d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Bspline_pole_2d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -11087,12 +11563,15 @@ class Bspline_pole_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Bspline_pole_3d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -11140,12 +11619,15 @@ class Bspline_surface: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def bsurf_flags(self: MSPyDgnPlatform.Bspline_surface) -> MSPyDgnPlatform.Bsurf_flags: ... @@ -11235,12 +11717,15 @@ class Bspline_weight: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def ehdr(self: MSPyDgnPlatform.Bspline_weight) -> MSPyDgnPlatform.Elm_hdr: ... @@ -11257,12 +11742,15 @@ class Bsurf_boundary: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def ehdr(self: MSPyDgnPlatform.Bsurf_boundary) -> MSPyDgnPlatform.Elm_hdr: ... @@ -11303,12 +11791,15 @@ class Bsurf_flags: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def arcSpacing(arg0: MSPyDgnPlatform.Bsurf_flags) -> int: ... @@ -11357,7 +11848,13 @@ class ByLevelSymbologyFlag: eFlagByLevel_IsLineStyleByLevel """ - def __init__(self: MSPyDgnPlatform.ByLevelSymbologyFlag, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagByLevel_IsColorByLevel: ByLevelSymbologyFlag @@ -11388,12 +11885,15 @@ class CameraInfo: def Invalidate(self: MSPyDgnPlatform.CameraInfo) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def angle(self: MSPyDgnPlatform.CameraInfo) -> float: ... @@ -11420,12 +11920,15 @@ class CameraParams: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def focalLength(self: MSPyDgnPlatform.CameraParams) -> float: ... @@ -11653,12 +12156,15 @@ class Caret: def PreviousCharacter(self: MSPyDgnPlatform.Caret) -> str: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class CellLibraryType: """ Members: @@ -11680,7 +12186,13 @@ class CellLibraryType: eBlock """ - def __init__(self: MSPyDgnPlatform.CellLibraryType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBlock: CellLibraryType @@ -11712,23 +12224,29 @@ class Cell_2d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class cell_2d_flags: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def isAnnotation(arg0: MSPyDgnPlatform.Cell_2d.cell_2d_flags) -> int: ... @@ -11832,23 +12350,29 @@ class Cell_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class cell_3d_flags: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def isAnnotation(arg0: MSPyDgnPlatform.Cell_3d.cell_3d_flags) -> int: ... @@ -11947,7 +12471,7 @@ class Cell_3d: def transform(arg0: MSPyDgnPlatform.Cell_3d, arg1: numpy.typing.NDArray) -> None: ... -class ChainHeaderHandler: +class ChainHeaderHandler(MSPyDgnPlatform.ComplexHeaderDisplayHandler, MSPyDgnPlatform.ICurvePathEdit): """ None """ @@ -12038,9 +12562,11 @@ class ChainHeaderHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -12052,12 +12578,15 @@ class ChainHeaderHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -12104,6 +12633,7 @@ class ChainHeaderHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -12146,12 +12676,15 @@ class ChainHeaderHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ChangeTrackAction: """ Members: @@ -12187,7 +12720,13 @@ class ChangeTrackAction: eModifyComplete """ - def __init__(self: MSPyDgnPlatform.ChangeTrackAction, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAdd: ChangeTrackAction @@ -12233,12 +12772,15 @@ class ChangeTrackInfo: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def action(self: MSPyDgnPlatform.ChangeTrackInfo) -> MSPyDgnPlatform.ChangeTrackAction: ... @@ -12278,7 +12820,13 @@ class ChangeTrackSource: eHistoryMerge """ - def __init__(self: MSPyDgnPlatform.ChangeTrackSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHistoryMerge: ChangeTrackSource @@ -12295,7 +12843,7 @@ class ChangeTrackSource: def value(arg0: MSPyDgnPlatform.ChangeTrackSource) -> int: ... -class CharStream: +class CharStream(MSPyDgnPlatform.Run): """ None """ @@ -12333,12 +12881,15 @@ class CharStream: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class CharacterSpacingType: """ Members: @@ -12350,7 +12901,13 @@ class CharacterSpacingType: eFactor """ - def __init__(self: MSPyDgnPlatform.CharacterSpacingType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAbsolute: CharacterSpacingType @@ -12367,7 +12924,7 @@ class CharacterSpacingType: def value(arg0: MSPyDgnPlatform.CharacterSpacingType) -> int: ... -class ChildEditElemIter: +class ChildEditElemIter(MSPyDgnPlatform.EditElementHandle): """ None """ @@ -12516,6 +13073,7 @@ class ChildEditElemIter: """ ... + @staticmethod def FindByID(*args, **kwargs): """ Overloaded function. @@ -12544,10 +13102,7 @@ class ChildEditElemIter: """ ... - def GetElement(*args, **kwargs): - """ - GetElement(self: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement - """ + def GetElement(self: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement: ... def GetElementDescr(self: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElementDescr: @@ -12577,10 +13132,8 @@ class ChildEditElemIter: """ ... - def GetHandler(*args, **kwargs): + def GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = MissingHandlerPermissions.eMISSING_HANDLER_PERMISSION_None) -> MSPyDgnPlatform.Handler: """ - GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = ) -> MSPyDgnPlatform.Handler - Get the Handler for this ElementHandle. Every element must have a handler. This method returns a reference to the Handler for this element. If this ElementHandle has an ElementRefP, its handler is @@ -12739,10 +13292,8 @@ class ChildEditElemIter: def PeekElementDescr(self: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElementDescr: ... - def ReplaceElement(*args, **kwargs): + def ReplaceElement(self: MSPyDgnPlatform.EditElementHandle, el: MSPyDgnPlatform.MSElement) -> int: """ - ReplaceElement(self: MSPyDgnPlatform.EditElementHandle, el: MSPyDgnPlatform.MSElement) -> int - Replace the element associated with this EditElementHandle with a new element. @@ -12793,7 +13344,7 @@ class ChildEditElemIter: Remark: s After the element is successfully replaced in the model, the ElementRefP of this EditElementHandle is updated with the - (potentially new) ElementRefP of replaced element and the + (potentially new) -> ElementRefP of replaced element and the MSElementDescr is freed. """ ... @@ -12929,17 +13480,24 @@ class ChildEditElemIter: def ToNext(self: MSPyDgnPlatform.ChildEditElemIter) -> MSPyDgnPlatform.ChildEditElemIter: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. 1. __init__(self: MSPyDgnPlatform.ChildEditElemIter) -> None - 2. __init__(self: MSPyDgnPlatform.ChildEditElemIter, from: MSPyDgnPlatform.EditElementHandle) -> None + 2. __init__(self: MSPyDgnPlatform.ChildEditElemIter, from_: MSPyDgnPlatform.EditElementHandle) -> None """ ... -class ChildElemIter: +class ChildElemIter(MSPyDgnPlatform.ElementHandle): """ None """ @@ -12967,7 +13525,7 @@ class ChildElemIter: ... @property - def Element(arg0: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElement: + def Element(arg0: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElement: ... @property @@ -13002,10 +13560,7 @@ class ChildElemIter: """ ... - def GetElement(*args, **kwargs): - """ - GetElement(self: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElement - """ + def GetElement(self: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElement: ... def GetElementDescr(self: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElementDescr: @@ -13035,10 +13590,8 @@ class ChildElemIter: """ ... - def GetHandler(*args, **kwargs): + def GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = MissingHandlerPermissions.eMISSING_HANDLER_PERMISSION_None) -> MSPyDgnPlatform.Handler: """ - GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = ) -> MSPyDgnPlatform.Handler - Get the Handler for this ElementHandle. Every element must have a handler. This method returns a reference to the Handler for this element. If this ElementHandle has an ElementRefP, its handler is @@ -13195,13 +13748,20 @@ class ChildElemIter: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. 1. __init__(self: MSPyDgnPlatform.ChildElemIter) -> None - 2. __init__(self: MSPyDgnPlatform.ChildElemIter, from: MSPyDgnPlatform.ElementHandle, reason: MSPyDgnPlatform.ExposeChildrenReason = ) -> None + 2. __init__(self: MSPyDgnPlatform.ChildElemIter, from_: MSPyDgnPlatform.ElementHandle, reason: MSPyDgnPlatform.ExposeChildrenReason = ExposeChildrenReason.eQuery) -> None """ ... @@ -13228,7 +13788,13 @@ class ClipMask: eAll """ - def __init__(self: MSPyDgnPlatform.ClipMask, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: ClipMask @@ -13273,8 +13839,18 @@ class ClipPrimitive: def BCurve(arg0: MSPyDgnPlatform.ClipPrimitive) -> MSPyBentleyGeom.MSBsplineCurve: ... - def ClassifyPointContainment(self: MSPyDgnPlatform.ClipPrimitive, points: List[MSPyBentleyGeom.DPoint3d], ignoreMasks: bool = False) -> MSPyBentleyGeom.ClipPlaneContainment: + @staticmethod + def ClassifyPointContainment(*args, **kwargs): """ + Overloaded function. + + 1. ClassifyPointContainment(self: MSPyDgnPlatform.ClipPrimitive, points: List[MSPyBentleyGeom.DPoint3d], ignoreMasks: bool = False) -> MSPyBentleyGeom.ClipPlaneContainment + + Classify the given points for containment within this ClipPrimitive's + boundary + + 2. ClassifyPointContainment(self: MSPyDgnPlatform.ClipPrimitive, points: list, ignoreMasks: bool = False) -> MSPyBentleyGeom.ClipPlaneContainment + Classify the given points for containment within this ClipPrimitive's boundary """ @@ -13340,8 +13916,16 @@ class ClipPrimitive: ... @staticmethod - def CreateFromShape(points: MSPyBentleyGeom.DPoint2dArray, outside: bool, zLow: Optional[float], zHigh: Optional[float], transformFromClip: MSPyBentleyGeom.Transform, invisible: bool = False) -> MSPyDgnPlatform.ClipPrimitive: + def CreateFromShape(*args, **kwargs): """ + Overloaded function. + + 1. CreateFromShape(points: MSPyBentleyGeom.DPoint2dArray, outside: bool, zLow: Optional[float], zHigh: Optional[float], transformFromClip: MSPyBentleyGeom.Transform, invisible: bool = False) -> MSPyDgnPlatform.ClipPrimitive + + Create a ClipPrimitive from the given extents. + + 2. CreateFromShape(points: list, outside: bool, zLow: Optional[float], zHigh: Optional[float], transformFromClip: MSPyBentleyGeom.Transform, invisible: bool = False) -> MSPyDgnPlatform.ClipPrimitive + Create a ClipPrimitive from the given extents. """ ... @@ -13548,7 +14132,13 @@ class ClipPrimitive: def ZLow(arg0: MSPyDgnPlatform.ClipPrimitive, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.ClipPrimitive, primitive: MSPyDgnPlatform.ClipPrimitive) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ClipPrimitivePtrArray: @@ -13556,6 +14146,16 @@ class ClipPrimitivePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -13588,6 +14188,7 @@ class ClipPrimitivePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -13608,6 +14209,7 @@ class ClipPrimitivePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -13633,6 +14235,9 @@ class ClipVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Append(self: MSPyDgnPlatform.ClipVector, clip: MSPyDgnPlatform.ClipVector) -> None: ... @@ -13644,13 +14249,28 @@ class ClipVector: ... @staticmethod - def AppendShape(clip: MSPyDgnPlatform.ClipVector, points: MSPyBentleyGeom.DPoint2dArray, outside: bool, zLow: Optional[float], zHigh: Optional[float], transform: MSPyBentleyGeom.Transform, invisible: bool = False) -> BentleyStatus: + def AppendShape(*args, **kwargs): + """ + Overloaded function. + + 1. AppendShape(clip: MSPyDgnPlatform.ClipVector, points: MSPyBentleyGeom.DPoint2dArray, outside: bool, zLow: Optional[float], zHigh: Optional[float], transform: MSPyBentleyGeom.Transform, invisible: bool = False) -> BentleyStatus + + 2. AppendShape(clip: MSPyDgnPlatform.ClipVector, points: list, outside: bool, zLow: Optional[float], zHigh: Optional[float], transform: MSPyBentleyGeom.Transform, invisible: bool = False) -> BentleyStatus + """ ... def ApplyCameraToPlanes(self: MSPyDgnPlatform.ClipVector, focalLength: float) -> BentleyStatus: ... - def ClassifyPointContainment(self: MSPyDgnPlatform.ClipVector, points: List[MSPyBentleyGeom.DPoint3d], ignoreMasks: bool = False) -> MSPyBentleyGeom.ClipPlaneContainment: + @staticmethod + def ClassifyPointContainment(*args, **kwargs): + """ + Overloaded function. + + 1. ClassifyPointContainment(self: MSPyDgnPlatform.ClipVector, points: List[MSPyBentleyGeom.DPoint3d], ignoreMasks: bool = False) -> MSPyBentleyGeom.ClipPlaneContainment + + 2. ClassifyPointContainment(self: MSPyDgnPlatform.ClipVector, points: list, ignoreMasks: bool = False) -> MSPyBentleyGeom.ClipPlaneContainment + """ ... def ClipPolyface(self: MSPyDgnPlatform.ClipVector, polyface: MSPyBentleyGeom.PolyfaceQuery, output: MSPyBentleyGeom.PolyfaceQuery.IClipToPlaneSetOutput, triangulateOutput: bool) -> int: @@ -13661,10 +14281,7 @@ class ClipVector: ... @staticmethod - def CreateFromElement(*args, **kwargs): - """ - CreateFromElement(eh: MSPyDgnPlatform.ElementHandle, modelRef: MSPyDgnPlatform.DgnModel, viewport: MSPyDgnPlatform.Viewport = None, pass: MSPyDgnPlatform.ClipVolumePass = , dvSettings: MSPyDgnPlatform.DynamicViewSettings = None, displayCutGeometry: bool = True) -> MSPyDgnPlatform.ClipVector - """ + def CreateFromElement(eh: MSPyDgnPlatform.ElementHandle, modelRef: MSPyDgnPlatform.DgnModel, viewport: MSPyDgnPlatform.Viewport = None, pass_: MSPyDgnPlatform.ClipVolumePass = ClipVolumePass.eInside, dvSettings: MSPyDgnPlatform.DynamicViewSettings = None, displayCutGeometry: bool = True) -> MSPyDgnPlatform.ClipVector: ... @staticmethod @@ -13696,6 +14313,13 @@ class ClipVector: def TransformInPlace(self: MSPyDgnPlatform.ClipVector, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -13727,7 +14351,13 @@ class ClipVolumeCropProp: eTop """ - def __init__(self: MSPyDgnPlatform.ClipVolumeCropProp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBack: ClipVolumeCropProp @@ -13757,12 +14387,15 @@ class ClipVolumeFlags: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def ignoreBoundaryClipping(arg0: MSPyDgnPlatform.ClipVolumeFlags) -> bool: ... @@ -13789,12 +14422,15 @@ class ClipVolumeOverrides: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def disableLocate(arg0: MSPyDgnPlatform.ClipVolumeOverrides) -> bool: ... @@ -13847,7 +14483,13 @@ class ClipVolumePass: eCut """ - def __init__(self: MSPyDgnPlatform.ClipVolumePass, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCut: ClipVolumePass @@ -13885,7 +14527,13 @@ class ClipVolumeSizeProp: eBackDepth """ - def __init__(self: MSPyDgnPlatform.ClipVolumeSizeProp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBackDepth: ClipVolumeSizeProp @@ -13947,13 +14595,16 @@ class ColorBook: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ColorOverrideAction: + def __init__(self, *args, **kwargs): + ... + +class ColorOverrideAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -13993,7 +14644,13 @@ class ColorOverrideAction: """ ... - def __init__(self: MSPyDgnPlatform.ColorOverrideAction, elementColor: int, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ColorTable: @@ -14001,12 +14658,15 @@ class ColorTable: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def color_info(arg0: MSPyDgnPlatform.ColorTable) -> int: ... @@ -14042,10 +14702,16 @@ class CommitInfo: """ ... - def __init__(self: MSPyDgnPlatform.CommitInfo, desc: MSPyBentley.WString) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class ComplexHeaderDisplayHandler: +class ComplexHeaderDisplayHandler(MSPyDgnPlatform.DisplayHandler): """ None """ @@ -14076,12 +14742,15 @@ class ComplexHeaderDisplayHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -14125,6 +14794,7 @@ class ComplexHeaderDisplayHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -14148,17 +14818,21 @@ class ComplexHeaderDisplayHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ComplexShapeHandler: + def __init__(self, *args, **kwargs): + ... + +class ComplexShapeHandler(MSPyDgnPlatform.ChainHeaderHandler, MSPyDgnPlatform.IAreaFillPropertiesEdit): """ None """ + @staticmethod def AddComponentComplete(eeh: MSPyDgnPlatform.EditElementHandle) -> BentleyStatus: """ Update the chains's range once all component elements have been added. @@ -14172,6 +14846,7 @@ class ComplexShapeHandler: """ ... + @staticmethod def AddComponentElement(eeh: MSPyDgnPlatform.EditElementHandle, componentEeh: MSPyDgnPlatform.EditElementHandle) -> BentleyStatus: """ Add another element as a component of the chain. Only open curves will @@ -14215,6 +14890,7 @@ class ComplexShapeHandler: def ConvertTo3d(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, elevation: float) -> None: ... + @staticmethod def CreateChainHeaderElement(eeh: MSPyDgnPlatform.EditElementHandle, templateEh: MSPyDgnPlatform.ElementHandle, isClosed: bool, is3d: bool, modelRef: MSPyDgnPlatform.DgnModelRef) -> None: """ Create a new CMPLX_STRING_ELM or CMPLX_SHAPE_ELM header. After @@ -14251,9 +14927,11 @@ class ComplexShapeHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -14265,12 +14943,15 @@ class ComplexShapeHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -14314,7 +14995,15 @@ class ComplexShapeHandler: def GetPathDescription(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, string: MSPyBentley.WString, path: MSPyDgnPlatform.DisplayPath, levelStr: str, modelStr: str, groupStr: str, delimiterStr: str) -> None: ... - def GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: List[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple: + @staticmethod + def GetPattern(*args, **kwargs): + """ + Overloaded function. + + 1. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + + 2. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list, origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + """ ... def GetSnapOrigin(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, origin: MSPyBentleyGeom.DPoint3d) -> None: @@ -14329,6 +15018,7 @@ class ComplexShapeHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -14340,6 +15030,7 @@ class ComplexShapeHandler: def IsRenderable(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle) -> bool: ... + @staticmethod def IsValidChainComponentType(eh: MSPyDgnPlatform.ElementHandle) -> bool: """ Check the supplied element to determine if it is an acceptable type @@ -14379,17 +15070,21 @@ class ComplexShapeHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ComplexStringHandler: + def __init__(self, *args, **kwargs): + ... + +class ComplexStringHandler(MSPyDgnPlatform.ChainHeaderHandler): """ None """ + @staticmethod def AddComponentComplete(eeh: MSPyDgnPlatform.EditElementHandle) -> BentleyStatus: """ Update the chains's range once all component elements have been added. @@ -14403,6 +15098,7 @@ class ComplexStringHandler: """ ... + @staticmethod def AddComponentElement(eeh: MSPyDgnPlatform.EditElementHandle, componentEeh: MSPyDgnPlatform.EditElementHandle) -> BentleyStatus: """ Add another element as a component of the chain. Only open curves will @@ -14437,6 +15133,7 @@ class ComplexStringHandler: def ConvertTo3d(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, elevation: float) -> None: ... + @staticmethod def CreateChainHeaderElement(eeh: MSPyDgnPlatform.EditElementHandle, templateEh: MSPyDgnPlatform.ElementHandle, isClosed: bool, is3d: bool, modelRef: MSPyDgnPlatform.DgnModelRef) -> None: """ Create a new CMPLX_STRING_ELM or CMPLX_SHAPE_ELM header. After @@ -14473,9 +15170,11 @@ class ComplexStringHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -14487,12 +15186,15 @@ class ComplexStringHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -14539,6 +15241,7 @@ class ComplexStringHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -14550,6 +15253,7 @@ class ComplexStringHandler: def IsRenderable(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle) -> bool: ... + @staticmethod def IsValidChainComponentType(eh: MSPyDgnPlatform.ElementHandle) -> bool: """ Check the supplied element to determine if it is an acceptable type @@ -14580,18 +15284,27 @@ class ComplexStringHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Complex_string: """ None """ - def __init__(self: MSPyDgnPlatform.Complex_string) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -14635,7 +15348,13 @@ class ComponentMode: eSharedChild """ - def __init__(self: MSPyDgnPlatform.ComponentMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eInnermost: ComponentMode @@ -14671,7 +15390,13 @@ class CompressionRatio: eCOMPRESSIONRATIO_DEFAULT """ - def __init__(self: MSPyDgnPlatform.CompressionRatio, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCOMPRESSIONRATIO_DEFAULT: CompressionRatio @@ -14757,7 +15482,13 @@ class CompressionType: eCOMPRESSTYPE_CRL8 """ - def __init__(self: MSPyDgnPlatform.CompressionType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCOMPRESSTYPE_BMPRLE4: CompressionType @@ -14826,7 +15557,7 @@ class CompressionType: def value(arg0: MSPyDgnPlatform.CompressionType) -> int: ... -class ConeHandler: +class ConeHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ISolidPrimitiveEdit): """ None """ @@ -14888,6 +15619,7 @@ class ConeHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToSolidPrimitive(eh: MSPyDgnPlatform.ElementHandle, simplify: bool = True) -> MSPyBentleyGeom.ISolidPrimitive: ... @@ -14899,12 +15631,15 @@ class ConeHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -14951,6 +15686,7 @@ class ConeHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -14977,12 +15713,15 @@ class ConeHandler: def SetSolidPrimitive(self: MSPyDgnPlatform.ISolidPrimitiveEdit, eeh: MSPyDgnPlatform.EditElementHandle, primitive: MSPyBentleyGeom.ISolidPrimitive) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Cone_3d: """ None @@ -14993,12 +15732,15 @@ class Cone_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def rsrv(arg0: MSPyDgnPlatform.Cone_3d.Cone_3d_b) -> int: ... @@ -15020,12 +15762,15 @@ class Cone_3d: def type(arg0: MSPyDgnPlatform.Cone_3d.Cone_3d_b, arg1: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def b(arg0: MSPyDgnPlatform.Cone_3d) -> MSPyDgnPlatform.Cone_3d.Cone_3d_b: ... @@ -15088,10 +15833,8 @@ class ConfigurationManager: """ @staticmethod - def DefineVariable(*args, **kwargs): + def DefineVariable(cfgVarName: str, cfgValue: str, level: MSPyDgnPlatform.ConfigurationVariableLevel = ConfigurationVariableLevel.eUser) -> BentleyStatus: """ - DefineVariable(cfgVarName: str, cfgValue: str, level: MSPyDgnPlatform.ConfigurationVariableLevel = ) -> BentleyStatus - Define a configuration variable. If the variable already exists, its value is redefined. @@ -15103,7 +15846,7 @@ class ConfigurationManager: :param level: level of configuration variable. Typically, use - #ConfigurationVariableLevel::User. + #ConfigurationVariableLevel.User. :returns: SUCCESS if the variable is successfully defined. @@ -15164,10 +15907,8 @@ class ConfigurationManager: ... @staticmethod - def GetVariable(*args, **kwargs): + def GetVariable(cfgValue: MSPyBentley.WString, cfgVarName: str, level: MSPyDgnPlatform.ConfigurationVariableLevel = ConfigurationVariableLevel.eUser) -> BentleyStatus: """ - GetVariable(cfgValue: MSPyBentley.WString, cfgVarName: str, level: MSPyDgnPlatform.ConfigurationVariableLevel = ) -> BentleyStatus - Get the value for a configuration variable in a WString. :param cfgValue: @@ -15179,7 +15920,7 @@ class ConfigurationManager: :param level: level of configuration variable. Typically, use - #ConfigurationVariableLevel::User. + #ConfigurationVariableLevel.User. :returns: SUCCESS if the configuration variable was defined and its value is @@ -15422,12 +16163,15 @@ class ConfigurationManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ConfigurationVariableLevel: """ Members: @@ -15451,7 +16195,13 @@ class ConfigurationVariableLevel: eUser """ - def __init__(self: MSPyDgnPlatform.ConfigurationVariableLevel, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eApplication: ConfigurationVariableLevel @@ -15497,7 +16247,13 @@ class CopyContextLevelOption: eCopyByNumber """ - def __init__(self: MSPyDgnPlatform.CopyContextLevelOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlreadyRemapped: CopyContextLevelOption @@ -15520,7 +16276,7 @@ class CopyContextLevelOption: def value(arg0: MSPyDgnPlatform.CopyContextLevelOption) -> int: ... -class CsvFile: +class CsvFile(MSPyDgnPlatform.BeTextFile): """ None """ @@ -15647,13 +16403,16 @@ class CsvFile: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class CurveHandler: + def __init__(self, *args, **kwargs): + ... + +class CurveHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ICurvePathEdit): """ None """ @@ -15686,7 +16445,7 @@ class CurveHandler: Template element to use for symbology; if NULL defaults are used. :param points: - curve points. Must be 6 <=numVerts <=MAX_VERTICES. The first + curve points. Must be 6lt;=numVertslt;=MAX_VERTICES. The first 2 points and last 2 points control the end tangents. :param numVerts: @@ -15714,7 +16473,7 @@ class CurveHandler: Template element to use for symbology; if NULL defaults are used. :param points: - curve points. Must be 6 <=numVerts <=MAX_VERTICES. The first + curve points. Must be 6lt;=numVertslt;=MAX_VERTICES. The first 2 points and last 2 points control the end tangents. :param numVerts: @@ -15739,9 +16498,11 @@ class CurveHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -15753,12 +16514,15 @@ class CurveHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -15819,6 +16583,44 @@ class CurveHandler: number of curve points (does not include 4 points for start and end tangents). + :returns: + SUCCESS if tangent points could be calculated from input points. + + + 3. GetEndTangentPoints(tangentPts: MSPyBentleyGeom.DPoint3dArray, points: list) -> BentleyStatus + + Initialize the default end tangent points from the array of curve + points. + + :param tangentPts: + tangent points, supply as index n-1 and n-2 to CreateCurveElement. + + :param points: + curve points. + + :param numPoints: + number of curve points (does not include 4 points for start and + end tangents). + + :returns: + SUCCESS if tangent points could be calculated from input points. + + + 4. GetEndTangentPoints(tangentPts: list, points: MSPyBentleyGeom.DPoint3dArray) -> BentleyStatus + + Initialize the default end tangent points from the array of curve + points. + + :param tangentPts: + tangent points, supply as index n-1 and n-2 to CreateCurveElement. + + :param points: + curve points. + + :param numPoints: + number of curve points (does not include 4 points for start and + end tangents). + :returns: SUCCESS if tangent points could be calculated from input points. """ @@ -15882,6 +16684,44 @@ class CurveHandler: number of curve points (does not include 4 points for start and end tangents). + :returns: + SUCCESS if tangent points could be calculated from input points. + + + 3. GetStartTangentPoints(tangentPts: MSPyBentleyGeom.DPoint3dArray, points: list) -> BentleyStatus + + Initialize the default start tangent points from the array of curve + points. + + :param tangentPts: + tangent points, supply as index 0 and 1 to CreateCurveElement. + + :param points: + curve points. + + :param numPoints: + number of curve points (does not include 4 points for start and + end tangents). + + :returns: + SUCCESS if tangent points could be calculated from input points. + + + 4. GetStartTangentPoints(tangentPts: list, points: MSPyBentleyGeom.DPoint3dArray) -> BentleyStatus + + Initialize the default start tangent points from the array of curve + points. + + :param tangentPts: + tangent points, supply as index 0 and 1 to CreateCurveElement. + + :param points: + curve points. + + :param numPoints: + number of curve points (does not include 4 points for start and + end tangents). + :returns: SUCCESS if tangent points could be calculated from input points. """ @@ -15893,6 +16733,7 @@ class CurveHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -15919,17 +16760,21 @@ class CurveHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class CustomItemHost: """ None """ + @staticmethod def ApplyCustomItem(*args, **kwargs): """ Overloaded function. @@ -15984,6 +16829,13 @@ class CustomItemHost: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16000,7 +16852,7 @@ class CustomItemHost: """ ... -class CustomProperty: +class CustomProperty(MSPyDgnPlatform.ItemTypeLibraryComponentECProperty): """ None """ @@ -16217,7 +17069,7 @@ class CustomProperty: def Name(arg0: MSPyDgnPlatform.CustomProperty) -> str: ... @Name.setter - def Name(arg0: MSPyDgnPlatform.CustomProperty, arg1: str) -> bool: + def Name(arg0: MSPyDgnPlatform.CustomProperty, arg1: str) -> None: ... @property @@ -16245,6 +17097,7 @@ class CustomProperty: """ ... + @staticmethod def SetExpression(*args, **kwargs): """ Overloaded function. @@ -16307,7 +17160,7 @@ class CustomProperty: def SetPickListName(self: MSPyDgnPlatform.CustomProperty, pickListName: str) -> bool: """ Changes the PickList Name of this property This will set PickList - source as 'DgnFile' & PickList setting as + source as 'DgnFile'PickList setting as :param pickListName: $:param pickListName: @@ -16344,6 +17197,7 @@ class CustomProperty: """ ... + @staticmethod def SetType(*args, **kwargs): """ Overloaded function. @@ -16420,7 +17274,13 @@ class CustomProperty: eCustom """ - def __init__(self: MSPyDgnPlatform.CustomProperty.Type1, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBoolean: Type1 @@ -16452,12 +17312,15 @@ class CustomProperty: def Units(arg0: MSPyDgnPlatform.CustomProperty, arg1: MSPyECObjects.DgnECUnit) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBoolean: Type1 eCustom: Type1 @@ -16472,7 +17335,7 @@ class CustomProperty: eString: Type1 -class CustomPropertyContainer: +class CustomPropertyContainer(MSPyDgnPlatform.ItemTypeLibraryComponentECClass): """ None """ @@ -16551,13 +17414,16 @@ class CustomPropertyContainer: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class CustomPropertyType: + def __init__(self, *args, **kwargs): + ... + +class CustomPropertyType(MSPyDgnPlatform.CustomPropertyContainer): """ None """ @@ -16649,12 +17515,15 @@ class CustomPropertyType: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class CustomUndoListenerPurpose: """ Members: @@ -16664,7 +17533,13 @@ class CustomUndoListenerPurpose: eConvertInternalToExternal """ - def __init__(self: MSPyDgnPlatform.CustomUndoListenerPurpose, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eConvertInternalToExternal: CustomUndoListenerPurpose @@ -16942,7 +17817,13 @@ class DateTimeFormatPart: eDATETIME_PART_General """ - def __init__(self: MSPyDgnPlatform.DateTimeFormatPart, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDATETIME_PART_AMPM: DateTimeFormatPart @@ -17177,12 +18058,15 @@ class DateTimeFormatter: def TrailingZeros(arg0: MSPyDgnPlatform.DateTimeFormatter, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Datum: """ None @@ -17274,19 +18158,19 @@ class Datum: for this Datum. :param deltaValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the delta parameters are used. :param rotationValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the rotation parameters are used. :param scaleValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the scale parameter is used. :param gridValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that grid file is used. """ ... @@ -17307,7 +18191,7 @@ class Datum: of this Datum. :param delta: - (output) The vector from the geocenter of the WGS84 Datum to the + (output) -> The vector from the geocenter of the WGS84 Datum to the geocenter of this Datum. """ ... @@ -17445,7 +18329,7 @@ class Datum: Gets the angles from the WGS84 x, y, and z axes to those of this Datum :param rotation: - (output) The rotation angles. + (output) -> The rotation angles. """ ... @@ -17499,15 +18383,15 @@ class Datum: for this Datum. :param deltaValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the delta parameters are used. :param rotationValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the rotation parameters are used. :param scaleValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the scale parameter is used. """ ... @@ -17535,7 +18419,7 @@ class Datum: of this Datum. :param delta: - (input) The vector from the geocenter of the WGS84 Datum to the + (input) -> The vector from the geocenter of the WGS84 Datum to the geocenter of this Datum. :returns: @@ -17558,7 +18442,7 @@ class Datum: Sets the EPSG code in the datum definition. :param value: - (input) The new EPSG code. Can be 0 to 32767. Value 0 indicates there + (input) -> The new EPSG code. Can be 0 to 32767. Value 0 indicates there is no EPSG code for this definition. :returns: @@ -17572,7 +18456,7 @@ class Datum: not be destroyed by the caller. :param newEllipsoid: - (input) The new Ellipsoid for the Datum. + (input) -> The new Ellipsoid for the Datum. :returns: SUCCESS if ellipsoid was correctly set. . @@ -17602,7 +18486,7 @@ class Datum: Sets the angles from the WGS84 x, y, and z axes to those of this Datum :param rotation: - (input) The rotation angles. + (input) -> The rotation angles. :returns: GEOCOORDERR_ParameterNotUsed if the datum ConvertToWGS84Method @@ -17615,7 +18499,7 @@ class Datum: Sets the datum transformation scaling in parts per million if known. :param scalePPM: - (input) The scale in parts per million. + (input) -> The scale in parts per million. :returns: GEOCOORDERR_ParameterNotUsed if the datum ConvertToWGS84Method @@ -17651,12 +18535,15 @@ class Datum: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DatumEnumerator: """ None @@ -17687,12 +18574,15 @@ class DatumEnumerator: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DefFileId: """ Members: @@ -18206,7 +19096,13 @@ class DefFileId: eDEFFILE_LOWESTID """ - def __init__(self: MSPyDgnPlatform.DefFileId, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDEFACLINFILE_ID: DefFileId @@ -18730,12 +19626,15 @@ class DegreeOfFreedom: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def locked(self: MSPyDgnPlatform.DegreeOfFreedom) -> int: ... @@ -18763,7 +19662,13 @@ class DependencyGraphEvaluationStatus: eWeakConstraintsRejectedSuccess """ - def __init__(self: MSPyDgnPlatform.DependencyGraphEvaluationStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBadConstraintFailure: DependencyGraphEvaluationStatus @@ -18839,23 +19744,29 @@ class DependencyManager: def WasAdded(ref: MSPyDgnPlatform.ElementRefBase) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DependencyRoot: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def elementId(self: MSPyDgnPlatform.DependencyRoot) -> int: ... @@ -18889,6 +19800,16 @@ class DependencyRootArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -18915,6 +19836,7 @@ class DependencyRootArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -18935,6 +19857,7 @@ class DependencyRootArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -18970,7 +19893,13 @@ class DependencyStatus: eRecursiveError """ - def __init__(self: MSPyDgnPlatform.DependencyStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCallbackError: DependencyStatus @@ -19054,7 +19983,7 @@ class DesignHistory: def GetTag(self: MSPyDgnPlatform.DesignHistory, tag: str) -> tuple: ... - def GetTags(self: MSPyDgnPlatform.DesignHistory, tags: List[MSPyDgnPlatform.DgnHistory.DesignHistory.TagDefinition]) -> int: + def GetTags(self: MSPyDgnPlatform.DesignHistory, tags: list[MSPyDgnPlatform.DgnHistory.DesignHistory.TagDefinition]) -> int: ... def GetTip(self: MSPyDgnPlatform.DesignHistory) -> MSPyDgnPlatform.DgnHistory: @@ -19094,12 +20023,15 @@ class DesignHistory: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def revNo(self: MSPyDgnPlatform.DesignHistory.TagDefinition) -> MSPyDgnPlatform.DgnHistory: ... @@ -19117,6 +20049,13 @@ class DesignHistory: def UpdateRevision(self: MSPyDgnPlatform.DesignHistory, revNo: MSPyDgnPlatform.DgnHistory, user: str, desc: str) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -19127,15 +20066,14 @@ class DesignHistory: """ ... -class DgnAttachment: +class DgnAttachment(MSPyDgnPlatform.DgnModelRef): """ None """ def AddAppData(self: MSPyDgnPlatform.DgnAttachment, key: MSPyDgnPlatform.DgnAttachmentAppData.Key, appData: MSPyDgnPlatform.DgnAttachmentAppData) -> int: """ - @name DgnAttachmentAppData Management Add (or replace) - DgnAttachmentAppData to this DgnAttachment. + @name DgnAttachmentAppData Management Add (or replace) -> DgnAttachmentAppData to this DgnAttachment. :returns: SUCCESS if appData was successfully added. Note that it is illegal @@ -19153,6 +20091,7 @@ class DgnAttachment: def AllowActivation(arg0: MSPyDgnPlatform.DgnAttachment, arg1: bool) -> None: ... + @staticmethod def AppendClipVoidPoints(*args, **kwargs): """ Overloaded function. @@ -19204,10 +20143,7 @@ class DgnAttachment: def ApplicationLocked(arg0: MSPyDgnPlatform.DgnAttachment, arg1: bool) -> None: ... - def ApplyNamedView(*args, **kwargs): - """ - ApplyNamedView(self: MSPyDgnPlatform.DgnAttachment, viewName: str, userScale: float, acsScale: float = 1.0, clipOptions: MSPyDgnPlatform.DgnAttachment.ApplyViewClipOptions = , getModelFromView: bool = True, auxRotation: MSPyDgnPlatform.StandardView = ) -> int - """ + def ApplyNamedView(self: MSPyDgnPlatform.DgnAttachment, viewName: str, userScale: float, acsScale: float = 1.0, clipOptions: MSPyDgnPlatform.DgnAttachment.ApplyViewClipOptions = None, getModelFromView: bool = True, auxRotation: MSPyDgnPlatform.StandardView = StandardView.eNotStandard) -> int: ... def ApplyStandardView(self: MSPyDgnPlatform.DgnAttachment, stdView: MSPyDgnPlatform.StandardView, userScale: float, acsScale: float = 1.0) -> int: @@ -19246,7 +20182,13 @@ class DgnAttachment: def SetKeepMask(self: MSPyDgnPlatform.DgnAttachment.ApplyViewClipOptions, b: bool) -> None: ... - def __init__(self: MSPyDgnPlatform.DgnAttachment.ApplyViewClipOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def AsDgnAttachment(self: MSPyDgnPlatform.DgnModelRef) -> MSPyDgnPlatform.DgnAttachment: @@ -19932,7 +20874,7 @@ class DgnAttachment: highlighted. :param checkParents: - (input) If true, check the parent highlighted state, and return true + (input) -> If true, check the parent highlighted state, and return true if any parent is highlighted. """ ... @@ -20213,6 +21155,7 @@ class DgnAttachment: """ ... + @staticmethod def SetClipBoundFromViewPoints(*args, **kwargs): """ Overloaded function. @@ -20220,6 +21163,8 @@ class DgnAttachment: 1. SetClipBoundFromViewPoints(self: MSPyDgnPlatform.DgnAttachment, points: MSPyBentleyGeom.DPoint2dArray, viewRotMatrix: MSPyBentleyGeom.RotMatrix, viewOrigin: MSPyBentleyGeom.DPoint3d, viewActiveZ: float, discardClipMasks: bool) -> int 2. SetClipBoundFromViewPoints(self: MSPyDgnPlatform.DgnAttachment, points: list, viewRotMatrix: MSPyBentleyGeom.RotMatrix, viewOrigin: MSPyBentleyGeom.DPoint3d, viewActiveZ: float, discardClipMasks: bool) -> int + + 3. SetClipBoundFromViewPoints(self: MSPyDgnPlatform.DgnAttachment, points: list, viewRotMatrix: MSPyBentleyGeom.RotMatrix, viewOrigin: MSPyBentleyGeom.DPoint3d, viewActiveZ: float, discardClipMasks: bool) -> int """ ... @@ -20236,6 +21181,7 @@ class DgnAttachment: """ ... + @staticmethod def SetClipPoints(*args, **kwargs): """ Overloaded function. @@ -20543,12 +21489,15 @@ class DgnAttachment: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eSCALE_MODE_Direct: ScaleMode eSCALE_MODE_StorageUnits: ScaleMode @@ -20560,15 +21509,27 @@ class DgnAttachmentAppData: None """ - class Key: + class Key(MSPyDgnPlatform.AppDataKey): """ None """ - def __init__(self: MSPyDgnPlatform.DgnAttachmentAppData.Key) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... - def __init__(self: MSPyDgnPlatform.DgnAttachmentAppData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnAttachmentArray: @@ -20576,12 +21537,18 @@ class DgnAttachmentArray: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnAttachmentAttachedReason: """ Members: @@ -20603,7 +21570,13 @@ class DgnAttachmentAttachedReason: eNewNonActiveModel """ - def __init__(self: MSPyDgnPlatform.DgnAttachmentAttachedReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eChildrenReloaded: DgnAttachmentAttachedReason @@ -20653,6 +21626,13 @@ class DgnAttachmentBuilder: def GetDgnAttachment(self: MSPyDgnPlatform.DgnAttachmentBuilder) -> MSPyDgnPlatform.DgnAttachment: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -20682,7 +21662,13 @@ class DgnAttachmentDetachedReason: eMergedIntoMaster """ - def __init__(self: MSPyDgnPlatform.DgnAttachmentDetachedReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDetached: DgnAttachmentDetachedReason @@ -20716,7 +21702,13 @@ class DgnAttachmentErrors: eDGNATTACHMENT_ERROR_CantRewriteNewAttachment """ - def __init__(self: MSPyDgnPlatform.DgnAttachmentErrors, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNATTACHMENT_ERROR_CantRewriteNewAttachment: DgnAttachmentErrors @@ -20731,7 +21723,7 @@ class DgnAttachmentErrors: def value(arg0: MSPyDgnPlatform.DgnAttachmentErrors) -> int: ... -class DgnAttachmentLevelCache: +class DgnAttachmentLevelCache(MSPyDgnPlatform.PersistentLevelCache): """ None """ @@ -20957,18 +21949,27 @@ class DgnAttachmentLevelCache: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnAttachmentLoadOptions: """ None """ - def __init__(self: MSPyDgnPlatform.DgnAttachmentLoadOptions, loadCaches: bool = True, loadUndisplayed: bool = False, loadRasterRefs: bool = True) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -21056,7 +22057,13 @@ class DgnAttachmentLocateStatus: eParentNoLocateRights """ - def __init__(self: MSPyDgnPlatform.DgnAttachmentLocateStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLocateOff: DgnAttachmentLocateStatus @@ -21082,6 +22089,16 @@ class DgnAttachmentPArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -21174,10 +22191,10 @@ class DgnBaseMoniker: Get a string describing the location. May search the filesystem. Can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. """ ... @@ -21187,10 +22204,10 @@ class DgnBaseMoniker: filesystem. Can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. """ ... @@ -21199,11 +22216,11 @@ class DgnBaseMoniker: Retrieves the provenance string (URI). Can fail. Returns (Tuple, 0): - URI of the moniker. It can be empty if the object cannot be - located. + status. Returns (Tuple, 1): - status. + URI of the moniker. It can be empty if the object cannot be + located. """ ... @@ -21235,10 +22252,10 @@ class DgnBaseMoniker: Search for a folder/directory rather than a file? Returns (Tuple, 0): - retVal. + searchStatus. Returns (Tuple, 1): - searchStatus. + retVal. """ ... @@ -21267,7 +22284,13 @@ class DgnBaseMoniker: eFoundInPackage """ - def __init__(self: MSPyDgnPlatform.DgnBaseMoniker.SearchStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFailed: SearchStatus @@ -21302,12 +22325,15 @@ class DgnBaseMoniker: def ShortDisplayName(arg0: MSPyDgnPlatform.DgnBaseMoniker) -> MSPyBentley.WString: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFailed: SearchStatus eFoundComplete: SearchStatus @@ -21333,6 +22359,9 @@ class DgnBaseMonikerList: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Add(self: MSPyDgnPlatform.DgnBaseMonikerList, moniker: MSPyDgnPlatform.DgnBaseMoniker) -> None: ... @@ -21342,7 +22371,13 @@ class DgnBaseMonikerList: def Remove(self: MSPyDgnPlatform.DgnBaseMonikerList, moniker: MSPyDgnPlatform.DgnBaseMoniker) -> bool: ... - def __init__(self: MSPyDgnPlatform.DgnBaseMonikerList) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnBaseMonikerPtrArray: @@ -21350,6 +22385,16 @@ class DgnBaseMonikerPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -21382,6 +22427,7 @@ class DgnBaseMonikerPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -21402,6 +22448,7 @@ class DgnBaseMonikerPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -21467,8 +22514,19 @@ class DgnColorMap: ... @staticmethod - def CreateFromRgbColors(colors: List[MSPyDgnPlatform.RgbColorDef]) -> MSPyDgnPlatform.DgnColorMap: + def CreateFromRgbColors(*args, **kwargs): """ + Overloaded function. + + 1. CreateFromRgbColors(colors: List[MSPyDgnPlatform.RgbColorDef]) -> MSPyDgnPlatform.DgnColorMap + + Create new color map from array of RgbColorDef. + + :param colors: + Array of RBGColorDef of size INDEX_ColorCount. + + 2. CreateFromRgbColors(colors: list) -> MSPyDgnPlatform.DgnColorMap + Create new color map from array of RgbColorDef. :param colors: @@ -21497,7 +22555,13 @@ class DgnColorMap: eINDEX_Invalid """ - def __init__(self: MSPyDgnPlatform.DgnColorMap.Entries, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eINDEX_Background: Entries @@ -21687,19 +22751,22 @@ class DgnColorMap: def SetTbgrColor(self: MSPyDgnPlatform.DgnColorMap, arg0: int, arg1: int) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eINDEX_Background: Entries eINDEX_ColorCount: Entries eINDEX_Invalid: Entries -class DgnConfigVarExpressionLink: +class DgnConfigVarExpressionLink(MSPyDgnPlatform.DgnLink): """ None """ @@ -21796,7 +22863,7 @@ class DgnConfigVarExpressionLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -21894,12 +22961,15 @@ class DgnConfigVarExpressionLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnCoordSystem: """ Members: @@ -21917,7 +22987,13 @@ class DgnCoordSystem: eFrustum """ - def __init__(self: MSPyDgnPlatform.DgnCoordSystem, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eActive: DgnCoordSystem @@ -21956,7 +23032,13 @@ class DgnDocument: eExclusiveWrite """ - def __init__(self: MSPyDgnPlatform.DgnDocument.Access, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eExclusiveWrite: Access @@ -22009,15 +23091,13 @@ class DgnDocument: ... @staticmethod - def CreateForNewFile(*args, **kwargs): + def CreateForNewFile(documentName: str, searchPath: str, defFileId: int, defaultFileName: str, overwriteMode: MSPyDgnPlatform.DgnDocument.OverwriteMode, options: MSPyDgnPlatform.DgnDocument.CreateOptions = CreateOptions.eDefault) -> tuple: """ - CreateForNewFile(documentName: str, searchPath: str, defFileId: int, defaultFileName: str, overwriteMode: MSPyDgnPlatform.DgnDocument.OverwriteMode, options: MSPyDgnPlatform.DgnDocument.CreateOptions = ) -> tuple - Create a new DgnDocument object to represent a new file in the native file system. Optionally, test for the existence of a local file by the same name, and optionally prompt the user for whether to overwrite the - file or not. NB:The caller should call - DgnDocument::OnNewFileCreated after creating the new disk file. + file or not. NB:The caller should call + DgnDocument.OnNewFileCreated after creating the new disk file. :param status: If NULL is returned, this gives an indication of why. The possible @@ -22055,27 +23135,25 @@ class DgnDocument: Remark: s After writing out the disk file for the new document, the caller - must call DgnDocument::OnNewFileCreated. + must call DgnDocument.OnNewFileCreated. Returns (Tuple, 0): - a DgnDocument that represents the file. On failure, NULL is - Returned. + status. Returns (Tuple, 1): - status. + a DgnDocument that represents the file. On failure, NULL is + Returned. """ ... @staticmethod - def CreateFromFileName(*args, **kwargs): + def CreateFromFileName(fileName: str, searchPath: str, defFileId: int, fetchMode: MSPyDgnPlatform.DgnDocument.FetchMode, fetchOptions: MSPyDgnPlatform.DgnDocument.FetchOptions = FetchOptions.eDefault) -> tuple: """ - CreateFromFileName(fileName: str, searchPath: str, defFileId: int, fetchMode: MSPyDgnPlatform.DgnDocument.FetchMode, fetchOptions: MSPyDgnPlatform.DgnDocument.FetchOptions = ) -> tuple - Create a DgnDocument object that represents an existing file in the native file system. This is just a short cut for the following: `` - DgnDocumentMonikerPtr moniker = CreateMonikerFromFileName (fileName, NULL, envvar); + DgnDocumentMonikerPtr moniker = CreateMonikerFromFileName (fileName, NULL, envvar); DgnDocumentP openedDoc = CreateFromMoniker (status, *moniker, defFileId, fetchMode, fetchOptions); `` @@ -22107,19 +23185,17 @@ class DgnDocument: file that the caller can open if desired. Returns (Tuple, 0): - a DgnDocument that represents the file. On failure, NULL is - Returned. + status. Returns (Tuple, 1): - status. + a DgnDocument that represents the file. On failure, NULL is + Returned. """ ... @staticmethod - def CreateFromMoniker(*args, **kwargs): + def CreateFromMoniker(moniker: MSPyDgnPlatform.DgnDocumentMoniker, defFileId: int = -101, fetchMode: MSPyDgnPlatform.DgnDocument.FetchMode = FetchMode.eRead, fetchOptions: MSPyDgnPlatform.DgnDocument.FetchOptions = FetchOptions.eDefault) -> tuple: """ - CreateFromMoniker(moniker: MSPyDgnPlatform.DgnDocumentMoniker, defFileId: int = -101, fetchMode: MSPyDgnPlatform.DgnDocument.FetchMode = , fetchOptions: MSPyDgnPlatform.DgnDocument.FetchOptions = ) -> tuple - @name Methods to create document objects Create a new DgnDocument object from a moniker object that refers to an existing file. This method would typically be used by code that intends to read or write @@ -22153,19 +23229,17 @@ class DgnDocument: file that the caller can open if desired. Returns (Tuple, 0): - a DgnDocument that represents the file. On failure, NULL is - Returned. + status. Returns (Tuple, 1): - status. + a DgnDocument that represents the file. On failure, NULL is + Returned. """ ... @staticmethod - def CreateNew(*args, **kwargs): + def CreateNew(documentName: str, parentFolderMoniker: MSPyDgnPlatform.DgnFolderMoniker, defFileId: int, overwriteMode: MSPyDgnPlatform.DgnDocument.OverwriteMode, options: MSPyDgnPlatform.DgnDocument.CreateOptions = CreateOptions.eDefault) -> tuple: """ - CreateNew(documentName: str, parentFolderMoniker: MSPyDgnPlatform.DgnFolderMoniker, defFileId: int, overwriteMode: MSPyDgnPlatform.DgnDocument.OverwriteMode, options: MSPyDgnPlatform.DgnDocument.CreateOptions = ) -> tuple - Create a new document in DMS. Returns DgnDocument object if the document was created. @@ -22189,10 +23263,10 @@ class DgnDocument: Create Options. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. """ ... @@ -22205,7 +23279,13 @@ class DgnDocument: eSupressFailureNotification """ - def __init__(self: MSPyDgnPlatform.DgnDocument.CreateOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDefault: CreateOptions @@ -22223,10 +23303,8 @@ class DgnDocument: def DocState(self: MSPyDgnPlatform.DgnDocument) -> MSPyDgnPlatform.DgnDocument.State: ... - def Fetch(*args, **kwargs): + def Fetch(self: MSPyDgnPlatform.DgnDocument, mode: MSPyDgnPlatform.DgnDocument.FetchMode = FetchMode.eRead, options: MSPyDgnPlatform.DgnDocument.FetchOptions = FetchOptions.eDefault) -> int: """ - Fetch(self: MSPyDgnPlatform.DgnDocument, mode: MSPyDgnPlatform.DgnDocument.FetchMode = , options: MSPyDgnPlatform.DgnDocument.FetchOptions = ) -> int - @name Methods to synchronize the local copy of the document with the DMS repository Create a local copy of the document from the master copy in the DMS @@ -22248,7 +23326,13 @@ class DgnDocument: eWrite """ - def __init__(self: MSPyDgnPlatform.DgnDocument.FetchMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eInfoOnly: FetchMode @@ -22280,7 +23364,13 @@ class DgnDocument: eApplicationReserved """ - def __init__(self: MSPyDgnPlatform.DgnDocument.FetchOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eApplicationReserved: FetchOptions @@ -22361,6 +23451,7 @@ class DgnDocument: """ ... + @staticmethod def GetNameForRecentFileList(*args, **kwargs): """ Overloaded function. @@ -22484,7 +23575,13 @@ class DgnDocument: ePrompt """ - def __init__(self: MSPyDgnPlatform.DgnDocument.OverwriteMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlways: OverwriteMode @@ -22505,10 +23602,8 @@ class DgnDocument: def Permissions(arg0: MSPyDgnPlatform.DgnDocument) -> MSPyDgnPlatform.DgnDocument.Permissions: ... - def Put(*args, **kwargs): + def Put(self: MSPyDgnPlatform.DgnDocument, action: MSPyDgnPlatform.DgnDocument.PutAction = PutAction.eCheckin, options: MSPyDgnPlatform.DgnDocument.PutOptions = PutOptions.eDefault, comment: str = None) -> int: """ - Put(self: MSPyDgnPlatform.DgnDocument, action: MSPyDgnPlatform.DgnDocument.PutAction = , options: MSPyDgnPlatform.DgnDocument.PutOptions = , comment: str = None) -> int - Use the local copy of the document to update the master copy of the document in the DMS @@ -22529,7 +23624,13 @@ class DgnDocument: eFree """ - def __init__(self: MSPyDgnPlatform.DgnDocument.PutAction, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCheckin: PutAction @@ -22561,7 +23662,13 @@ class DgnDocument: eApplicationReserved """ - def __init__(self: MSPyDgnPlatform.DgnDocument.PutOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eApplicationReserved: PutOptions @@ -22596,6 +23703,7 @@ class DgnDocument: """ ... + @staticmethod def SetNameForRecentFileList(*args, **kwargs): """ Overloaded function. @@ -22627,7 +23735,13 @@ class DgnDocument: eInFileSystem """ - def __init__(self: MSPyDgnPlatform.DgnDocument.State, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDoesNotExist: State @@ -22644,12 +23758,15 @@ class DgnDocument: def value(arg0: MSPyDgnPlatform.DgnDocument.State) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eAlways: OverwriteMode eApplicationReserved: PutOptions @@ -22698,7 +23815,7 @@ class DgnDocument: eWrite: FetchMode -class DgnDocumentMoniker: +class DgnDocumentMoniker(MSPyDgnPlatform.DgnBaseMoniker): """ None """ @@ -23044,10 +24161,10 @@ class DgnDocumentMoniker: s If the search path includes network shares, this method may spend a significant amount of time doing a search. Returns (Tuple, 0): + status. + Returns (Tuple, 1): The full path of the local file or the empty string if the file could not be resolved. - Returns (Tuple, 1): - status. """ ... @@ -23056,10 +24173,10 @@ class DgnDocumentMoniker: Get a string describing the location. May search the filesystem. Can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. """ ... @@ -23069,10 +24186,10 @@ class DgnDocumentMoniker: filesystem. Can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. """ ... @@ -23080,10 +24197,10 @@ class DgnDocumentMoniker: """ Resolve the parent folder moniker. This method can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1) : - status. + retVal. """ ... @@ -23092,11 +24209,11 @@ class DgnDocumentMoniker: Retrieves the provenance string (URI). Can fail. Returns (Tuple, 0): - URI of the moniker. It can be empty if the object cannot be - located. + status. Returns (Tuple, 1): - status. + URI of the moniker. It can be empty if the object cannot be + located. """ ... @@ -23104,6 +24221,7 @@ class DgnDocumentMoniker: def SavedFileName(arg0: MSPyDgnPlatform.DgnDocumentMoniker) -> MSPyBentley.WString: ... + @staticmethod def SearchForFile(inFileName: str, fullPath: str, searchPath: str, fullPathFirst: bool, searchAsFolder: bool = False) -> tuple: """ Search for a file in the native file system @@ -23131,10 +24249,10 @@ class DgnDocumentMoniker: Search for a folder/directory rather than a file? Returns (Tuple, 0): - retVal. + searchStatus. Returns (Tuple, 1): - searchStatus. + retVal. """ ... @@ -23163,7 +24281,13 @@ class DgnDocumentMoniker: eFoundInPackage """ - def __init__(self: MSPyDgnPlatform.DgnBaseMoniker.SearchStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFailed: SearchStatus @@ -23211,7 +24335,13 @@ class DgnDocumentMoniker: def UpdateSavedFileName(self: MSPyDgnPlatform.DgnDocumentMoniker, fulPath: str) -> None: ... - def __init__(self: MSPyDgnPlatform.DgnDocumentMoniker) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFailed: SearchStatus @@ -23239,6 +24369,9 @@ class DgnDocumentMonikerList: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Add(self: MSPyDgnPlatform.DgnDocumentMonikerList, moniker: MSPyDgnPlatform.DgnDocumentMoniker) -> None: ... @@ -23251,7 +24384,13 @@ class DgnDocumentMonikerList: def ToDgnBaseMonikerList(self: MSPyDgnPlatform.DgnDocumentMonikerList) -> MSPyDgnPlatform.DgnBaseMonikerList: ... - def __init__(self: MSPyDgnPlatform.DgnDocumentMonikerList) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnDocumentMonikerPtrArray: @@ -23259,6 +24398,16 @@ class DgnDocumentMonikerPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -23291,6 +24440,7 @@ class DgnDocumentMonikerPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -23311,6 +24461,7 @@ class DgnDocumentMonikerPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -23340,7 +24491,13 @@ class DgnDocumentNameProperty: def Create(n: str) -> MSPyDgnPlatform.DgnDocumentNameProperty: ... - def __init__(self: MSPyDgnPlatform.DgnDocumentNameProperty, n: str) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnDrawBuffer: @@ -23358,7 +24515,13 @@ class DgnDrawBuffer: eDrawing """ - def __init__(self: MSPyDgnPlatform.DgnDrawBuffer, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBackingStore: DgnDrawBuffer @@ -23394,7 +24557,13 @@ class DgnDrawMode: eDRAW_MODE_Flash """ - def __init__(self: MSPyDgnPlatform.DgnDrawMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDRAW_MODE_Erase: DgnDrawMode @@ -23420,6 +24589,16 @@ class DgnECChangeListeners: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -23455,7 +24634,13 @@ class DgnECChangeType: eModified """ - def __init__(self: MSPyDgnPlatform.DgnECChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAdded: DgnECChangeType @@ -23474,7 +24659,7 @@ class DgnECChangeType: def value(arg0: MSPyDgnPlatform.DgnECChangeType) -> int: ... -class DgnECManager: +class DgnECManager(MSPyDgnPlatform.IHostobject): """ None """ @@ -23518,6 +24703,7 @@ class DgnECManager: """ ... + @staticmethod def CreateRelationship(*args, **kwargs): """ Overloaded function. @@ -23699,6 +24885,7 @@ class DgnECManager: """ ... + @staticmethod def DeleteDgnECInstance(*args, **kwargs): """ Overloaded function. @@ -23781,10 +24968,8 @@ class DgnECManager: """ ... - def DiscoverSchemasForModel(*args, **kwargs): + def DiscoverSchemasForModel(self: MSPyDgnPlatform.DgnECManager, schemaInfoVector: MSPyECObjects.SchemaInfoArray, dgnModel: MSPyDgnPlatform.DgnModel, persistence: MSPyECObjects.ECSchemaPersistence, scopeOption: MSPyDgnPlatform.ReferencedModelScopeOption = ReferencedModelScopeOption.eREFERENCED_MODEL_SCOPE_None) -> None: """ - DiscoverSchemasForModel(self: MSPyDgnPlatform.DgnECManager, schemaInfoVector: MSPyECObjects.SchemaInfoArray, dgnModel: MSPyDgnPlatform.DgnModel, persistence: MSPyECObjects.ECSchemaPersistence, scopeOption: MSPyDgnPlatform.ReferencedModelScopeOption = ) -> None - Populate a vector of available schemas for a model and its reference attachments. @@ -24091,8 +25276,39 @@ class DgnECManager: """ ... - def ReadSchemaFromXmlFile(self: MSPyDgnPlatform.DgnECManager, ecSchemaXmlFilename: str, dgnFile: MSPyDgnPlatform.DgnFile, searchPaths: MSPyBentley.WStringArray = None) -> tuple: + @staticmethod + def ReadSchemaFromXmlFile(*args, **kwargs): """ + Overloaded function. + + 1. ReadSchemaFromXmlFile(self: MSPyDgnPlatform.DgnECManager, ecSchemaXmlFilename: str, dgnFile: MSPyDgnPlatform.DgnFile, searchPaths: MSPyBentley.WStringArray = None) -> tuple + + Load an ECSchema managed by the DgnECManager to be used with + ImportSchema or returned by ECN.IECSchemaLocater + + + + :param ecSchemaXmlFilename: + The full file path/name of the ECSchemaXML file to read + + :param dgnFile: + ECSchema reading will look here when locating referenced + ECSchemas... May be NULL. + + :param searchPaths: + Additional paths to search for referenced ECSchemas. Searched + after the dgnFile, but before registered ExternalSchemaLocaters + + Returns (Tuple, 0): + retVal. + + Returns (Tuple, 1): + schemaHolder. maintains a reference to the ECSchema + + + + 2. ReadSchemaFromXmlFile(self: MSPyDgnPlatform.DgnECManager, ecSchemaXmlFilename: str, dgnFile: MSPyDgnPlatform.DgnFile, searchPaths: list = None) -> tuple + Load an ECSchema managed by the DgnECManager to be used with ImportSchema or returned by ECN.IECSchemaLocater @@ -24117,8 +25333,37 @@ class DgnECManager: """ ... - def ReadSchemaFromXmlString(self: MSPyDgnPlatform.DgnECManager, schemaAsXml: str, dgnFile: MSPyDgnPlatform.DgnFile, searchPaths: MSPyBentley.WStringArray = None) -> tuple: + @staticmethod + def ReadSchemaFromXmlString(*args, **kwargs): """ + Overloaded function. + + 1. ReadSchemaFromXmlString(self: MSPyDgnPlatform.DgnECManager, schemaAsXml: str, dgnFile: MSPyDgnPlatform.DgnFile, searchPaths: MSPyBentley.WStringArray = None) -> tuple + + Load an ECSchema managed by the DgnECManager to be used with + ImportSchema or returned by ECN.IECSchemaLocater + + :param schemaAsXml: + A string holding ECSchemaXML to be parsed + + :param dgnFile: + ECSchema reading will look here when locating referenced + ECSchemas... May be NULL. + + :param searchPaths: + Additional paths to search for referenced ECSchemas. Searched + after the dgnFile, but before registered ExternalSchemaLocaters. + + Returns (Tuple, 0): + retVal. + + Returns (Tuple, 1): + schema. maintains a reference to the ECSchema + + + + 2. ReadSchemaFromXmlString(self: MSPyDgnPlatform.DgnECManager, schemaAsXml: str, dgnFile: MSPyDgnPlatform.DgnFile, searchPaths: list = None) -> tuple + Load an ECSchema managed by the DgnECManager to be used with ImportSchema or returned by ECN.IECSchemaLocater @@ -24147,6 +25392,7 @@ class DgnECManager: """ ... + @staticmethod def RemoveECInstancesFromModel(*args, **kwargs): """ Overloaded function. @@ -24198,6 +25444,31 @@ class DgnECManager: Including firstIndex, the total number of instances to remove (-1 for all) + :returns: + The number of instances removed + + 3. RemoveECInstancesFromModel(self: MSPyDgnPlatform.DgnECManager, model: MSPyDgnPlatform.DgnModel, instancesToRemove: list) -> int + + Remove ECInstances for the specified DGN model + + :param model: + The model from which to remove instances + + :param schemaName: + The schema of the instances to remove (or NULL for any) + + :param className: + The class of the instances to remove (or NULL for any). Ignored if + schemaName is not supplied. + + :param firstIndex: + The index of the first instance to remove as counted by those + instance matching schemaName/className criteria + + :param count: + Including firstIndex, the total number of instances to remove (-1 + for all) + :returns: The number of instances removed """ @@ -24235,12 +25506,15 @@ class DgnECManager: def UpdateSchema(self: MSPyDgnPlatform.DgnECManager, schema: MSPyECObjects.ECSchema, dgnFile: MSPyDgnPlatform.DgnFile, isExternalSchema: bool = False) -> MSPyECObjects.SchemaUpdateStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnElementClass: """ Members: @@ -24260,7 +25534,13 @@ class DgnElementClass: eConstructionRule """ - def __init__(self: MSPyDgnPlatform.DgnElementClass, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eConstruction: DgnElementClass @@ -24342,7 +25622,13 @@ class DgnErrorCategories: eWORKSET_ERROR_BASE """ - def __init__(self: MSPyDgnPlatform.DgnErrorCategories, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eANNOTATIONATTACHMENT_ERROR_BASE: DgnErrorCategories @@ -24463,7 +25749,7 @@ class DgnFile: ... @staticmethod - def CopyModelContents(destModel: MSPyDgnPlatform.DgnModel, sourceModel: MSPyDgnPlatform.DgnModel, dictionaryElements: List[MSPyDgnPlatform.ElementRefBase ]) -> BentleyStatus: + def CopyModelContents(destModel: MSPyDgnPlatform.DgnModel, sourceModel: MSPyDgnPlatform.DgnModel, dictionaryElements: list[MSPyDgnPlatform.ElementRefBase ]) -> BentleyStatus: """ Copy the contents of one model into another @@ -24489,10 +25775,7 @@ class DgnFile: def CreateNew(document: MSPyDgnPlatform.DgnDocument, openMode: MSPyDgnPlatform.DgnFileOpenMode, seedData: MSPyDgnPlatform.SeedData, format: MSPyDgnPlatform.DgnFileFormatType, threeD: bool) -> tuple: ... - def CreateNewModel(*args, **kwargs): - """ - CreateNewModel(self: MSPyDgnPlatform.DgnFile, error: TypeWrapper, name: str, type: MSPyDgnPlatform.DgnModelType, is3D: bool, seedModel: MSPyDgnPlatform.DgnModel = None, modelId: int = -2) -> MSPyDgnPlatform.DgnModel - """ + def CreateNewModel(self: MSPyDgnPlatform.DgnFile, error: MSPyDgnPlatform.DgnModelStatus, name: str, type: MSPyDgnPlatform.DgnModelType, is3D: bool, seedModel: MSPyDgnPlatform.DgnModel = None, modelId: int = -2) -> MSPyDgnPlatform.DgnModel: ... @property @@ -24515,16 +25798,11 @@ class DgnFile: def DictionaryModel(arg0: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.DgnModel: ... - def DoSaveAs(*args, **kwargs): - """ - DoSaveAs(self: MSPyDgnPlatform.DgnFile, newDoc: MSPyDgnPlatform.DgnDocument, format: MSPyDgnPlatform.DgnFileFormatType = , saveChanges: bool = False, doPreSaveAsHooks: bool = True) -> int - """ + def DoSaveAs(self: MSPyDgnPlatform.DgnFile, newDoc: MSPyDgnPlatform.DgnDocument, format: MSPyDgnPlatform.DgnFileFormatType = DgnFileFormatType.eV8, saveChanges: bool = False, doPreSaveAsHooks: bool = True) -> int: ... - def DoSaveTo(*args, **kwargs): + def DoSaveTo(self: MSPyDgnPlatform.DgnFile, newFileName: str, format: MSPyDgnPlatform.DgnFileFormatType = DgnFileFormatType.eV8) -> int: """ - DoSaveTo(self: MSPyDgnPlatform.DgnFile, newFileName: str, format: MSPyDgnPlatform.DgnFileFormatType = ) -> int - Save the DgnFile to a new physical file with the given file name. After this call, this file continues to refer to the original file. @@ -24532,7 +25810,7 @@ class DgnFile: The new file name :param format: - The file format. Only DgnFileFormatType::V8 is supported unless + The file format. Only DgnFileFormatType.V8 is supported unless hosted by MicroStation. See also: @@ -24579,10 +25857,7 @@ class DgnFile: """ ... - def FillSectionsInModel(*args, **kwargs): - """ - FillSectionsInModel(self: MSPyDgnPlatform.DgnFile, model: MSPyDgnPlatform.DgnModel, sectionsToFill: MSPyDgnPlatform.DgnModelSections = ) -> int - """ + def FillSectionsInModel(self: MSPyDgnPlatform.DgnFile, model: MSPyDgnPlatform.DgnModel, sectionsToFill: MSPyDgnPlatform.DgnModelSections = DgnModelSections.eModel, unused: MSPyDgnPlatform.DgnModelFillContext = None) -> int: ... def FindAppData(self: MSPyDgnPlatform.DgnFile, key: MSPyDgnPlatform.DgnFileAppData.Key) -> MSPyDgnPlatform.DgnFileAppData: @@ -24725,7 +26000,7 @@ class DgnFile: def GetNamedViews(self: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.NamedViewCollection: """ - Get a const reference to the Named Views in this DgnFile. + Get a reference to the Named Views in this DgnFile. """ ... @@ -24748,10 +26023,8 @@ class DgnFile: """ ... - def GetSignatureCount(*args, **kwargs): + def GetSignatureCount(self: MSPyDgnPlatform.DgnFile, ct: MSPyDgnPlatform.DgnFile.SignatureCountType = SignatureCountType.eSIGNATURE_COUNT_All) -> int: """ - GetSignatureCount(self: MSPyDgnPlatform.DgnFile, ct: MSPyDgnPlatform.DgnFile.SignatureCountType = ) -> int - Get the number of digital signatures in this file. """ ... @@ -24777,7 +26050,7 @@ class DgnFile: def GetViewGroups(self: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.ViewGroupCollection: """ - Get a const reference to the View Groups in this DgnFile. + Get a reference to the View Groups in this DgnFile. """ ... @@ -24991,7 +26264,13 @@ class DgnFile: eSIGNATURE_COUNT_All """ - def __init__(self: MSPyDgnPlatform.DgnFile.SignatureCountType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSIGNATURE_COUNT_All: SignatureCountType @@ -25012,7 +26291,13 @@ class DgnFile: def ViewGroups(arg0: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.ViewGroupCollection: ... - def __init__(self: MSPyDgnPlatform.DgnFile, document: MSPyDgnPlatform.DgnDocument, openMode: MSPyDgnPlatform.DgnFileOpenMode) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSIGNATURE_COUNT_All: SignatureCountType @@ -25026,18 +26311,27 @@ class DgnFileAppData: None """ - class Key: + class Key(MSPyDgnPlatform.AppDataKey): """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... - def __init__(self: MSPyDgnPlatform.DgnFileAppData) -> None: + def __init__(self, *args, **kwargs): + ... + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnFileChanges: @@ -25051,7 +26345,13 @@ class DgnFileChanges: eFullSave """ - def __init__(self: MSPyDgnPlatform.DgnFileChanges, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAbandon: DgnFileChanges @@ -25093,7 +26393,13 @@ class DgnFileEmbedStatus: eDGNEMBED_STATUS_DuplicateAlias """ - def __init__(self: MSPyDgnPlatform.DgnFileEmbedStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNEMBED_STATUS_CopyError: DgnFileEmbedStatus @@ -25141,7 +26447,13 @@ class DgnFileFormatType: eDXF """ - def __init__(self: MSPyDgnPlatform.DgnFileFormatType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCurrent: DgnFileFormatType @@ -25164,7 +26476,7 @@ class DgnFileFormatType: def value(arg0: MSPyDgnPlatform.DgnFileFormatType) -> int: ... -class DgnFileLink: +class DgnFileLink(MSPyDgnPlatform.DgnLink): """ None """ @@ -25210,7 +26522,7 @@ class DgnFileLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -25293,12 +26605,15 @@ class DgnFileLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnFileOpenMode: """ Members: @@ -25312,7 +26627,13 @@ class DgnFileOpenMode: eReadWriteFromCopiedFile """ - def __init__(self: MSPyDgnPlatform.DgnFileOpenMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePreferablyReadWrite: DgnFileOpenMode @@ -25336,6 +26657,16 @@ class DgnFilePArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -25363,6 +26694,16 @@ class DgnFilePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -25395,6 +26736,7 @@ class DgnFilePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -25415,6 +26757,7 @@ class DgnFilePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -25464,7 +26807,13 @@ class DgnFilePurpose: eOverlay """ - def __init__(self: MSPyDgnPlatform.DgnFilePurpose, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eActivatedAttachment: DgnFilePurpose @@ -25516,7 +26865,13 @@ class DgnFileRights: eDGNFILE_RIGHT_Unlimited """ - def __init__(self: MSPyDgnPlatform.DgnFileRights, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNFILE_RIGHT_Any: DgnFileRights @@ -25672,7 +27027,13 @@ class DgnFileStatus: eDGNPATHNAME_CantDeleteDir """ - def __init__(self: MSPyDgnPlatform.DgnFileStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNFILE_ERROR_AlreadyLoaded: DgnFileStatus @@ -25837,10 +27198,8 @@ class DgnFolder: ... @staticmethod - def CreateNew(*args, **kwargs): + def CreateNew(folderName: str, parentFolderMoniker: MSPyDgnPlatform.DgnFolderMoniker, options: MSPyDgnPlatform.DgnFolder.CreateOptions = CreateOptions.eDefault) -> MSPyDgnPlatform.DgnFolder: """ - CreateNew(folderName: str, parentFolderMoniker: MSPyDgnPlatform.DgnFolderMoniker, options: MSPyDgnPlatform.DgnFolder.CreateOptions = ) -> MSPyDgnPlatform.DgnFolder - Create a new folder in DMS. Returns DgnFolder object if the folder was successfully created or accepted existing one. @@ -25865,7 +27224,13 @@ class DgnFolder: eAcceptExisting """ - def __init__(self: MSPyDgnPlatform.DgnFolder.CreateOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAcceptExisting: CreateOptions @@ -25931,6 +27296,7 @@ class DgnFolder: """ ... + @staticmethod def IsInSameRepository(*args, **kwargs): """ Overloaded function. @@ -25969,12 +27335,15 @@ class DgnFolder: def Permissions(arg0: MSPyDgnPlatform.DgnFolder) -> MSPyDgnPlatform.DgnFolder.Permissions: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eAcceptExisting: CreateOptions eCreateDocument: Permissions @@ -25989,7 +27358,7 @@ class DgnFolder: eRead: Permissions -class DgnFolderLink: +class DgnFolderLink(MSPyDgnPlatform.DgnLink): """ None """ @@ -26044,7 +27413,7 @@ class DgnFolderLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -26124,13 +27493,16 @@ class DgnFolderLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DgnFolderMoniker: + def __init__(self, *args, **kwargs): + ... + +class DgnFolderMoniker(MSPyDgnPlatform.DgnBaseMoniker): """ None """ @@ -26288,11 +27660,11 @@ class DgnFolderMoniker: spend a significant amount of time doing a search. Returns (Tuple, 0): - The full path of the local directory or the empty string if the - directory path could not be resolved. + status. Returns (Tuple, 1): - status. + The full path of the local directory or the empty string if the + directory path could not be resolved. """ ... @@ -26301,10 +27673,10 @@ class DgnFolderMoniker: Get a string describing the location. May search the filesystem. Can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. """ ... @@ -26314,10 +27686,10 @@ class DgnFolderMoniker: filesystem. Can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. """ ... @@ -26326,10 +27698,10 @@ class DgnFolderMoniker: Resolve the parent folder moniker. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1) : - status. + retVal. """ ... @@ -26338,11 +27710,11 @@ class DgnFolderMoniker: Retrieves the provenance string (URI). Can fail. Returns (Tuple, 0): - URI of the moniker. It can be empty if the object cannot be - located. + status. Returns (Tuple, 1): - status. + URI of the moniker. It can be empty if the object cannot be + located. """ ... @@ -26350,6 +27722,7 @@ class DgnFolderMoniker: def SavedFolderName(arg0: MSPyDgnPlatform.DgnFolderMoniker) -> MSPyBentley.WString: ... + @staticmethod def SearchForFile(inFileName: str, fullPath: str, searchPath: str, fullPathFirst: bool, searchAsFolder: bool = False) -> tuple: """ Search for a file in the native file system @@ -26377,10 +27750,10 @@ class DgnFolderMoniker: Search for a folder/directory rather than a file? Returns (Tuple, 0): - retVal. + searchStatus. Returns (Tuple, 1): - searchStatus. + retVal. """ ... @@ -26409,7 +27782,13 @@ class DgnFolderMoniker: eFoundInPackage """ - def __init__(self: MSPyDgnPlatform.DgnBaseMoniker.SearchStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFailed: SearchStatus @@ -26451,7 +27830,13 @@ class DgnFolderMoniker: """ ... - def __init__(self: MSPyDgnPlatform.DgnFolderMoniker) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFailed: SearchStatus @@ -26479,6 +27864,9 @@ class DgnFolderMonikerList: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Add(self: MSPyDgnPlatform.DgnFolderMonikerList, moniker: MSPyDgnPlatform.DgnFolderMoniker) -> None: ... @@ -26491,7 +27879,13 @@ class DgnFolderMonikerList: def ToDgnBaseMonikerList(self: MSPyDgnPlatform.DgnFolderMonikerList) -> MSPyDgnPlatform.DgnBaseMonikerList: ... - def __init__(self: MSPyDgnPlatform.DgnFolderMonikerList) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnFolderMonikerPtrArray: @@ -26499,6 +27893,16 @@ class DgnFolderMonikerPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -26531,6 +27935,7 @@ class DgnFolderMonikerPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -26551,6 +27956,7 @@ class DgnFolderMonikerPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -26712,7 +28118,7 @@ class DgnFont: """ ... - def GetNamedSymbols(self: MSPyDgnPlatform.DgnFont, symbols: List[MSPyDgnPlatform.DgnFontNamedSymbol]) -> None: + def GetNamedSymbols(self: MSPyDgnPlatform.DgnFont, symbols: list[MSPyDgnPlatform.DgnFontNamedSymbol]) -> None: """ Gets the named symbols defined for this font. Thus includes the standard symbols for degree, diameter, and plus/minus, as well as the @@ -26832,12 +28238,15 @@ class DgnFont: def Type(arg0: MSPyDgnPlatform.DgnFont) -> MSPyDgnPlatform.DgnFontType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnFontFilter: """ Members: @@ -26867,7 +28276,13 @@ class DgnFontFilter: eResourceShx """ - def __init__(self: MSPyDgnPlatform.DgnFontFilter, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: DgnFontFilter @@ -26907,6 +28322,9 @@ class DgnFontList: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def GetEntry(self: MSPyDgnPlatform.DgnFontList, index: int) -> MSPyDgnPlatform.DgnFont: ... @@ -26925,7 +28343,13 @@ class DgnFontList: eSORT_ByName """ - def __init__(self: MSPyDgnPlatform.DgnFontList.SortOrder, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSORT_ByName: SortOrder @@ -26940,26 +28364,27 @@ class DgnFontList: def value(arg0: MSPyDgnPlatform.DgnFontList.SortOrder) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eSORT_ByName: SortOrder eSORT_ByType: SortOrder -class DgnFontManager: +class DgnFontManager(MSPyDgnPlatform.IHostobject): """ None """ @staticmethod - def CreateKnownFontList(*args, **kwargs): + def CreateKnownFontList(dgnFile: MSPyDgnPlatform.DgnFile = None, filter: MSPyDgnPlatform.DgnFontFilter = DgnFontFilter.eNormal) -> MSPyDgnPlatform.DgnFontList: """ - CreateKnownFontList(dgnFile: MSPyDgnPlatform.DgnFile = None, filter: MSPyDgnPlatform.DgnFontFilter = ) -> MSPyDgnPlatform.DgnFontList - Create a FontList with the fonts in the system FontCatalogs, optionally limited by a filter. @@ -26986,10 +28411,8 @@ class DgnFontManager: DefaultTrueTypeFont: DgnFont @staticmethod - def FindSystemFont(*args, **kwargs): + def FindSystemFont(fontName: str, filter: MSPyDgnPlatform.DgnFontFilter = DgnFontFilter.eNormal) -> MSPyDgnPlatform.DgnFont: """ - FindSystemFont(fontName: str, filter: MSPyDgnPlatform.DgnFontFilter = ) -> MSPyDgnPlatform.DgnFont - Find a Font in the system FontCatalogs by name. The system catalogs are initialized at startup and remain valid for the entire MicroStation session. That is, for a given ``fontName,`` this method @@ -27144,10 +28567,8 @@ class DgnFontManager: ... @staticmethod - def VisitAllSystemFonts(*args, **kwargs): + def VisitAllSystemFonts(visitor: MSPyDgnPlatform.DgnFontVisitor, filter: MSPyDgnPlatform.DgnFontFilter = DgnFontFilter.eNormal) -> bool: """ - VisitAllSystemFonts(visitor: MSPyDgnPlatform.DgnFontVisitor, filter: MSPyDgnPlatform.DgnFontFilter = ) -> bool - Visit all fonts in the system FontCatalogs, optionally with a filter applied. @@ -27163,12 +28584,15 @@ class DgnFontManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnFontNamedSymbol: """ None @@ -27215,12 +28639,15 @@ class DgnFontNamedSymbol: def Source(arg0: MSPyDgnPlatform.DgnFontNamedSymbol) -> MSPyDgnPlatform.DgnFontNamedSymbolSource: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnFontNamedSymbolSource: """ Members: @@ -27230,7 +28657,13 @@ class DgnFontNamedSymbolSource: eCustomFromFontConfig """ - def __init__(self: MSPyDgnPlatform.DgnFontNamedSymbolSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCustomFromFontConfig: DgnFontNamedSymbolSource @@ -27250,10 +28683,8 @@ class DgnFontNumMap: None """ - def CreateUsedFontList(*args, **kwargs): + def CreateUsedFontList(self: MSPyDgnPlatform.DgnFontNumMap, filter: MSPyDgnPlatform.DgnFontFilter = DgnFontFilter.eNormal) -> MSPyDgnPlatform.DgnFontList: """ - CreateUsedFontList(self: MSPyDgnPlatform.DgnFontNumMap, filter: MSPyDgnPlatform.DgnFontFilter = ) -> MSPyDgnPlatform.DgnFontList - Create a FontList with the fonts in this table, optionally limited by a filter. @@ -27265,10 +28696,8 @@ class DgnFontNumMap: """ ... - def FindFontByName(*args, **kwargs): + def FindFontByName(self: MSPyDgnPlatform.DgnFontNumMap, fontName: str, filter: MSPyDgnPlatform.DgnFontFilter = DgnFontFilter.eNormal) -> tuple: """ - FindFontByName(self: MSPyDgnPlatform.DgnFontNumMap, fontName: str, filter: MSPyDgnPlatform.DgnFontFilter = ) -> tuple - Find a Font in this table by name, optionally limited by a filter. :param fontName: @@ -27346,17 +28775,30 @@ class DgnFontNumMap: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnFontPArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -27392,7 +28834,13 @@ class DgnFontType: eShx """ - def __init__(self: MSPyDgnPlatform.DgnFontType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNone: DgnFontType @@ -27423,10 +28871,16 @@ class DgnFontVisitor: """ ... - def __init__(self: MSPyDgnPlatform.DgnFontVisitor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class DgnGCS: +class DgnGCS(MSPyDgnPlatform.BaseGCS, MSPyDgnPlatform.DgnModelAppData): """ None """ @@ -27506,6 +28960,8 @@ class DgnGCS: a GCS to the cartesian of the target. 3D conversion is applied. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -27519,12 +28975,13 @@ class DgnGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The converted Cartesian coordinates in the target GCS. :param outCartesian: - (output) Receives the output coordinate. + (output) -> Receives the output coordinate. :param inCartesian: - (input) The input coordinate. + (input) -> The input coordinate. :param targetGCS: (input) target coordinate system @@ -27543,6 +29000,8 @@ class DgnGCS: 3D conversion is applied. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -27556,15 +29015,16 @@ class DgnGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The converted coordinates in the target GCS. :param outCartesian: - (output) Receives the output coordinate. + (output) -> Receives the output coordinate. :param inECEF: - (input) The input coordinate. + (input) -> The input coordinate. :param targetGCS: - (input) Target coordinate system + (input) -> Target coordinate system Sarah Keenan. """ @@ -27576,10 +29036,10 @@ class DgnGCS: Longitude/Latitude/Elevation point. :param outCartesian: - (output) The calculated cartesian coordinates. + (output) -> The calculated cartesian coordinates. :param inLatLong: - (input) The longitude,latitude,elevation in the datum of this GCS. + (input) -> The longitude,latitude,elevation in the datum of this GCS. """ ... @@ -27589,10 +29049,10 @@ class DgnGCS: point. The input elevation is ignored. :param outCartesian: - (output) The calculated cartesian coordinates. + (output) -> The calculated cartesian coordinates. :param inLatLong: - (input) The longitude,latitude,elevation in the datum of this GCS. + (input) -> The longitude,latitude,elevation in the datum of this GCS. """ ... @@ -27602,11 +29062,11 @@ class DgnGCS: from design coordinates (UORs). :param outCartesian: - (output) The calculated cartesian coordinates in the units specified in + (output) -> The calculated cartesian coordinates in the units specified in the GCS. :param inUors: - (input) The design coordinates. + (input) -> The design coordinates. """ ... @@ -27616,11 +29076,11 @@ class DgnGCS: from design coordinates (UORs). :param outCartesian: - (output) The calculated cartesian coordinates in the units specified in + (output) -> The calculated cartesian coordinates in the units specified in the GCS. :param inUors: - (input) The design coordinates. + (input) -> The design coordinates. """ ... @@ -27645,33 +29105,54 @@ class DgnGCS: def CentralPointLongitude(arg0: MSPyDgnPlatform.BaseGCS, arg1: float) -> int: ... - def CheckCartesianRange(self: MSPyDgnPlatform.BaseGCS, points: MSPyBentleyGeom.DPoint3d, numPoints: int) -> MSPyDgnPlatform.BaseGCS.RangeTestResult: + @staticmethod + def CheckGeoPointRange(*args, **kwargs): """ + Overloaded function. + + 1. CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: MSPyBentleyGeom.GeoPointArray) -> MSPyDgnPlatform.BaseGCS.RangeTestResult + Determines whether the input GeoPoints are within the useful range of the coordinate system. :param points: - (input) The points to test. + (input) -> The points to test. :param numPoints: - (input) Number of points to test. + (input) -> Number of points to test. + + 2. CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: list) -> MSPyDgnPlatform.BaseGCS.RangeTestResult + + Determines whether the input GeoPoints are within the useful range of + the coordinate system. + + :param points: + (input) -> The points to test. + + :param numPoints: + (input) -> Number of points to test. + + 3. CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: MSPyBentleyGeom.DPoint3dArray) -> MSPyDgnPlatform.BaseGCS.RangeTestResult + + Determines whether the input GeoPoints are within the useful range of + the coordinate system. + + :param points: + (input) -> The points to test. + + :param numPoints: + (input) -> Number of points to test. + + 4. CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: list) -> MSPyDgnPlatform.BaseGCS.RangeTestResult - Remark: - s The input points must be in the cartesian units of the - coordinate system. - """ - ... - - def CheckGeoPointRange(self: MSPyDgnPlatform.BaseGCS, points: MSPyBentleyGeom.GeoPoint, numPoints: int) -> MSPyDgnPlatform.BaseGCS.RangeTestResult: - """ Determines whether the input GeoPoints are within the useful range of the coordinate system. :param points: - (input) The points to test. + (input) -> The points to test. :param numPoints: - (input) Number of points to test. + (input) -> Number of points to test. """ ... @@ -27757,10 +29238,10 @@ class DgnGCS: name. :param coordinateSystemName: - (input) The common name of the coordinate system.. + (input) -> The common name of the coordinate system.. :param modelRef: - (input) The modelRef to use for the design file unit defintion. + (input) -> The modelRef to use for the design file unit defintion. Remark: s The DgnGCS instance is not stored in the designated modelRef - @@ -27772,10 +29253,10 @@ class DgnGCS: name. :param coordinateSystemName: - (input) The common name of the coordinate system.. + (input) -> The common name of the coordinate system.. :param modelRef: - (input) The modelRef to use for the design file unit defintion. + (input) -> The modelRef to use for the design file unit defintion. Remark: s The DgnGCS instance is not stored in the designated modelRef - @@ -27787,10 +29268,10 @@ class DgnGCS: name. :param coordinateSystemName: - (input) The common name of the coordinate system.. + (input) -> The common name of the coordinate system.. :param modelRef: - (input) The modelRef to use for the design file unit defintion. + (input) -> The modelRef to use for the design file unit defintion. Remark: s The DgnGCS instance is not stored in the designated modelRef - @@ -27802,10 +29283,10 @@ class DgnGCS: name. :param coordinateSystemName: - (input) The common name of the coordinate system.. + (input) -> The common name of the coordinate system.. :param modelRef: - (input) The modelRef to use for the design file unit defintion. + (input) -> The modelRef to use for the design file unit defintion. Remark: s The DgnGCS instance is not stored in the designated modelRef - @@ -27847,19 +29328,19 @@ class DgnGCS: for the Datum of this GCS. :param deltaValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the delta parameters are used. :param rotationValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the rotation parameters are used. :param scaleValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the scale parameter is used. :param gridValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that grid file is used. :returns: @@ -27873,15 +29354,15 @@ class DgnGCS: for the Datum of this GCS. :param deltaValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the delta parameters are used. :param rotationValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the rotation parameters are used. :param scaleValid: - (output) Returns true if the datum is valid and its WGS84ConvertCode + (output) -> Returns true if the datum is valid and its WGS84ConvertCode indicates that the scale parameter is used. :returns: @@ -27904,12 +29385,13 @@ class DgnGCS: """ ... + @staticmethod def DegreesFromRadians(inRadians: float) -> float: """ Converts from Radians to Degrees :param inRadians: - (input) Angular value in radians. + (input) -> Angular value in radians. :returns: Angular value in degrees @@ -27923,7 +29405,7 @@ class DgnGCS: saved in the model. :param modelRef: - (input) The model to delete from. + (input) -> The model to delete from. :param primaryCoordSys: (input) true to delete the primary coordinate system, false to delete @@ -27945,6 +29427,8 @@ class DgnGCS: conversion is applied. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -27958,12 +29442,13 @@ class DgnGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The converted coordinates in the target GCS. :param outECEF: - (output) Receives the output coordinate. + (output) -> Receives the output coordinate. :param inCartesian: - (input) The input coordinate. + (input) -> The input coordinate. Sarah Keenan. """ @@ -28046,7 +29531,7 @@ class DgnGCS: efficient. :param cache: - (input) The DgnModel + (input) -> The DgnModel :param primaryCoordSys: (input) true to find the primary coordinate system, false to find the @@ -28064,7 +29549,7 @@ class DgnGCS: requested, it is cached and this call is very efficient. :param modelRef: - (input) The model to look in. + (input) -> The model to look in. :param primaryCoordSys: (input) true to find the primary coordinate system, false to find the @@ -28152,25 +29637,25 @@ class DgnGCS: post affine projections. :param A0: - (output) The X translation of the affine transformation + (output) -> The X translation of the affine transformation :param A1: - (output) The A1 parameter of the rotation/scale/shearing portion of the + (output) -> The A1 parameter of the rotation/scale/shearing portion of the affine. :param A2: - (output) The A2 parameter of the rotation/scale/shearing portion of the + (output) -> The A2 parameter of the rotation/scale/shearing portion of the affine. :param B0: - (output) The Y translation of the affine transformation + (output) -> The Y translation of the affine transformation :param B1: - (output) The B1 parameter of the rotation/scale/shearing portion of the + (output) -> The B1 parameter of the rotation/scale/shearing portion of the affine. :param B2: - (output) The B2 parameter of the rotation/scale/shearing portion of the + (output) -> The B2 parameter of the rotation/scale/shearing portion of the affine. """ ... @@ -28192,7 +29677,7 @@ class DgnGCS: the projection in use. :param centerPoint: - (output) The center point. + (output) -> The center point. """ ... @@ -28239,7 +29724,7 @@ class DgnGCS: Out The Well Known Text specifying the coordinate system. :param wktFlavor: - (input) The WKT Flavor desired. If not known, use wktFlavorUnknown + (input) -> The WKT Flavor desired. If not known, use wktFlavorUnknown :param originalIfPresent: (input) true indicates that if the BaseGCS originates from a WKT @@ -28252,12 +29737,12 @@ class DgnGCS: this was considered necessary. :param doNotInsertTOWGS84: - (input) If true indicates that the TOWGS84 clause should not be added. + (input) -> If true indicates that the TOWGS84 clause should not be added. default is false which indicates to add it if applicable to flavor and datum transformation. :param posVectorRotationSignConvention: - (input) If true indicates that the TOWGS84 rotation signal convention + (input) -> If true indicates that the TOWGS84 rotation signal convention should follow Position Vector (EPSG:9607) convention. The default is false to use the Coordinate Frame (EPSG:9606) convention. """ @@ -28269,7 +29754,7 @@ class DgnGCS: the specified longitude/latitude. :param point: - (input) The point at which the convergence angle is to be computed. + (input) -> The point at which the convergence angle is to be computed. See also: #GetScaleAlongMeridian, #GetScaleAlongParallel. @@ -28330,7 +29815,7 @@ class DgnGCS: of the Datum of this GCS. :param delta: - (output) The vector from the geocenter of the WGS84 Datum to the + (output) -> The vector from the geocenter of the WGS84 Datum to the geocenter of this Datum. """ ... @@ -28353,6 +29838,7 @@ class DgnGCS: """ ... + @staticmethod def GetDatumNames() -> MSPyBentley.WStringArray: """ Gets the available Datum Names. @@ -28368,7 +29854,7 @@ class DgnGCS: of this GCS :param rotation: - (output) The rotation angles. + (output) -> The rotation angles. """ ... @@ -28405,7 +29891,7 @@ class DgnGCS: Gets a name suitable for display in user interface. :param outputBuffer: - (output) Buffer to hold the projection name. + (output) -> Buffer to hold the projection name. :param bufferSize: (input) dimension of outputBuffer. @@ -28422,18 +29908,18 @@ class DgnGCS: setting. :param distance: - (output) The distance, in units of this GCS, from startPoint to + (output) -> The distance, in units of this GCS, from startPoint to endPoint. :param azimuth: - (output) The initial azimuth, in degrees clockwise from true north, + (output) -> The initial azimuth, in degrees clockwise from true north, needed to get from startPoint to endPoint. :param startPoint: - (input) The starting point. + (input) -> The starting point. :param endPoint: - (input) The end point. + (input) -> The end point. Remark: s If either distance or azimuth is not needed, pass NULL. @@ -28450,17 +29936,17 @@ class DgnGCS: setting. :param distance: - (output) The distance, in meters from startPoint to endPoint. + (output) -> The distance, in meters from startPoint to endPoint. :param azimuth: - (output) The initial azimuth, in degrees clockwise from true north, + (output) -> The initial azimuth, in degrees clockwise from true north, needed to get from startPoint to endPoint. :param startPoint: - (input) The starting point. + (input) -> The starting point. :param endPoint: - (input) The end point. + (input) -> The end point. Remark: s If either distance or azimuth is not needed, pass NULL. @@ -28593,6 +30079,7 @@ class DgnGCS: """ ... + @staticmethod def GetEllipsoidNames() -> MSPyBentley.WStringArray: """ Gets the available Ellipsoid Names. @@ -28646,6 +30133,7 @@ class DgnGCS: def GetErrorMessage(self: MSPyDgnPlatform.BaseGCS, errorMsg: MSPyBentley.WString) -> str: ... + @staticmethod def GetErrorMessageS(errorMsg: MSPyBentley.WString, errorCode: int) -> str: ... @@ -28684,7 +30172,7 @@ class DgnGCS: longitude/latitude. :param point: - (input) The point at which the grid scale is to be computed. + (input) -> The point at which the grid scale is to be computed. :returns: The grid scale at the position specified. @@ -28731,6 +30219,8 @@ class DgnGCS: coordinate system. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -28744,6 +30234,9 @@ class DgnGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The computed linear transformation. + - (tuple, 2): The maximum error observed over the extent. + - (tuple, 3): The mean error observed over the extent. :param outTransform: (output) the transform effective at the point elementOrigin in source @@ -28762,10 +30255,10 @@ class DgnGCS: (input) target coordinate system :param maxError: - (output) If provided receives the max error observed over the extent + (output) -> If provided receives the max error observed over the extent :param meanError: - (output) If provided receives the mean error observed over the extent + (output) -> If provided receives the mean error observed over the extent """ ... @@ -28776,6 +30269,8 @@ class DgnGCS: coordinate system. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -28789,6 +30284,9 @@ class DgnGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The computed linear transformation. + - (tuple, 2): The maximum error observed over the extent. + - (tuple, 3): The mean error observed over the extent. :param outTransform: (output) the transform effective at the point elementOrigin in source @@ -28804,10 +30302,10 @@ class DgnGCS: (input) target coordinate system :param maxError: - (output) If provided receives the max error observed over the extent + (output) -> If provided receives the max error observed over the extent :param meanError: - (output) If provided receives the mean error observed over the extent + (output) -> If provided receives the mean error observed over the extent Sarah.Keenan """ ... @@ -28819,10 +30317,10 @@ class DgnGCS: coordinates to those of the destination Base GCS. :param outTransform: - (output) The calculated Transform. + (output) -> The calculated Transform. :param extent: - (input) The extent in design coordinates (UORs) of this GCS to use to + (input) -> The extent in design coordinates (UORs) of this GCS to use to find the transform. This extent must of course be valid (not empty) but shall also define an extent no less than 0.01 of the linear units of the input GCS wide in all dimensions. If the input @@ -28831,10 +30329,10 @@ class DgnGCS: 0.01[Meter] for the elevation (z) ordinate. :param maxError: - (output) If provided receives the max error observed over the extent + (output) -> If provided receives the max error observed over the extent :param meanError: - (output) If provided receives the mean error observed over the extent + (output) -> If provided receives the mean error observed over the extent :returns: SUCCESS or a CS_MAP error code if elementOrigin could not be @@ -28849,6 +30347,8 @@ class DgnGCS: and ECEF. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -28862,6 +30362,9 @@ class DgnGCS: present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The computed linear transformation. + - (tuple, 2): The maximum error observed over the extent. + - (tuple, 3): The mean error observed over the extent. :param outTransform: (output) the transform effective at the point elementOrigin in source @@ -28877,14 +30380,15 @@ class DgnGCS: elevation (z) ordinate. :param maxError: - (output) If provided receives the max error observed over the extent + (output) -> If provided receives the max error observed over the extent :param meanError: - (output) If provided receives the mean error observed over the extent + (output) -> If provided receives the mean error observed over the extent Sarah.Keenan """ ... + @staticmethod def GetLinearUnitNames() -> MSPyBentley.WStringArray: """ Gets the available Linear Units. @@ -28894,6 +30398,7 @@ class DgnGCS: """ ... + @staticmethod def GetLocalTransform(*args, **kwargs): """ Overloaded function. @@ -28905,14 +30410,14 @@ class DgnGCS: coordinates to those of the destination GCS. :param outTransform: - (output) The calculated Transform. + (output) -> The calculated Transform. :param elementOrigin: - (input) The point, in design coordinates (UORs) of this GCS, at which + (input) -> The point, in design coordinates (UORs) of this GCS, at which the transform will be applied. :param extent: - (input) The extent, in design coordinates (UORs) of a bvector that + (input) -> The extent, in design coordinates (UORs) of a bvector that tells the span of the data to which the transform will be applied. If NULL, a reasonable guess is used. @@ -28923,7 +30428,7 @@ class DgnGCS: (input) true to allow scaling in the transform. :param destMstnGCS: - (output) The destination DgnGCS . + (output) -> The destination DgnGCS . :returns: SUCCESS or a CS_MAP error code if elementOrigin could not be @@ -28936,14 +30441,14 @@ class DgnGCS: coordinates to those of the destination GCS. :param outTransform: - (output) The calculated Transform. + (output) -> The calculated Transform. :param elementOrigin: - (input) The point, in design coordinates (UORs) of this GCS, at which + (input) -> The point, in design coordinates (UORs) of this GCS, at which the transform will be applied. :param extent: - (input) The extent, in design coordinates (UORs) of a bvector that + (input) -> The extent, in design coordinates (UORs) of a bvector that tells the span of the data to which the transform will be applied. If NULL, a reasonable guess is used. @@ -28954,7 +30459,7 @@ class DgnGCS: (input) true to allow scaling in the transform. :param destMstnGCS: - (output) The destination DgnGCS . + (output) -> The destination DgnGCS . :returns: SUCCESS or a CS_MAP error code if elementOrigin could not be @@ -28971,7 +30476,7 @@ class DgnGCS: """ ... - def GetMathematicalDomain(self: MSPyDgnPlatform.BaseGCS, shape: MSPyDgnPlatform.GeoPointVector) -> int: + def GetMathematicalDomain(self: MSPyDgnPlatform.BaseGCS, shape: MSPyBentleyGeom.GeoPointArray) -> int: """ Returns the mathematical domain of application for GCS. The domain will usually be much larger than the user domain yet caller must @@ -29246,7 +30751,7 @@ class DgnGCS: Coordinate System. :param outputBuffer: - (output) Buffer to hold the projection name. + (output) -> Buffer to hold the projection name. :param bufferSize: (input) dimension of outputBuffer. @@ -29286,7 +30791,7 @@ class DgnGCS: specified longitude/latitude. :param point: - (input) The point at which the grid scale is to be computed. + (input) -> The point at which the grid scale is to be computed. :returns: The grid scale along the meridian at the position specified. @@ -29310,7 +30815,7 @@ class DgnGCS: specified longitude/latitude. :param point: - (input) The point at which the grid scale is to be computed. + (input) -> The point at which the grid scale is to be computed. :returns: The grid scale along the parallel at the position specified. @@ -29393,6 +30898,7 @@ class DgnGCS: """ ... + @staticmethod def GetUnitNames() -> MSPyBentley.WStringArray: """ Gets all available Units, linear and degree-based. @@ -29444,13 +30950,15 @@ class DgnGCS: Gets the Well Known Text string from a coordinate system definition. :returns: - SUCCESS or a CS_MAP error code. + A tuple: + - (tuple, 0): The status of the operation (e.g., `SUCCESS` or a CS_MAP error code). + - (tuple, 1): The Well-Known Text string specifying the coordinate system. :param wellKnownText: Out The Well Known Text specifying the coordinate system. :param wktFlavor: - (input) The WKT Flavor desired. If not known, use wktFlavorUnknown + (input) -> The WKT Flavor desired. If not known, use wktFlavorUnknown :param originalIfPresent: (input) true indicates that if the BaseGCS originates from a WKT @@ -29461,12 +30969,12 @@ class DgnGCS: considered necessary. :param doNotInsertTOWGS84: - (input) If true indicates that the TOWGS84 clause should not be added. + (input) -> If true indicates that the TOWGS84 clause should not be added. default is false which indicates to add it if applicable to flavor and datum transformation. :param posVectorRotationSignConvention: - (input) If true indicates that the TOWGS84 rotation signal convention + (input) -> If true indicates that the TOWGS84 rotation signal convention should follow Position Vector (EPSG:9607) convention. The default is false to use the Coordinate Frame (EPSG:9606) convention. """ @@ -29487,7 +30995,7 @@ class DgnGCS: returns true if they have equivalent datum (including ellipsoid). :param compareTo: - (input) The BaseGCS to compare to. + (input) -> The BaseGCS to compare to. """ ... @@ -29515,33 +31023,33 @@ class DgnGCS: message when an error occurs. :param datumName: - (input) The name of the datum used in the GCS, such as " WGS84 ". + (input) -> The name of the datum used in the GCS, such as " WGS84 ". :param unitName: - (input) The name of the linear unit for the Cartesian coordinates, such + (input) -> The name of the linear unit for the Cartesian coordinates, such as " METER ". :param originLongitude: - (input) The longitude of the tangency point. + (input) -> The longitude of the tangency point. :param originLatitude: - (input) The latitude of the tangency point. + (input) -> The latitude of the tangency point. :param azimuthAngle: - (input) The angle, clockwise from true north in decimal degrees, of the + (input) -> The angle, clockwise from true north in decimal degrees, of the rotation to be applied. :param scale: - (input) This argument is ignored. The scale is always 1.0. + (input) -> This argument is ignored. The scale is always 1.0. :param falseEasting: - (input) The value to add to each Cartesian X value. + (input) -> The value to add to each Cartesian X value. :param falseNorthing: - (input) The value to add to each Cartesian Y value. + (input) -> The value to add to each Cartesian Y value. :param quadrant: - (input) Quadrant for the cartesian coordinate system. If north is up + (input) -> Quadrant for the cartesian coordinate system. If north is up and east is right, pass 1. """ ... @@ -29554,7 +31062,10 @@ class DgnGCS: and 4000 through 4199 for geographic (Lat/long) coordinate systems. :returns: - SUCCESS or a CS_MAP error code. + A tuple: + - (tuple, 0): The status of the operation (e.g., `SUCCESS` or a CS_MAP error code). + - (tuple, 1): A warning code, if applicable. + - (tuple, 2): A warning or error message, if applicable. :param warning: (output) if non-NULL, this might reveal a warning even if the return @@ -29565,7 +31076,7 @@ class DgnGCS: or error message. :param epsgCode: - (input) The EPSG code for the desired coordinate system. + (input) -> The EPSG code for the desired coordinate system. Remark: s Only those EPSG coordinate systems that are in our library will @@ -29586,10 +31097,11 @@ class DgnGCS: SUCCESS or a CS_MAP error code. :param autoXML: - (input) The XML specifying the coordinate system. + (input) -> The XML specifying the coordinate system. """ ... + @staticmethod def InitFromWellKnownText(*args, **kwargs): """ Overloaded function. @@ -29599,9 +31111,6 @@ class DgnGCS: Used in conjunction with the CreateGCS factory method to set the BaseGCS from a " well known text " string. - :returns: - SUCCESS or a CS_MAP error code. - :param warning: (output) if non-NULL, this might reveal a warning even if the return value is SUCCESS. @@ -29611,19 +31120,22 @@ class DgnGCS: or error message. :param wktFlavor: - (input) The WKT Flavor. If not known, use wktFlavorUnknown. + (input) -> The WKT Flavor. If not known, use wktFlavorUnknown. :param wellKnownText: - (input) The Well Known Text specifying the coordinate system. + (input) -> The Well Known Text specifying the coordinate system. + + :returns: + A tuple: + - (tuple, 0): The status of the operation (e.g., SUCCESS or an error code). + - (tuple, 1): A warning code, if applicable. + - (tuple, 2): A warning or error message, if applicable. 2. InitFromWellKnownText(self: MSPyDgnPlatform.BaseGCS, wellKnownText: str) -> tuple Used in conjunction with the CreateGCS factory method to set the BaseGCS from a " well known text " string. - :returns: - SUCCESS or a CS_MAP error code. - :param warning: (output) if non-NULL, this might reveal a warning even if the return value is SUCCESS. @@ -29633,13 +31145,20 @@ class DgnGCS: or error message. :param wktFlavor: - (input) The WKT Flavor. If not known, use wktFlavorUnknown. + (input) -> The WKT Flavor. If not known, use wktFlavorUnknown. :param wellKnownText: - (input) The Well Known Text specifying the coordinate system. + (input) -> The Well Known Text specifying the coordinate system. + + :returns: + A tuple: + - (tuple, 0): The status of the operation (e.g., SUCCESS or an error code). + - (tuple, 1): A warning code, if applicable. + - (tuple, 2): A warning or error message, if applicable. """ ... + @staticmethod def InitLatLong(*args, **kwargs): """ Overloaded function. @@ -29659,22 +31178,22 @@ class DgnGCS: message when an error occurs. :param datumName: - (input) The name of the datum used in the GCS, such as " WGS84 ". + (input) -> The name of the datum used in the GCS, such as " WGS84 ". :param ellipsoidName: - (input) The name of the ellipsoid used in the GCS, such as " WGS84 ". + (input) -> The name of the ellipsoid used in the GCS, such as " WGS84 ". This is used only if the datumName is NULL. :param unitName: - (input) The name of the linear unit for the Cartesian coordinates, such + (input) -> The name of the linear unit for the Cartesian coordinates, such as " METER ". :param originLongitude: - (input) Allows displacement of the longitude values if a different + (input) -> Allows displacement of the longitude values if a different origin is desired - usually 0.0. :param originLatitude: - (input) Allows displacement of the latitude values if a different + (input) -> Allows displacement of the latitude values if a different origin is desired - usually 0.0. 2. InitLatLong(self: MSPyDgnPlatform.BaseGCS, datumName: str, ellipsoidName: str, unitName: str, originLongitude: float, originLatitude: float) -> tuple @@ -29692,22 +31211,22 @@ class DgnGCS: message when an error occurs. :param datumName: - (input) The name of the datum used in the GCS, such as " WGS84 ". + (input) -> The name of the datum used in the GCS, such as " WGS84 ". :param ellipsoidName: - (input) The name of the ellipsoid used in the GCS, such as " WGS84 ". + (input) -> The name of the ellipsoid used in the GCS, such as " WGS84 ". This is used only if the datumName is NULL. :param unitName: - (input) The name of the linear unit for the Cartesian coordinates, such + (input) -> The name of the linear unit for the Cartesian coordinates, such as " METER ". :param originLongitude: - (input) Allows displacement of the longitude values if a different + (input) -> Allows displacement of the longitude values if a different origin is desired - usually 0.0. :param originLatitude: - (input) Allows displacement of the latitude values if a different + (input) -> Allows displacement of the latitude values if a different origin is desired - usually 0.0. """ ... @@ -29725,29 +31244,29 @@ class DgnGCS: message when an error occurs. :param datumName: - (input) The name of the datum used in the GCS, such as " WGS84 ". + (input) -> The name of the datum used in the GCS, such as " WGS84 ". :param unitName: - (input) The name of the linear unit for the Cartesian coordinates, such + (input) -> The name of the linear unit for the Cartesian coordinates, such as " METER ". :param originLongitude: - (input) The longitude of the tangency point. + (input) -> The longitude of the tangency point. :param originLatitude: - (input) The latitude of the tangency point. + (input) -> The latitude of the tangency point. :param scale: - (input) This scale reduction at the origin. + (input) -> This scale reduction at the origin. :param falseEasting: - (input) The value to add to each Cartesian X value. + (input) -> The value to add to each Cartesian X value. :param falseNorthing: - (input) The value to add to each Cartesian Y value. + (input) -> The value to add to each Cartesian Y value. :param quadrant: - (input) Quadrant for the cartesian coordinate system. If north is up + (input) -> Quadrant for the cartesian coordinate system. If north is up and east is right, pass 1. """ ... @@ -29760,7 +31279,7 @@ class DgnGCS: projection method, unit etc be identical. :param compareTo: - (input) The BaseGCS to compare to. + (input) -> The BaseGCS to compare to. """ ... @@ -29771,7 +31290,7 @@ class DgnGCS: modifiers. :param compareTo: - (input) The BaseGCS to compare to. + (input) -> The BaseGCS to compare to. """ ... @@ -29805,12 +31324,18 @@ class DgnGCS: """ ... - class Key: + class Key(MSPyDgnPlatform.AppDataKey): """ None """ - def __init__(self: MSPyDgnPlatform.DgnModelAppData.Key) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def LatLongFromCartesian(self: MSPyDgnPlatform.BaseGCS, outLatLong: MSPyBentleyGeom.GeoPoint, inCartesian: MSPyBentleyGeom.DPoint3d) -> MSPyBentleyGeom.ReprojectStatus: @@ -29819,11 +31344,11 @@ class DgnGCS: and z. :param outLatLong: - (output) The calculated longitude,latitude,elevation in the datum of + (output) -> The calculated longitude,latitude,elevation in the datum of this GCS. :param inCartesian: - (input) The input cartesian coordinates. + (input) -> The input cartesian coordinates. """ ... @@ -29833,11 +31358,11 @@ class DgnGCS: Elevation is unchanged. :param outLatLong: - (output) The calculated longitude and latitude in the datum of this + (output) -> The calculated longitude and latitude in the datum of this GCS. :param inCartesian: - (input) The input cartesian coordinates. + (input) -> The input cartesian coordinates. """ ... @@ -29847,14 +31372,14 @@ class DgnGCS: appropriate datum shift. :param outLatLong: - (output) The calculated longitude,latitude,elevation in the datum of + (output) -> The calculated longitude,latitude,elevation in the datum of targetGCS. :param inLatLong: - (input) The longitude,latitude,elevation in the datum of this GCS. + (input) -> The longitude,latitude,elevation in the datum of this GCS. :param targetGCS: - (input) The Coordinate System corresponding to outLatLong. + (input) -> The Coordinate System corresponding to outLatLong. """ ... @@ -29864,13 +31389,13 @@ class DgnGCS: appropriate datum shift. :param outLatLong: - (output) The calculated longitude,latitude in the datum of targetGCS. + (output) -> The calculated longitude,latitude in the datum of targetGCS. :param inLatLong: - (input) The longitude,latitude in the datum of this GCS. + (input) -> The longitude,latitude in the datum of this GCS. :param targetGCS: - (input) The Coordinate System corresponding to outLatLong. + (input) -> The Coordinate System corresponding to outLatLong. """ ... @@ -29880,11 +31405,11 @@ class DgnGCS: coordinates (UORS). :param outLatLong: - (output) The calculated longitude,latitude,elevation in the datum of + (output) -> The calculated longitude,latitude,elevation in the datum of this GCS. :param inUors: - (input) The input design coordinates. + (input) -> The input design coordinates. :returns: SUCCESS or a CS_MAP error code if any of the points could not be @@ -29897,10 +31422,10 @@ class DgnGCS: Calculates the longitude, latitude from 2d design coordinates (UORS). :param outLatLong: - (output) The calculated longitude,latitude in the datum of this GCS. + (output) -> The calculated longitude,latitude in the datum of this GCS. :param inUors: - (input) The input design coordinates. + (input) -> The input design coordinates. """ ... @@ -29910,11 +31435,11 @@ class DgnGCS: coordinates (UORS) interpreted as XYZ coordinates. :param outLatLong: - (output) The calculated longitude,latitude,elevation in the datum of + (output) -> The calculated longitude,latitude,elevation in the datum of this GCS. :param inUors: - (input) The input design coordinates. + (input) -> The input design coordinates. :returns: SUCCESS or a CS_MAP error code if any of the points could not be @@ -29951,10 +31476,10 @@ class DgnGCS: relative to the OSGB datum based on the Airy30 ellipsoid. :param outLatLong: - (output) The calculated longitude,latitude,elevation. + (output) -> The calculated longitude,latitude,elevation. :param inXYZ: - (input) The XYZ (ECEF) coordinates of this GCS. + (input) -> The XYZ (ECEF) coordinates of this GCS. """ ... @@ -30222,7 +31747,13 @@ class DgnGCS: epcvTransverseMercatorOstn15 """ - def __init__(self: MSPyDgnPlatform.BaseGCS.ProjectionCodeValue, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... epcvAlbersEqualArea: ProjectionCodeValue @@ -30402,12 +31933,13 @@ class DgnGCS: def Quadrant(arg0: MSPyDgnPlatform.BaseGCS, arg1: int) -> int: ... + @staticmethod def RadiansFromDegrees(inDegrees: float) -> float: """ Converts from Degrees to Radians :param inDegrees: - (input) Angular value in degrees. + (input) -> Angular value in degrees. :returns: Angular value in radians @@ -30425,7 +31957,13 @@ class DgnGCS: eRangeTestOutsideMathDomain """ - def __init__(self: MSPyDgnPlatform.BaseGCS.RangeTestResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRangeTestOk: RangeTestResult @@ -30449,7 +31987,7 @@ class DgnGCS: projected references, responding to GCS changes in modelRef. :param modelRef: - (input) The modelRef for which the GCS has changed. + (input) -> The modelRef for which the GCS has changed. """ ... @@ -30459,7 +31997,7 @@ class DgnGCS: Removes a coordinate system event handler. :param handler: - (input) The event handler. + (input) -> The event handler. """ ... @@ -30470,69 +32008,134 @@ class DgnGCS: def ReprojectElevation(arg0: MSPyDgnPlatform.BaseGCS, arg1: bool) -> bool: ... + @staticmethod def ReprojectUors(*args, **kwargs): """ Overloaded function. - 1. ReprojectUors(self: MSPyDgnPlatform.DgnGCS, inUors: MSPyBentleyGeom.DPoint3d, numPoints: int, destMstnGCS: MSPyDgnPlatform.DgnGCS) -> tuple + 1. ReprojectUors(self: MSPyDgnPlatform.DgnGCS, inUors: MSPyBentleyGeom.DPoint3dArray, destMstnGCS: MSPyDgnPlatform.DgnGCS) -> tuple + + Reprojects an array of points in the design coordinates (UORs) of this + model to the design coordinates (UORs) of the design file associated + with destMstnGCS. + + :param outUorsDest: + (output) -> An array dimensioned to numPoints to hold the calculated UORs. + + :param outLatLongDest: + (output) -> An optional array that will be filled with the geographic + coordinates in the datum of the destMstnGCS. If not NULL, the + array must be dimensioned to numPoints. + + :param outLatLongSrc: + (output) -> An optional array that will be filled with the geographic + coordinates in the datum of this GCS. If not NULL, the array must + be dimensioned to numPoints. + + :param inUors: + (input) -> An array holding the input points in design file coordinaates. + + :param numPoints: + (input) -> The number of points in inUors. + + :param destMstnGCS: + (output) -> The destination DgnGCS . + + :returns: + SUCCESS or a CS_MAP error code if any of the points could not be + reprojected. + + 2. ReprojectUors(self: MSPyDgnPlatform.DgnGCS, inUors: list, destMstnGCS: MSPyDgnPlatform.DgnGCS) -> tuple Reprojects an array of points in the design coordinates (UORs) of this model to the design coordinates (UORs) of the design file associated with destMstnGCS. :param outUorsDest: - (output) An array dimensioned to numPoints to hold the calculated UORs. + (output) -> An array dimensioned to numPoints to hold the calculated UORs. :param outLatLongDest: - (output) An optional array that will be filled with the geographic + (output) -> An optional array that will be filled with the geographic coordinates in the datum of the destMstnGCS. If not NULL, the array must be dimensioned to numPoints. :param outLatLongSrc: - (output) An optional array that will be filled with the geographic + (output) -> An optional array that will be filled with the geographic coordinates in the datum of this GCS. If not NULL, the array must be dimensioned to numPoints. :param inUors: - (input) An array holding the input points in design file coordinaates. + (input) -> An array holding the input points in design file coordinaates. :param numPoints: - (input) The number of points in inUors. + (input) -> The number of points in inUors. :param destMstnGCS: - (output) The destination DgnGCS . + (output) -> The destination DgnGCS . :returns: SUCCESS or a CS_MAP error code if any of the points could not be reprojected. - 2. ReprojectUors(self: MSPyDgnPlatform.DgnGCS, inUors: MSPyBentleyGeom.DPoint3d, numPoints: int, interpretation: MSPyDgnPlatform.GeoCoordInterpretation, destMstnGCS: MSPyDgnPlatform.DgnGCS) -> tuple + 3. ReprojectUors(self: MSPyDgnPlatform.DgnGCS, inUors: MSPyBentleyGeom.DPoint3dArray, interpretation: MSPyDgnPlatform.GeoCoordInterpretation, destMstnGCS: MSPyDgnPlatform.DgnGCS) -> tuple Reprojects an array of points in the design coordinates (UORs) of this model to the design coordinates (UORs) of the design file associated with destMstnGCS. :param outUorsDest: - (output) An array dimensioned to numPoints to hold the calculated UORs. + (output) -> An array dimensioned to numPoints to hold the calculated UORs. :param outLatLongDest: - (output) An optional array that will be filled with the geographic + (output) -> An optional array that will be filled with the geographic coordinates in the datum of the destMstnGCS. If not NULL, the array must be dimensioned to numPoints. :param outLatLongSrc: - (output) An optional array that will be filled with the geographic + (output) -> An optional array that will be filled with the geographic coordinates in the datum of this GCS. If not NULL, the array must be dimensioned to numPoints. :param inUors: - (input) An array holding the input points in design file coordinaates. + (input) -> An array holding the input points in design file coordinaates. :param numPoints: - (input) The number of points in inUors. + (input) -> The number of points in inUors. :param destMstnGCS: - (output) The destination DgnGCS . + (output) -> The destination DgnGCS . + + :returns: + SUCCESS or a CS_MAP error code if any of the points could not be + reprojected. + + 4. ReprojectUors(self: MSPyDgnPlatform.DgnGCS, inUors: list, interpretation: MSPyDgnPlatform.GeoCoordInterpretation, destMstnGCS: MSPyDgnPlatform.DgnGCS) -> tuple + + Reprojects an array of points in the design coordinates (UORs) of this + model to the design coordinates (UORs) of the design file associated + with destMstnGCS. + + :param outUorsDest: + (output) -> An array dimensioned to numPoints to hold the calculated UORs. + + :param outLatLongDest: + (output) -> An optional array that will be filled with the geographic + coordinates in the datum of the destMstnGCS. If not NULL, the + array must be dimensioned to numPoints. + + :param outLatLongSrc: + (output) -> An optional array that will be filled with the geographic + coordinates in the datum of this GCS. If not NULL, the array must + be dimensioned to numPoints. + + :param inUors: + (input) -> An array holding the input points in design file coordinaates. + + :param numPoints: + (input) -> The number of points in inUors. + + :param destMstnGCS: + (output) -> The destination DgnGCS . :returns: SUCCESS or a CS_MAP error code if any of the points could not be @@ -30540,33 +32143,70 @@ class DgnGCS: """ ... - def ReprojectUors2D(self: MSPyDgnPlatform.DgnGCS, inUors: MSPyBentleyGeom.DPoint2d, numPoints: int, destMstnGCS: MSPyDgnPlatform.DgnGCS) -> tuple: + @staticmethod + def ReprojectUors2D(*args, **kwargs): """ + Overloaded function. + + 1. ReprojectUors2D(self: MSPyDgnPlatform.DgnGCS, inUors: MSPyBentleyGeom.DPoint2dArray, destMstnGCS: MSPyDgnPlatform.DgnGCS) -> tuple + Reprojects an array of 2d points in the design coordinates (UORs) of this model to the 2d design coordinates (UORs) of the design file associated with destMstnGCS. :param outUorsDest: - (output) An array dimensioned to numPoints to hold the calculated UORs. + (output) -> An array dimensioned to numPoints to hold the calculated UORs. :param outLatLongDest: - (output) An optional array that will be filled with the geographic + (output) -> An optional array that will be filled with the geographic coordinates in the datum of the destMstnGCS. If not NULL, the array must be dimensioned to numPoints. :param outLatLongSrc: - (output) An optional array that will be filled with the geographic + (output) -> An optional array that will be filled with the geographic coordinates in the datum of this GCS. If not NULL, the array must be dimensioned to numPoints. :param inUors: - (input) An array holding the input points in design file coordinaates. + (input) -> An array holding the input points in design file coordinaates. :param numPoints: - (input) The number of points in inUors. + (input) -> The number of points in inUors. :param destMstnGCS: - (output) The destination DgnGCS . + (output) -> The destination DgnGCS . + + :returns: + SUCCESS or a CS_MAP error code if any of the points could not be + reprojected. + + 2. ReprojectUors2D(self: MSPyDgnPlatform.DgnGCS, inUors: list, destMstnGCS: MSPyDgnPlatform.DgnGCS) -> tuple + + Reprojects an array of 2d points in the design coordinates (UORs) of + this model to the 2d design coordinates (UORs) of the design file + associated with destMstnGCS. + + :param outUorsDest: + (output) -> An array dimensioned to numPoints to hold the calculated UORs. + + :param outLatLongDest: + (output) -> An optional array that will be filled with the geographic + coordinates in the datum of the destMstnGCS. If not NULL, the + array must be dimensioned to numPoints. + + :param outLatLongSrc: + (output) -> An optional array that will be filled with the geographic + coordinates in the datum of this GCS. If not NULL, the array must + be dimensioned to numPoints. + + :param inUors: + (input) -> An array holding the input points in design file coordinaates. + + :param numPoints: + (input) -> The number of points in inUors. + + :param destMstnGCS: + (output) -> The destination DgnGCS . :returns: SUCCESS or a CS_MAP error code if any of the points could not be @@ -30651,25 +32291,25 @@ class DgnGCS: shearing, set A1 and B2 equal to 1.0 and A2 and B1 equal to 0.0. :param A0: - (input) The X translation of the affine transformation + (input) -> The X translation of the affine transformation :param A1: - (input) The A1 parameter of the rotation/scale/shearing portion of the + (input) -> The A1 parameter of the rotation/scale/shearing portion of the affine. :param A2: - (input) The A2 parameter of the rotation/scale/shearing portion of the + (input) -> The A2 parameter of the rotation/scale/shearing portion of the affine. :param B0: - (input) The Y translation of the affine transformation + (input) -> The Y translation of the affine transformation :param B1: - (input) The B1 parameter of the rotation/scale/shearing portion of the + (input) -> The B1 parameter of the rotation/scale/shearing portion of the affine. :param B2: - (input) The B2 parameter of the rotation/scale/shearing portion of the + (input) -> The B2 parameter of the rotation/scale/shearing portion of the affine. :returns: @@ -30812,7 +32452,7 @@ class DgnGCS: Sets a coordinate system event handler. :param handler: - (input) The event handler. + (input) -> The event handler. """ ... @@ -30925,10 +32565,10 @@ class DgnGCS: not recommended. The default and recommended value is 1.0. :param paperScale: - (input) The new Paper Scale value. + (input) -> The new Paper Scale value. :param modelRef: - (input) The model that this GCS came from. + (input) -> The model that this GCS came from. """ ... @@ -31049,7 +32689,7 @@ class DgnGCS: Sets the EPSG code in the coordinate system definition. :param value: - (input) The new EPSG code. Can be 0 to 32768 + (input) -> The new EPSG code. Can be 0 to 32768 :returns: SUCCESS is successful @@ -31142,7 +32782,7 @@ class DgnGCS: transform cannot be stored. :param modelRef: - (input) The model to write the GCS to. + (input) -> The model to write the GCS to. :param primaryCoordSys: (input) true to write as the primary coordinate system, false to write @@ -31194,7 +32834,7 @@ class DgnGCS: the units specified by the GCS. :param outUors: - (output) The calculated design coordinates. + (output) -> The calculated design coordinates. :param inCartesian: INOUT The cartesian coordinates in the units specified in the GCS. @@ -31207,7 +32847,7 @@ class DgnGCS: the units specified by the GCS. :param outUors: - (output) The calculated design coordinates. + (output) -> The calculated design coordinates. :param inCartesian: INOUT The cartesian coordinates in the units specified in the GCS. @@ -31220,10 +32860,10 @@ class DgnGCS: Longitude/Latitude/Elevation point. :param outUors: - (output) The calculated design coordinates. + (output) -> The calculated design coordinates. :param inLatLong: - (input) The longitude,latitude,elevation in the datum of this GCS. + (input) -> The longitude,latitude,elevation in the datum of this GCS. :returns: SUCCESS or a CS_MAP error code if any of the points could not be @@ -31237,10 +32877,10 @@ class DgnGCS: Longitude/Latitude point. :param outUors: - (output) The calculated design coordinates. + (output) -> The calculated design coordinates. :param inLatLong: - (input) The longitude,latitude in the datum of this GCS. + (input) -> The longitude,latitude in the datum of this GCS. """ ... @@ -31294,7 +32934,13 @@ class DgnGCS: ewktFlavorLclAlt """ - def __init__(self: MSPyDgnPlatform.BaseGCS.WktFlavor, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ewktFlavorAppAlt: WktFlavor @@ -31357,19 +33003,22 @@ class DgnGCS: relative to the OSGB datum based on the Airy30 ellipsoid. :param outXYZ: - (output) The calculated XYZ (ECEF) coordinates. + (output) -> The calculated XYZ (ECEF) coordinates. :param inLatLong: - (input) The latitude, longitude and elevation to convert. + (input) -> The latitude, longitude and elevation to convert. """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eRangeTestOk: RangeTestResult eRangeTestOutsideMathDomain: RangeTestResult @@ -31560,7 +33209,7 @@ class DgnGCS: ewktFlavorUnknown: WktFlavor -class DgnGenericLink: +class DgnGenericLink(MSPyDgnPlatform.DgnLink): """ None """ @@ -31615,7 +33264,7 @@ class DgnGenericLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -31704,12 +33353,15 @@ class DgnGenericLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnGlyph: """ None @@ -31721,12 +33373,15 @@ class DgnGlyph: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnHandlersStatus: """ Members: @@ -31754,7 +33409,13 @@ class DgnHandlersStatus: eDGNHANDLERS_STATUS_NotCmplxHdr """ - def __init__(self: MSPyDgnPlatform.DgnHandlersStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNHANDLERS_STATUS_AlreadyExists: DgnHandlersStatus @@ -31875,7 +33536,13 @@ class DgnHistory: """ ... - def __init__(self: MSPyDgnPlatform.DgnHistory) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnHost: @@ -31918,7 +33585,7 @@ class DgnHost: def GetHostVariable(self: MSPyDgnPlatform.DgnHost, key: MSPyDgnPlatform.DgnHost.Key) -> int: ... - class HostObjectBase: + class HostObjectBase(MSPyDgnPlatform.IHostobject): """ None """ @@ -31926,12 +33593,15 @@ class DgnHost: def OnHostTermination(self: MSPyDgnPlatform.DgnHost.IHostobject, isProgramExit: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IHostobject: """ None @@ -31940,7 +33610,13 @@ class DgnHost: def OnHostTermination(self: MSPyDgnPlatform.DgnHost.IHostobject, isProgramExit: bool) -> None: ... - def __init__(self: MSPyDgnPlatform.DgnHost.IHostobject) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class Key: @@ -31948,7 +33624,13 @@ class DgnHost: None """ - def __init__(self: MSPyDgnPlatform.DgnHost.Key) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def SetHostBoolVariable(self: MSPyDgnPlatform.DgnHost, key: MSPyDgnPlatform.DgnHost.Key, val: bool) -> None: @@ -31982,13 +33664,16 @@ class DgnHost: def SetHostVariable(self: MSPyDgnPlatform.DgnHost, key: MSPyDgnPlatform.DgnHost.Key, value: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DgnHostWString: + def __init__(self, *args, **kwargs): + ... + +class DgnHostWString(MSPyDgnPlatform.IHostobject): """ None """ @@ -32003,6 +33688,13 @@ class DgnHostWString: def WString(arg0: MSPyDgnPlatform.DgnHostWString) -> MSPyBentley.WString: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -32030,17 +33722,30 @@ class DgnInstanceChangeRecord: def GetDeletedInstanceId(self: MSPyDgnPlatform.DgnInstanceChangeRecord) -> str: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnInstanceChangeRecords: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -32076,7 +33781,13 @@ class DgnLineSpacingType: eAtLeast """ - def __init__(self: MSPyDgnPlatform.DgnLineSpacingType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAtLeast: DgnLineSpacingType @@ -32141,7 +33852,7 @@ class DgnLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -32208,12 +33919,15 @@ class DgnLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkActionProgress: """ Members: @@ -32225,7 +33939,13 @@ class DgnLinkActionProgress: eDGNLINK_PROGRESS_PostChange """ - def __init__(self: MSPyDgnPlatform.DgnLinkActionProgress, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNLINK_PROGRESS_Invalid: DgnLinkActionProgress @@ -32255,7 +33975,13 @@ class DgnLinkActionType: eDGNLINK_ACTION_Redo """ - def __init__(self: MSPyDgnPlatform.DgnLinkActionType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNLINK_ACTION_Action: DgnLinkActionType @@ -32285,7 +34011,13 @@ class DgnLinkActiveLinkTreeChangeType: eDGNLINK_ACTIVELINKTREECHANGE_PROJECT_PostActive """ - def __init__(self: MSPyDgnPlatform.DgnLinkActiveLinkTreeChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNLINK_ACTIVELINKTREECHANGE_Invalid: DgnLinkActiveLinkTreeChangeType @@ -32313,7 +34045,13 @@ class DgnLinkAddChildStatus: eDuplicateChild """ - def __init__(self: MSPyDgnPlatform.DgnLinkAddChildStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDuplicateChild: DgnLinkAddChildStatus @@ -32344,12 +34082,15 @@ class DgnLinkBookmarkProvider: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkChangeType: """ Members: @@ -32363,7 +34104,13 @@ class DgnLinkChangeType: eDGNLINK_CHANGE_Modify """ - def __init__(self: MSPyDgnPlatform.DgnLinkChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNLINK_CHANGE_Add: DgnLinkChangeType @@ -32382,7 +34129,7 @@ class DgnLinkChangeType: def value(arg0: MSPyDgnPlatform.DgnLinkChangeType) -> int: ... -class DgnLinkComposition: +class DgnLinkComposition(MSPyDgnPlatform.DgnLink): """ None """ @@ -32428,7 +34175,7 @@ class DgnLinkComposition: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -32495,12 +34242,15 @@ class DgnLinkComposition: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkECInstanceAdapter: """ None @@ -32525,12 +34275,15 @@ class DgnLinkECInstanceAdapter: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkFollowLog: """ None @@ -32578,7 +34331,13 @@ class DgnLinkFollowLog: """ ... - def __init__(self: MSPyDgnPlatform.DgnLinkFollowLog) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnLinkFollowState: @@ -32592,7 +34351,13 @@ class DgnLinkFollowState: eDGNLINK_FOLLOWSTATE_PostFollow """ - def __init__(self: MSPyDgnPlatform.DgnLinkFollowState, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNLINK_FOLLOWSTATE_Invalid: DgnLinkFollowState @@ -32609,7 +34374,7 @@ class DgnLinkFollowState: def value(arg0: MSPyDgnPlatform.DgnLinkFollowState) -> int: ... -class DgnLinkHandler: +class DgnLinkHandler(MSPyDgnPlatform.DgnLinkSchemaProvider): """ None """ @@ -32653,12 +34418,15 @@ class DgnLinkHandler: def GetSchema(self: MSPyDgnPlatform.DgnLinkSchemaProvider, dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyECObjects.ECSchema: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkLeafPropertyID: """ Members: @@ -32666,7 +34434,13 @@ class DgnLinkLeafPropertyID: eDGNLINK_LeafPropertyID_SynchProblems """ - def __init__(self: MSPyDgnPlatform.DgnLinkLeafPropertyID, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNLINK_LeafPropertyID_SynchProblems: DgnLinkLeafPropertyID @@ -32753,10 +34527,10 @@ class DgnLinkManager: by which it will create a link set Returns (Tuple, 0): - the link tree branch where this link is attached + status. Returns (Tuple, 1): - status. + the link tree branch where this link is attached """ ... @@ -32769,7 +34543,9 @@ class DgnLinkManager: by which it will create a link set :returns: - the link tree branch where this linkset is attached + A tuple: + - (tuple, 0) : status + - (tuple, 1) : the link tree branch where this linkset is attached """ ... @@ -33147,12 +34923,15 @@ class DgnLinkManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkSchemaProvider: """ None @@ -33173,12 +34952,15 @@ class DgnLinkSchemaProvider: def GetSchema(self: MSPyDgnPlatform.DgnLinkSchemaProvider, dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyECObjects.ECSchema: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkSet: """ None @@ -33200,13 +34982,16 @@ class DgnLinkSet: def TreeNode(arg0: MSPyDgnPlatform.DgnLinkSet) -> MSPyDgnPlatform.DgnLinkTreeBranch: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DgnLinkSetHandler: + def __init__(self, *args, **kwargs): + ... + +class DgnLinkSetHandler(MSPyDgnPlatform.DgnLinkSchemaProvider): """ None """ @@ -33263,13 +35048,16 @@ class DgnLinkSetHandler: def GetSchema(self: MSPyDgnPlatform.DgnLinkSchemaProvider, dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyECObjects.ECSchema: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DgnLinkSetLink: + def __init__(self, *args, **kwargs): + ... + +class DgnLinkSetLink(MSPyDgnPlatform.DgnLinkComposition): """ None """ @@ -33349,7 +35137,7 @@ class DgnLinkSetLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -33476,13 +35264,16 @@ class DgnLinkSetLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DgnLinkStringUserData: + def __init__(self, *args, **kwargs): + ... + +class DgnLinkStringUserData(MSPyDgnPlatform.DgnLinkUserData): """ None """ @@ -33552,7 +35343,13 @@ class DgnLinkStringUserData: def SubID(arg0: MSPyDgnPlatform.DgnLinkUserData) -> int: ... - def __init__(self: MSPyDgnPlatform.DgnLinkStringUserData, subID: int, value: str) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnLinkTargetSpec: @@ -33621,7 +35418,13 @@ class DgnLinkTargetSpec: def TypeString(arg0: MSPyDgnPlatform.DgnLinkTargetSpec) -> str: ... - def __init__(self: MSPyDgnPlatform.DgnLinkTargetSpec, ancestryKey: str, targetType: str, targetName: str, targetLocation: str) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnLinkTree: @@ -33739,10 +35542,16 @@ class DgnLinkTree: def TreeSpec(arg0: MSPyDgnPlatform.DgnLinkTree) -> MSPyDgnPlatform.DgnLinkTreeSpec: ... - def __init__(self: MSPyDgnPlatform.DgnLinkTree, root: MSPyDgnPlatform.DgnLinkTreeBranch, ownerMoniker: MSPyDgnPlatform.DgnDocumentMoniker, provider: MSPyDgnPlatform.DgnLinkTreeLeaf) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class DgnLinkTreeBranch: +class DgnLinkTreeBranch(MSPyDgnPlatform.DgnLinkTreeNode): """ None """ @@ -33795,6 +35604,7 @@ class DgnLinkTreeBranch: """ ... + @staticmethod def FindChildIndex(*args, **kwargs): """ Overloaded function. @@ -33956,12 +35766,15 @@ class DgnLinkTreeBranch: def UserDataList(arg0: MSPyDgnPlatform.DgnLinkTreeNode) -> MSPyDgnPlatform.DgnLinkUserDataList: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkTreeKey: """ Members: @@ -33977,7 +35790,13 @@ class DgnLinkTreeKey: eSheetIndex """ - def __init__(self: MSPyDgnPlatform.DgnLinkTreeKey, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAnnotation: DgnLinkTreeKey @@ -33998,7 +35817,7 @@ class DgnLinkTreeKey: def value(arg0: MSPyDgnPlatform.DgnLinkTreeKey) -> int: ... -class DgnLinkTreeLeaf: +class DgnLinkTreeLeaf(MSPyDgnPlatform.DgnLinkTreeNode): """ None """ @@ -34177,12 +35996,15 @@ class DgnLinkTreeLeaf: def ValidFlags(arg0: MSPyDgnPlatform.DgnLinkTreeLeaf, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkTreeNode: """ None @@ -34321,12 +36143,15 @@ class DgnLinkTreeNode: def UserDataList(arg0: MSPyDgnPlatform.DgnLinkTreeNode) -> MSPyDgnPlatform.DgnLinkUserDataList: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkTreePropertyID: """ Members: @@ -34334,7 +36159,13 @@ class DgnLinkTreePropertyID: eDGNLINK_TreePropertyID_Dummy """ - def __init__(self: MSPyDgnPlatform.DgnLinkTreePropertyID, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNLINK_TreePropertyID_Dummy: DgnLinkTreePropertyID @@ -34422,17 +36253,30 @@ class DgnLinkTreeSpec: def TypeKey(arg0: MSPyDgnPlatform.DgnLinkTreeSpec) -> MSPyDgnPlatform.DgnLinkTreeKey: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkTreeSpecPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -34465,6 +36309,7 @@ class DgnLinkTreeSpecPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -34485,6 +36330,7 @@ class DgnLinkTreeSpecPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -34550,18 +36396,30 @@ class DgnLinkUserData: def SubID(arg0: MSPyDgnPlatform.DgnLinkUserData) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnLinkUserDataList: """ None """ - def __init__(self: MSPyDgnPlatform.DgnLinkUserDataList, list: MSPyDgnPlatform.DgnLinkUserDataList) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnLinkValidationCenter: @@ -34646,7 +36504,13 @@ class DgnLinkValidationCenter: def UpdateInvalidationFlag(arg0: MSPyDgnPlatform.DgnLinkValidationCenter) -> bool: ... - def __init__(self: MSPyDgnPlatform.DgnLinkValidationCenter, doValidation: bool, updateValidation: bool, recuse: bool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnMaterial: @@ -34762,6 +36626,13 @@ class DgnMaterial: def Settings(arg0: MSPyDgnPlatform.DgnMaterial) -> MSPyDgnPlatform.MaterialSettings: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -34772,7 +36643,7 @@ class DgnMaterial: """ ... -class DgnModel: +class DgnModel(MSPyDgnPlatform.DgnModelRef): """ None """ @@ -34999,7 +36870,7 @@ class DgnModel: this DgnModel. :returns: - a const reference to the FileLevelCache of the DgnFile associated + a reference to the FileLevelCache of the DgnFile associated with this DgnModel. @note Since a DgnModel always has an open DgnFile (in contrast to a DgnModelRef, which can be a DgnAttachment for which the DgnFile is not resolved or not @@ -35067,6 +36938,7 @@ class DgnModel: def GetParentModelRef(self: MSPyDgnPlatform.DgnModelRef) -> MSPyDgnPlatform.DgnModelRef: ... + @staticmethod def GetRange(*args, **kwargs): """ Overloaded function. @@ -35076,7 +36948,7 @@ class DgnModel: Get the spatial extent of all elements in this model. :param range: - Filled with the union of all of the ranges of the elements in + Filled with the of all of the ranges of the elements in model. 2. GetRange(self: MSPyDgnPlatform.DgnModel, range: MSPyBentleyGeom.DRange3d) -> int @@ -35084,7 +36956,7 @@ class DgnModel: Get the spatial extent of all elements in this model. :param range: - Filled with the union of all of the ranges of the elements in + Filled with the of all of the ranges of the elements in model. """ ... @@ -35283,29 +37155,61 @@ class DgnModel: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnModelAppData: """ None """ - class Key: + class Key(MSPyDgnPlatform.AppDataKey): """ None """ - def __init__(self: MSPyDgnPlatform.DgnModelAppData.Key) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... - def __init__(self: MSPyDgnPlatform.DgnModelAppData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + +class DgnModelFillContext: + """ + None + """ + + def GetFillDgnAttachment(self: MSPyDgnPlatform.DgnModelFillContext) -> MSPyDgnPlatform.DgnAttachment: + ... + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class DgnModelHandlerId: +class DgnModelHandlerId(MSPyDgnPlatform.HandlerId): """ None """ @@ -35346,10 +37250,16 @@ class DgnModelHandlerId: def MinorId(arg0: MSPyDgnPlatform.HandlerId) -> int: ... - def __init__(self: MSPyDgnPlatform.DgnModelHandlerId, major: int, minor: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class DgnModelLink: +class DgnModelLink(MSPyDgnPlatform.DgnLinkComposition): """ None """ @@ -35417,7 +37327,7 @@ class DgnModelLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -35528,17 +37438,30 @@ class DgnModelLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnModelPArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -35795,23 +37718,32 @@ class DgnModelRef: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DgnModelRefList: + def __init__(self, *args, **kwargs): + ... + +class DgnModelRefList(MSPyDgnPlatform.DgnModelRefPArray): """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def clear(self: MSPyDgnPlatform.DgnModelRefPArray) -> None: ... @@ -35829,6 +37761,16 @@ class DgnModelRefPArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -35866,7 +37808,13 @@ class DgnModelRefType: eTransient """ - def __init__(self: MSPyDgnPlatform.DgnModelRefType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNonModel: DgnModelRefType @@ -35904,7 +37852,13 @@ class DgnModelSections: eAll """ - def __init__(self: MSPyDgnPlatform.DgnModelSections, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: DgnModelSections @@ -36008,7 +37962,13 @@ class DgnModelStatus: eDGNMODEL_STATUS_ElementListNotFilled """ - def __init__(self: MSPyDgnPlatform.DgnModelStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNMODEL_STATUS_2d3dMismatch: DgnModelStatus @@ -36110,7 +38070,13 @@ class DgnModelType: eDgnComponentDefinition """ - def __init__(self: MSPyDgnPlatform.DgnModelType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDgnComponentDefinition: DgnModelType @@ -36178,23 +38144,29 @@ class DgnOleFlags: def ViewRotationMode(arg0: MSPyDgnPlatform.DgnOleFlags, arg1: MSPyDgnPlatform.DgnOleViewRotationMode) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnOleInfo: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def defaultSize(self: MSPyDgnPlatform.DgnOleInfo) -> MSPyDgnPlatform.HiMetricSizeLong: ... @@ -36241,7 +38213,13 @@ class DgnOlePasteMethod: eDGNOLE_PASTEMETHOD_ByObjectMinTextSize """ - def __init__(self: MSPyDgnPlatform.DgnOlePasteMethod, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNOLE_PASTEMETHOD_ByCornerPoints: DgnOlePasteMethod @@ -36289,7 +38267,13 @@ class DgnOleStatus: eDGNOLE_ERROR_NoObjectInLink """ - def __init__(self: MSPyDgnPlatform.DgnOleStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNOLE_ERROR_AlreadyActive: DgnOleStatus @@ -36337,7 +38321,13 @@ class DgnOleStorageType: eDGNOLE_STORAGE_Static """ - def __init__(self: MSPyDgnPlatform.DgnOleStorageType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNOLE_STORAGE_Embedded: DgnOleStorageType @@ -36365,7 +38355,13 @@ class DgnOleViewRotationMode: eDGNOLE_ViewRotation_AutoCAD """ - def __init__(self: MSPyDgnPlatform.DgnOleViewRotationMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNOLE_ViewRotation_AutoCAD: DgnOleViewRotationMode @@ -36408,7 +38404,13 @@ class DgnPlatformStatus: eDGNPLATFORM_STATUS_ViewNotFound """ - def __init__(self: MSPyDgnPlatform.DgnPlatformStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNPLATFORM_STATUS_BadArg: DgnPlatformStatus @@ -36482,7 +38484,13 @@ class DgnPlatformToolsStatus: eDGNPLATFORMTOOLS_STATUS_InvalidDependency """ - def __init__(self: MSPyDgnPlatform.DgnPlatformToolsStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNPLATFORMTOOLS_STATUS_AddressNotValid: DgnPlatformToolsStatus @@ -36730,7 +38738,7 @@ class DgnRaster: def GetTransparencyState(self: MSPyDgnPlatform.DgnRaster) -> bool: ... - def GetTransparentColors(self: MSPyDgnPlatform.DgnRaster, transparentColors: List[MSPyDgnPlatform.Raster.TransparentColorRgb]) -> List[MSPyDgnPlatform.Raster.TransparentColorRgb]: + def GetTransparentColors(self: MSPyDgnPlatform.DgnRaster, transparentColors: list[MSPyDgnPlatform.Raster.TransparentColorRgb]) -> list[MSPyDgnPlatform.Raster.TransparentColorRgb]: ... def GetViewGamma(self: MSPyDgnPlatform.DgnRaster) -> float: @@ -36899,7 +38907,7 @@ class DgnRaster: def SetTransparencyState(self: MSPyDgnPlatform.DgnRaster, state: bool) -> None: ... - def SetTransparentColors(self: MSPyDgnPlatform.DgnRaster, transparentColors: List[MSPyDgnPlatform.Raster.TransparentColorRgb]) -> None: + def SetTransparentColors(self: MSPyDgnPlatform.DgnRaster, transparentColors: list[MSPyDgnPlatform.Raster.TransparentColorRgb]) -> None: ... def SetViewGamma(self: MSPyDgnPlatform.DgnRaster, gamma: float) -> None: @@ -36953,17 +38961,23 @@ class DgnRaster: def ViewIndependentState(arg0: MSPyDgnPlatform.DgnRaster, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnRasterCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... class DgnRasterCollectionIterator: """ None @@ -36978,12 +38992,15 @@ class DgnRasterCollection: def MoveToNext(self: MSPyDgnPlatform.DgnRasterCollection.DgnRasterCollectionIterator) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def Find(self: MSPyDgnPlatform.DgnRasterCollection, elmRefP: MSPyDgnPlatform.ElementRefBase) -> MSPyDgnPlatform.DgnRaster: ... @@ -37016,12 +39033,15 @@ class DgnRasterCollection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnRasterOpenParams: """ None @@ -37074,17 +39094,30 @@ class DgnRasterOpenParams: def SetOpenReadOnly(self: MSPyDgnPlatform.DgnRasterOpenParams, arg0: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnRasterVector: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -37117,6 +39150,7 @@ class DgnRasterVector: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -37137,6 +39171,7 @@ class DgnRasterVector: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -37157,7 +39192,7 @@ class DgnRasterVector: """ ... -class DgnRegionLink: +class DgnRegionLink(MSPyDgnPlatform.DgnLinkComposition): """ None """ @@ -37213,7 +39248,7 @@ class DgnRegionLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -37354,12 +39389,15 @@ class DgnRegionLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnRelationChangeRecord: """ None @@ -37377,17 +39415,30 @@ class DgnRelationChangeRecord: def GetClassOfChange(self: MSPyDgnPlatform.DgnRelationChangeRecord) -> MSPyECObjects.ECClass: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnRelationChangeRecords: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -37439,7 +39490,13 @@ class DgnSaveReason: ePreCompress """ - def __init__(self: MSPyDgnPlatform.DgnSaveReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eApplInitiated: DgnSaveReason @@ -37474,7 +39531,7 @@ class DgnSaveReason: def value(arg0: MSPyDgnPlatform.DgnSaveReason) -> int: ... -class DgnStoreHdrHandler: +class DgnStoreHdrHandler(MSPyDgnPlatform.Handler): """ None """ @@ -37507,12 +39564,15 @@ class DgnStoreHdrHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @staticmethod def Extract(dgnStoreId: int, applicationId: int, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... @@ -37531,10 +39591,7 @@ class DgnStoreHdrHandler: ... @staticmethod - def GetDgnStoreIds(*args, **kwargs): - """ - GetDgnStoreIds(in: MSPyDgnPlatform.ElementHandle) -> tuple - """ + def GetDgnStoreIds(in_: MSPyDgnPlatform.ElementHandle) -> tuple: ... def GetDisplayHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.DisplayHandler: @@ -37556,10 +39613,7 @@ class DgnStoreHdrHandler: Instance: DgnStoreHdrHandler @staticmethod - def IsDgnStoreElement(*args, **kwargs): - """ - IsDgnStoreElement(in: MSPyDgnPlatform.ElementHandle, dgnStoreId: int = 0, applicationId: int = 0) -> bool - """ + def IsDgnStoreElement(in_: MSPyDgnPlatform.ElementHandle, dgnStoreId: int = 0, applicationId: int = 0) -> bool: ... def QueryProperties(self: MSPyDgnPlatform.Handler, eh: MSPyDgnPlatform.ElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: @@ -37569,18 +39623,27 @@ class DgnStoreHdrHandler: def RemoveFromCell(CellEeh: MSPyDgnPlatform.EditElementHandle, dgnStoreId: int, applicationId: int) -> MSPyDgnPlatform.BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnTagDefinition: """ None """ - def __init__(self: MSPyDgnPlatform.DgnTagDefinition) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -37630,6 +39693,16 @@ class DgnTagDefinitionArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -37656,6 +39729,7 @@ class DgnTagDefinitionArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -37676,6 +39750,7 @@ class DgnTagDefinitionArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -37716,12 +39791,15 @@ class DgnTagSetSpec: def TagSetName(arg0: MSPyDgnPlatform.DgnTagSetSpec, arg1: str) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def ownerId(self: MSPyDgnPlatform.DgnTagSetSpec) -> int: ... @@ -37748,7 +39826,13 @@ class DgnTagSpec: def TagSetSpec(arg0: MSPyDgnPlatform.DgnTagSpec, arg1: MSPyDgnPlatform.DgnTagSetSpec) -> None: ... - def __init__(self: MSPyDgnPlatform.DgnTagSpec) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnTagValue: @@ -37802,6 +39886,7 @@ class DgnTagValue: def SetTagType(self: MSPyDgnPlatform.DgnTagValue, type: MSPyDgnPlatform.TagType) -> None: ... + @staticmethod def SetTagValue(*args, **kwargs): """ Overloaded function. @@ -37838,6 +39923,13 @@ class DgnTagValue: def TagType(arg0: MSPyDgnPlatform.DgnTagValue, arg1: MSPyDgnPlatform.TagType) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -37908,7 +40000,7 @@ class DgnTextSnippet: (input) name of the new snippet. Can be empty. :param file: - (input) The file where the snippet will be stored. + (input) -> The file where the snippet will be stored. :returns: A snippet pointer for the template snippet. NULL if it is @@ -37944,7 +40036,13 @@ class DgnTextSnippet: eSnippetDisplayName """ - def __init__(self: MSPyDgnPlatform.DgnTextSnippet.DgnTextSnippetProperty, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFromActiveFile: DgnTextSnippetProperty @@ -38063,7 +40161,7 @@ class DgnTextSnippet: (input) oldName to look up the snippet if the snippet was renamed. :param file: - (input) If no file is provided, the file pointer in snippet is used to + (input) -> If no file is provided, the file pointer in snippet is used to determine the file in which it is saved. :returns: @@ -38101,12 +40199,15 @@ class DgnTextSnippet: def UpgradeSchemaAndInstance(file: MSPyDgnPlatform.DgnFile) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFromActiveFile: DgnTextSnippetProperty eSnippetCategory: DgnTextSnippetProperty @@ -38336,7 +40437,13 @@ class DgnTextSnippetCategory: def SubCategories(arg0: MSPyDgnPlatform.DgnTextSnippetCategory) -> MSPyDgnPlatform.DgnTextSnippetCategoryPtrArray: ... - def __init__(self: MSPyDgnPlatform.DgnTextSnippetCategory, name: str, file: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnTextSnippetCategoryPtrArray: @@ -38344,6 +40451,16 @@ class DgnTextSnippetCategoryPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38376,6 +40493,7 @@ class DgnTextSnippetCategoryPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -38396,6 +40514,7 @@ class DgnTextSnippetCategoryPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -38421,7 +40540,16 @@ class DgnTextSnippetCollection: None """ - def __init__(self: MSPyDgnPlatform.DgnTextSnippetCollection, file: MSPyDgnPlatform.DgnFile) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnTextSnippetPropertyMask: @@ -38453,7 +40581,13 @@ class DgnTextSnippetPropertyMask: """ ... - def __init__(self: MSPyDgnPlatform.DgnTextSnippetPropertyMask) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnTextSnippetPtrArray: @@ -38461,6 +40595,16 @@ class DgnTextSnippetPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38493,6 +40637,7 @@ class DgnTextSnippetPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -38513,6 +40658,7 @@ class DgnTextSnippetPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -38568,7 +40714,7 @@ class DgnTextStyle: Compares the style with the provided one. :param style: - (input) Style to be comapred against. + (input) -> Style to be comapred against. :returns: TextstylePropertymask Pointer filled with differences. @@ -38636,7 +40782,7 @@ class DgnTextStyle: Looks up the style from the given file. :param styleID: - (input) ID to lookup for. + (input) -> ID to lookup for. :param file: (input) file in which to search. @@ -38743,7 +40889,7 @@ class DgnTextStyle: (input) oldName to look up the style if the style was renamed. :param file: - (input) If no file is provided, the file pointer in style is used to + (input) -> If no file is provided, the file pointer in style is used to determine the file in which it is saved. :returns: @@ -38790,7 +40936,13 @@ class DgnTextStyle: def SetUInt32Property(self: MSPyDgnPlatform.DgnTextStyle, type: MSPyDgnPlatform.TextStyleProperty, value: int) -> MSPyDgnPlatform.BentleyStatus: ... - def __init__(self: MSPyDgnPlatform.DgnTextStyle, name: str, file: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnTextStylePtrArray: @@ -38798,6 +40950,16 @@ class DgnTextStylePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -38830,6 +40992,7 @@ class DgnTextStylePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -38850,6 +41013,7 @@ class DgnTextStylePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -38870,7 +41034,7 @@ class DgnTextStylePtrArray: """ ... -class DgnURLLink: +class DgnURLLink(MSPyDgnPlatform.DgnLink): """ None """ @@ -38920,7 +41084,7 @@ class DgnURLLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -39000,12 +41164,15 @@ class DgnURLLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eSCHEMA_MSTN_keyin: Schema eSCHEMA_file: Schema @@ -39033,7 +41200,13 @@ class DgnUnitFormat: eSU """ - def __init__(self: MSPyDgnPlatform.DgnUnitFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMU: DgnUnitFormat @@ -39114,7 +41287,7 @@ class DgnWorkSet: def HasCfgFile(self: MSPyDgnPlatform.DgnWorkSet) -> bool: """ Determines if this WorkSet has a .cfg file (does not check if the file - exists) If false, it represents a new WorkSet that has not been saved. + exists) -> If false, it represents a new WorkSet that has not been saved. """ ... @@ -39171,12 +41344,15 @@ class DgnWorkSet: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnWorkSetComparer: """ None @@ -39203,7 +41379,13 @@ class DgnWorkSetComparer: eAll """ - def __init__(self: MSPyDgnPlatform.DgnWorkSetComparer.ComparisonOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: ComparisonOption @@ -39243,7 +41425,13 @@ class DgnWorkSetComparer: eSecondFileFilteredOut """ - def __init__(self: MSPyDgnPlatform.DgnWorkSetComparer.ComparisonStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBothAssociatedNonMatching: ComparisonStatus @@ -39288,6 +41476,7 @@ class DgnWorkSetComparer: def SecondWorkSet(arg0: MSPyDgnPlatform.DgnWorkSetComparer) -> MSPyDgnPlatform.IDgnWorkSetInfo: ... + @staticmethod def SetFirstFile(*args, **kwargs): """ Overloaded function. @@ -39316,6 +41505,7 @@ class DgnWorkSetComparer: """ ... + @staticmethod def SetSecondFile(*args, **kwargs): """ Overloaded function. @@ -39338,12 +41528,15 @@ class DgnWorkSetComparer: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - __init__(self: MSPyDgnPlatform.DgnWorkSetComparer, option: MSPyDgnPlatform.DgnWorkSetComparer.ComparisonOption = , fileFilter: MSPyDgnPlatform.WorkSetCompareFilter = None) -> None + None """ ... + def __init__(self, *args, **kwargs): + ... + eAll: ComparisonOption eBothAssociatedNonMatching: ComparisonStatus @@ -39373,7 +41566,13 @@ class DgnWorkSetEvents: None """ - def __init__(self: MSPyDgnPlatform.DgnWorkSetEvents) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnWorkSpace: @@ -39421,13 +41620,16 @@ class DgnWorkSpace: def WorkSets(arg0: MSPyDgnPlatform.DgnWorkSpace) -> MSPyDgnPlatform.WorkSetCollection: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DiagonalBarFraction: + def __init__(self, *args, **kwargs): + ... + +class DiagonalBarFraction(MSPyDgnPlatform.Fraction): """ None """ @@ -39512,13 +41714,16 @@ class DiagonalBarFraction: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DigitalSignatureCellHeaderHandler: + def __init__(self, *args, **kwargs): + ... + +class DigitalSignatureCellHeaderHandler(MSPyDgnPlatform.Type2Handler, MSPyDgnPlatform.ITextEdit): """ None """ @@ -39529,9 +41734,11 @@ class DigitalSignatureCellHeaderHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -39542,13 +41749,10 @@ class DigitalSignatureCellHeaderHandler: ... @staticmethod - def ConvertToSignatureElement(*args, **kwargs): - """ - ConvertToSignatureElement(sigEh: MSPyDgnPlatform.EditElementHandle, x509Cert: bytes, includeReferences: bool = False, prereqs: MSPyDgnPlatform.ElementAgenda = , annotation: MSPyDgnPlatform.DsigAnnotationData = , includeCertChain: bool = True) -> int - """ + def ConvertToSignatureElement(sigEh: MSPyDgnPlatform.EditElementHandle, x509Cert: bytes, includeReferences: bool = False, prereqs: MSPyDgnPlatform.ElementAgenda = None, annotation: MSPyDgnPlatform.DsigAnnotationData = None, includeCertChain: bool = True) -> int: ... - class DigitalSignatureData: + class DigitalSignatureData(MSPyDgnPlatform.DsigQuery): """ None """ @@ -39588,7 +41792,13 @@ class DigitalSignatureCellHeaderHandler: def IsValid(self: MSPyDgnPlatform.DsigQuery) -> bool: ... - def __init__(self: MSPyDgnPlatform.DigitalSignatureCellHeaderHandler.DigitalSignatureData, rhs: MSPyDgnPlatform.DigitalSignatureCellHeaderHandler.DigitalSignatureData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def DoesSupportFields(self: MSPyDgnPlatform.ITextQuery, eh: MSPyDgnPlatform.ElementHandle) -> bool: @@ -39608,12 +41818,15 @@ class DigitalSignatureCellHeaderHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -39701,6 +41914,7 @@ class DigitalSignatureCellHeaderHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -39732,7 +41946,13 @@ class DigitalSignatureCellHeaderHandler: eReplaceStatus_Delete """ - def __init__(self: MSPyDgnPlatform.ITextEdit.ReplaceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplaceStatus_Delete: ReplaceStatus @@ -39775,12 +41995,15 @@ class DigitalSignatureCellHeaderHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eReplaceStatus_Delete: ReplaceStatus eReplaceStatus_Error: ReplaceStatus @@ -39792,15 +42015,30 @@ class DimStyleCollection: None """ - def __init__(self: MSPyDgnPlatform.DimStyleCollection, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ ... -class DimStyleEvents: + def __init__(self, *args, **kwargs): + ... + +class DimStyleEvents(MSPyDgnPlatform.IDimStyleTransactionListener): """ None """ - def __init__(self: MSPyDgnPlatform.DimStyleEvents) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DimStyleProp: @@ -40356,7 +42594,13 @@ class DimStyleProp: eDIMSTYLE_PROP_Value_SpaceAfterNonStackedFraction_BOOLINT """ - def __init__(self: MSPyDgnPlatform.DimStyleProp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_PROP_BallAndChain_Alignment_INTEGER: DimStyleProp @@ -40962,7 +43206,13 @@ class DimStylePropMask: """ ... - def __init__(self: MSPyDgnPlatform.DimStylePropMask) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DimStyleProp_BallAndChain_Alignment: @@ -40976,7 +43226,13 @@ class DimStyleProp_BallAndChain_Alignment: eDIMSTYLE_VALUE_BallAndChain_Alignment_Right """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_BallAndChain_Alignment, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_BallAndChain_Alignment_Auto: DimStyleProp_BallAndChain_Alignment @@ -41006,7 +43262,13 @@ class DimStyleProp_BallAndChain_ChainType: eDIMSTYLE_VALUE_BallAndChain_ChainType_BSpline """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_BallAndChain_ChainType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_BallAndChain_ChainType_Arc: DimStyleProp_BallAndChain_ChainType @@ -41036,7 +43298,13 @@ class DimStyleProp_BallAndChain_Mode: eDIMSTYLE_VALUE_BallAndChain_Mode_Auto """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_BallAndChain_Mode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_BallAndChain_Mode_Auto: DimStyleProp_BallAndChain_Mode @@ -41074,7 +43342,13 @@ class DimStyleProp_FitOptions: eDIMSTYLE_VALUE_FitOption_MoveEither """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_FitOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_FitOption_KeepTermsInside: DimStyleProp_FitOptions @@ -41114,7 +43388,13 @@ class DimStyleProp_General_Alignment: eDIMSTYLE_VALUE_General_Alignment_Arbitrary """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_General_Alignment, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_General_Alignment_Arbitrary: DimStyleProp_General_Alignment @@ -41148,7 +43428,13 @@ class DimStyleProp_General_RadialMode: eDIMSTYLE_VALUE_General_RadialMode_DiameterExtended """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_General_RadialMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_General_RadialMode_CenterMark: DimStyleProp_General_RadialMode @@ -41196,7 +43482,13 @@ class DimStyleProp_MLNote_FrameType: eDIMSTYLE_VALUE_MLNote_FrameType_Octagon """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_MLNote_FrameType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_MLNote_FrameType_Box: DimStyleProp_MLNote_FrameType @@ -41240,7 +43532,13 @@ class DimStyleProp_MLNote_HorAttachment: eDIMSTYLE_VALUE_MLNote_HorAttachment_Right """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_MLNote_HorAttachment, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_MLNote_HorAttachment_Auto: DimStyleProp_MLNote_HorAttachment @@ -41270,7 +43568,13 @@ class DimStyleProp_MLNote_Justification: eDIMSTYLE_VALUE_MLNote_Justification_Center """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_MLNote_Justification, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_MLNote_Justification_Center: DimStyleProp_MLNote_Justification @@ -41300,7 +43604,13 @@ class DimStyleProp_MLNote_TextRotation: eDIMSTYLE_VALUE_MLNote_TextRotation_Inline """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_MLNote_TextRotation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_MLNote_TextRotation_Horizontal: DimStyleProp_MLNote_TextRotation @@ -41338,7 +43648,13 @@ class DimStyleProp_MLNote_VerAttachment: eDIMSTYLE_VALUE_MLNote_VerAttachment_Underline """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_MLNote_VerAttachment, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_MLNote_VerAttachment_Bottom: DimStyleProp_MLNote_VerAttachment @@ -41378,7 +43694,13 @@ class DimStyleProp_MLNote_VerticalJustification: eDIMSTYLE_VALUE_MLNote_VerticalJustification_Dynamic """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_MLNote_VerticalJustification, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_MLNote_VerticalJustification_Bottom: DimStyleProp_MLNote_VerticalJustification @@ -41408,7 +43730,13 @@ class DimStyleProp_Placement_TextPosition: eDIMSTYLE_VALUE_Placement_TextPosition_Auto """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Placement_TextPosition, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Placement_TextPosition_Auto: DimStyleProp_Placement_TextPosition @@ -41434,7 +43762,13 @@ class DimStyleProp_Symbol_CustomType: eDIMSTYLE_VALUE_Symbol_CustomType_Character """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Symbol_CustomType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Symbol_CustomType_Character: DimStyleProp_Symbol_CustomType @@ -41460,7 +43794,13 @@ class DimStyleProp_Symbol_PreSufType: eDIMSTYLE_VALUE_Symbol_PreSufType_Cell """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Symbol_PreSufType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Symbol_PreSufType_Cell: DimStyleProp_Symbol_PreSufType @@ -41494,7 +43834,13 @@ class DimStyleProp_Symbol_Standard: eDIMSTYLE_VALUE_Symbol_Standard_SphericalDiameter """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Symbol_Standard, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Symbol_Standard_Area: DimStyleProp_Symbol_Standard @@ -41528,7 +43874,13 @@ class DimStyleProp_Symbol_TermType: eDIMSTYLE_VALUE_Symbol_TermType_Cell """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Symbol_TermType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Symbol_TermType_Cell: DimStyleProp_Symbol_TermType @@ -41556,7 +43908,13 @@ class DimStyleProp_Terminator_Arrowhead: eDIMSTYLE_VALUE_Terminator_Arrowhead_Filled """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Terminator_Arrowhead, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Terminator_Arrowhead_Closed: DimStyleProp_Terminator_Arrowhead @@ -41586,7 +43944,13 @@ class DimStyleProp_Terminator_Mode: eDIMSTYLE_VALUE_Terminator_Mode_Outside """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Terminator_Mode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Terminator_Mode_Auto: DimStyleProp_Terminator_Mode @@ -41622,7 +43986,13 @@ class DimStyleProp_Terminator_Type: eDIMSTYLE_VALUE_Terminator_Type_Note """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Terminator_Type, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Terminator_Type_Arrow: DimStyleProp_Terminator_Type @@ -41656,7 +44026,13 @@ class DimStyleProp_Text_FrameType: eDIMSTYLE_VALUE_Text_FrameType_Capsule """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Text_FrameType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Text_FrameType_Box: DimStyleProp_Text_FrameType @@ -41688,7 +44064,13 @@ class DimStyleProp_Text_Justification: eDIMSTYLE_VALUE_Text_Justification_CenterRight """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Text_Justification, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Text_Justification_CenterLeft: DimStyleProp_Text_Justification @@ -41722,7 +44104,13 @@ class DimStyleProp_Text_Location: eDIMSTYLE_VALUE_Text_Location_TopLeft """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Text_Location, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Text_Location_Above: DimStyleProp_Text_Location @@ -41752,7 +44140,13 @@ class DimStyleProp_Text_StackedFractionAlignment: eDIMSTYLE_VALUE_Text_StackedFractionAlignment_Bottom """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Text_StackedFractionAlignment, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Text_StackedFractionAlignment_Bottom: DimStyleProp_Text_StackedFractionAlignment @@ -41780,7 +44174,13 @@ class DimStyleProp_Text_StackedFractionType: eDIMSTYLE_VALUE_Text_StackedFractionType_Diagonal """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Text_StackedFractionType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Text_StackedFractionType_Diagonal: DimStyleProp_Text_StackedFractionType @@ -41806,7 +44206,13 @@ class DimStyleProp_Text_SuperscriptMode: eDIMSTYLE_VALUE_Text_SuperscriptMode_Generated """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Text_SuperscriptMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Text_SuperscriptMode_FromFont: DimStyleProp_Text_SuperscriptMode @@ -41832,7 +44238,13 @@ class DimStyleProp_Text_Vertical: eDIMSTYLE_VALUE_Text_Vertical_NoFit """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Text_Vertical, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Text_Vertical_Always: DimStyleProp_Text_Vertical @@ -41886,7 +44298,13 @@ class DimStyleProp_Type: ePROPTYPE_Weight """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Type, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePROPTYPE_Accuracy: DimStyleProp_Type @@ -41980,7 +44398,13 @@ class DimStyleProp_Value_Accuracy: eDIMSTYLE_VALUE_Value_Accuracy_Scientific_8_Decimal """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Value_Accuracy, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Value_Accuracy_1_Decimal: DimStyleProp_Value_Accuracy @@ -42052,7 +44476,13 @@ class DimStyleProp_Value_AngleFormat: eDIMSTYLE_VALUE_Value_AngleFormat_DegMin """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Value_AngleFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Value_AngleFormat_Centesimal: DimStyleProp_Value_AngleFormat @@ -42092,7 +44522,13 @@ class DimStyleProp_Value_AnglePrecision: eDIMSTYLE_VALUE_Value_AnglePrecision_6_Place """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Value_AnglePrecision, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Value_AnglePrecision_1_Place: DimStyleProp_Value_AnglePrecision @@ -42130,7 +44566,13 @@ class DimStyleProp_Value_Comparison: eDIMSTYLE_VALUE_Value_Compare_GreaterOrEqual """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Value_Comparison, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Value_Compare_Greater: DimStyleProp_Value_Comparison @@ -42158,7 +44600,13 @@ class DimStyleProp_Value_DMSPrecisionMode: eDIMSTYLE_VALUE_Value_DMSPrecisionMode_Floating """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Value_DMSPrecisionMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Value_DMSPrecisionMode_Fixed: DimStyleProp_Value_DMSPrecisionMode @@ -42192,7 +44640,13 @@ class DimStyleProp_Value_Format: eDIMSTYLE_VALUE_Value_Format_MU_Label_dash_SU_Label """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Value_Format, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Value_Format_MU: DimStyleProp_Value_Format @@ -42238,7 +44692,13 @@ class DimStyleProp_Value_LabelLineFormat: eDIMSTYLE_VALUE_Value_LabelLineFormat_LengthAngleBelow """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Value_LabelLineFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Value_LabelLineFormat_AngleAbove: DimStyleProp_Value_LabelLineFormat @@ -42276,7 +44736,13 @@ class DimStyleProp_Value_ThousandsOpts: eDIMSTYLE_VALUE_Value_ThousandsSep_Comma """ - def __init__(self: MSPyDgnPlatform.DimStyleProp_Value_ThousandsOpts, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_VALUE_Value_ThousandsSep_Comma: DimStyleProp_Value_ThousandsOpts @@ -42293,7 +44759,7 @@ class DimStyleProp_Value_ThousandsOpts: def value(arg0: MSPyDgnPlatform.DimStyleProp_Value_ThousandsOpts) -> int: ... -class DimensionHandler: +class DimensionHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.IDimensionEdit, MSPyDgnPlatform.ITransactionHandler, MSPyDgnPlatform.IAnnotationHandler, MSPyDgnPlatform.ITextEdit): """ None """ @@ -42317,9 +44783,11 @@ class DimensionHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -42353,12 +44821,15 @@ class DimensionHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def ExtractPoint(self: MSPyDgnPlatform.IDimensionQuery, dimEh: MSPyDgnPlatform.ElementHandle, point: MSPyBentleyGeom.DPoint3d, iPoint: int) -> MSPyDgnPlatform.BentleyStatus: ... @@ -42466,6 +44937,7 @@ class DimensionHandler: def HasAnnotationScale(self: MSPyDgnPlatform.IAnnotationHandler, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -42509,7 +44981,13 @@ class DimensionHandler: eReplaceStatus_Delete """ - def __init__(self: MSPyDgnPlatform.ITextEdit.ReplaceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplaceStatus_Delete: ReplaceStatus @@ -42568,12 +45046,15 @@ class DimensionHandler: def SetWitnessVisibility(self: MSPyDgnPlatform.IDimensionEdit, eeh: MSPyDgnPlatform.EditElementHandle, pointNo: int, value: bool) -> MSPyDgnPlatform.BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eReplaceStatus_Delete: ReplaceStatus eReplaceStatus_Error: ReplaceStatus @@ -42607,7 +45088,13 @@ class DimensionPartSubType: eADSUB_LEADER """ - def __init__(self: MSPyDgnPlatform.DimensionPartSubType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eADSUB_LEADER: DimensionPartSubType @@ -42669,7 +45156,13 @@ class DimensionPartType: eADTYPE_CHAIN """ - def __init__(self: MSPyDgnPlatform.DimensionPartType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eADTYPE_CENTER: DimensionPartType @@ -42729,7 +45222,7 @@ class DimensionStyle: ... @staticmethod - def BuildList(dgnFile: MSPyDgnPlatform.DgnFile) -> List[MSPyDgnPlatform.DimensionStyle]: + def BuildList(dgnFile: MSPyDgnPlatform.DgnFile) -> list[MSPyDgnPlatform.DimensionStyle]: """ Create a list of all the styles in the specified file. """ @@ -43204,10 +45697,16 @@ class DimensionStyle: def TextStyleId(arg0: MSPyDgnPlatform.DimensionStyle) -> int: ... - def __init__(self: MSPyDgnPlatform.DimensionStyle, name: str, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class DimensionTextPartId: +class DimensionTextPartId(MSPyDgnPlatform.ITextPartId): """ None """ @@ -43277,12 +45776,15 @@ class DimensionTextPartId: def PartType(arg0: MSPyDgnPlatform.DimensionTextPartId) -> MSPyDgnPlatform.DimensionTextPartType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DimensionTextPartSubType: """ Members: @@ -43298,7 +45800,13 @@ class DimensionTextPartSubType: eDIMTEXTSUBPART_Limit_Lower """ - def __init__(self: MSPyDgnPlatform.DimensionTextPartSubType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMTEXTSUBPART_Limit_Lower: DimensionTextPartSubType @@ -43328,7 +45836,13 @@ class DimensionTextPartType: eDIMTEXTPART_Secondary """ - def __init__(self: MSPyDgnPlatform.DimensionTextPartType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMTEXTPART_Primary: DimensionTextPartType @@ -43398,7 +45912,13 @@ class DimensionType: eMaxThatHasTemplate """ - def __init__(self: MSPyDgnPlatform.DimensionType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAngleAxis: DimensionType @@ -43464,7 +45984,13 @@ class DirFormat: None """ - def __init__(self: MSPyDgnPlatform.DirFormat) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -43503,7 +46029,13 @@ class DirectionBase: eCustom """ - def __init__(self: MSPyDgnPlatform.DirectionBase, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCustom: DirectionBase @@ -43723,12 +46255,15 @@ class DirectionFormatter: def TrueNorthValue(arg0: MSPyDgnPlatform.DirectionFormatter, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DirectionMode: """ Members: @@ -43740,7 +46275,13 @@ class DirectionMode: eBearing """ - def __init__(self: MSPyDgnPlatform.DirectionMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAzimuth: DirectionMode @@ -43859,14 +46400,12 @@ class DirectionParser: """ ... - def ToValue(*args, **kwargs): + def ToValue(self: MSPyDgnPlatform.DirectionParser, in_: str) -> tuple: """ - ToValue(self: MSPyDgnPlatform.DirectionParser, in: str) -> tuple - Parse a string into a direction value in degrees. - :param in: + :param in_: input string. Returns (Tuple, 0): @@ -43884,6 +46423,13 @@ class DirectionParser: def TrueNorthValue(arg0: MSPyDgnPlatform.DirectionParser, arg1: float) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -43899,12 +46445,15 @@ class DispHdrProperties: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dynamicRange(arg0: MSPyDgnPlatform.DispHdrProperties) -> int: ... @@ -44006,7 +46555,13 @@ class Disp_hdr: None """ - def __init__(self: MSPyDgnPlatform.Disp_hdr.Disp_hdr_props) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -44023,12 +46578,15 @@ class Disp_hdr: def s(arg0: MSPyDgnPlatform.Disp_hdr.Disp_hdr_props, arg1: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def grphgrp(self: MSPyDgnPlatform.Disp_hdr) -> int: ... @@ -44081,10 +46639,7 @@ class DisplayFilter: ... @staticmethod - def CreateClipVolumePassTest(*args, **kwargs): - """ - CreateClipVolumePassTest(pass: MSPyDgnPlatform.ClipVolumePass, testMode: MSPyDgnPlatform.DisplayFilter.TestMode) -> MSPyDgnPlatform.DisplayFilter.Operator - """ + def CreateClipVolumePassTest(pass_: MSPyDgnPlatform.ClipVolumePass, testMode: MSPyDgnPlatform.DisplayFilter.TestMode) -> MSPyDgnPlatform.DisplayFilter.Operator: ... @staticmethod @@ -44180,7 +46735,13 @@ class DisplayFilter: eDrawingAttachmentType_Other """ - def __init__(self: MSPyDgnPlatform.DisplayFilter.DrawingAttachmentType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDrawingAttachmentType_Detail: DrawingAttachmentType @@ -44240,7 +46801,13 @@ class DisplayFilter: eLevelOfDetail_Coarse """ - def __init__(self: MSPyDgnPlatform.DisplayFilter.LevelOfDetail, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLevelOfDetail_Coarse: LevelOfDetail @@ -44266,12 +46833,15 @@ class DisplayFilter: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @staticmethod def Or(op1: MSPyDgnPlatform.DisplayFilter.Operator, op2: MSPyDgnPlatform.DisplayFilter.Operator) -> MSPyDgnPlatform.DisplayFilter.Operator: ... @@ -44285,7 +46855,13 @@ class DisplayFilter: eOrientation_Elevation """ - def __init__(self: MSPyDgnPlatform.DisplayFilter.Orientation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eOrientation_Elevation: Orientation @@ -44321,7 +46897,13 @@ class DisplayFilter: eTestMode_GreaterThan """ - def __init__(self: MSPyDgnPlatform.DisplayFilter.TestMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTestMode_Equal: TestMode @@ -44349,7 +46931,13 @@ class DisplayFilter: eViewContextFlag_ShowFieldBackgroundFromTextStyle """ - def __init__(self: MSPyDgnPlatform.DisplayFilter.ViewContextFlag, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eViewContextFlag_ShowFieldBackground: ViewContextFlag @@ -44403,7 +46991,13 @@ class DisplayFilter: eViewFlag_PlacementPointDisplay """ - def __init__(self: MSPyDgnPlatform.DisplayFilter.ViewFlag, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eViewFlag_BoundaryDisplay: ViewFlag @@ -44455,7 +47049,13 @@ class DisplayFilter: eViewXFlag_ExampleCenterline """ - def __init__(self: MSPyDgnPlatform.DisplayFilter.ViewXFlag, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eViewXFlag_ExampleCenterline: ViewXFlag @@ -44475,7 +47075,13 @@ class DisplayFilter: eViewXInteger_LevelOfDetail """ - def __init__(self: MSPyDgnPlatform.DisplayFilter.ViewXInteger, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eViewXInteger_LevelOfDetail: ViewXInteger @@ -44488,12 +47094,15 @@ class DisplayFilter: def value(arg0: MSPyDgnPlatform.DisplayFilter.ViewXInteger) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eDrawingAttachmentType_Detail: DrawingAttachmentType eDrawingAttachmentType_Elevation: DrawingAttachmentType @@ -44588,10 +47197,16 @@ class DisplayFilterHandler: def ProcessProperties(self: MSPyDgnPlatform.DisplayFilterHandler, data: bytearray, context: MSPyDgnPlatform.PropertyContext) -> None: ... - def __init__(self: MSPyDgnPlatform.DisplayFilterHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class DisplayFilterHandlerId: +class DisplayFilterHandlerId(MSPyDgnPlatform.HandlerId): """ None """ @@ -44632,6 +47247,13 @@ class DisplayFilterHandlerId: def MinorId(arg0: MSPyDgnPlatform.HandlerId) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -44653,8 +47275,7 @@ class DisplayFilterHandlerManager: @staticmethod def GetManager() -> MSPyDgnPlatform.DisplayFilterHandlerManager: """ - Bentley Systems Return reference to (singleton) - DisplayFilterHandlerManager +---------------+---------------+--------- + Bentley Systems Return reference to (singleton) -> DisplayFilterHandlerManager +---------------+---------------+--------- ------+---------------+---------------+------ """ ... @@ -44673,12 +47294,15 @@ class DisplayFilterHandlerManager: def RegisterOperatorHandler(self: MSPyDgnPlatform.DisplayFilterHandlerManager, opCode: MSPyDgnPlatform.DisplayFilterOpCode, handler: MSPyDgnPlatform.DisplayFilterHandler) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DisplayFilterHandler_MinorId: """ Members: @@ -44690,7 +47314,13 @@ class DisplayFilterHandler_MinorId: eDisplayFilterHandlerMinorId_ViewXInteger """ - def __init__(self: MSPyDgnPlatform.DisplayFilterHandler_MinorId, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDisplayFilterHandlerMinorId_Base: DisplayFilterHandler_MinorId @@ -44721,7 +47351,13 @@ class DisplayFilterKey: def PushState(self: MSPyDgnPlatform.DisplayFilterKey, filterId: MSPyDgnPlatform.DisplayFilterHandlerId, byteData: bytes, state: bool) -> None: ... - def __init__(self: MSPyDgnPlatform.DisplayFilterKey) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DisplayFilterOpCode: @@ -44755,7 +47391,13 @@ class DisplayFilterOpCode: eDisplayFilterOpCode_ViewContextFlag """ - def __init__(self: MSPyDgnPlatform.DisplayFilterOpCode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDisplayFilterOpCode_And: DisplayFilterOpCode @@ -44792,7 +47434,7 @@ class DisplayFilterOpCode: def value(arg0: MSPyDgnPlatform.DisplayFilterOpCode) -> int: ... -class DisplayHandler: +class DisplayHandler(MSPyDgnPlatform.Handler): """ None """ @@ -44823,12 +47465,15 @@ class DisplayHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -44896,17 +47541,23 @@ class DisplayHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DisplayPath: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def ComponentElem(arg0: MSPyDgnPlatform.DisplayPath) -> MSPyDgnPlatform.ElementRefBase: ... @@ -44919,10 +47570,8 @@ class DisplayPath: def CursorElem(arg0: MSPyDgnPlatform.DisplayPath) -> MSPyDgnPlatform.ElementRefBase: ... - def GetChildElem(*args, **kwargs): + def GetChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ExposeChildrenReason.eQuery) -> MSPyDgnPlatform.ElementRefBase: """ - GetChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ) -> MSPyDgnPlatform.ElementRefBase - Return the ElementRefP of the innermost public component of a complex element for the given expose reason. Use this method to get the ElementRefP of the element Handler that owns/manages the entry @@ -44993,10 +47642,8 @@ class DisplayPath: """ ... - def GetSharedChildElem(*args, **kwargs): + def GetSharedChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ExposeChildrenReason.eQuery) -> MSPyDgnPlatform.ElementRefBase: """ - GetSharedChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ) -> MSPyDgnPlatform.ElementRefBase - Return the ElementRefP of the innermost public component of a shared cell definition element for the given expose reason. Use this method to get the ElementRefP of the element Handler that owns/manages the @@ -45061,7 +47708,13 @@ class DisplayPath: def TailElem(arg0: MSPyDgnPlatform.DisplayPath) -> MSPyDgnPlatform.ElementRefBase: ... - def __init__(self: MSPyDgnPlatform.DisplayPath) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DisplayPathType: @@ -45079,7 +47732,13 @@ class DisplayPathType: eIntersection """ - def __init__(self: MSPyDgnPlatform.DisplayPathType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDisplay: DisplayPathType @@ -45197,7 +47856,13 @@ class DisplayRule: """ ... - def __init__(self: MSPyDgnPlatform.DisplayRule, condition: MSPyBentley.WString, stopIfTrue: bool, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DisplayRuleActionId: @@ -45231,7 +47896,13 @@ class DisplayRuleActionId: eDisplayStyleOverride """ - def __init__(self: MSPyDgnPlatform.DisplayRuleActionId, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAreaHatch: DisplayRuleActionId @@ -45273,6 +47944,16 @@ class DisplayRuleActionVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -45305,6 +47986,7 @@ class DisplayRuleActionVector: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -45325,6 +48007,7 @@ class DisplayRuleActionVector: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -45350,6 +48033,16 @@ class DisplayRulePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -45382,6 +48075,7 @@ class DisplayRulePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -45402,6 +48096,7 @@ class DisplayRulePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -45475,7 +48170,13 @@ class DisplayRuleSet: """ ... - def __init__(self: MSPyDgnPlatform.DisplayRuleSet, name: MSPyBentley.WString, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DisplayRuleSetCPArray: @@ -45483,6 +48184,16 @@ class DisplayRuleSetCPArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -45510,6 +48221,16 @@ class DisplayRuleSetPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -45542,6 +48263,7 @@ class DisplayRuleSetPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -45562,6 +48284,7 @@ class DisplayRuleSetPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -45709,17 +48432,21 @@ class DisplayRulesManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DisplayStyle: """ None """ + @staticmethod def Clone(*args, **kwargs): """ Overloaded function. @@ -45762,7 +48489,7 @@ class DisplayStyle: mapping indices to ensure that they are compatible with the provided file. @note This is a low-level method, and is only inteded to be used with DgnPlatform. Users of the PowerPlatform should use - IViewManager.ApplyDisplayStyleToView instead. @note The provided file + DisplayStyleManager.ApplyDisplayStyleToView instead. @note The provided file should match the view's root. :param viewInfo: @@ -46020,7 +48747,7 @@ class DisplayStyle: GetDisplayMode for additional notes :param newDisplayMode: - (input) UInt32 type + (input) -> UInt32 type """ ... @@ -46029,7 +48756,7 @@ class DisplayStyle: Changes the Environment name :param environmentName: - (input) WCharCP + (input) -> WCharCP """ ... @@ -46038,7 +48765,7 @@ class DisplayStyle: Sets the Environment Type which will be displayed :param typeDisplayed: - (input) UInt32 type parameter + (input) -> UInt32 type parameter """ ... @@ -46094,7 +48821,7 @@ class DisplayStyle: Changes the reflection map name :param reflection: - map name (input) WCharCP + map name (input) -> WCharCP """ ... @@ -46103,7 +48830,7 @@ class DisplayStyle: Sets the Environment Type which will be displayed :param typeDisplayed: - (input) UInt32 type parameter + (input) -> UInt32 type parameter """ ... @@ -46121,7 +48848,13 @@ class DisplayStyle: def UsableForViews(arg0: MSPyDgnPlatform.DisplayStyle, arg1: bool) -> None: ... - def __init__(self: MSPyDgnPlatform.DisplayStyle, dgnFile: MSPyDgnPlatform.DgnFile, name: str) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DisplayStyleApplyValidity: @@ -46137,7 +48870,13 @@ class DisplayStyleApplyValidity: eNotValidForHandler """ - def __init__(self: MSPyDgnPlatform.DisplayStyleApplyValidity, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCanBeApplied: DisplayStyleApplyValidity @@ -46165,7 +48904,13 @@ class DisplayStyleBuiltInUsage: eClipVolume """ - def __init__(self: MSPyDgnPlatform.DisplayStyleBuiltInUsage, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eClipVolume: DisplayStyleBuiltInUsage @@ -46185,6 +48930,16 @@ class DisplayStyleCPArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -46212,7 +48967,13 @@ class DisplayStyleFlags: None """ - def __init__(self: MSPyDgnPlatform.DisplayStyleFlags) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -46421,7 +49182,13 @@ class DisplayStyleGroundPlane: def Transparency(arg0: MSPyDgnPlatform.DisplayStyleGroundPlane, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.DisplayStyleGroundPlane) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DisplayStyleImportStatus: @@ -46437,7 +49204,13 @@ class DisplayStyleImportStatus: eRemappedToNewStyle """ - def __init__(self: MSPyDgnPlatform.DisplayStyleImportStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eInvalidSourceIndex: DisplayStyleImportStatus @@ -46456,18 +49229,27 @@ class DisplayStyleImportStatus: def value(arg0: MSPyDgnPlatform.DisplayStyleImportStatus) -> int: ... -class DisplayStyleList: +class DisplayStyleList(MSPyDgnPlatform.DisplayStyleCPArray): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def ContainsDisplayStyle(self: MSPyDgnPlatform.DisplayStyleList, styleName: str) -> bool: ... def FindDisplayStyleByName(self: MSPyDgnPlatform.DisplayStyleList, styleName: str) -> MSPyDgnPlatform.DisplayStyle: ... - def __init__(self: MSPyDgnPlatform.DisplayStyleList, dgnFile: MSPyDgnPlatform.DgnFile, DisplayStyleListOptions: MSPyDgnPlatform.DisplayStyleListOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def clear(self: MSPyDgnPlatform.DisplayStyleCPArray) -> None: @@ -46493,7 +49275,13 @@ class DisplayStyleListOptions: eDISPLAY_STYLE_LIST_OPTIONS_IncludeAll """ - def __init__(self: MSPyDgnPlatform.DisplayStyleListOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDISPLAY_STYLE_LIST_OPTIONS_Default: DisplayStyleListOptions @@ -46544,7 +49332,7 @@ class DisplayStyleManager: ImportDisplayStyle for a higher level alternative :param styleName: - (input) MSWCharCR + (input) -> MSWCharCR :param sourceDgnFile: (input) the object of MSDgnFileR from where it will copy into @@ -46602,7 +49390,7 @@ class DisplayStyleManager: collection as indicated by the provided index. :param index: - (input) DisplayStyleList.size_type + (input) -> DisplayStyleList.size_type :param dgnFile: (input) the object of MSDgnFileP @@ -46712,13 +49500,16 @@ class DisplayStyleManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DisplayStyleOverrideAction: + def __init__(self, *args, **kwargs): + ... + +class DisplayStyleOverrideAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -46760,7 +49551,13 @@ class DisplayStyleOverrideAction: """ ... - def __init__(self: MSPyDgnPlatform.DisplayStyleOverrideAction, styleIndex: int, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DisplayStyleSource: @@ -46772,7 +49569,13 @@ class DisplayStyleSource: eHardCodedDefault """ - def __init__(self: MSPyDgnPlatform.DisplayStyleSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFile: DisplayStyleSource @@ -46787,7 +49590,7 @@ class DisplayStyleSource: def value(arg0: MSPyDgnPlatform.DisplayStyleSource) -> int: ... -class DistanceFormatter: +class DistanceFormatter(MSPyDgnPlatform.DoubleFormatterBase): """ None """ @@ -47013,6 +49816,7 @@ class DistanceFormatter: """ ... + @staticmethod def SetStorageUnit(*args, **kwargs): """ Overloaded function. @@ -47149,12 +49953,15 @@ class DistanceFormatter: def UorPerStorageUnit(arg0: MSPyDgnPlatform.DistanceFormatter, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DistanceParser: """ None @@ -47241,26 +50048,31 @@ class DistanceParser: def SubUnitScale(arg0: MSPyDgnPlatform.DistanceParser, arg1: float) -> None: ... - def ToValue(*args, **kwargs): + def ToValue(self: MSPyDgnPlatform.DistanceParser, in_: str) -> tuple: """ - ToValue(self: MSPyDgnPlatform.DistanceParser, in: str) -> tuple - Parse a string into a distance value in uors. - :param out: + :param out_: resulting distance in uors if successfully parsed. - :param in: + :param in_: input string. Returns (Tuple, 0): retVal. SUCCESS if parsed successfully. ERROR otherwise.. Returns (Tuple, 1) : - outVal. resulting distance in uors if successfully parsed. + outVal. resulting distance in uors if successfully parsed. """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -47275,7 +50087,7 @@ class DistanceParser: """ ... -class DistantLight: +class DistantLight(MSPyDgnPlatform.LightElement): """ None """ @@ -47473,6 +50285,7 @@ class DistantLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -47514,6 +50327,7 @@ class DistantLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -47762,7 +50576,13 @@ class DistantLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -47799,6 +50619,7 @@ class DistantLight: def value(arg0: MSPyDgnPlatform.Light.LightType) -> int: ... + @staticmethod def LoadFromElement(*args, **kwargs): """ Overloaded function. @@ -48328,7 +51149,13 @@ class DistantLight: def VolumeShift(arg0: MSPyDgnPlatform.AdvancedLight, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.DistantLight) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -48384,7 +51211,13 @@ class DitherModes: eDITHERMODE_ErrorDiffusion """ - def __init__(self: MSPyDgnPlatform.DitherModes, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDITHERMODE_ErrorDiffusion: DitherModes @@ -48399,7 +51232,7 @@ class DitherModes: def value(arg0: MSPyDgnPlatform.DitherModes) -> int: ... -class DoubleFormatter: +class DoubleFormatter(MSPyDgnPlatform.DoubleFormatterBase): """ None """ @@ -48557,12 +51390,15 @@ class DoubleFormatter: def TrailingZeros(arg0: MSPyDgnPlatform.DoubleFormatterBase, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DoubleFormatterBase: """ None @@ -48691,12 +51527,15 @@ class DoubleFormatterBase: def TrailingZeros(arg0: MSPyDgnPlatform.DoubleFormatterBase, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DoubleParser: """ None @@ -48708,25 +51547,29 @@ class DoubleParser: """ ... - def ToValue(*args, **kwargs): + def ToValue(self: MSPyDgnPlatform.DoubleParser, in_: str) -> tuple: """ - ToValue(self: MSPyDgnPlatform.DoubleParser, in: str) -> tuple - Parse a string into a numeric value. - :param in: + :param in_: input string. Returns (Tuple, 0): retVal. SUCCESS if parsed successfully. ERROR otherwise.. Returns (Tuple, 1) : - outVal. resulting value if successfully parsed. + outVal. resulting value if successfully parsed. """ ... - def __init__(self: MSPyDgnPlatform.DoubleParser) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DraftingElementSchema: @@ -48797,12 +51640,15 @@ class DraftingElementSchema: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DrawExpense: """ Members: @@ -48812,7 +51658,13 @@ class DrawExpense: eHigh """ - def __init__(self: MSPyDgnPlatform.DrawExpense, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHigh: DrawExpense @@ -48840,7 +51692,13 @@ class DrawExportFlags: eDeferTransparent """ - def __init__(self: MSPyDgnPlatform.DrawExportFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eClipToFrustum: DrawExportFlags @@ -48932,7 +51790,13 @@ class DrawPurpose: eVueRender """ - def __init__(self: MSPyDgnPlatform.DrawPurpose, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCaptureGeometry: DrawPurpose @@ -49032,7 +51896,13 @@ class DropGeometry: eDIMENSION_Segments """ - def __init__(self: MSPyDgnPlatform.DropGeometry.Dimensions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMENSION_Geometry: Dimensions @@ -49120,7 +51990,13 @@ class DropGeometry: eSHAREDCELL_NormalCellOneLevel """ - def __init__(self: MSPyDgnPlatform.DropGeometry.SharedCells, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSHAREDCELL_Geometry: SharedCells @@ -49146,7 +52022,13 @@ class DropGeometry: eSOLID_Wireframe """ - def __init__(self: MSPyDgnPlatform.DropGeometry.Solids, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSOLID_Surfaces: Solids @@ -49168,7 +52050,13 @@ class DropGeometry: def SolidsOptions(arg0: MSPyDgnPlatform.DropGeometry, arg1: MSPyDgnPlatform.DropGeometry.Solids) -> None: ... - def __init__(self: MSPyDgnPlatform.DropGeometry) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMENSION_Geometry: Dimensions @@ -49265,7 +52153,13 @@ class DropGraphics: """ ... - def __init__(self: MSPyDgnPlatform.DropGraphics) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBOUNDARY_Ignore: PatternBoundary @@ -49308,7 +52202,13 @@ class DsigAnnotationData: def Purpose(arg0: MSPyDgnPlatform.DsigAnnotationData, arg1: str) -> None: ... - def __init__(self: MSPyDgnPlatform.DsigAnnotationData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -49365,18 +52265,27 @@ class DsigQuery: def IsValid(self: MSPyDgnPlatform.DsigQuery) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DwgHatchDef: """ None """ - def __init__(self: MSPyDgnPlatform.DwgHatchDef) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -49405,7 +52314,13 @@ class DwgHatchDefLine: None """ - def __init__(self: MSPyDgnPlatform.DwgHatchDefLine) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -49441,6 +52356,16 @@ class DwgHatchDefLineArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -49467,6 +52392,7 @@ class DwgHatchDefLineArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -49487,6 +52413,7 @@ class DwgHatchDefLineArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -49516,7 +52443,13 @@ class DwgUnitFormat: eFractional """ - def __init__(self: MSPyDgnPlatform.DwgUnitFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eArchitectural: DwgUnitFormat @@ -49831,13 +52764,16 @@ class DynamicViewSettings: def XAttributesHolder(arg0: MSPyDgnPlatform.DynamicViewSettings) -> MSPyDgnPlatform.XAttributesHolder: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ECInstanceHolderHandler: + def __init__(self, *args, **kwargs): + ... + +class ECInstanceHolderHandler(MSPyDgnPlatform.Handler): """ None """ @@ -49863,10 +52799,10 @@ class ECInstanceHolderHandler: Model to associate this element with. Returns (Tuple,0): - SUCCESS if a valid element is created + eeh Returns (Tuple,1): - eeh. + SUCCESS if a valid element is created """ ... @@ -49881,12 +52817,15 @@ class ECInstanceHolderHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -49905,6 +52844,7 @@ class ECInstanceHolderHandler: def GetITransactionHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.ITransactionHandler: ... + @staticmethod def GetInstance() -> MSPyDgnPlatform.Handler: ... @@ -49914,13 +52854,16 @@ class ECInstanceHolderHandler: def QueryProperties(self: MSPyDgnPlatform.Handler, eh: MSPyDgnPlatform.ElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachColorArg: + def __init__(self, *args, **kwargs): + ... + +class EachColorArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -49955,13 +52898,16 @@ class EachColorArg: def StoredValue(arg0: MSPyDgnPlatform.EachColorArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachDimStyleArg: + def __init__(self, *args, **kwargs): + ... + +class EachDimStyleArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50002,13 +52948,16 @@ class EachDimStyleArg: def StoredValue(arg0: MSPyDgnPlatform.EachDimStyleArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachDisplayPriorityArg: + def __init__(self, *args, **kwargs): + ... + +class EachDisplayPriorityArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50043,13 +52992,16 @@ class EachDisplayPriorityArg: def StoredValue(arg0: MSPyDgnPlatform.EachDisplayPriorityArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachElementClassArg: + def __init__(self, *args, **kwargs): + ... + +class EachElementClassArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50084,13 +53036,16 @@ class EachElementClassArg: def StoredValue(arg0: MSPyDgnPlatform.EachElementClassArg, arg1: MSPyDgnPlatform.DgnElementClass) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachElementTemplateArg: + def __init__(self, *args, **kwargs): + ... + +class EachElementTemplateArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50131,13 +53086,16 @@ class EachElementTemplateArg: def StoredValue(arg0: MSPyDgnPlatform.EachElementTemplateArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachFontArg: + def __init__(self, *args, **kwargs): + ... + +class EachFontArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50165,13 +53123,16 @@ class EachFontArg: def StoredValue(arg0: MSPyDgnPlatform.EachFontArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachLevelArg: + def __init__(self, *args, **kwargs): + ... + +class EachLevelArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50216,13 +53177,16 @@ class EachLevelArg: def StoredValue(arg0: MSPyDgnPlatform.EachLevelArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachLineStyleArg: + def __init__(self, *args, **kwargs): + ... + +class EachLineStyleArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50273,13 +53237,16 @@ class EachLineStyleArg: def StoredValue(arg0: MSPyDgnPlatform.EachLineStyleArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachMLineStyleArg: + def __init__(self, *args, **kwargs): + ... + +class EachMLineStyleArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50320,13 +53287,16 @@ class EachMLineStyleArg: def StoredValue(arg0: MSPyDgnPlatform.EachMLineStyleArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachMaterialArg: + def __init__(self, *args, **kwargs): + ... + +class EachMaterialArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50354,12 +53324,15 @@ class EachMaterialArg: def StoredValue(arg0: MSPyDgnPlatform.EachMaterialArg, arg1: MSPyDgnPlatform.MaterialId) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class EachPropertyBaseArg: """ None @@ -50375,13 +53348,16 @@ class EachPropertyBaseArg: def PropertyFlags(arg0: MSPyDgnPlatform.EachPropertyBaseArg) -> MSPyDgnPlatform.PropsCallbackFlags: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachTextStyleArg: + def __init__(self, *args, **kwargs): + ... + +class EachTextStyleArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50422,13 +53398,16 @@ class EachTextStyleArg: def StoredValue(arg0: MSPyDgnPlatform.EachTextStyleArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachThicknessArg: + def __init__(self, *args, **kwargs): + ... + +class EachThicknessArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50488,13 +53467,16 @@ class EachThicknessArg: def StoredValue(arg0: MSPyDgnPlatform.EachThicknessArg, arg1: float) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachTransparencyArg: + def __init__(self, *args, **kwargs): + ... + +class EachTransparencyArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50522,13 +53504,16 @@ class EachTransparencyArg: def StoredValue(arg0: MSPyDgnPlatform.EachTransparencyArg, arg1: float) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EachWeightArg: + def __init__(self, *args, **kwargs): + ... + +class EachWeightArg(MSPyDgnPlatform.EachPropertyBaseArg): """ None """ @@ -50563,13 +53548,16 @@ class EachWeightArg: def StoredValue(arg0: MSPyDgnPlatform.EachWeightArg, arg1: int) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EdfCharStream: + def __init__(self, *args, **kwargs): + ... + +class EdfCharStream(MSPyDgnPlatform.CharStream): """ None """ @@ -50618,12 +53606,15 @@ class EdfCharStream: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class EdfJustification: """ Members: @@ -50635,7 +53626,13 @@ class EdfJustification: eRight """ - def __init__(self: MSPyDgnPlatform.EdfJustification, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCenter: EdfJustification @@ -50652,7 +53649,7 @@ class EdfJustification: def value(arg0: MSPyDgnPlatform.EdfJustification) -> int: ... -class EditElementHandle: +class EditElementHandle(MSPyDgnPlatform.ElementHandle): """ None """ @@ -50757,7 +53754,7 @@ class EditElementHandle: ... @property - def Element(arg0: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement: + def Element(arg0: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement: ... @property @@ -50801,6 +53798,7 @@ class EditElementHandle: """ ... + @staticmethod def FindByID(*args, **kwargs): """ Overloaded function. @@ -50829,10 +53827,7 @@ class EditElementHandle: """ ... - def GetElement(*args, **kwargs): - """ - GetElement(self: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement - """ + def GetElement(self: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement: ... def GetElementDescr(self: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElementDescr: @@ -50862,10 +53857,8 @@ class EditElementHandle: """ ... - def GetHandler(*args, **kwargs): + def GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = MissingHandlerPermissions.eMISSING_HANDLER_PERMISSION_None) -> MSPyDgnPlatform.Handler: """ - GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = ) -> MSPyDgnPlatform.Handler - Get the Handler for this ElementHandle. Every element must have a handler. This method returns a reference to the Handler for this element. If this ElementHandle has an ElementRefP, its handler is @@ -51024,10 +54017,8 @@ class EditElementHandle: def PeekElementDescr(self: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElementDescr: ... - def ReplaceElement(*args, **kwargs): + def ReplaceElement(self: MSPyDgnPlatform.EditElementHandle, el: MSPyDgnPlatform.MSElement) -> int: """ - ReplaceElement(self: MSPyDgnPlatform.EditElementHandle, el: MSPyDgnPlatform.MSElement) -> int - Replace the element associated with this EditElementHandle with a new element. @@ -51078,7 +54069,7 @@ class EditElementHandle: Remark: s After the element is successfully replaced in the model, the ElementRefP of this EditElementHandle is updated with the - (potentially new) ElementRefP of replaced element and the + (potentially new) -> ElementRefP of replaced element and the MSElementDescr is freed. """ ... @@ -51211,6 +54202,13 @@ class EditElementHandle: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -51221,15 +54219,15 @@ class EditElementHandle: 3. __init__(self: MSPyDgnPlatform.EditElementHandle, elRef: MSPyDgnPlatform.ElementRefBase, modelRef: MSPyDgnPlatform.DgnModelRef = None) -> None - 4. __init__(self: MSPyDgnPlatform.EditElementHandle, el: MSPyDgnPlatform.MSElement, modelRef: MSPyDgnPlatform.DgnModelRef) -> None + 4. __init__(self: MSPyDgnPlatform.EditElementHandle, el: MSPyDgnPlatform.MSElement, modelRef: MSPyDgnPlatform.DgnModelRef) -> None 5. __init__(self: MSPyDgnPlatform.EditElementHandle, id: int, modelRef: MSPyDgnPlatform.DgnModelRef) -> None - 6. __init__(self: MSPyDgnPlatform.EditElementHandle, from: MSPyDgnPlatform.ElementHandle, duplicateDescr: bool) -> None + 6. __init__(self: MSPyDgnPlatform.EditElementHandle, from_: MSPyDgnPlatform.ElementHandle, duplicateDescr: bool) -> None """ ... -class EditLevelHandle: +class EditLevelHandle(MSPyDgnPlatform.LevelHandle): """ None """ @@ -51900,6 +54898,13 @@ class EditLevelHandle: def Transparency(arg0: MSPyDgnPlatform.LevelHandle) -> float: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -51921,7 +54926,13 @@ class EditPropertiesChangeWrite: eNever """ - def __init__(self: MSPyDgnPlatform.EditPropertiesChangeWrite, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlways: EditPropertiesChangeWrite @@ -51947,7 +54958,13 @@ class EditPropertyPurpose: eRemap """ - def __init__(self: MSPyDgnPlatform.EditPropertyPurpose, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eChange: EditPropertyPurpose @@ -51962,7 +54979,7 @@ class EditPropertyPurpose: def value(arg0: MSPyDgnPlatform.EditPropertyPurpose) -> int: ... -class ElemAgendaEntry: +class ElemAgendaEntry(MSPyDgnPlatform.EditElementHandle): """ None """ @@ -52067,7 +55084,7 @@ class ElemAgendaEntry: ... @property - def Element(arg0: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement: + def Element(arg0: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement: ... @property @@ -52111,6 +55128,7 @@ class ElemAgendaEntry: """ ... + @staticmethod def FindByID(*args, **kwargs): """ Overloaded function. @@ -52139,10 +55157,7 @@ class ElemAgendaEntry: """ ... - def GetElement(*args, **kwargs): - """ - GetElement(self: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement - """ + def GetElement(self: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElement: ... def GetElementDescr(self: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.MSElementDescr: @@ -52172,10 +55187,8 @@ class ElemAgendaEntry: """ ... - def GetHandler(*args, **kwargs): + def GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = MissingHandlerPermissions.eMISSING_HANDLER_PERMISSION_None) -> MSPyDgnPlatform.Handler: """ - GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = ) -> MSPyDgnPlatform.Handler - Get the Handler for this ElementHandle. Every element must have a handler. This method returns a reference to the Handler for this element. If this ElementHandle has an ElementRefP, its handler is @@ -52334,10 +55347,8 @@ class ElemAgendaEntry: def PeekElementDescr(self: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElementDescr: ... - def ReplaceElement(*args, **kwargs): + def ReplaceElement(self: MSPyDgnPlatform.EditElementHandle, el: MSPyDgnPlatform.MSElement) -> int: """ - ReplaceElement(self: MSPyDgnPlatform.EditElementHandle, el: MSPyDgnPlatform.MSElement) -> int - Replace the element associated with this EditElementHandle with a new element. @@ -52388,7 +55399,7 @@ class ElemAgendaEntry: Remark: s After the element is successfully replaced in the model, the ElementRefP of this EditElementHandle is updated with the - (potentially new) ElementRefP of replaced element and the + (potentially new) -> ElementRefP of replaced element and the MSElementDescr is freed. """ ... @@ -52521,6 +55532,13 @@ class ElemAgendaEntry: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -52529,7 +55547,7 @@ class ElemAgendaEntry: 2. __init__(self: MSPyDgnPlatform.ElemAgendaEntry, elRef: MSPyDgnPlatform.ElementRefBase, modelRef: MSPyDgnPlatform.DgnModelRef = None) -> None - 3. __init__(self: MSPyDgnPlatform.ElemAgendaEntry, from: MSPyDgnPlatform.ElementHandle, duplicateDescr: bool) -> None + 3. __init__(self: MSPyDgnPlatform.ElemAgendaEntry, from_: MSPyDgnPlatform.ElementHandle, duplicateDescr: bool) -> None """ ... @@ -52568,16 +55586,15 @@ class ElemDisplayParams: def GetFillColor(self: MSPyDgnPlatform.ElemDisplayParams) -> int: """ - Get element fill color id. Valid when INVALID_COLOR != GetFillColor () - && FillDisplay.Never != GetFillDisplay () && NULL == GetGradient (). + Get element fill color id. Valid when INVALID_COLOR != GetFillColor ()FillDisplay.Never != GetFillDisplay ()NULL == GetGradient (). """ ... def GetFillColorTBGR(self: MSPyDgnPlatform.ElemDisplayParams) -> int: """ Get element fill color that has been defined by TBGR value. Valid when - INVALID_COLOR == GetFillColor () && FillDisplay.Never != - GetFillDisplay () && NULL == GetGradient (). + INVALID_COLOR == GetFillColor ()FillDisplay.Never != + GetFillDisplay ()NULL == GetGradient (). """ ... @@ -52589,8 +55606,7 @@ class ElemDisplayParams: def GetGradient(self: MSPyDgnPlatform.ElemDisplayParams) -> MSPyDgnPlatform.GradientSymb: """ - Get gradient fill information. Valid when NULL != GetGradient () && - FillDisplay.Never != GetFillDisplay (). + Get gradient fill information. Valid when NULL != GetGradient ()FillDisplay.Never != GetFillDisplay (). """ ... @@ -52663,8 +55679,7 @@ class ElemDisplayParams: def IsFillColorTBGR(self: MSPyDgnPlatform.ElemDisplayParams) -> bool: """ - Helper method, checks INVALID_COLOR == GetFillColor () && - FillDisplay.Never != GetFillDisplay () && NULL == GetGradient (). + Helper method, checks INVALID_COLOR == GetFillColor ()FillDisplay.Never != GetFillDisplay ()NULL == GetGradient (). """ ... @@ -52710,12 +55725,15 @@ class ElemDisplayParams: def Weight(arg0: MSPyDgnPlatform.ElemDisplayParams) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ElemMatSymb: """ None @@ -52940,12 +55958,15 @@ class ElemMatSymb: def Width(arg0: MSPyDgnPlatform.ElemMatSymb, arg1: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ElemRefChangeReason: """ Members: @@ -52959,7 +55980,13 @@ class ElemRefChangeReason: eELEMREF_CHANGE_REASON_ClearQVData """ - def __init__(self: MSPyDgnPlatform.ElemRefChangeReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eELEMREF_CHANGE_REASON_ClearQVData: ElemRefChangeReason @@ -52978,11 +56005,14 @@ class ElemRefChangeReason: def value(arg0: MSPyDgnPlatform.ElemRefChangeReason) -> int: ... -class ElementAgenda: +class ElementAgenda(MSPyDgnPlatform.T_AgendumVectorRef): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Count(arg0: MSPyDgnPlatform.T_AgendumVector) -> int: ... @@ -53043,6 +56073,7 @@ class ElementAgenda: """ ... + @staticmethod def Insert(*args, **kwargs): """ Overloaded function. @@ -53069,9 +56100,9 @@ class ElementAgenda: value instead. @note For performance reasons, no attempt is made to enforce uniqueness of the entries (i.e. this method will allow duplicate entries for the same element, even though that's - generally undesirable.) If you're unsure whether the entry you're + generally undesirable.) -> If you're unsure whether the entry you're adding may already be in the agenda, call #Find. Also, see - #Insert(ElemModelPairSet&) for more efficient technique to enforce + #Insert(ElemModelPairSet) for more efficient technique to enforce uniqueness for large sets. 2. Insert(self: MSPyDgnPlatform.ElementAgenda, elRef: MSPyDgnPlatform.ElementRefBase, modelRef: MSPyDgnPlatform.DgnModelRef, atHead: bool = False) -> MSPyDgnPlatform.EditElementHandle @@ -53096,9 +56127,9 @@ class ElementAgenda: value instead. @note For performance reasons, no attempt is made to enforce uniqueness of the entries (i.e. this method will allow duplicate entries for the same element, even though that's - generally undesirable.) If you're unsure whether the entry you're + generally undesirable.) -> If you're unsure whether the entry you're adding may already be in the agenda, call #Find. Also, see - #Insert(ElemModelPairSet&) for more efficient technique to enforce + #Insert(ElemModelPairSet) for more efficient technique to enforce uniqueness for large sets. """ ... @@ -53137,7 +56168,13 @@ class ElementAgenda: def Source(arg0: MSPyDgnPlatform.ElementAgenda, arg1: MSPyDgnPlatform.ModifyElementSource) -> None: ... - def __init__(self: MSPyDgnPlatform.ElementAgenda) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ElementChangeFlags: @@ -53158,10 +56195,16 @@ class ElementChangeFlags: def SetChangeType(self: MSPyDgnPlatform.ElementChangeFlags, newType: MSPyDgnPlatform.ElementChangeType) -> None: ... - def __init__(self: MSPyDgnPlatform.ElementChangeFlags) -> None: + class __class__(type): + """ + None + """ ... -class ElementChangeRecord: + def __init__(self, *args, **kwargs): + ... + +class ElementChangeRecord(MSPyDgnPlatform.ElementChangeFlags): """ None """ @@ -53186,6 +56229,13 @@ class ElementChangeRecord: def SetChangeType(self: MSPyDgnPlatform.ElementChangeFlags, newType: MSPyDgnPlatform.ElementChangeType) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -53211,7 +56261,13 @@ class ElementChangeType: eReplaced """ - def __init__(self: MSPyDgnPlatform.ElementChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAdded: ElementChangeType @@ -53249,12 +56305,15 @@ class ElementColorData: def ColorName(arg0: MSPyDgnPlatform.ElementColorData, arg1: str) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def blue(self: MSPyDgnPlatform.ElementColorData) -> int: ... @@ -53308,7 +56367,13 @@ class ElementColorSource: eCOLORSOURCE_ByCell """ - def __init__(self: MSPyDgnPlatform.ElementColorSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCOLORSOURCE_ByCell: ElementColorSource @@ -53340,7 +56405,13 @@ class ElementColorType: eCOLORTYPE_GradientFill """ - def __init__(self: MSPyDgnPlatform.ElementColorType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCOLORTYPE_ColorBook: ElementColorType @@ -53571,7 +56642,13 @@ class ElementCopyContext: def OnProcessDatabaseLinkages(self: MSPyDgnPlatform.ElementCopyContext.IEventHandler, eeh: MSPyDgnPlatform.EditElementHandle, cc: MSPyDgnPlatform.ElementCopyContext) -> None: ... - def __init__(self: MSPyDgnPlatform.ElementCopyContext.IEventHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def IsCopyFromReference(self: MSPyDgnPlatform.ElementCopyContext) -> bool: @@ -53724,7 +56801,13 @@ class ElementCopyContext: eAll """ - def __init__(self: MSPyDgnPlatform.ElementCopyContext.SharedCellNameConflictsEnum, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: SharedCellNameConflictsEnum @@ -53764,7 +56847,13 @@ class ElementCopyContext: def WriteAllElements(arg0: MSPyDgnPlatform.ElementCopyContext, arg1: bool) -> None: ... - def __init__(self: MSPyDgnPlatform.ElementCopyContext, dest: MSPyDgnPlatform.DgnModelRef) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: SharedCellNameConflictsEnum @@ -53775,7 +56864,7 @@ class ElementCopyContext: eUndefined: SharedCellNameConflictsEnum -class ElementDisplayAction: +class ElementDisplayAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -53815,7 +56904,13 @@ class ElementDisplayAction: """ ... - def __init__(self: MSPyDgnPlatform.ElementDisplayAction, elementDisplayOff: bool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ElementFillColorData: @@ -53835,12 +56930,15 @@ class ElementFillColorData: def SetValueAt(self: MSPyDgnPlatform.ElementFillColorData, arg0: int, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def active(self: MSPyDgnPlatform.ElementFillColorData) -> bool: ... @@ -53907,7 +57005,13 @@ class ElementFillModeType: eFILLMODE_Outlined """ - def __init__(self: MSPyDgnPlatform.ElementFillModeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFILLMODE_Filled: ElementFillModeType @@ -53925,6 +57029,40 @@ class ElementFillModeType: @property def value(arg0: MSPyDgnPlatform.ElementFillModeType) -> int: ... + +class FixedSizeUnitType: + """ + Members: + + eFixedSizeUnitType_Inches + + eFixedSizeUnitType_Millimeters + + eFixedSizeUnitType_Points + """ + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + + eFixedSizeUnitType_Inches: FixedSizeUnitType + + eFixedSizeUnitType_Millimeters: FixedSizeUnitType + + eFixedSizeUnitType_Points: FixedSizeUnitType + + @property + def name(self: handle) -> str: + ... + + @property + def value(arg0: MSPyDgnPlatform.FixedSizeUnitType) -> int: + ... class ElementGraphicsOutput: """ @@ -53942,12 +57080,15 @@ class ElementGraphicsOutput: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ElementHandle: """ None @@ -54011,10 +57152,7 @@ class ElementHandle: """ ... - def GetElement(*args, **kwargs): - """ - GetElement(self: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElement - """ + def GetElement(self: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElement: ... def GetElementDescr(self: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.MSElementDescr: @@ -54044,10 +57182,8 @@ class ElementHandle: """ ... - def GetHandler(*args, **kwargs): + def GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = MissingHandlerPermissions.eMISSING_HANDLER_PERMISSION_None) -> MSPyDgnPlatform.Handler: """ - GetHandler(self: MSPyDgnPlatform.ElementHandle, permit: MSPyDgnPlatform.MissingHandlerPermissions = ) -> MSPyDgnPlatform.Handler - Get the Handler for this ElementHandle. Every element must have a handler. This method returns a reference to the Handler for this element. If this ElementHandle has an ElementRefP, its handler is @@ -54195,6 +57331,13 @@ class ElementHandle: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -54207,9 +57350,9 @@ class ElementHandle: 4. __init__(self: MSPyDgnPlatform.ElementHandle, elDscr: MSPyDgnPlatform.MSElementDescr, owned: bool, isUnmodified: bool = False, modelRef: MSPyDgnPlatform.DgnModelRef = None) -> None - 5. __init__(self: MSPyDgnPlatform.ElementHandle, el: MSPyDgnPlatform.MSElement, modelRef: MSPyDgnPlatform.DgnModelRef) -> None + 5. __init__(self: MSPyDgnPlatform.ElementHandle, el: MSPyDgnPlatform.MSElement, modelRef: MSPyDgnPlatform.DgnModelRef) -> None - 6. __init__(self: MSPyDgnPlatform.ElementHandle, from: MSPyDgnPlatform.ElementHandle) -> None + 6. __init__(self: MSPyDgnPlatform.ElementHandle, from_: MSPyDgnPlatform.ElementHandle) -> None """ ... @@ -54218,6 +57361,16 @@ class ElementHandleArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -54244,6 +57397,7 @@ class ElementHandleArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -54264,6 +57418,7 @@ class ElementHandleArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -54278,7 +57433,7 @@ class ElementHandleArray: """ ... -class ElementHandlerId: +class ElementHandlerId(MSPyDgnPlatform.HandlerId): """ None """ @@ -54319,6 +57474,13 @@ class ElementHandlerId: def MinorId(arg0: MSPyDgnPlatform.HandlerId) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -54348,7 +57510,13 @@ class ElementHiliteState: eHILITED_Background """ - def __init__(self: MSPyDgnPlatform.ElementHiliteState, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHILITED_Background: ElementHiliteState @@ -54436,7 +57604,13 @@ class ElementParameterType: eELEMENTPARAM_PatternIsAnnotation """ - def __init__(self: MSPyDgnPlatform.ElementParameterType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eELEMENTPARAM_ActivePoint: ElementParameterType @@ -54505,7 +57679,7 @@ class ElementParameterType: def value(arg0: MSPyDgnPlatform.ElementParameterType) -> int: ... -class ElementPriorityAction: +class ElementPriorityAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -54545,7 +57719,13 @@ class ElementPriorityAction: """ ... - def __init__(self: MSPyDgnPlatform.ElementPriorityAction, elementPriority: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ElementProperties: @@ -54589,7 +57769,13 @@ class ElementProperties: eELEMENT_PROPERTY_All """ - def __init__(self: MSPyDgnPlatform.ElementProperties, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eELEMENT_PROPERTY_All: ElementProperties @@ -54747,7 +57933,13 @@ class ElementPropertiesGetter: def Weight(arg0: MSPyDgnPlatform.ElementPropertiesGetter) -> int: ... - def __init__(self: MSPyDgnPlatform.ElementPropertiesGetter, eh: MSPyDgnPlatform.ElementHandle) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ElementPropertiesSetter: @@ -54994,7 +58186,13 @@ class ElementPropertiesSetter: def Weight(arg0: MSPyDgnPlatform.ElementPropertiesSetter, arg1: int) -> None: ... - def __init__(self: MSPyDgnPlatform.ElementPropertiesSetter) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ElementQueryResult: @@ -55020,12 +58218,15 @@ class ElementQueryResult: def IsPreChangeVersion(self: MSPyDgnPlatform.ElementQueryResult) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ElementQueryResultFilterPipeline: """ None @@ -55037,7 +58238,13 @@ class ElementQueryResultFilterPipeline: def AnyClientSideFilter(self: MSPyDgnPlatform.ElementQueryResultFilterPipeline) -> bool: ... - def __init__(self: MSPyDgnPlatform.ElementQueryResultFilterPipeline, arg0: MSPyDgnPlatform.DgnHistory.IElementQueryResultFilter, arg1: MSPyDgnPlatform.DgnHistory.IElementQueryResultFilter) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ElementQueryResultsForFile: @@ -55066,12 +58273,15 @@ class ElementQueryResultsForFile: def GetResultsForModel(self: MSPyDgnPlatform.ElementQueryResultsForFile, modelId: int) -> MSPyDgnPlatform.ElementQueryResultsForModel: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ElementQueryResultsForModel: """ None @@ -55092,29 +58302,41 @@ class ElementQueryResultsForModel: def GetResultsForFile(self: MSPyDgnPlatform.ElementQueryResultsForModel) -> MSPyDgnPlatform.DgnHistory.ElementQueryResultsForFile: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ElementRefAppData: """ None """ - class Key: + class Key(MSPyDgnPlatform.AppDataKey): """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... - def __init__(self: MSPyDgnPlatform.ElementRefAppData) -> None: + def __init__(self, *args, **kwargs): + ... + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ElementRefBase: @@ -55319,17 +58541,30 @@ class ElementRefBase: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ElementRefPArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -55365,7 +58600,13 @@ class ElementRefType: eELEMENT_REF_TYPE_ProxyDisplay """ - def __init__(self: MSPyDgnPlatform.ElementRefType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eELEMENT_REF_TYPE_Persistent: ElementRefType @@ -55389,7 +58630,16 @@ class ElementRefVec: None """ - def __init__(self: MSPyDgnPlatform.ElementRefVec) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def pop_back(self: MSPyDgnPlatform.ElementRefVec) -> None: @@ -55398,6 +58648,9 @@ class ElementRefVec: def push_back(self: MSPyDgnPlatform.ElementRefVec, arg0: MSPyDgnPlatform.ElementRefBase) -> None: ... + def remove(self: MSPyDgnPlatform.ElementRefVec, arg0: MSPyDgnPlatform.ElementRefBase) -> None: + ... + def resize(self: MSPyDgnPlatform.ElementRefVec, numItems: int) -> None: ... @@ -57991,13 +61244,16 @@ class ElementTemplateParamsHelper: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ElementTemplateReferenceEventManager: + def __init__(self, *args, **kwargs): + ... + +class ElementTemplateReferenceEventManager(MSPyDgnPlatform.IHostobject): """ None """ @@ -58038,12 +61294,15 @@ class ElementTemplateReferenceEventManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ElementTemplateStatus: """ Members: @@ -58133,7 +61392,13 @@ class ElementTemplateStatus: eETSTATUS_Error """ - def __init__(self: MSPyDgnPlatform.ElementTemplateStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eETSTATUS_BadArg: ElementTemplateStatus @@ -58662,13 +61927,16 @@ class ElementTemplateUtils: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ElementsAsOfQuery: + def __init__(self, *args, **kwargs): + ... + +class ElementsAsOfQuery(MSPyDgnPlatform.ElementQueryResultsForFile): """ None """ @@ -58694,28 +61962,37 @@ class ElementsAsOfQuery: def GetResultsForModel(self: MSPyDgnPlatform.ElementQueryResultsForFile, modelId: int) -> MSPyDgnPlatform.ElementQueryResultsForModel: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ElementsCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Count(arg0: MSPyDgnPlatform.ElementsCollection) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EllipseHandler: + def __init__(self, *args, **kwargs): + ... + +class EllipseHandler(MSPyDgnPlatform.EllipticArcBaseHandler, MSPyDgnPlatform.IAreaFillPropertiesEdit): """ None """ @@ -58853,9 +62130,11 @@ class EllipseHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -58867,12 +62146,15 @@ class EllipseHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -58916,7 +62198,15 @@ class EllipseHandler: def GetPathDescription(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, string: MSPyBentley.WString, path: MSPyDgnPlatform.DisplayPath, levelStr: str, modelStr: str, groupStr: str, delimiterStr: str) -> None: ... - def GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: List[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple: + @staticmethod + def GetPattern(*args, **kwargs): + """ + Overloaded function. + + 1. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + + 2. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list, origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + """ ... def GetSnapOrigin(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, origin: MSPyBentleyGeom.DPoint3d) -> None: @@ -58931,6 +62221,7 @@ class EllipseHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -58966,23 +62257,29 @@ class EllipseHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Ellipse_2d: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Ellipse_2d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -59030,12 +62327,15 @@ class Ellipse_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Ellipse_3d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -59244,7 +62544,7 @@ class Ellipsoid: Sets the EPSG code in the ellipsoid definition. :param value: - (input) The new EPSG code. Can be 0 to 32767 where 0 indicates there + (input) -> The new EPSG code. Can be 0 to 32767 where 0 indicates there are no EPSG code for this definition :returns: @@ -59261,12 +62561,15 @@ class Ellipsoid: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class EllipsoidEnumerator: """ None @@ -59297,13 +62600,16 @@ class EllipsoidEnumerator: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class EllipticArcBaseHandler: + def __init__(self, *args, **kwargs): + ... + +class EllipticArcBaseHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ICurvePathEdit): """ None """ @@ -59326,9 +62632,11 @@ class EllipticArcBaseHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -59340,12 +62648,15 @@ class EllipticArcBaseHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -59373,6 +62684,7 @@ class EllipticArcBaseHandler: def GetITransactionHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.ITransactionHandler: ... + @staticmethod def GetInstance() -> MSPyDgnPlatform.DisplayHandler: ... @@ -59391,6 +62703,7 @@ class EllipticArcBaseHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -59417,23 +62730,29 @@ class EllipticArcBaseHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Elm_hdr: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def archive(arg0: MSPyDgnPlatform.Elm_hdr) -> int: ... @@ -59557,7 +62876,13 @@ class EnvironmentDisplay: eVue """ - def __init__(self: MSPyDgnPlatform.EnvironmentDisplay, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eColor: EnvironmentDisplay @@ -59595,7 +62920,13 @@ class EvaluationReason: eUnconditional """ - def __init__(self: MSPyDgnPlatform.EvaluationReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDesignHistory_: EvaluationReason @@ -59622,7 +62953,7 @@ class EvaluationReason: def value(arg0: MSPyDgnPlatform.EvaluationReason) -> int: ... -class ExcelSheetLink: +class ExcelSheetLink(MSPyDgnPlatform.DgnLinkComposition): """ None """ @@ -59684,7 +63015,7 @@ class ExcelSheetLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -59767,12 +63098,15 @@ class ExcelSheetLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ExposeChildrenReason: """ Members: @@ -59782,7 +63116,13 @@ class ExposeChildrenReason: eEdit """ - def __init__(self: MSPyDgnPlatform.ExposeChildrenReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEdit: ExposeChildrenReason @@ -59797,7 +63137,7 @@ class ExposeChildrenReason: def value(arg0: MSPyDgnPlatform.ExposeChildrenReason) -> int: ... -class ExtendedElementHandler: +class ExtendedElementHandler(MSPyDgnPlatform.DisplayHandler): """ None """ @@ -59837,12 +63177,15 @@ class ExtendedElementHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -59867,6 +63210,7 @@ class ExtendedElementHandler: def GetITransactionHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.ITransactionHandler: ... + @staticmethod def GetInstance() -> MSPyDgnPlatform.DisplayHandler: ... @@ -59885,6 +63229,7 @@ class ExtendedElementHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -59912,6 +63257,7 @@ class ExtendedElementHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... + @staticmethod def ValidatePresentation(*args, **kwargs): """ Overloaded function. @@ -59946,13 +63292,16 @@ class ExtendedElementHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ExtendedNonGraphicsHandler: + def __init__(self, *args, **kwargs): + ... + +class ExtendedNonGraphicsHandler(MSPyDgnPlatform.Handler): """ None """ @@ -59977,12 +63326,15 @@ class ExtendedNonGraphicsHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -60001,6 +63353,7 @@ class ExtendedNonGraphicsHandler: def GetITransactionHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.ITransactionHandler: ... + @staticmethod def GetInstance() -> MSPyDgnPlatform.Handler: ... @@ -60014,12 +63367,15 @@ class ExtendedNonGraphicsHandler: def QueryProperties(self: MSPyDgnPlatform.Handler, eh: MSPyDgnPlatform.ElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ExtractReferenceViewInfoStatus: """ Members: @@ -60035,7 +63391,13 @@ class ExtractReferenceViewInfoStatus: eUnexpectedError """ - def __init__(self: MSPyDgnPlatform.ExtractReferenceViewInfoStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCouldNotAcquireViewData: ExtractReferenceViewInfoStatus @@ -60061,12 +63423,15 @@ class FColor3: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def b(self: MSPyDgnPlatform.FColor3) -> float: ... @@ -60093,12 +63458,15 @@ class FColor4: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def a(self: MSPyDgnPlatform.FColor4) -> float: ... @@ -60132,12 +63500,15 @@ class FTexture2: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def u(self: MSPyDgnPlatform.FTexture2) -> float: ... @@ -60157,12 +63528,15 @@ class FTexture3: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def u(self: MSPyDgnPlatform.FTexture3) -> float: ... @@ -60189,6 +63563,13 @@ class FarElementID: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -60204,12 +63585,15 @@ class Fb_opts: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def anonymous(arg0: MSPyDgnPlatform.Fb_opts) -> int: ... @@ -60390,12 +63774,15 @@ class Fd_opts: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def cameraOn(arg0: MSPyDgnPlatform.Fd_opts) -> int: ... @@ -60601,7 +63988,13 @@ class FenceClipFlags: eOptimized """ - def __init__(self: MSPyDgnPlatform.FenceClipFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNil: FenceClipFlags @@ -60627,7 +64020,13 @@ class FenceClipMode: eCopy """ - def __init__(self: MSPyDgnPlatform.FenceClipMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCopy: FenceClipMode @@ -60661,7 +64060,13 @@ class FenceMode: eVoidClip """ - def __init__(self: MSPyDgnPlatform.FenceMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eClip: FenceMode @@ -60734,6 +64139,7 @@ class FenceParams: def ClipVector(arg0: MSPyDgnPlatform.FenceParams, arg1: MSPyDgnPlatform.ClipVector) -> None: ... + @staticmethod def ClippingPointsFromRootPoints(*args, **kwargs): """ Overloaded function. @@ -60745,6 +64151,16 @@ class FenceParams: 2. ClippingPointsFromRootPoints(self: MSPyDgnPlatform.FenceParams, points1: MSPyBentleyGeom.DPoint2dArray, points2: list, vp: MSPyDgnPlatform.Viewport) -> None + Return 2d clipping points suitable for calling StoreClippingPoints + from 3d input points in the coordinates of the view's root model. + + 3. ClippingPointsFromRootPoints(self: MSPyDgnPlatform.FenceParams, points1: list, points2: MSPyBentleyGeom.DPoint3dArray, vp: MSPyDgnPlatform.Viewport) -> None + + Return 2d clipping points suitable for calling StoreClippingPoints + from 3d input points in the coordinates of the view's root model. + + 4. ClippingPointsFromRootPoints(self: MSPyDgnPlatform.FenceParams, points1: list, points2: list, vp: MSPyDgnPlatform.Viewport) -> None + Return 2d clipping points suitable for calling StoreClippingPoints from 3d input points in the coordinates of the view's root model. """ @@ -60884,8 +64300,19 @@ class FenceParams: """ ... - def StoreClippingPoints(self: MSPyDgnPlatform.FenceParams, outside: bool, points: MSPyBentleyGeom.DPoint2dArray) -> int: + @staticmethod + def StoreClippingPoints(*args, **kwargs): """ + Overloaded function. + + 1. StoreClippingPoints(self: MSPyDgnPlatform.FenceParams, outside: bool, points: MSPyBentleyGeom.DPoint2dArray) -> int + + Setup the fence clip boundary from 2d clipping points. Pass true for + blockIfPossible to create CLIPBLOCK instead of CLIPSHAPE when points + define a rectangle. + + 2. StoreClippingPoints(self: MSPyDgnPlatform.FenceParams, outside: bool, points: list) -> int + Setup the fence clip boundary from 2d clipping points. Pass true for blockIfPossible to create CLIPBLOCK instead of CLIPSHAPE when points define a rectangle. @@ -60903,7 +64330,13 @@ class FenceParams: def Viewport(arg0: MSPyDgnPlatform.FenceParams) -> MSPyDgnPlatform.Viewport: ... - def __init__(self: MSPyDgnPlatform.FenceParams, modelRef: MSPyDgnPlatform.DgnModelRef) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class FenceStretchFlags: @@ -60915,7 +64348,13 @@ class FenceStretchFlags: eCells """ - def __init__(self: MSPyDgnPlatform.FenceStretchFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCells: FenceStretchFlags @@ -60943,7 +64382,13 @@ class FileCompareMask: eAll """ - def __init__(self: MSPyDgnPlatform.FileCompareMask, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: FileCompareMask @@ -60962,7 +64407,7 @@ class FileCompareMask: def value(arg0: MSPyDgnPlatform.FileCompareMask) -> int: ... -class FileLevelCache: +class FileLevelCache(MSPyDgnPlatform.PersistentLevelCache): """ None """ @@ -61214,7 +64659,7 @@ class FileLevelCache: """ ... - def GetLibraries(self: MSPyDgnPlatform.FileLevelCache) -> List[MSPyDgnPlatform.FileLevelCache]: + def GetLibraries(self: MSPyDgnPlatform.FileLevelCache) -> list[MSPyDgnPlatform.FileLevelCache]: """ Get a vector of Level Libraries associated with this LevelCache. """ @@ -61274,7 +64719,7 @@ class FileLevelCache: ... @property - def Libraries(arg0: MSPyDgnPlatform.FileLevelCache) -> List[MSPyDgnPlatform.FileLevelCache]: + def Libraries(arg0: MSPyDgnPlatform.FileLevelCache) -> list[MSPyDgnPlatform.FileLevelCache]: ... @property @@ -61338,7 +64783,13 @@ class FileLevelCache: """ ... - def __init__(self: MSPyDgnPlatform.FileLevelCache, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class FileOpenConstants: @@ -61368,7 +64819,13 @@ class FileOpenConstants: eUF_FIND_FOLDER """ - def __init__(self: MSPyDgnPlatform.FileOpenConstants, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eOPEN_FOR_READ: FileOpenConstants @@ -61406,10 +64863,19 @@ class FileSignatureCollection: None """ - def __init__(self: MSPyDgnPlatform.FileSignatureCollection, file: MSPyDgnPlatform.DgnFile) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class FillColorOverrideAction: +class FillColorOverrideAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -61450,7 +64916,13 @@ class FillColorOverrideAction: """ ... - def __init__(self: MSPyDgnPlatform.FillColorOverrideAction, fillColor: int, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class FillDisplay: @@ -61466,7 +64938,13 @@ class FillDisplay: eBlanking """ - def __init__(self: MSPyDgnPlatform.FillDisplay, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlways: FillDisplay @@ -61496,7 +64974,13 @@ class FilterLODFlags: eFILTER_LOD_ShowNothing """ - def __init__(self: MSPyDgnPlatform.FilterLODFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFILTER_LOD_Off: FilterLODFlags @@ -61533,7 +65017,17 @@ class FindInstancesScope: :param options: The options structure controls how the scope is iterated. - 2. CreateScope(models: List[MSPyDgnPlatform.DgnModelRef ], options: MSPyDgnPlatform.FindInstancesScopeOption, file: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.FindInstancesScope + 2. CreateScope(models: list[MSPyDgnPlatform.DgnModelRef ], options: MSPyDgnPlatform.FindInstancesScopeOption, file: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.FindInstancesScope + + Create a scope which finds instances accessible through a dgn file. + + :param file: + Dgn file to traverse from + + :param options: + The options structure controls how the scope is iterated. + + 3. CreateScope(models: list, options: MSPyDgnPlatform.FindInstancesScopeOption, file: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.FindInstancesScope Create a scope which finds instances accessible through a dgn file. @@ -61543,7 +65037,7 @@ class FindInstancesScope: :param options: The options structure controls how the scope is iterated. - 3. CreateScope(modelRef: MSPyDgnPlatform.DgnModelRef, options: MSPyDgnPlatform.FindInstancesScopeOption) -> MSPyDgnPlatform.FindInstancesScope + 4. CreateScope(modelRef: MSPyDgnPlatform.DgnModelRef, options: MSPyDgnPlatform.FindInstancesScopeOption) -> MSPyDgnPlatform.FindInstancesScope Create a scope which finds instances accessible through a dgn file. @@ -61553,7 +65047,7 @@ class FindInstancesScope: :param options: The options structure controls how the scope is iterated. - 4. CreateScope(viewport: MSPyDgnPlatform.Viewport, options: MSPyDgnPlatform.FindInstancesScopeOption) -> MSPyDgnPlatform.FindInstancesScope + 5. CreateScope(viewport: MSPyDgnPlatform.Viewport, options: MSPyDgnPlatform.FindInstancesScopeOption) -> MSPyDgnPlatform.FindInstancesScope Create a scope which finds instances accessible through a dgn file. @@ -61563,7 +65057,7 @@ class FindInstancesScope: :param options: The options structure controls how the scope is iterated. - 5. CreateScope(modelRef: MSPyDgnPlatform.DgnModelRef, agenda: MSPyDgnPlatform.ElementAgenda, options: MSPyDgnPlatform.FindInstancesScopeOption) -> MSPyDgnPlatform.FindInstancesScope + 6. CreateScope(modelRef: MSPyDgnPlatform.DgnModelRef, agenda: MSPyDgnPlatform.ElementAgenda, options: MSPyDgnPlatform.FindInstancesScopeOption) -> MSPyDgnPlatform.FindInstancesScope Create a scope which finds instances accessible through a dgn file. @@ -61573,7 +65067,7 @@ class FindInstancesScope: :param options: The options structure controls how the scope is iterated. - 6. CreateScope(elemHandle: MSPyDgnPlatform.ElementHandle, options: MSPyDgnPlatform.FindInstancesScopeOption) -> MSPyDgnPlatform.FindInstancesScope + 7. CreateScope(elemHandle: MSPyDgnPlatform.ElementHandle, options: MSPyDgnPlatform.FindInstancesScopeOption) -> MSPyDgnPlatform.FindInstancesScope Create a scope which finds instances accessible through a dgn file. @@ -61583,7 +65077,7 @@ class FindInstancesScope: :param options: The options structure controls how the scope is iterated. - 7. CreateScope(linkNode: MSPyDgnPlatform.DgnLinkTreeNode) -> MSPyDgnPlatform.FindInstancesScope + 8. CreateScope(linkNode: MSPyDgnPlatform.DgnLinkTreeNode) -> MSPyDgnPlatform.FindInstancesScope Create a scope which finds instances accessible through a dgn file. @@ -61593,7 +65087,7 @@ class FindInstancesScope: :param options: The options structure controls how the scope is iterated. - 8. CreateScope(linkNode: MSPyDgnPlatform.DgnLinkTreeNode, options: MSPyECObjects.DgnECInstanceCreateOptions) -> MSPyDgnPlatform.FindInstancesScope + 9. CreateScope(linkNode: MSPyDgnPlatform.DgnLinkTreeNode, options: MSPyECObjects.DgnECInstanceCreateOptions) -> MSPyDgnPlatform.FindInstancesScope Create a scope which finds instances accessible through a dgn file. @@ -61632,12 +65126,15 @@ class FindInstancesScope: def HostType(arg0: MSPyDgnPlatform.FindInstancesScope) -> MSPyECObjects.DgnECHostType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class FindInstancesScopeOption: """ None @@ -61751,6 +65248,13 @@ class FindInstancesScopeOption: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61768,6 +65272,16 @@ class FindInstancesScopePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -61800,6 +65314,7 @@ class FindInstancesScopePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -61820,6 +65335,7 @@ class FindInstancesScopePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -61858,7 +65374,13 @@ class FitViewParams: eFITMODE_Raster """ - def __init__(self: MSPyDgnPlatform.FitViewParams.FitModes, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFITMODE_Active: FitModes @@ -61880,7 +65402,13 @@ class FitViewParams: def SetupFitList(self: MSPyDgnPlatform.FitViewParams, fitModes: MSPyDgnPlatform.FitViewParams.FitModes) -> None: ... - def __init__(self: MSPyDgnPlatform.FitViewParams, vp: MSPyDgnPlatform.Viewport) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFITMODE_Active: FitModes @@ -61891,7 +65419,7 @@ class FitViewParams: eFITMODE_Reference: FitModes -class FlashLight: +class FlashLight(MSPyDgnPlatform.Light): """ None """ @@ -61978,6 +65506,7 @@ class FlashLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -61999,6 +65528,7 @@ class FlashLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -62093,7 +65623,13 @@ class FlashLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -62230,7 +65766,13 @@ class FlashLight: def Type(arg0: MSPyDgnPlatform.Light) -> MSPyDgnPlatform.Light.LightType: ... - def __init__(self: MSPyDgnPlatform.FlashLight, initFrom: MSPyDgnPlatform.FlashLight) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -62273,7 +65815,7 @@ class FlashLight: eSHADOWQUALITY_SoftVeryFine: ShadowQuality -class Fraction: +class Fraction(MSPyDgnPlatform.Run): """ None """ @@ -62358,17 +65900,24 @@ class Fraction: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class GPArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + @staticmethod def Add(*args, **kwargs): """ Overloaded function. @@ -62478,6 +66027,7 @@ class GPArray: def GetEllipse(self: MSPyDgnPlatform.GPArray, ellipse: MSPyBentleyGeom.DEllipse3d) -> tuple: ... + @staticmethod def GetLineString(*args, **kwargs): """ Overloaded function. @@ -62652,6 +66202,7 @@ class GPArray: """ ... + @staticmethod def Transform(*args, **kwargs): """ Overloaded function. @@ -62672,12 +66223,15 @@ class GPArray: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class GPCurveType: """ Members: @@ -62693,7 +66247,13 @@ class GPCurveType: eBSpline """ - def __init__(self: MSPyDgnPlatform.GPCurveType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBSpline: GPCurveType @@ -62743,7 +66303,13 @@ class GenConvertCode: eGenConvertType_MREG """ - def __init__(self: MSPyDgnPlatform.GenConvertCode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGenConvertType_3PARM: GenConvertCode @@ -62789,7 +66355,13 @@ class GeoAttachmentHandling: eAcceptUnprojected """ - def __init__(self: MSPyDgnPlatform.GeoAttachmentHandling, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAcceptUnprojected: GeoAttachmentHandling @@ -62815,7 +66387,13 @@ class GeoCodingType: eGeoCodingType_Type66 """ - def __init__(self: MSPyDgnPlatform.GeoCodingType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGeoCodingType_None: GeoCodingType @@ -62839,7 +66417,13 @@ class GeoCoordAttachmentErrors: eGEOCOORD_ERROR_NotGeoTransformed """ - def __init__(self: MSPyDgnPlatform.GeoCoordAttachmentErrors, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGEOCOORD_ERROR_NoGeocode: GeoCoordAttachmentErrors @@ -62859,6 +66443,16 @@ class GeoCoordEventHandlersVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -62891,6 +66485,7 @@ class GeoCoordEventHandlersVector: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -62911,6 +66506,7 @@ class GeoCoordEventHandlersVector: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -62955,6 +66551,7 @@ class GeoCoordGroup: """ ... + @staticmethod def GetGroupEnumerator() -> GroupEnumerator: """ Gets enumerator for Groups in the library @@ -62986,12 +66583,15 @@ class GeoCoordGroup: def Name(arg0: MSPyDgnPlatform.GeoCoordGroup) -> str: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class GeoCoordInterpretation: """ Members: @@ -63001,7 +66601,13 @@ class GeoCoordInterpretation: eXYZ """ - def __init__(self: MSPyDgnPlatform.GeoCoordInterpretation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCartesian: GeoCoordInterpretation @@ -63111,7 +66717,13 @@ class GeoCoordParseStatus: eGeoCoordParse_BadUnit """ - def __init__(self: MSPyDgnPlatform.GeoCoordParseStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGeoCoordParse_BadAlias: GeoCoordParseStatus @@ -63223,7 +66835,13 @@ class GeoCoordinationState: eAECTransform """ - def __init__(self: MSPyDgnPlatform.GeoCoordinationState, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAECTransform: GeoCoordinationState @@ -63240,136 +66858,6 @@ class GeoCoordinationState: def value(arg0: MSPyDgnPlatform.GeoCoordinationState) -> int: ... -class GeoPoint2dVector: - """ - None - """ - - def __init__(*args, **kwargs): - """ - Overloaded function. - - 1. __init__(self: MSPyDgnPlatform.GeoPoint2dVector) -> None - - 2. __init__(self: MSPyDgnPlatform.GeoPoint2dVector, arg0: MSPyDgnPlatform.GeoPoint2dVector) -> None - - Copy constructor - - 3. __init__(self: MSPyDgnPlatform.GeoPoint2dVector, arg0: Iterable) -> None - """ - ... - - def append(self: MSPyDgnPlatform.GeoPoint2dVector, x: MSPyBentleyGeom.GeoPoint2d) -> None: - """ - Add an item to the end of the list - """ - ... - - def clear(self: MSPyDgnPlatform.GeoPoint2dVector) -> None: - """ - Clear the contents - """ - ... - - def extend(*args, **kwargs): - """ - Overloaded function. - - 1. extend(self: MSPyDgnPlatform.GeoPoint2dVector, L: MSPyDgnPlatform.GeoPoint2dVector) -> None - - Extend the list by appending all the items in the given list - - 2. extend(self: MSPyDgnPlatform.GeoPoint2dVector, L: Iterable) -> None - - Extend the list by appending all the items in the given list - """ - ... - - def insert(self: MSPyDgnPlatform.GeoPoint2dVector, i: int, x: MSPyBentleyGeom.GeoPoint2d) -> None: - """ - Insert an item at a given position. - """ - ... - - def pop(*args, **kwargs): - """ - Overloaded function. - - 1. pop(self: MSPyDgnPlatform.GeoPoint2dVector) -> MSPyBentleyGeom.GeoPoint2d - - Remove and return the last item - - 2. pop(self: MSPyDgnPlatform.GeoPoint2dVector, i: int) -> MSPyBentleyGeom.GeoPoint2d - - Remove and return the item at index ``i`` - """ - ... - -class GeoPointVector: - """ - None - """ - - def __init__(*args, **kwargs): - """ - Overloaded function. - - 1. __init__(self: MSPyDgnPlatform.GeoPointVector) -> None - - 2. __init__(self: MSPyDgnPlatform.GeoPointVector, arg0: MSPyDgnPlatform.GeoPointVector) -> None - - Copy constructor - - 3. __init__(self: MSPyDgnPlatform.GeoPointVector, arg0: Iterable) -> None - """ - ... - - def append(self: MSPyDgnPlatform.GeoPointVector, x: MSPyBentleyGeom.GeoPoint) -> None: - """ - Add an item to the end of the list - """ - ... - - def clear(self: MSPyDgnPlatform.GeoPointVector) -> None: - """ - Clear the contents - """ - ... - - def extend(*args, **kwargs): - """ - Overloaded function. - - 1. extend(self: MSPyDgnPlatform.GeoPointVector, L: MSPyDgnPlatform.GeoPointVector) -> None - - Extend the list by appending all the items in the given list - - 2. extend(self: MSPyDgnPlatform.GeoPointVector, L: Iterable) -> None - - Extend the list by appending all the items in the given list - """ - ... - - def insert(self: MSPyDgnPlatform.GeoPointVector, i: int, x: MSPyBentleyGeom.GeoPoint) -> None: - """ - Insert an item at a given position. - """ - ... - - def pop(*args, **kwargs): - """ - Overloaded function. - - 1. pop(self: MSPyDgnPlatform.GeoPointVector) -> MSPyBentleyGeom.GeoPoint - - Remove and return the last item - - 2. pop(self: MSPyDgnPlatform.GeoPointVector, i: int) -> MSPyBentleyGeom.GeoPoint - - Remove and return the item at index ``i`` - """ - ... - class GeoUnitBase: """ Members: @@ -63381,7 +66869,13 @@ class GeoUnitBase: eDegree """ - def __init__(self: MSPyDgnPlatform.GeoUnitBase, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDegree: GeoUnitBase @@ -63411,7 +66905,13 @@ class GeoUnitSystem: eUSSurvey """ - def __init__(self: MSPyDgnPlatform.GeoUnitSystem, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEnglish: GeoUnitSystem @@ -63447,7 +66947,13 @@ class GeomRepresentations: eDISPLAY_INFO_Pattern """ - def __init__(self: MSPyDgnPlatform.GeomRepresentations, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDISPLAY_INFO_Edge: GeomRepresentations @@ -63483,7 +66989,13 @@ class GeoreferencePriority: eGeoreferencePriority_SisterFile """ - def __init__(self: MSPyDgnPlatform.GeoreferencePriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGeoreferencePriority_Attachment: GeoreferencePriority @@ -63507,6 +67019,16 @@ class GeoreferencePriorityVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -63539,6 +67061,7 @@ class GeoreferencePriorityVector: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -63559,6 +67082,7 @@ class GeoreferencePriorityVector: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -63590,7 +67114,13 @@ class GeotiffUnitPriority: eGeotiffUnitPriority_Unknown """ - def __init__(self: MSPyDgnPlatform.GeotiffUnitPriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGeotiffUnitPriority_PCS_Default: GeotiffUnitPriority @@ -63618,7 +67148,13 @@ class GradientFlags: eAlwaysFilled """ - def __init__(self: MSPyDgnPlatform.GradientFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlwaysFilled: GradientFlags @@ -63652,7 +67188,13 @@ class GradientMode: eHemispherical """ - def __init__(self: MSPyDgnPlatform.GradientMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCurved: GradientMode @@ -63755,8 +67297,28 @@ class GradientSymb: """ ... - def SetKeys(self: MSPyDgnPlatform.GradientSymb, colors: MSPyDgnPlatform.RgbColorDefArray, values: MSPyBentleyGeom.DoubleArray) -> None: + @staticmethod + def SetKeys(*args, **kwargs): """ + Overloaded function. + + 1. SetKeys(self: MSPyDgnPlatform.GradientSymb, colors: MSPyDgnPlatform.RgbColorDefArray, values: MSPyBentleyGeom.DoubleArray) -> None + + Set gradient colors and color start fractions. If nKeys is 1, tint is + used to define 2nd color. + + 2. SetKeys(self: MSPyDgnPlatform.GradientSymb, colors: MSPyDgnPlatform.RgbColorDefArray, values: list) -> None + + Set gradient colors and color start fractions. If nKeys is 1, tint is + used to define 2nd color. + + 3. SetKeys(self: MSPyDgnPlatform.GradientSymb, colors: list, values: MSPyBentleyGeom.DoubleArray) -> None + + Set gradient colors and color start fractions. If nKeys is 1, tint is + used to define 2nd color. + + 4. SetKeys(self: MSPyDgnPlatform.GradientSymb, colors: list, values: list) -> None + Set gradient colors and color start fractions. If nKeys is 1, tint is used to define 2nd color. """ @@ -63794,7 +67356,13 @@ class GradientSymb: def Tint(arg0: MSPyDgnPlatform.GradientSymb, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.GradientSymb) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class GridConfiguration: @@ -63808,7 +67376,13 @@ class GridConfiguration: eOffset """ - def __init__(self: MSPyDgnPlatform.GridConfiguration, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIsometric: GridConfiguration @@ -63840,7 +67414,13 @@ class GridOrientationType: eACS """ - def __init__(self: MSPyDgnPlatform.GridOrientationType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eACS: GridOrientationType @@ -63891,12 +67471,15 @@ class GroupEnumerator: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class GroupEvent: """ Members: @@ -63912,7 +67495,13 @@ class GroupEvent: eOnGroupComplete """ - def __init__(self: MSPyDgnPlatform.GroupEvent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIsElementInGroup: GroupEvent @@ -63933,7 +67522,7 @@ class GroupEvent: def value(arg0: MSPyDgnPlatform.GroupEvent) -> int: ... -class GroupedHoleHandler: +class GroupedHoleHandler(MSPyDgnPlatform.Type2Handler, MSPyDgnPlatform.ICurvePathEdit, MSPyDgnPlatform.IAreaFillPropertiesEdit): """ None """ @@ -63953,9 +67542,11 @@ class GroupedHoleHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -63999,9 +67590,11 @@ class GroupedHoleHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -64013,12 +67606,15 @@ class GroupedHoleHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -64062,7 +67658,15 @@ class GroupedHoleHandler: def GetPathDescription(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, string: MSPyBentley.WString, path: MSPyDgnPlatform.DisplayPath, levelStr: str, modelStr: str, groupStr: str, delimiterStr: str) -> None: ... - def GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: List[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple: + @staticmethod + def GetPattern(*args, **kwargs): + """ + Overloaded function. + + 1. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + + 2. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list, origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + """ ... def GetSnapOrigin(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, origin: MSPyBentleyGeom.DPoint3d) -> None: @@ -64077,6 +67681,7 @@ class GroupedHoleHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -64147,34 +67752,43 @@ class GroupedHoleHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class HUDMarkerCategory: + def __init__(self, *args, **kwargs): + ... + +class HUDMarkerCategory(MSPyDgnPlatform.HUDMarkerTreeNode): """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class HUDMarkerTreeNode: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Handler: """ None @@ -64200,12 +67814,15 @@ class Handler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -64234,12 +67851,15 @@ class Handler: def QueryProperties(self: MSPyDgnPlatform.Handler, eh: MSPyDgnPlatform.ElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class HandlerId: """ None @@ -64281,6 +67901,13 @@ class HandlerId: def MinorId(arg0: MSPyDgnPlatform.HandlerId) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -64323,7 +67950,13 @@ class HarvestingLogger: euStationBasedHarevest """ - def __init__(self: MSPyDgnPlatform.HarvestingLogger.HarvestingLogger, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIndexerBasedHarevest: HarvestingLogger @@ -64359,7 +67992,13 @@ class HarvestingLogger: def Strategy(arg0: MSPyDgnPlatform.HarvestingLogger, arg1: MSPyDgnPlatform.HarvestingLogger.HarvestingLogger) -> None: ... - def __init__(self: MSPyDgnPlatform.HarvestingLogger) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIndexerBasedHarevest: HarvestingLogger @@ -64373,12 +68012,15 @@ class Header: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Header) -> MSPyDgnPlatform.Disp_hdr: ... @@ -64398,12 +68040,15 @@ class HiMetricSizeLong: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def x(self: MSPyDgnPlatform.HiMetricSizeLong) -> int: ... @@ -64423,12 +68068,15 @@ class HiMetricSizeShort: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def x(self: MSPyDgnPlatform.HiMetricSizeShort) -> int: ... @@ -64478,7 +68126,13 @@ class HistoryCapabilities: eHistoryCapabilities_ALL """ - def __init__(self: MSPyDgnPlatform.HistoryCapabilities, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHistoryCapabilities_ALL: HistoryCapabilities @@ -64536,7 +68190,13 @@ class HitGeomType: eSurface """ - def __init__(self: MSPyDgnPlatform.HitGeomType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eArc: HitGeomType @@ -64559,11 +68219,14 @@ class HitGeomType: def value(arg0: MSPyDgnPlatform.HitGeomType) -> int: ... -class HitPath: +class HitPath(MSPyDgnPlatform.SelectionPath): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def ComponentElem(arg0: MSPyDgnPlatform.DisplayPath) -> MSPyDgnPlatform.ElementRefBase: ... @@ -64593,10 +68256,8 @@ class HitPath: """ ... - def GetChildElem(*args, **kwargs): + def GetChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ExposeChildrenReason.eQuery) -> MSPyDgnPlatform.ElementRefBase: """ - GetChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ) -> MSPyDgnPlatform.ElementRefBase - Return the ElementRefP of the innermost public component of a complex element for the given expose reason. Use this method to get the ElementRefP of the element Handler that owns/manages the entry @@ -64715,10 +68376,8 @@ class HitPath: """ ... - def GetSharedChildElem(*args, **kwargs): + def GetSharedChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ExposeChildrenReason.eQuery) -> MSPyDgnPlatform.ElementRefBase: """ - GetSharedChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ) -> MSPyDgnPlatform.ElementRefBase - Return the ElementRefP of the innermost public component of a shared cell definition element for the given expose reason. Use this method to get the ElementRefP of the element Handler that owns/manages the @@ -64783,12 +68442,15 @@ class HitPath: def TailElem(arg0: MSPyDgnPlatform.DisplayPath) -> MSPyDgnPlatform.ElementRefBase: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class HitPriority: """ Members: @@ -64810,7 +68472,13 @@ class HitPriority: eInterior """ - def __init__(self: MSPyDgnPlatform.HitPriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCellOrigin: HitPriority @@ -64860,7 +68528,13 @@ class HitSource: eEditActionSS """ - def __init__(self: MSPyDgnPlatform.HitSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAccuSnap: HitSource @@ -64889,7 +68563,7 @@ class HitSource: def value(arg0: MSPyDgnPlatform.HitSource) -> int: ... -class HorizontalBarFraction: +class HorizontalBarFraction(MSPyDgnPlatform.Fraction): """ None """ @@ -64974,23 +68648,29 @@ class HorizontalBarFraction: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class HsvColorDef: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def hue(self: MSPyDgnPlatform.HsvColorDef) -> int: ... @@ -65024,12 +68704,15 @@ class HttpHandler: def Request(self: MSPyDgnPlatform.HttpHandler, request: MSPyDgnPlatform.HttpRequest, cancellationToken: MSPyDgnPlatform.IHttpRequestCancellationToken) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class HttpRequest: """ None @@ -65074,7 +68757,13 @@ class HttpRequest: def Url(arg0: MSPyDgnPlatform.HttpRequest, arg1: MSPyBentley.Utf8String) -> None: ... - def __init__(self: MSPyDgnPlatform.HttpRequest, url: str, header: dict) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class HttpRequestStatus: @@ -65094,7 +68783,13 @@ class HttpRequestStatus: eSuccess """ - def __init__(self: MSPyDgnPlatform.HttpRequestStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAborted: HttpRequestStatus @@ -65143,12 +68838,15 @@ class HttpResponse: def Status(arg0: MSPyDgnPlatform.HttpResponse) -> MSPyDgnPlatform.HttpResponseStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class HttpResponseStatus: """ Members: @@ -65232,7 +68930,13 @@ class HttpResponseStatus: eHttpVersionNotSupported """ - def __init__(self: MSPyDgnPlatform.HttpResponseStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAccepted: HttpResponseStatus @@ -65326,10 +69030,16 @@ class IACSEvents: None """ - def __init__(self: MSPyDgnPlatform.IACSEvents) -> None: + class __class__(type): + """ + None + """ ... -class IACSManager: + def __init__(self, *args, **kwargs): + ... + +class IACSManager(MSPyDgnPlatform.IHostobject): """ None """ @@ -65374,21 +69084,30 @@ class IACSManager: def Traverse(self: MSPyDgnPlatform.IACSManager, handler: MSPyDgnPlatform.IACSTraversalHandler, modelRef: MSPyDgnPlatform.DgnModelRef) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IACSTraversalHandler: """ None """ - def __init__(self: MSPyDgnPlatform.IACSTraversalHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IActiveParameters: +class IActiveParameters(MSPyDgnPlatform.IParameterValues): """ None """ @@ -65422,10 +69141,8 @@ class IActiveParameters: """ ... - def GetValue(*args, **kwargs): + def GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Attempts to retrieve the value of a parameter by access string """ ... @@ -65446,10 +69163,8 @@ class IActiveParameters: def Properties(arg0: MSPyDgnPlatform.IParameterValues) -> MSPyECObjects.IECInstance: ... - def SetValue(*args, **kwargs): + def SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Modifies the value of the specified parameter in memory. The change does not become persistent until WriteValues() is invoked. """ @@ -65461,12 +69176,15 @@ class IActiveParameters: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IAnnotationHandler: """ None @@ -65494,13 +69212,16 @@ class IAnnotationHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IAreaFillPropertiesEdit: + def __init__(self, *args, **kwargs): + ... + +class IAreaFillPropertiesEdit(MSPyDgnPlatform.IAreaFillPropertiesQuery): """ None """ @@ -65520,7 +69241,15 @@ class IAreaFillPropertiesEdit: def GetGradientFill(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... - def GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: List[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple: + @staticmethod + def GetPattern(*args, **kwargs): + """ + Overloaded function. + + 1. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + + 2. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list, origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + """ ... def GetSolidFill(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: @@ -65535,12 +69264,15 @@ class IAreaFillPropertiesEdit: def SetAreaType(self: MSPyDgnPlatform.IAreaFillPropertiesEdit, eeh: MSPyDgnPlatform.EditElementHandle, isHole: bool) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IAreaFillPropertiesQuery: """ None @@ -65552,18 +69284,29 @@ class IAreaFillPropertiesQuery: def GetGradientFill(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... - def GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: List[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple: + @staticmethod + def GetPattern(*args, **kwargs): + """ + Overloaded function. + + 1. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + + 2. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list, origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + """ ... def GetSolidFill(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IAssocRegionQuery: """ None @@ -65586,7 +69329,13 @@ class IAssocRegionQuery: None """ - def __init__(self: MSPyDgnPlatform.IAssocRegionQuery.LoopData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -65603,12 +69352,15 @@ class IAssocRegionQuery: def loopRoots(self: MSPyDgnPlatform.IAssocRegionQuery.LoopData, arg0: MSPyDgnPlatform.DependencyRootArray) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IAuxCoordSys: """ None @@ -65730,13 +69482,16 @@ class IAuxCoordSys: def TypeName(arg0: MSPyDgnPlatform.IAuxCoordSys) -> MSPyBentley.WString: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IBRepEdit: + def __init__(self, *args, **kwargs): + ... + +class IBRepEdit(MSPyDgnPlatform.IBRepQuery): """ None """ @@ -65744,6 +69499,7 @@ class IBRepEdit: def GetBRepDataEntity(self: MSPyDgnPlatform.IBRepQuery, eh: MSPyDgnPlatform.ElementHandle, useCache: bool = False) -> tuple: ... + @staticmethod def GetSolidKernelToUORScale(dgnCache: MSPyDgnPlatform.DgnModel) -> float: ... @@ -65762,12 +69518,15 @@ class IBRepEdit: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IBRepQuery: """ None @@ -65780,13 +69539,16 @@ class IBRepQuery: def GetSolidKernelToUORScale(dgnCache: MSPyDgnPlatform.DgnModel) -> float: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IBsplineSurfaceEdit: + def __init__(self, *args, **kwargs): + ... + +class IBsplineSurfaceEdit(MSPyDgnPlatform.IBsplineSurfaceQuery): """ None """ @@ -65797,12 +69559,15 @@ class IBsplineSurfaceEdit: def SetBsplineSurface(self: MSPyDgnPlatform.IBsplineSurfaceEdit, eeh: MSPyDgnPlatform.EditElementHandle, surface: MSPyBentleyGeom.MSBsplineSurface) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IBsplineSurfaceQuery: """ None @@ -65811,12 +69576,15 @@ class IBsplineSurfaceQuery: def GetBsplineSurface(self: MSPyDgnPlatform.IBsplineSurfaceQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ICellQuery: """ None @@ -65849,12 +69617,15 @@ class ICellQuery: def IsSharedCellDefinition(self: MSPyDgnPlatform.ICellQuery, eh: MSPyDgnPlatform.ElementHandle) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IConfigVariableIterator: """ None @@ -65866,17 +69637,25 @@ class IConfigVariableIterator: """ ... - def __init__(self: MSPyDgnPlatform.IConfigVariableIterator) -> None: + class __class__(type): + """ + None + """ ... -class ICurvePathEdit: + def __init__(self, *args, **kwargs): + ... + +class ICurvePathEdit(MSPyDgnPlatform.ICurvePathQuery): """ None """ + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -65886,12 +69665,15 @@ class ICurvePathEdit: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ICurvePathQuery: """ None @@ -65908,23 +69690,29 @@ class ICurvePathQuery: def GetCurveVector(self: MSPyDgnPlatform.ICurvePathQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDependencyHandler: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDgnComponentDefinitionHandler: """ None @@ -65964,13 +69752,16 @@ class IDgnComponentDefinitionHandler: def ParameterSets(arg0: MSPyDgnPlatform.IDgnComponentDefinitionHandler) -> MSPyDgnPlatform.IParameterSetCollection: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IDgnComponentDefinitionModelHandler: + def __init__(self, *args, **kwargs): + ... + +class IDgnComponentDefinitionModelHandler(MSPyDgnPlatform.IDgnComponentDefinitionHandler): """ None """ @@ -66092,12 +69883,15 @@ class IDgnComponentDefinitionModelHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDgnECChangeListener: """ None @@ -66106,7 +69900,7 @@ class IDgnECChangeListener: def AcceptChangeFor(self: MSPyDgnPlatform.IDgnECChangeListener, arg0: MSPyECObjects.ECClass, arg1: MSPyDgnPlatform.TransactionType) -> bool: ... - def DgnECInstancesChanged(self: MSPyDgnPlatform.IDgnECChangeListener, arg0: List[MSPyDgnPlatform.DgnInstanceChangeRecord ], arg1: MSPyDgnPlatform.DgnFile, arg2: MSPyDgnPlatform.TransactionType) -> None: + def DgnECInstancesChanged(self: MSPyDgnPlatform.IDgnECChangeListener, arg0: list[MSPyDgnPlatform.DgnInstanceChangeRecord ], arg1: MSPyDgnPlatform.DgnFile, arg2: MSPyDgnPlatform.TransactionType) -> None: ... def GetPriority(self: MSPyDgnPlatform.IDgnECChangeListener) -> int: @@ -66123,10 +69917,16 @@ class IDgnECChangeListener: def Priority(arg0: MSPyDgnPlatform.IDgnECChangeListener) -> int: ... - def RelationshipsChanged(self: MSPyDgnPlatform.IDgnECChangeListener, arg0: List[MSPyDgnPlatform.DgnRelationChangeRecord ], arg1: MSPyDgnPlatform.DgnFilePArray, arg2: MSPyDgnPlatform.TransactionType) -> None: + def RelationshipsChanged(self: MSPyDgnPlatform.IDgnECChangeListener, arg0: list[MSPyDgnPlatform.DgnRelationChangeRecord ], arg1: MSPyDgnPlatform.DgnFilePArray, arg2: MSPyDgnPlatform.TransactionType) -> None: ... - def __init__(self: MSPyDgnPlatform.IDgnECChangeListener, priority: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IDgnSettings: @@ -66161,6 +69961,7 @@ class IDgnSettings: """ ... + @staticmethod def GetFileApplicationSettings(*args, **kwargs): """ Overloaded function. @@ -66189,6 +69990,7 @@ class IDgnSettings: """ ... + @staticmethod def GetModelApplicationSettings(*args, **kwargs): """ Overloaded function. @@ -66217,12 +70019,15 @@ class IDgnSettings: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDgnTextStyleApplyable: """ None @@ -66268,12 +70073,15 @@ class IDgnTextStyleApplyable: def TextStyleId(arg0: MSPyDgnPlatform.IDgnTextStyleApplyable) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDgnWorkSetInfo: """ None @@ -66286,6 +70094,7 @@ class IDgnWorkSetInfo: """ ... + @staticmethod def AddProperty(*args, **kwargs): """ Overloaded function. @@ -66604,18 +70413,27 @@ class IDgnWorkSetInfo: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDimCreateData: """ None """ - def __init__(self: MSPyDgnPlatform.IDimCreateData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IDimStyleTransactionListener: @@ -66623,10 +70441,16 @@ class IDimStyleTransactionListener: None """ - def __init__(self: MSPyDgnPlatform.IDimStyleTransactionListener) -> None: + class __class__(type): + """ + None + """ ... -class IDimensionEdit: + def __init__(self, *args, **kwargs): + ... + +class IDimensionEdit(MSPyDgnPlatform.IDimensionQuery): """ None """ @@ -66718,12 +70542,15 @@ class IDimensionEdit: def SetWitnessVisibility(self: MSPyDgnPlatform.IDimensionEdit, eeh: MSPyDgnPlatform.EditElementHandle, pointNo: int, value: bool) -> MSPyDgnPlatform.BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDimensionQuery: """ None @@ -66774,12 +70601,15 @@ class IDimensionQuery: def GetWitnessVisibility(self: MSPyDgnPlatform.IDimensionQuery, eh: MSPyDgnPlatform.ElementHandle, pointNo: int) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDisplayRuleAction: """ None @@ -66801,12 +70631,15 @@ class IDisplayRuleAction: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDrawGeom: """ None @@ -66854,9 +70687,18 @@ class IDrawGeom: def DrawCurveVector2d(self: MSPyDgnPlatform.IDrawGeom, curves: MSPyBentleyGeom.CurveVector, filled: bool, zDepth: float) -> None: ... - def DrawLineString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + @staticmethod + def DrawLineString2d(*args, **kwargs): + """ + Overloaded function. + + 1. DrawLineString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + + 2. DrawLineString2d(self: MSPyDgnPlatform.IDrawGeom, points: list, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + """ ... + @staticmethod def DrawLineString3d(*args, **kwargs): """ Overloaded function. @@ -66867,9 +70709,18 @@ class IDrawGeom: """ ... - def DrawPointString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + @staticmethod + def DrawPointString2d(*args, **kwargs): + """ + Overloaded function. + + 1. DrawPointString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + + 2. DrawPointString2d(self: MSPyDgnPlatform.IDrawGeom, points: list, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + """ ... + @staticmethod def DrawPointString3d(*args, **kwargs): """ Overloaded function. @@ -66890,9 +70741,18 @@ class IDrawGeom: """ ... - def DrawShape2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, filled: bool, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + @staticmethod + def DrawShape2d(*args, **kwargs): + """ + Overloaded function. + + 1. DrawShape2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, filled: bool, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + + 2. DrawShape2d(self: MSPyDgnPlatform.IDrawGeom, points: list, filled: bool, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + """ ... + @staticmethod def DrawShape3d(*args, **kwargs): """ Overloaded function. @@ -66936,17 +70796,21 @@ class IDrawGeom: def SetDrawViewFlags(self: MSPyDgnPlatform.IDrawGeom, flags: MSPyDgnPlatform.ViewFlags) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IEditParameterDefinitions: + def __init__(self, *args, **kwargs): + ... + +class IEditParameterDefinitions(MSPyDgnPlatform.IParameterDefinitions): """ None """ + @staticmethod def Add(*args, **kwargs): """ Overloaded function. @@ -67194,19 +71058,15 @@ class IEditParameterDefinitions: def ExpressionHandler(arg0: MSPyDgnPlatform.IParameterDefinitions) -> MSPyDgnPlatform.IParameterExpressionHandler: ... - def FindByAccessString(*args, **kwargs): + def FindByAccessString(self: MSPyDgnPlatform.IParameterDefinitions, def_: MSPyDgnPlatform.ParameterDefinition, accessString: str) -> MSPyDgnPlatform.ParameterStatus: """ - FindByAccessString(self: MSPyDgnPlatform.IParameterDefinitions, def: MSPyDgnPlatform.ParameterDefinition, accessString: str) -> MSPyDgnPlatform.ParameterStatus - Attempts to retrieve the parameter definition with the specified internal name """ ... - def FindByLabel(*args, **kwargs): + def FindByLabel(self: MSPyDgnPlatform.IParameterDefinitions, def_: MSPyDgnPlatform.ParameterDefinition, label: str) -> MSPyDgnPlatform.ParameterStatus: """ - FindByLabel(self: MSPyDgnPlatform.IParameterDefinitions, def: MSPyDgnPlatform.ParameterDefinition, label: str) -> MSPyDgnPlatform.ParameterStatus - Attempts to retrieve the parameter definition with the specified user- visible name """ @@ -67236,6 +71096,7 @@ class IEditParameterDefinitions: def GetForEdit(self: MSPyDgnPlatform.IParameterDefinitions) -> MSPyDgnPlatform.IEditParameterDefinitions: ... + @staticmethod def GetForModel(model: MSPyDgnPlatform.DgnModel) -> MSPyDgnPlatform.IParameterDefinitions: """ Returns the parameter definitions for the specified model, or nullptr @@ -67255,13 +71116,11 @@ class IEditParameterDefinitions: """ ... - def GetParamSetValue(*args, **kwargs): + def GetParamSetValue(self: MSPyDgnPlatform.IParameterDefinitions, def_: MSPyDgnPlatform.ParameterDefinition, values: MSPyDgnPlatform.IParameterValues, sections: MSPyDgnPlatform.ParameterCsvSectionPresenceFlags) -> MSPyBentley.WString: """ - GetParamSetValue(self: MSPyDgnPlatform.IParameterDefinitions, def: MSPyDgnPlatform.ParameterDefinition, values: MSPyDgnPlatform.IParameterValues, sections: MSPyDgnPlatform.ParameterCsvSectionPresenceFlags) -> MSPyBentley.WString - Gets the parameter set value for a given parameter definition - :param def: + :param def_: The parameter definition for which the parameter set value we are trying to get. @@ -67291,10 +71150,8 @@ class IEditParameterDefinitions: """ ... - def GetValue(*args, **kwargs): + def GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Attempts to retrieve the value of a parameter by access string """ ... @@ -67359,14 +71216,12 @@ class IEditParameterDefinitions: """ ... - def Replace(*args, **kwargs): + def Replace(self: MSPyDgnPlatform.IEditParameterDefinitions, def_: MSPyDgnPlatform.ParameterDefinition) -> MSPyDgnPlatform.ParameterStatus: """ - Replace(self: MSPyDgnPlatform.IEditParameterDefinitions, def: MSPyDgnPlatform.ParameterDefinition) -> MSPyDgnPlatform.ParameterStatus - Updates the parameter definition with the same internal name as the specified parameter definition - :param def: + :param def_: The updated parameter definition :returns: @@ -67422,15 +71277,13 @@ class IEditParameterDefinitions: """ ... - def SetParamSetValue(*args, **kwargs): + def SetParamSetValue(self: MSPyDgnPlatform.IEditParameterDefinitions, def_: MSPyDgnPlatform.ParameterDefinition, values: MSPyDgnPlatform.IParameterValues, value: str, unitFactor: float) -> bool: """ - SetParamSetValue(self: MSPyDgnPlatform.IEditParameterDefinitions, def: MSPyDgnPlatform.ParameterDefinition, values: MSPyDgnPlatform.IParameterValues, value: str, unitFactor: float) -> bool - Sets the value of a paramter set for a given parameter definition converted with respect to the current unit system if any conversion is needed for any type of parameter. - :param def: + :param def_: The parameter definition for which we are setting the value of the paramter set. @@ -67451,10 +71304,8 @@ class IEditParameterDefinitions: """ ... - def SetValue(*args, **kwargs): + def SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Modifies the value of the specified parameter in memory. The change does not become persistent until WriteValues() is invoked. """ @@ -67484,13 +71335,16 @@ class IEditParameterDefinitions: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IEditProperties: + def __init__(self, *args, **kwargs): + ... + +class IEditProperties(MSPyDgnPlatform.IProcessProperties): """ None """ @@ -67507,7 +71361,13 @@ class IEditProperties: def EditPropertiesPurpose(arg0: MSPyDgnPlatform.IEditProperties) -> MSPyDgnPlatform.EditPropertyPurpose: ... - def __init__(self: MSPyDgnPlatform.IEditProperties) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IElementAgendaEvents: @@ -67515,7 +71375,13 @@ class IElementAgendaEvents: None """ - def __init__(self: MSPyDgnPlatform.IElementAgendaEvents) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IElementGraphicsProcessor: @@ -67523,7 +71389,13 @@ class IElementGraphicsProcessor: None """ - def __init__(self: MSPyDgnPlatform.IElementGraphicsProcessor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IElementSet: @@ -67531,6 +71403,9 @@ class IElementSet: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Count(arg0: MSPyDgnPlatform.IElementSet) -> int: ... @@ -67568,23 +71443,29 @@ class IElementSet: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IElementState: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IElementTemplateRefMonitor: """ None @@ -67623,10 +71504,16 @@ class IElementTemplateRefMonitor: """ ... - def __init__(self: MSPyDgnPlatform.IElementTemplateRefMonitor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IEvaluateParameterExpressionContext: +class IEvaluateParameterExpressionContext(MSPyDgnPlatform.IParameterExpressionContext): """ None """ @@ -67660,23 +71547,29 @@ class IEvaluateParameterExpressionContext: def ParameterValues(arg0: MSPyDgnPlatform.IEvaluateParameterExpressionContext) -> MSPyDgnPlatform.IParameterValues: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IFaceMaterialAttachments: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IGeoCoordinateEventHandler: """ None @@ -67688,13 +71581,13 @@ class IGeoCoordinateEventHandler: been changed. :param oldGCS: - (input) The previous GeoCoordinateSystem (NULL if there is none). + (input) -> The previous GeoCoordinateSystem (NULL if there is none). :param newGCS: - (input) The new GeoCoordinateSystem. + (input) -> The new GeoCoordinateSystem. :param modelRef: - (input) The modelRef for which the GCS changed. + (input) -> The modelRef for which the GCS changed. :param primaryCoordSys: (input) true if changed the primary coordinate system, false if changed @@ -67716,10 +71609,10 @@ class IGeoCoordinateEventHandler: been deleted. :param currentGCS: - (input) The GeoCoordinateSystem that was deleted. + (input) -> The GeoCoordinateSystem that was deleted. :param modelRef: - (input) The modelRef for which the GCS was deleted. + (input) -> The modelRef for which the GCS was deleted. :param primaryCoordSys: (input) true if deleted the primary coordinate system, false if deleted @@ -67734,14 +71627,14 @@ class IGeoCoordinateEventHandler: " Projected ", " AEC Transform ", and " No ". :param modelRef: - (input) The modelRef of the reference that's getting changed. + (input) -> The modelRef of the reference that's getting changed. :param oldState: - (input) The old state. 0 for no geocoordination, 1 for Projected, 2 for + (input) -> The old state. 0 for no geocoordination, 1 for Projected, 2 for AEC transformed. :param newState: - (input) The new state. + (input) -> The new state. """ ... @@ -67751,13 +71644,13 @@ class IGeoCoordinateEventHandler: changed. :param oldGCS: - (input) The existing GeoCoordinateSystem (NULL if there is none). + (input) -> The existing GeoCoordinateSystem (NULL if there is none). :param newGCS: - (input) The new GeoCoordinateSystem. + (input) -> The new GeoCoordinateSystem. :param modelRef: - (input) The modelRef for which the GCS is changing. + (input) -> The modelRef for which the GCS is changing. :param primaryCoordSys: (input) true if changing the primary coordinate system, false if @@ -67783,10 +71676,10 @@ class IGeoCoordinateEventHandler: deleted. :param currentGCS: - (input) The GeoCoordinateSystem that is about to be deleted. + (input) -> The GeoCoordinateSystem that is about to be deleted. :param modelRef: - (input) The modelRef for which the GCS is changing. + (input) -> The modelRef for which the GCS is changing. :param primaryCoordSys: (input) true if deleting the primary coordinate system, false if @@ -67804,18 +71697,24 @@ class IGeoCoordinateEventHandler: changed. For example if it is changed between " Projected ", " AEC Transform ", and " No ". :param modelRef: - (input) The modelRef of the reference that's getting changed. + (input) -> The modelRef of the reference that's getting changed. :param oldState: - (input) The old state. 0 for no geocoordination, 1 for Projected, 2 for + (input) -> The old state. 0 for no geocoordination, 1 for Projected, 2 for AEC transformed. :param newState: - (input) The new state. + (input) -> The new state. + """ + ... + + class __class__(type): + """ + None """ ... - def __init__(self: MSPyDgnPlatform.IGeoCoordinateEventHandler) -> None: + def __init__(self, *args, **kwargs): ... class IHasViewClipObject: @@ -67836,21 +71735,30 @@ class IHasViewClipObject: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IHttpRequestCancellationToken: """ None """ - def __init__(self: MSPyDgnPlatform.IHttpRequestCancellationToken) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IMaterialPropertiesExtension: +class IMaterialPropertiesExtension(MSPyDgnPlatform.Extension): """ None """ @@ -68127,35 +72035,44 @@ class IMaterialPropertiesExtension: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IMaterialProvider: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IMaterialStore: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IMeshEdit: + def __init__(self, *args, **kwargs): + ... + +class IMeshEdit(MSPyDgnPlatform.IMeshQuery): """ None """ @@ -68166,12 +72083,15 @@ class IMeshEdit: def SetMeshData(self: MSPyDgnPlatform.IMeshEdit, eeh: MSPyDgnPlatform.EditElementHandle, meshData: MSPyBentleyGeom.PolyfaceQuery) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IMeshQuery: """ None @@ -68180,23 +72100,29 @@ class IMeshQuery: def GetMeshData(self: MSPyDgnPlatform.IMeshQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IMlineStyleTransactionListener: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IModelTransientHandler: """ None @@ -68213,7 +72139,13 @@ class IModelTransientHandler: eModelTransientPurpose_PostDisplayList """ - def __init__(self: MSPyDgnPlatform.IModelTransientHandler.ModelTransientPurpose, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eModelTransientPurpose_Normal: ModelTransientPurpose @@ -68230,7 +72162,13 @@ class IModelTransientHandler: def value(arg0: MSPyDgnPlatform.IModelTransientHandler.ModelTransientPurpose) -> int: ... - def __init__(self: MSPyDgnPlatform.IModelTransientHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eModelTransientPurpose_Normal: ModelTransientPurpose @@ -68239,7 +72177,7 @@ class IModelTransientHandler: eModelTransientPurpose_PreDisplayList: ModelTransientPurpose -class IMultilineEdit: +class IMultilineEdit(MSPyDgnPlatform.IMultilineQuery): """ None """ @@ -68299,6 +72237,7 @@ class IMultilineEdit: """ ... + @staticmethod def ExtractCapJointDefinition(*args, **kwargs): """ Overloaded function. @@ -68339,6 +72278,7 @@ class IMultilineEdit: """ ... + @staticmethod def ExtractJointDefinition(*args, **kwargs): """ Overloaded function. @@ -68379,6 +72319,7 @@ class IMultilineEdit: """ ... + @staticmethod def ExtractPoints(*args, **kwargs): """ Overloaded function. @@ -68878,17 +72819,21 @@ class IMultilineEdit: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IMultilineQuery: """ None """ + @staticmethod def ExtractCapJointDefinition(*args, **kwargs): """ Overloaded function. @@ -68929,6 +72874,7 @@ class IMultilineQuery: """ ... + @staticmethod def ExtractJointDefinition(*args, **kwargs): """ Overloaded function. @@ -68969,6 +72915,7 @@ class IMultilineQuery: """ ... + @staticmethod def ExtractPoints(*args, **kwargs): """ Overloaded function. @@ -69238,12 +73185,15 @@ class IMultilineQuery: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + INVALID_CLASS : int INVALID_COLOR: int @@ -69272,7 +73222,13 @@ class INamedBoundaryGroupMemberVisitor: """ ... - def __init__(self: MSPyDgnPlatform.INamedBoundaryGroupMemberVisitor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class INamedGroupMemberVisitor: @@ -69308,7 +73264,13 @@ class INamedGroupMemberVisitor: """ ... - def __init__(self: MSPyDgnPlatform.INamedGroupMemberVisitor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class INamedViewElementHandler: @@ -69316,6 +73278,7 @@ class INamedViewElementHandler: None """ + @staticmethod def CreateView(*args, **kwargs): """ Overloaded function. @@ -69382,13 +73345,16 @@ class INamedViewElementHandler: def ViewTypeNameForPersistence(arg0: MSPyDgnPlatform.INamedViewElementHandler) -> MSPyBentley.WString: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IParameterDefinitions: + def __init__(self, *args, **kwargs): + ... + +class IParameterDefinitions(MSPyDgnPlatform.IActiveParameters): """ None """ @@ -69426,19 +73392,15 @@ class IParameterDefinitions: def ExpressionHandler(arg0: MSPyDgnPlatform.IParameterDefinitions) -> MSPyDgnPlatform.IParameterExpressionHandler: ... - def FindByAccessString(*args, **kwargs): + def FindByAccessString(self: MSPyDgnPlatform.IParameterDefinitions, def_: MSPyDgnPlatform.ParameterDefinition, accessString: str) -> MSPyDgnPlatform.ParameterStatus: """ - FindByAccessString(self: MSPyDgnPlatform.IParameterDefinitions, def: MSPyDgnPlatform.ParameterDefinition, accessString: str) -> MSPyDgnPlatform.ParameterStatus - Attempts to retrieve the parameter definition with the specified internal name """ ... - def FindByLabel(*args, **kwargs): + def FindByLabel(self: MSPyDgnPlatform.IParameterDefinitions, def_: MSPyDgnPlatform.ParameterDefinition, label: str) -> MSPyDgnPlatform.ParameterStatus: """ - FindByLabel(self: MSPyDgnPlatform.IParameterDefinitions, def: MSPyDgnPlatform.ParameterDefinition, label: str) -> MSPyDgnPlatform.ParameterStatus - Attempts to retrieve the parameter definition with the specified user- visible name """ @@ -69488,13 +73450,11 @@ class IParameterDefinitions: """ ... - def GetParamSetValue(*args, **kwargs): + def GetParamSetValue(self: MSPyDgnPlatform.IParameterDefinitions, def_: MSPyDgnPlatform.ParameterDefinition, values: MSPyDgnPlatform.IParameterValues, sections: MSPyDgnPlatform.ParameterCsvSectionPresenceFlags) -> MSPyBentley.WString: """ - GetParamSetValue(self: MSPyDgnPlatform.IParameterDefinitions, def: MSPyDgnPlatform.ParameterDefinition, values: MSPyDgnPlatform.IParameterValues, sections: MSPyDgnPlatform.ParameterCsvSectionPresenceFlags) -> MSPyBentley.WString - Gets the parameter set value for a given parameter definition - :param def: + :param def_: The parameter definition for which the parameter set value we are trying to get. @@ -69524,10 +73484,8 @@ class IParameterDefinitions: """ ... - def GetValue(*args, **kwargs): + def GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Attempts to retrieve the value of a parameter by access string """ ... @@ -69559,10 +73517,8 @@ class IParameterDefinitions: def Properties(arg0: MSPyDgnPlatform.IParameterValues) -> MSPyECObjects.IECInstance: ... - def SetValue(*args, **kwargs): + def SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Modifies the value of the specified parameter in memory. The change does not become persistent until WriteValues() is invoked. """ @@ -69592,12 +73548,15 @@ class IParameterDefinitions: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IParameterExpression: """ None @@ -69620,12 +73579,15 @@ class IParameterExpression: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IParameterExpressionContext: """ None @@ -69649,7 +73611,13 @@ class IParameterExpressionContext: def ParameterDefinitions(arg0: MSPyDgnPlatform.IParameterExpressionContext) -> MSPyDgnPlatform.IParameterDefinitions: ... - def __init__(self: MSPyDgnPlatform.IParameterExpressionContext, defs: MSPyDgnPlatform.IParameterDefinitions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IParameterExpressionHandler: @@ -69675,13 +73643,16 @@ class IParameterExpressionHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IParameterSet: + def __init__(self, *args, **kwargs): + ... + +class IParameterSet(MSPyDgnPlatform.IParameterValues): """ None """ @@ -69730,10 +73701,8 @@ class IParameterSet: """ ... - def GetValue(*args, **kwargs): + def GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Attempts to retrieve the value of a parameter by access string """ ... @@ -69780,10 +73749,8 @@ class IParameterSet: """ ... - def SetValue(*args, **kwargs): + def SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Modifies the value of the specified parameter in memory. The change does not become persistent until WriteValues() is invoked. """ @@ -69802,29 +73769,38 @@ class IParameterSet: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IParameterSetCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def FindByName(self: MSPyDgnPlatform.IParameterSetCollection, name: str) -> MSPyDgnPlatform.IParameterSet: """ Attempts to retrieve a parameter set within this collection by name """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IParameterValues: """ None @@ -69842,10 +73818,8 @@ class IParameterValues: """ ... - def GetValue(*args, **kwargs): + def GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Attempts to retrieve the value of a parameter by access string """ ... @@ -69866,10 +73840,8 @@ class IParameterValues: def Properties(arg0: MSPyDgnPlatform.IParameterValues) -> MSPyECObjects.IECInstance: ... - def SetValue(*args, **kwargs): + def SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Modifies the value of the specified parameter in memory. The change does not become persistent until WriteValues() is invoked. """ @@ -69881,24 +73853,30 @@ class IParameterValues: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IParametricCellDefEventListener: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IParseParameterExpressionContext: + def __init__(self, *args, **kwargs): + ... + +class IParseParameterExpressionContext(MSPyDgnPlatform.IParameterExpressionContext): """ None """ @@ -69947,12 +73925,15 @@ class IParseParameterExpressionContext: def TargetAccessString(arg0: MSPyDgnPlatform.IParseParameterExpressionContext) -> str: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IPickListProvider: """ None @@ -70054,7 +74035,13 @@ class IPickListProvider: """ ... - def __init__(self: MSPyDgnPlatform.IPickListProvider, name: str) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPointCloudDrawParams: @@ -70102,7 +74089,13 @@ class IPointCloudDrawParams: eIPointCloudDrawParams_InitialVersion """ - def __init__(self: MSPyDgnPlatform.IPointCloudDrawParams.VersionNumber, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIPointCloudDrawParams_InitialVersion: VersionNumber @@ -70115,15 +74108,18 @@ class IPointCloudDrawParams: def value(arg0: MSPyDgnPlatform.IPointCloudDrawParams.VersionNumber) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eIPointCloudDrawParams_InitialVersion: VersionNumber -class IPointCloudEdit: +class IPointCloudEdit(MSPyDgnPlatform.IPointCloudQuery): """ None """ @@ -70182,12 +74178,15 @@ class IPointCloudEdit: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IPointCloudQuery: """ None @@ -70217,24 +74216,30 @@ class IPointCloudQuery: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IProcessProperties: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IQueryProperties: + def __init__(self, *args, **kwargs): + ... + +class IQueryProperties(MSPyDgnPlatform.IProcessProperties): """ None """ @@ -70251,14 +74256,21 @@ class IQueryProperties: def WantSharedChildren(arg0: MSPyDgnPlatform.IQueryProperties) -> bool: ... - def __init__(self: MSPyDgnPlatform.IQueryProperties) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IRasterAttachmentEdit: +class IRasterAttachmentEdit(MSPyDgnPlatform.IRasterAttachmentQuery): """ None """ + @staticmethod def ColorIndexFromRgbInModel(modelRef: MSPyDgnPlatform.DgnModelRef, rgbColor: MSPyDgnPlatform.RgbColorDef) -> tuple: """ Query the raw color index of an RGB triplet from a DgnModelRef color @@ -70528,7 +74540,7 @@ class IRasterAttachmentEdit: Unit definition that will be filled. :returns: - a const reference to input GeotiffUnit filled from raster + a reference to input GeotiffUnit filled from raster attachment values. """ ... @@ -70689,6 +74701,7 @@ class IRasterAttachmentEdit: """ ... + @staticmethod def GetSearchPath(modelRef: MSPyDgnPlatform.DgnModelRef) -> MSPyBentley.WString: """ Return default search path used with the attach moniker to find @@ -70834,11 +74847,12 @@ class IRasterAttachmentEdit: Unit definition that will be filled. :returns: - a const reference to input WorldFileUnit filled from raster + a reference to input WorldFileUnit filled from raster attachment values. """ ... + @staticmethod def IsTransform3D(matrix: MSPyBentleyGeom.Transform) -> bool: """ Check if the matrix contains 3D transformation. @@ -70851,6 +74865,7 @@ class IRasterAttachmentEdit: """ ... + @staticmethod def IsValidTransform(matrix: MSPyBentleyGeom.Transform) -> bool: """ Check if the matrix is a valid raster transform matrix. @@ -70863,6 +74878,7 @@ class IRasterAttachmentEdit: """ ... + @staticmethod def RgbFromColorIndexInModel(color: MSPyDgnPlatform.RgbColorDef, modelRef: MSPyDgnPlatform.DgnModelRef, rawIndex: int) -> int: """ Query the RGB triplet from a DgnModelRef rawIndex. @@ -71498,12 +75514,15 @@ class IRasterAttachmentEdit: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IRasterAttachmentQuery: """ None @@ -71750,7 +75769,7 @@ class IRasterAttachmentQuery: Unit definition that will be filled. :returns: - a const reference to input GeotiffUnit filled from raster + a reference to input GeotiffUnit filled from raster attachment values. """ ... @@ -72057,7 +76076,7 @@ class IRasterAttachmentQuery: Unit definition that will be filled. :returns: - a const reference to input WorldFileUnit filled from raster + a reference to input WorldFileUnit filled from raster attachment values. """ ... @@ -72107,12 +76126,15 @@ class IRasterAttachmentQuery: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IRasterSourceFileQuery: """ None @@ -72147,6 +76169,7 @@ class IRasterSourceFileQuery: def HasAlpha(self: MSPyDgnPlatform.IRasterSourceFileQuery) -> bool: ... + @staticmethod def InitFrom(*args, **kwargs): """ Overloaded function. @@ -72205,13 +76228,16 @@ class IRasterSourceFileQuery: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ISharedCellQuery: + def __init__(self, *args, **kwargs): + ... + +class ISharedCellQuery(MSPyDgnPlatform.ICellQuery): """ None """ @@ -72265,12 +76291,15 @@ class ISharedCellQuery: def IsSharedCellDefinition(self: MSPyDgnPlatform.ICellQuery, eh: MSPyDgnPlatform.ElementHandle) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ISolidKernelEntity: """ None @@ -72329,7 +76358,13 @@ class ISolidKernelEntity: eEntityType_Minimal """ - def __init__(self: MSPyDgnPlatform.ISolidKernelEntity.KernelEntityType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEntityType_Minimal: KernelEntityType @@ -72375,12 +76410,15 @@ class ISolidKernelEntity: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eEntityType_Minimal: KernelEntityType eEntityType_Sheet: KernelEntityType @@ -72394,6 +76432,16 @@ class ISolidKernelEntityPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -72426,6 +76474,7 @@ class ISolidKernelEntityPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -72446,6 +76495,7 @@ class ISolidKernelEntityPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -72466,11 +76516,12 @@ class ISolidKernelEntityPtrArray: """ ... -class ISolidPrimitiveEdit: +class ISolidPrimitiveEdit(MSPyDgnPlatform.ISolidPrimitiveQuery): """ None """ + @staticmethod def ElementToSolidPrimitive(eh: MSPyDgnPlatform.ElementHandle, simplify: bool = True) -> MSPyBentleyGeom.ISolidPrimitive: ... @@ -72480,12 +76531,15 @@ class ISolidPrimitiveEdit: def SetSolidPrimitive(self: MSPyDgnPlatform.ISolidPrimitiveEdit, eeh: MSPyDgnPlatform.EditElementHandle, primitive: MSPyBentleyGeom.ISolidPrimitive) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ISolidPrimitiveQuery: """ None @@ -72498,12 +76552,15 @@ class ISolidPrimitiveQuery: def GetSolidPrimitive(self: MSPyDgnPlatform.ISolidPrimitiveQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ISprite: """ None @@ -72541,12 +76598,15 @@ class ISprite: def UseAlpha(arg0: MSPyDgnPlatform.ISprite) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ISubEntity: """ None @@ -72572,7 +76632,13 @@ class ISubEntity: eSubEntityType_Vertex """ - def __init__(self: MSPyDgnPlatform.ISubEntity.ISubEntity, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSubEntityType_Edge: ISubEntity @@ -72593,12 +76659,15 @@ class ISubEntity: def SubEntityType(arg0: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.ISubEntity.ISubEntity: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eSubEntityType_Edge: ISubEntity eSubEntityType_Face: ISubEntity @@ -72610,6 +76679,16 @@ class ISubEntityPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -72642,6 +76721,7 @@ class ISubEntityPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -72662,6 +76742,7 @@ class ISubEntityPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -72706,10 +76787,16 @@ class ITagCreateData: """ ... - def __init__(self: MSPyDgnPlatform.ITagCreateData, tagName: str, tagSetName: str, textStyle: MSPyDgnPlatform.DgnTextStyle, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class ITextEdit: +class ITextEdit(MSPyDgnPlatform.ITextQuery): """ None """ @@ -72743,7 +76830,13 @@ class ITextEdit: eReplaceStatus_Delete """ - def __init__(self: MSPyDgnPlatform.ITextEdit.ReplaceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplaceStatus_Delete: ReplaceStatus @@ -72763,12 +76856,15 @@ class ITextEdit: def ReplaceTextPart(self: MSPyDgnPlatform.ITextEdit, eh: MSPyDgnPlatform.EditElementHandle, partId: MSPyDgnPlatform.ITextPartId, textBlock: MSPyDgnPlatform.TextBlock) -> MSPyDgnPlatform.ITextEdit.ReplaceStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eReplaceStatus_Delete: ReplaceStatus eReplaceStatus_Error: ReplaceStatus @@ -72801,7 +76897,13 @@ class ITextEditRestrictions: """ ... - def __init__(self: MSPyDgnPlatform.ITextEditRestrictions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ITextPartId: @@ -72809,12 +76911,15 @@ class ITextPartId: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ITextQuery: """ None @@ -72835,12 +76940,15 @@ class ITextQuery: def IsTextElement(self: MSPyDgnPlatform.ITextQuery, eh: MSPyDgnPlatform.ElementHandle) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ITextQueryOptions: """ None @@ -72882,7 +76990,13 @@ class ITextQueryOptions: """ ... - def __init__(self: MSPyDgnPlatform.ITextQueryOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ITextStyleTransactionListener: @@ -72890,7 +77004,13 @@ class ITextStyleTransactionListener: None """ - def __init__(self: MSPyDgnPlatform.ITextStyleTransactionListener) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ITransactionHandler: @@ -72906,7 +77026,13 @@ class ITransactionHandler: def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... - def __init__(self: MSPyDgnPlatform.ITransactionHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ITxn: @@ -72914,10 +77040,8 @@ class ITxn: None """ - def AddElement(*args, **kwargs): + def AddElement(self: MSPyDgnPlatform.ITxn, newEeh: MSPyDgnPlatform.EditElementHandle, opts: MSPyDgnPlatform.TxnElementAddOptions = None) -> int: """ - AddElement(self: MSPyDgnPlatform.ITxn, newEeh: MSPyDgnPlatform.EditElementHandle, opts: MSPyDgnPlatform.TxnElementAddOptions = ) -> int - Add a new element to a model. Remark: @@ -72938,10 +77062,8 @@ class ITxn: """ ... - def AddXAttribute(*args, **kwargs): + def AddXAttribute(self: MSPyDgnPlatform.ITxn, elRef: MSPyDgnPlatform.ElementRefBase, handlerId: MSPyDgnPlatform.XAttributeHandlerId, xAttrId: int, data: bytes, opts: MSPyDgnPlatform.TxnXAttributeAddOptions = None) -> tuple: """ - AddXAttribute(self: MSPyDgnPlatform.ITxn, elRef: MSPyDgnPlatform.ElementRefBase, handlerId: MSPyDgnPlatform.XAttributeHandlerId, xAttrId: int, data: bytes, opts: MSPyDgnPlatform.TxnXAttributeAddOptions = ) -> tuple - @name XAttributes Add a new XAttribute to an existing element. :param elRef: @@ -72979,6 +77101,7 @@ class ITxn: """ ... + @staticmethod def CreateNewModel(*args, **kwargs): """ Overloaded function. @@ -73014,11 +77137,6 @@ class ITxn: This function calls DgnFile.AddRootModel. Returns (Tuple, 0): - A pointer to a new DgnModel for the new model, or NULL if the - model could not be created. See *error* for error details. - - - Returns (Tuple, 1): err.if not NULL, *error* is set to a non-zero error status if the return value is NULL. Possible values include: DGNMODEL_STATUS_InvalidModelName if name is NULL or cannot be used @@ -73027,9 +77145,9 @@ class ITxn: DGNMODEL_STATUS_NotFound if *seedModel* is NULL and if no default seed model can be found - - - + Returns (Tuple, 1): + A pointer to a new DgnModel for the new model, or NULL if the + model could not be created. See *error* for error details. 2. CreateNewModel(self: MSPyDgnPlatform.ITxn, dgnFile: MSPyDgnPlatform.DgnFile, modelInfo: MSPyDgnPlatform.ModelInfo, modelId: int = -2) -> tuple @@ -73062,11 +77180,6 @@ class ITxn: This function calls DgnFile.AddRootModel. Returns (Tuple, 0): - A pointer to a new DgnModel for the new model, or NULL if the - model could not be created. See *error* for error details. - - - Returns (Tuple, 1): err.if not NULL, *error* is set to a non-zero error status if the return value is NULL. Possible values include: DGNMODEL_STATUS_InvalidModelName if name is NULL or cannot be used @@ -73074,13 +77187,15 @@ class ITxn: existing model in this file already uses the specified name DGNMODEL_STATUS_NotFound if *seedModel* is NULL and if no default seed model can be found + + Returns (Tuple, 1): + A pointer to a new DgnModel for the new model, or NULL if the + model could not be created. See *error* for error details. """ ... - def DeleteElement(*args, **kwargs): + def DeleteElement(self: MSPyDgnPlatform.ITxn, elemRef: MSPyDgnPlatform.ElementRefBase, opts: MSPyDgnPlatform.TxnElementWriteOptions = None) -> int: """ - DeleteElement(self: MSPyDgnPlatform.ITxn, elemRef: MSPyDgnPlatform.ElementRefBase, opts: MSPyDgnPlatform.TxnElementWriteOptions = ) -> int - Delete an element from a model. :param elem: @@ -73119,10 +77234,8 @@ class ITxn: """ ... - def DeleteXAttribute(*args, **kwargs): + def DeleteXAttribute(self: MSPyDgnPlatform.ITxn, xAttr: MSPyDgnPlatform.XAttributeHandle, opts: MSPyDgnPlatform.TxnXAttributeWriteOptions = None) -> int: """ - DeleteXAttribute(self: MSPyDgnPlatform.ITxn, xAttr: MSPyDgnPlatform.XAttributeHandle, opts: MSPyDgnPlatform.TxnXAttributeWriteOptions = ) -> int - Delete an existing XAttribute from an element. :param xAttr: @@ -73139,10 +77252,8 @@ class ITxn: """ ... - def ModifyXAttributeData(*args, **kwargs): + def ModifyXAttributeData(self: MSPyDgnPlatform.ITxn, xAttr: MSPyDgnPlatform.XAttributeHandle, data: bytes, start: int, opts: MSPyDgnPlatform.TxnXAttributeWriteOptions = None) -> int: """ - ModifyXAttributeData(self: MSPyDgnPlatform.ITxn, xAttr: MSPyDgnPlatform.XAttributeHandle, data: bytes, start: int, opts: MSPyDgnPlatform.TxnXAttributeWriteOptions = ) -> int - Modify all or part of an existing XAttribute. The size of the XAttribute cannot be changed. @@ -73169,16 +77280,14 @@ class ITxn: """ ... - def ReplaceElement(*args, **kwargs): + def ReplaceElement(self: MSPyDgnPlatform.ITxn, eeh: MSPyDgnPlatform.EditElementHandle, elemRef: MSPyDgnPlatform.ElementRefBase, opts: MSPyDgnPlatform.TxnElementWriteOptions = None) -> int: """ - ReplaceElement(self: MSPyDgnPlatform.ITxn, eeh: MSPyDgnPlatform.EditElementHandle, elemRef: MSPyDgnPlatform.ElementRefBase, opts: MSPyDgnPlatform.TxnElementWriteOptions = ) -> int - Replace an existing element in a model with a different one. :param el: The element to be replaced. - :param in: + :param in_: The ElementRefP of the element to be replaced. Must be a valid existing element. @@ -73190,10 +77299,8 @@ class ITxn: """ ... - def ReplaceXAttributeData(*args, **kwargs): + def ReplaceXAttributeData(self: MSPyDgnPlatform.ITxn, xAttr: MSPyDgnPlatform.XAttributeHandle, data: bytes, opts: MSPyDgnPlatform.TxnXAttributeWriteOptions = None) -> int: """ - ReplaceXAttributeData(self: MSPyDgnPlatform.ITxn, xAttr: MSPyDgnPlatform.XAttributeHandle, data: bytes, opts: MSPyDgnPlatform.TxnXAttributeWriteOptions = ) -> int - Replace an existing XAttribute with a new value. The size of the XAttribute *can* change with this method. @@ -73245,13 +77352,16 @@ class ITxn: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ITxnManager: + def __init__(self, *args, **kwargs): + ... + +class ITxnManager(MSPyDgnPlatform.HostObjectBase): """ None """ @@ -73609,18 +77719,27 @@ class ITxnManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IVariableMonitor: """ None """ - def __init__(self: MSPyDgnPlatform.IVariableMonitor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IViewClipObject: @@ -73628,16 +77747,14 @@ class IViewClipObject: None """ - def CopyCrops(*args, **kwargs): + def CopyCrops(self: MSPyDgnPlatform.IViewClipObject, from_: MSPyDgnPlatform.IViewClipObject) -> None: """ - CopyCrops(self: MSPyDgnPlatform.IViewClipObject, from: MSPyDgnPlatform.IViewClipObject) -> None - @verbatim EditElementHandle sourceClipEEH; EditElementHandle destinationClipEEH; IHasViewClipObject* hasViewClipObject = - dynamic_cast (&sourceClipEEH.GetHandler ()); + dynamic_cast (sourceClipEEH.GetHandler ()); IViewClipObjectPtr sourceClipObjPtr = hasViewClipObject->GetClipObject (sourceClipEEH) ; hasViewClipObject = dynamic_cast - (&destinationClipEEH.GetHandler ()); + (destinationClipEEH.GetHandler ()); IViewClipObjectPtr destinationClipObjPtr = hasViewClipObject->GetClipObject (destinationClipEEH) ; destinationClipObjPtr->CopyCrops (sourceClipObjPtr.get()) ; @@ -73661,7 +77778,7 @@ class IViewClipObject: def GetCrop(self: MSPyDgnPlatform.IViewClipObject, clipVolumeCropProp: MSPyDgnPlatform.ClipVolumeCropProp) -> bool: """ @verbatim IHasViewClipObject* hasViewClipObject = dynamic_cast - (&clipEEH.GetHandler ()) ; IViewClipObjectPtr + (clipEEH.GetHandler ()) ; IViewClipObjectPtr clipObjPtr = hasViewClipObject->GetClipObject (clipEEH) ; bool cropFlag = clipObjPtr->GetCrop (CLIPVOLUME_CROP_Front) ; @endverbatim """ @@ -73710,7 +77827,7 @@ class IViewClipObject: def GetPreserveUp(self: MSPyDgnPlatform.IViewClipObject) -> bool: """ @verbatim IHasViewClipObject* hasViewClipObject = dynamic_cast - (&clipEEH.GetHandler ()) ; IViewClipObjectPtr + (clipEEH.GetHandler ()) ; IViewClipObjectPtr clipObjPtr = hasViewClipObject->GetClipObject (clipEEH) ; bool getFlag = clipObjPtr->GetPreserveUp () ; @endverbatim """ @@ -73719,7 +77836,7 @@ class IViewClipObject: def GetRotationMatrix(self: MSPyDgnPlatform.IViewClipObject) -> MSPyBentleyGeom.RotMatrix: """ @verbatim IHasViewClipObject* hasViewClipObject = dynamic_cast - (&clipEEH.GetHandler ()) ; IViewClipObjectPtr + (clipEEH.GetHandler ()) ; IViewClipObjectPtr clipObjPtr = hasViewClipObject->GetClipObject (clipEEH) ; RotMatrix rMatrix; rMatrix = clipObjPtr->GetRotationMatrix (); clipObjPtr->SetRotationMatrix (rMatrix); @endverbatim @@ -73729,7 +77846,7 @@ class IViewClipObject: def GetSize(self: MSPyDgnPlatform.IViewClipObject, clipVolumeSizeProp: MSPyDgnPlatform.ClipVolumeSizeProp) -> float: """ @verbatim IHasViewClipObject* hasViewClipObject = dynamic_cast - (&clipEEH.GetHandler ()); IViewClipObjectPtr + (clipEEH.GetHandler ()); IViewClipObjectPtr clipObjPtr = hasViewClipObject->GetClipObject (clipEEH) ; double frontSize = clipObjPtr->GetSize (CLIPVOLUME_SIZE_FrontDepth) ; @endverbatim @@ -73779,7 +77896,7 @@ class IViewClipObject: def SetCrop(self: MSPyDgnPlatform.IViewClipObject, clipVolumeCropProp: MSPyDgnPlatform.ClipVolumeCropProp, crop: bool) -> None: """ @verbatim IHasViewClipObject* hasViewClipObject = dynamic_cast - (&clipEEH.GetHandler ()) ; IViewClipObjectPtr + (clipEEH.GetHandler ()) ; IViewClipObjectPtr clipObjPtr = hasViewClipObject->GetClipObject (clipEEH) ; clipObjPtr->SetCrop (CLIPVOLUME_CROP_Front, true) ; @endverbatim """ @@ -73802,6 +77919,7 @@ class IViewClipObject: """ ... + @staticmethod def SetPoints(*args, **kwargs): """ Overloaded function. @@ -73809,7 +77927,7 @@ class IViewClipObject: 1. SetPoints(self: MSPyDgnPlatform.IViewClipObject, points: MSPyBentleyGeom.DPoint3dArray) -> None @verbatim IHasViewClipObject* hasViewClipObject = dynamic_cast - (&clipEEH.GetHandler ()) ; IViewClipObjectPtr + (clipEEH.GetHandler ()) ; IViewClipObjectPtr clipObjPtr = hasViewClipObject->GetClipObject (clipEEH) ; size_t numPoints = clipObjPtr->GetNumPoints () ; DPoint3dVector clipPoints; clipObjPtr->GetPoints (clipPoints, 0, numPoints) ; @@ -73818,7 +77936,7 @@ class IViewClipObject: 2. SetPoints(self: MSPyDgnPlatform.IViewClipObject, points: list) -> None @verbatim IHasViewClipObject* hasViewClipObject = dynamic_cast - (&clipEEH.GetHandler ()) ; IViewClipObjectPtr + (clipEEH.GetHandler ()) ; IViewClipObjectPtr clipObjPtr = hasViewClipObject->GetClipObject (clipEEH) ; size_t numPoints = clipObjPtr->GetNumPoints () ; DPoint3dVector clipPoints; clipObjPtr->GetPoints (clipPoints, 0, numPoints) ; @@ -73829,7 +77947,7 @@ class IViewClipObject: def SetPreserveUp(self: MSPyDgnPlatform.IViewClipObject, flag: bool) -> None: """ @verbatim IHasViewClipObject* hasViewClipObject = dynamic_cast - (&clipEEH.GetHandler ()) ; IViewClipObjectPtr + (clipEEH.GetHandler ()) ; IViewClipObjectPtr clipObjPtr = hasViewClipObject->GetClipObject (clipEEH) ; clipObjPtr->SetPreserveUp (true) ; @endverbatim """ @@ -73852,7 +77970,7 @@ class IViewClipObject: def SetSize(self: MSPyDgnPlatform.IViewClipObject, clipVolumeSizeProp: MSPyDgnPlatform.ClipVolumeSizeProp, size: float) -> None: """ @verbatim IHasViewClipObject* hasViewClipObject = dynamic_cast - (&clipEEH.GetHandler ()) ; IViewClipObjectPtr + (clipEEH.GetHandler ()) ; IViewClipObjectPtr clipObjPtr = hasViewClipObject->GetClipObject (clipEEH) ; clipObjPtr->SetSize (CLIPVOLUME_SIZE_FrontDepth, true) ; @endverbatim """ @@ -73878,7 +77996,7 @@ class IViewClipObject: to edit the clip data of the clip element. :param templateEH: - const pointer to a clip element previously created and points to + pointer to a clip element previously created and points to null if the element is getting created for the first time. :param modelRef: @@ -73897,21 +78015,30 @@ class IViewClipObject: def Width(arg0: MSPyDgnPlatform.IViewClipObject, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IViewDecoration: """ None """ - def __init__(self: MSPyDgnPlatform.IViewDecoration) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IViewDraw: +class IViewDraw(MSPyDgnPlatform.IDrawGeom): """ None """ @@ -73961,9 +78088,18 @@ class IViewDraw: def DrawGrid(self: MSPyDgnPlatform.IViewDraw, doIsoGrid: bool, drawDots: bool, gridOrigin: MSPyBentleyGeom.DPoint3d, xVector: MSPyBentleyGeom.DVec3d, yVector: MSPyBentleyGeom.DVec3d, gridsPerRef: int, repetitions: MSPyBentleyGeom.Point2d) -> None: ... - def DrawLineString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + @staticmethod + def DrawLineString2d(*args, **kwargs): + """ + Overloaded function. + + 1. DrawLineString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + + 2. DrawLineString2d(self: MSPyDgnPlatform.IDrawGeom, points: list, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + """ ... + @staticmethod def DrawLineString3d(*args, **kwargs): """ Overloaded function. @@ -73977,9 +78113,18 @@ class IViewDraw: def DrawPointCloud(self: MSPyDgnPlatform.IViewDraw, drawParams: MSPyDgnPlatform.IPointCloudDrawParams) -> None: ... - def DrawPointString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + @staticmethod + def DrawPointString2d(*args, **kwargs): + """ + Overloaded function. + + 1. DrawPointString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + + 2. DrawPointString2d(self: MSPyDgnPlatform.IDrawGeom, points: list, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + """ ... + @staticmethod def DrawPointString3d(*args, **kwargs): """ Overloaded function. @@ -74000,15 +78145,24 @@ class IViewDraw: """ ... - def DrawRaster(self: MSPyDgnPlatform.IViewDraw, points: List[MSPyBentleyGeom.DPoint3d[4]], pitch: int, numTexelsX: int, numTexelsY: int, enableAlpha: int, format: int, texels: bytes, range: MSPyBentleyGeom.DPoint3d) -> None: + def DrawRaster(self: MSPyDgnPlatform.IViewDraw, points: list[MSPyBentleyGeom.DPoint3d], pitch: int, numTexelsX: int, numTexelsY: int, enableAlpha: int, format: int, texels: bytes, range: MSPyBentleyGeom.DPoint3d) -> None: ... - def DrawRaster2d(self: MSPyDgnPlatform.IViewDraw, points: List[MSPyBentleyGeom.DPoint2d[4]], pitch: int, numTexelsX: int, numTexelsY: int, enableAlpha: int, format: int, texels: bytes, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + def DrawRaster2d(self: MSPyDgnPlatform.IViewDraw, points: list[MSPyBentleyGeom.DPoint2d], pitch: int, numTexelsX: int, numTexelsY: int, enableAlpha: int, format: int, texels: bytes, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: ... - def DrawShape2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, filled: bool, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + @staticmethod + def DrawShape2d(*args, **kwargs): + """ + Overloaded function. + + 1. DrawShape2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, filled: bool, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + + 2. DrawShape2d(self: MSPyDgnPlatform.IDrawGeom, points: list, filled: bool, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + """ ... + @staticmethod def DrawShape3d(*args, **kwargs): """ Overloaded function. @@ -74064,13 +78218,16 @@ class IViewDraw: def SetToViewCoords(self: MSPyDgnPlatform.IViewDraw, yesNo: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IViewManager: + def __init__(self, *args, **kwargs): + ... + +class IViewManager(MSPyDgnPlatform.IHostobject): """ None """ @@ -74132,21 +78289,30 @@ class IViewManager: def OnHostTermination(self: MSPyDgnPlatform.DgnHost.IHostobject, isProgramExit: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IViewMonitor: """ None """ - def __init__(self: MSPyDgnPlatform.IViewMonitor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IViewOutput: +class IViewOutput(MSPyDgnPlatform.IViewDraw): """ None """ @@ -74203,9 +78369,18 @@ class IViewOutput: def DrawGrid(self: MSPyDgnPlatform.IViewDraw, doIsoGrid: bool, drawDots: bool, gridOrigin: MSPyBentleyGeom.DPoint3d, xVector: MSPyBentleyGeom.DVec3d, yVector: MSPyBentleyGeom.DVec3d, gridsPerRef: int, repetitions: MSPyBentleyGeom.Point2d) -> None: ... - def DrawLineString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + @staticmethod + def DrawLineString2d(*args, **kwargs): + """ + Overloaded function. + + 1. DrawLineString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + + 2. DrawLineString2d(self: MSPyDgnPlatform.IDrawGeom, points: list, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + """ ... + @staticmethod def DrawLineString3d(*args, **kwargs): """ Overloaded function. @@ -74219,9 +78394,18 @@ class IViewOutput: def DrawPointCloud(self: MSPyDgnPlatform.IViewDraw, drawParams: MSPyDgnPlatform.IPointCloudDrawParams) -> None: ... - def DrawPointString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + @staticmethod + def DrawPointString2d(*args, **kwargs): + """ + Overloaded function. + + 1. DrawPointString2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + + 2. DrawPointString2d(self: MSPyDgnPlatform.IDrawGeom, points: list, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + """ ... + @staticmethod def DrawPointString3d(*args, **kwargs): """ Overloaded function. @@ -74242,15 +78426,24 @@ class IViewOutput: """ ... - def DrawRaster(self: MSPyDgnPlatform.IViewDraw, points: List[MSPyBentleyGeom.DPoint3d[4]], pitch: int, numTexelsX: int, numTexelsY: int, enableAlpha: int, format: int, texels: bytes, range: MSPyBentleyGeom.DPoint3d) -> None: + def DrawRaster(self: MSPyDgnPlatform.IViewDraw, points: list[MSPyBentleyGeom.DPoint3d], pitch: int, numTexelsX: int, numTexelsY: int, enableAlpha: int, format: int, texels: bytes, range: MSPyBentleyGeom.DPoint3d) -> None: ... - def DrawRaster2d(self: MSPyDgnPlatform.IViewDraw, points: List[MSPyBentleyGeom.DPoint2d[4]], pitch: int, numTexelsX: int, numTexelsY: int, enableAlpha: int, format: int, texels: bytes, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + def DrawRaster2d(self: MSPyDgnPlatform.IViewDraw, points: list[MSPyBentleyGeom.DPoint2d], pitch: int, numTexelsX: int, numTexelsY: int, enableAlpha: int, format: int, texels: bytes, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: ... - def DrawShape2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, filled: bool, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None: + @staticmethod + def DrawShape2d(*args, **kwargs): + """ + Overloaded function. + + 1. DrawShape2d(self: MSPyDgnPlatform.IDrawGeom, points: MSPyBentleyGeom.DPoint2dArray, filled: bool, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + + 2. DrawShape2d(self: MSPyDgnPlatform.IDrawGeom, points: list, filled: bool, zDepth: float, range: MSPyBentleyGeom.DPoint2d) -> None + """ ... + @staticmethod def DrawShape3d(*args, **kwargs): """ Overloaded function. @@ -74332,12 +78525,15 @@ class IViewOutput: def SetToViewCoords(self: MSPyDgnPlatform.IViewDraw, yesNo: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IViewTransients: """ None @@ -74346,10 +78542,16 @@ class IViewTransients: def ComputeRange(self: MSPyDgnPlatform.IViewTransients, range: MSPyBentleyGeom.DRange3d, vp: MSPyDgnPlatform.Viewport) -> int: ... - def __init__(self: MSPyDgnPlatform.IViewTransients) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IXDataNodeHandler: +class IXDataNodeHandler(MSPyDgnPlatform.Handler): """ None """ @@ -74380,12 +78582,15 @@ class IXDataNodeHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -74407,6 +78612,7 @@ class IXDataNodeHandler: def GetITransactionHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.ITransactionHandler: ... + @staticmethod def GetInstance() -> MSPyDgnPlatform.Handler: ... @@ -74427,12 +78633,15 @@ class IXDataNodeHandler: def QueryProperties(self: MSPyDgnPlatform.Handler, eh: MSPyDgnPlatform.ElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IconData: """ None @@ -74457,13 +78666,16 @@ class IconData: def GetAspectRatio(self: MSPyDgnPlatform.IconData) -> float: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IconElementHandler: + def __init__(self, *args, **kwargs): + ... + +class IconElementHandler(MSPyDgnPlatform.ExtendedElementHandler): """ None """ @@ -74510,12 +78722,15 @@ class IconElementHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -74540,6 +78755,7 @@ class IconElementHandler: def GetITransactionHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.ITransactionHandler: ... + @staticmethod def GetInstance() -> MSPyDgnPlatform.DisplayHandler: ... @@ -74558,9 +78774,11 @@ class IconElementHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... + @staticmethod def InitializeElement(eeh: MSPyDgnPlatform.EditElementHandle, eh: MSPyDgnPlatform.ElementHandle, modelRef: MSPyDgnPlatform.DgnModelRef, is3d: bool, isComplexHeader: bool = 0) -> None: ... @@ -74584,6 +78802,7 @@ class IconElementHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... + @staticmethod def ValidatePresentation(*args, **kwargs): """ Overloaded function. @@ -74618,18 +78837,27 @@ class IconElementHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IconGeometry: """ None """ - def __init__(self: MSPyDgnPlatform.IconGeometry, IsDrawBoundary: bool, Origin: MSPyBentleyGeom.DPoint3d, VectorX: MSPyBentleyGeom.DPoint3d, VectorY: MSPyBentleyGeom.DPoint3d) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -74671,7 +78899,13 @@ class IconSource: eDllFile """ - def __init__(self: MSPyDgnPlatform.IconSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDllFile: IconSource @@ -74715,7 +78949,13 @@ class ImageColorMode: ePalette2 """ - def __init__(self: MSPyDgnPlatform.ImageColorMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAny: ImageColorMode @@ -74883,7 +79123,13 @@ class ImageFileFormat: eIMAGEFILE_POWERVRTEXTURE """ - def __init__(self: MSPyDgnPlatform.ImageFileFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIMAGEFILE_AAIG: ImageFileFormat @@ -75053,7 +79299,13 @@ class ImageFormat: eIMAGEFORMAT_BGRSeparate """ - def __init__(self: MSPyDgnPlatform.ImageFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIMAGEFORMAT_BGRA: ImageFormat @@ -75109,7 +79361,13 @@ class ImageIngrOrientation: eINGR_ORIENT_LowerRightHorizontal """ - def __init__(self: MSPyDgnPlatform.ImageIngrOrientation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eINGR_ORIENT_LowerLeftHorizontal: ImageIngrOrientation @@ -75149,7 +79407,13 @@ class ImageOriginOrientation: eLOWER_RIGHT """ - def __init__(self: MSPyDgnPlatform.ImageOriginOrientation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLOWER_LEFT: ImageOriginOrientation @@ -75253,7 +79517,13 @@ class IndentationData: def TabStops(arg0: MSPyDgnPlatform.IndentationData, arg1: MSPyBentleyGeom.DoubleArray) -> None: ... - def __init__(self: MSPyDgnPlatform.IndentationData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IndexedViewSet: @@ -75261,6 +79531,9 @@ class IndexedViewSet: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def DgnHost(arg0: MSPyDgnPlatform.IndexedViewSet) -> MSPyDgnPlatform.DgnHost: ... @@ -75304,7 +79577,13 @@ class IndexedViewSet: def SetStopEvents(self: MSPyDgnPlatform.IndexedViewSet.DynamicUpdateInfo, stopEvents: MSPyDgnPlatform.StopEvents) -> None: ... - def __init__(self: MSPyDgnPlatform.IndexedViewSet.DynamicUpdateInfo) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -75366,7 +79645,13 @@ class IndexedViewSet: def StartEndMsg(arg0: MSPyDgnPlatform.IndexedViewSet.FullUpdateInfo, arg1: bool) -> None: ... - def __init__(self: MSPyDgnPlatform.IndexedViewSet.FullUpdateInfo) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def GetDgnHost(self: MSPyDgnPlatform.IndexedViewSet) -> MSPyDgnPlatform.DgnHost: @@ -75410,17 +79695,21 @@ class IndexedViewSet: def UpdateViewDynamic(self: MSPyDgnPlatform.IndexedViewSet, vp: MSPyDgnPlatform.IndexedViewport, info: MSPyDgnPlatform.IndexedViewSet.DynamicUpdateInfo) -> MSPyDgnPlatform.UpdateAbortReason: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IndexedViewport: + def __init__(self, *args, **kwargs): + ... + +class IndexedViewport(MSPyDgnPlatform.QvViewportRef): """ None """ + @staticmethod def ActiveToRoot(*args, **kwargs): """ Overloaded function. @@ -75429,9 +79718,13 @@ class IndexedViewport: 2. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, activePts: list) -> None - 3. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + 3. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, activePts: list) -> None + + 4. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, activePts: MSPyBentleyGeom.DPoint3dArray) -> None - 4. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootRMatrix: MSPyBentleyGeom.RotMatrix, activeRMatrix: MSPyBentleyGeom.RotMatrix) -> None + 5. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + + 6. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootRMatrix: MSPyBentleyGeom.RotMatrix, activeRMatrix: MSPyBentleyGeom.RotMatrix) -> None """ ... @@ -75439,6 +79732,7 @@ class IndexedViewport: def ActiveToRootMap(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DMap4d: ... + @staticmethod def ActiveToView(*args, **kwargs): """ Overloaded function. @@ -75447,7 +79741,11 @@ class IndexedViewport: 2. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: list, activePts: list) -> None - 3. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + 3. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, activePts: list) -> None + + 4. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: list, activePts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -75557,10 +79855,8 @@ class IndexedViewport: def GetIndexedLineWidth(self: MSPyDgnPlatform.Viewport, index: int) -> int: ... - def GetPixelSizeAtPoint(*args, **kwargs): + def GetPixelSizeAtPoint(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, coordSys: MSPyDgnPlatform.DgnCoordSystem = DgnCoordSystem.eRoot) -> float: """ - GetPixelSizeAtPoint(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, coordSys: MSPyDgnPlatform.DgnCoordSystem = ) -> float - Get the size of a single pixel at a given point as a distance along the view-x axis. The size of a pixel will only differ at different points within the same Viewport if the camera is on for this Viewport @@ -75568,7 +79864,7 @@ class IndexedViewport: ones further from the eye.) :param rootPt: - The point in DgnCoordSystem::Root for determining pixel size. If + The point in DgnCoordSystem.Root for determining pixel size. If NULL, use the center of the Viewport. :param coordSys: @@ -75603,6 +79899,7 @@ class IndexedViewport: def GetTargetModel(self: MSPyDgnPlatform.Viewport) -> MSPyDgnPlatform.DgnModelRef: ... + @staticmethod def GetViewBox(*args, **kwargs): """ Overloaded function. @@ -75698,36 +79995,49 @@ class IndexedViewport: def IsSheetView(self: MSPyDgnPlatform.Viewport) -> bool: ... + @staticmethod def MakeColorTransparency(color: int, transparency: int) -> int: ... + @staticmethod def MakeTransparentIfOpaque(color: int, transparency: int) -> int: ... + @staticmethod def MakeTrgbColor(red: int, green: int, blue: int, transparency: int) -> int: ... + @staticmethod def NpcToRoot(*args, **kwargs): """ Overloaded function. 1. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + 2. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 3. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 4. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None - 3. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 5. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def NpcToView(*args, **kwargs): """ Overloaded function. 1. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: list) -> None + 2. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None - 3. NpcToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 4. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: list) -> None + + 5. NpcToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -75738,6 +80048,7 @@ class IndexedViewport: def RootModel(arg0: MSPyDgnPlatform.Viewport) -> MSPyDgnPlatform.DgnModel: ... + @staticmethod def RootToActive(*args, **kwargs): """ Overloaded function. @@ -75746,21 +80057,30 @@ class IndexedViewport: 2. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: list, rootPts: list) -> None - 3. RootToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 3. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None - 4. RootToActive(self: MSPyDgnPlatform.Viewport, activeRMatrix: MSPyBentleyGeom.RotMatrix, rootRMatrix: MSPyBentleyGeom.RotMatrix) -> None + 4. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. RootToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + + 6. RootToActive(self: MSPyDgnPlatform.Viewport, activeRMatrix: MSPyBentleyGeom.RotMatrix, rootRMatrix: MSPyBentleyGeom.RotMatrix) -> None """ ... + @staticmethod def RootToNpc(*args, **kwargs): """ Overloaded function. 1. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: list) -> None + 2. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None - 3. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 4. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: list) -> None + + 5. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -75768,6 +80088,7 @@ class IndexedViewport: def RootToNpcMap(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DMap4d: ... + @staticmethod def RootToView(*args, **kwargs): """ Overloaded function. @@ -75776,25 +80097,38 @@ class IndexedViewport: 2. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint4dArray, rootPts: list) -> None - 3. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint4d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 3. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 4. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + + 5. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint4d, rootPt: MSPyBentleyGeom.DPoint3d) -> None - 4. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + 6. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 5. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + 7. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None - 6. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 8. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 9. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + + 10. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def RootToView2d(*args, **kwargs): """ Overloaded function. 1. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: list) -> None + 2. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + + 4. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: list) -> None - 3. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint2d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 5. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint2d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -75814,6 +80148,7 @@ class IndexedViewport: def ScreenNumber(arg0: MSPyDgnPlatform.Viewport) -> int: ... + @staticmethod def ScreenToView(*args, **kwargs): """ Overloaded function. @@ -75822,7 +80157,11 @@ class IndexedViewport: 2. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: list, screenPts: list) -> None - 3. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, screenPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, screenPts: list) -> None + + 4. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: list, screenPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, screenPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -75831,8 +80170,7 @@ class IndexedViewport: @name Changing Viewport Frustum Scroll the Viewport by a given number of pixels in the view's X and/or Y direction. This method will move the Viewport's frustum in the indicated direction, but does *not* - update the screen (even if the Viewport happens to be a visible View.) - This method does change the ViewInfo associated with the Viewport. + update the screen (even if the Viewport happens to be a visible View.) -> This method does change the ViewInfo associated with the Viewport. :param viewDist: The distance to scroll, in pixels. @note To update the view, see @@ -75862,6 +80200,7 @@ class IndexedViewport: def SetTemporaryClipMaskElementRef(self: MSPyDgnPlatform.Viewport, element: MSPyDgnPlatform.ElementRefBase) -> None: ... + @staticmethod def SetupFromFrustum(*args, **kwargs): """ Overloaded function. @@ -75904,6 +80243,7 @@ class IndexedViewport: def ViewOrigin(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DPoint3d: ... + @staticmethod def ViewToActive(*args, **kwargs): """ Overloaded function. @@ -75912,22 +80252,32 @@ class IndexedViewport: 2. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: list, viewPts: list) -> None - 3. ViewToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ViewToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToNpc(*args, **kwargs): """ Overloaded function. 1. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: list) -> None + 2. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None - 3. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: list) -> None + + 5. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToRoot(*args, **kwargs): """ Overloaded function. @@ -75936,16 +80286,25 @@ class IndexedViewport: 2. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint4dArray) -> None - 3. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint4d) -> None + 3. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 4. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None - 4. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + 5. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint4d) -> None - 5. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + 6. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 6. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 7. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 8. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 9. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + + 10. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToScreen(*args, **kwargs): """ Overloaded function. @@ -75954,19 +80313,26 @@ class IndexedViewport: 2. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: list, viewPts: list) -> None - 3. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... def Zoom(self: MSPyDgnPlatform.Viewport, newCenterPoint: MSPyBentleyGeom.DPoint3d, factor: float, normalizeCamera: bool) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IntColorDef: """ None @@ -75975,6 +80341,13 @@ class IntColorDef: def SetColors(self: MSPyDgnPlatform.IntColorDef, r: int, g: int, b: int, a: int) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -76025,7 +80398,13 @@ class IsoPlaneValues: eIsoPlaneAll """ - def __init__(self: MSPyDgnPlatform.IsoPlaneValues, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIsoPlaneAll: IsoPlaneValues @@ -76057,7 +80436,13 @@ class IsometricPlane: eAll """ - def __init__(self: MSPyDgnPlatform.IsometricPlane, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: IsometricPlane @@ -76076,7 +80461,7 @@ class IsometricPlane: def value(arg0: MSPyDgnPlatform.IsometricPlane) -> int: ... -class ItemType: +class ItemType(MSPyDgnPlatform.CustomPropertyContainer): """ None """ @@ -76200,17 +80585,23 @@ class ItemType: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ItemTypeLibraries: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def DgnFile(arg0: MSPyDgnPlatform.ItemTypeLibraries) -> MSPyDgnPlatform.DgnFile: ... @@ -76241,7 +80632,13 @@ class ItemTypeLibraries: def Schema(arg0: MSPyDgnPlatform.ItemTypeLibraries.Entry) -> MSPyECObjects.ECSchema: ... - def __init__(self: MSPyDgnPlatform.ItemTypeLibraries.Entry, other: MSPyDgnPlatform.ItemTypeLibraries.Entry) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def GetDgnFile(self: MSPyDgnPlatform.ItemTypeLibraries) -> MSPyDgnPlatform.DgnFile: @@ -76250,7 +80647,13 @@ class ItemTypeLibraries: """ ... - def __init__(self: MSPyDgnPlatform.ItemTypeLibraries, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def size(self: MSPyDgnPlatform.ItemTypeLibraries) -> int: @@ -76465,7 +80868,13 @@ class ItemTypeLibrary: """ ... - def __init__(self: MSPyDgnPlatform.ItemTypeLibrary, name: str, dgnfile: MSPyDgnPlatform.DgnFile, forCopy: bool = False) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ItemTypeLibraryComponentECClass: @@ -76487,12 +80896,15 @@ class ItemTypeLibraryComponentECClass: def Library(arg0: MSPyDgnPlatform.ItemTypeLibraryComponentECClass) -> MSPyDgnPlatform.ItemTypeLibrary: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ItemTypeLibraryComponentECProperty: """ None @@ -76512,12 +80924,15 @@ class ItemTypeLibraryComponentECProperty: def Library(arg0: MSPyDgnPlatform.ItemTypeLibraryComponentECProperty) -> MSPyDgnPlatform.ItemTypeLibrary: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + LEVEL_BYCELL: int LEVEL_BYCELL_ATTRIBUTE: int @@ -76625,7 +81040,13 @@ class LOCATE_Action: eGLOBAL_LOCATE_AUTOLOCATE """ - def __init__(self: MSPyDgnPlatform.LOCATE_Action, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGLOBAL_LOCATE_AUTOLOCATE: LOCATE_Action @@ -76833,12 +81254,15 @@ class LevelCache: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LevelCacheErrorCode: """ Members: @@ -76878,7 +81302,13 @@ class LevelCacheErrorCode: eAttachmentSharesFileLevelCache """ - def __init__(self: MSPyDgnPlatform.LevelCacheErrorCode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAttachmentSharesFileLevelCache: LevelCacheErrorCode @@ -76928,7 +81358,13 @@ class LevelClassMask: None """ - def __init__(self: MSPyDgnPlatform.LevelClassMask) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -76945,7 +81381,7 @@ class LevelClassMask: def levelBitMask(arg0: MSPyDgnPlatform.LevelClassMask, arg1: BitMask) -> None: ... -class LevelDefinitionColor: +class LevelDefinitionColor(MSPyDgnPlatform.LevelDefinitionStyleBase): """ None """ @@ -76980,10 +81416,16 @@ class LevelDefinitionColor: """ ... - def __init__(self: MSPyDgnPlatform.LevelDefinitionColor, color: int, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class LevelDefinitionIdBase: +class LevelDefinitionIdBase(MSPyDgnPlatform.LevelDefinitionStyleBase): """ None """ @@ -77015,10 +81457,16 @@ class LevelDefinitionIdBase: def GetElementId(self: MSPyDgnPlatform.LevelDefinitionIdBase) -> int: ... - def __init__(self: MSPyDgnPlatform.LevelDefinitionIdBase, elementId: int, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class LevelDefinitionLineStyle: +class LevelDefinitionLineStyle(MSPyDgnPlatform.LevelDefinitionStyleBase): """ None """ @@ -77074,10 +81522,16 @@ class LevelDefinitionLineStyle: def StyleParams(arg0: MSPyDgnPlatform.LevelDefinitionLineStyle) -> MSPyDgnPlatform.LineStyleParams: ... - def __init__(self: MSPyDgnPlatform.LevelDefinitionLineStyle, color: int, params: MSPyDgnPlatform.LineStyleParams, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ ... -class LevelDefinitionMaterial: + def __init__(self, *args, **kwargs): + ... + +class LevelDefinitionMaterial(MSPyDgnPlatform.LevelDefinitionIdBase): """ None """ @@ -77109,10 +81563,16 @@ class LevelDefinitionMaterial: def GetElementId(self: MSPyDgnPlatform.LevelDefinitionIdBase) -> int: ... - def __init__(self: MSPyDgnPlatform.LevelDefinitionMaterial, elementId: int, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ ... -class LevelDefinitionPlotStyle: + def __init__(self, *args, **kwargs): + ... + +class LevelDefinitionPlotStyle(MSPyDgnPlatform.LevelDefinitionIdBase): """ None """ @@ -77144,7 +81604,13 @@ class LevelDefinitionPlotStyle: def GetElementId(self: MSPyDgnPlatform.LevelDefinitionIdBase) -> int: ... - def __init__(self: MSPyDgnPlatform.LevelDefinitionPlotStyle, elementId: int, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class LevelDefinitionStyleBase: @@ -77172,7 +81638,13 @@ class LevelDefinitionStyleBase: """ ... - def __init__(self: MSPyDgnPlatform.LevelDefinitionStyleBase, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class LevelElementAccess: @@ -77188,7 +81660,13 @@ class LevelElementAccess: eViewOnly """ - def __init__(self: MSPyDgnPlatform.LevelElementAccess, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: LevelElementAccess @@ -77597,7 +82075,13 @@ class LevelHandle: def Transparency(arg0: MSPyDgnPlatform.LevelHandle) -> float: ... - def __init__(self: MSPyDgnPlatform.LevelHandle) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class LevelMaskReferenceState: @@ -77611,7 +82095,13 @@ class LevelMaskReferenceState: eOn """ - def __init__(self: MSPyDgnPlatform.LevelMaskReferenceState, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eOff: LevelMaskReferenceState @@ -77648,12 +82138,15 @@ class LevelUtils: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Light: """ None @@ -77858,7 +82351,13 @@ class Light: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -77995,12 +82494,15 @@ class Light: def Type(arg0: MSPyDgnPlatform.Light) -> MSPyDgnPlatform.Light.LightType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eLIGHTTYPE_Ambient: LightType eLIGHTTYPE_Area: LightType @@ -78050,7 +82552,13 @@ class LightAnnouncerPriority: eAnimation """ - def __init__(self: MSPyDgnPlatform.LightAnnouncerPriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAnimation: LightAnnouncerPriority @@ -78078,7 +82586,13 @@ class LightAnnouncerPurpose: eVueRender """ - def __init__(self: MSPyDgnPlatform.LightAnnouncerPurpose, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eModelFacetExport: LightAnnouncerPurpose @@ -78097,7 +82611,7 @@ class LightAnnouncerPurpose: def value(arg0: MSPyDgnPlatform.LightAnnouncerPurpose) -> int: ... -class LightElement: +class LightElement(MSPyDgnPlatform.AdvancedLight): """ None """ @@ -78285,6 +82799,7 @@ class LightElement: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -78326,6 +82841,7 @@ class LightElement: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -78574,7 +83090,13 @@ class LightElement: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -79141,7 +83663,13 @@ class LightElement: def VolumeShift(arg0: MSPyDgnPlatform.AdvancedLight, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.LightElement, light: MSPyDgnPlatform.LightElement) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -79193,6 +83721,9 @@ class LightElementCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Find(self: MSPyDgnPlatform.LightElementCollection, id: int) -> MSPyDgnPlatform.LightElement: """ Find the LightElement by id. @@ -79215,12 +83746,15 @@ class LightElementCollection: def ModelRef(arg0: MSPyDgnPlatform.LightElementCollection) -> MSPyDgnPlatform.DgnModelRef: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LightManager: """ None @@ -79309,10 +83843,8 @@ class LightManager: """ ... - def GetLightSetups(*args, **kwargs): + def GetLightSetups(self: MSPyDgnPlatform.LightManager, map: dict[Any, Any], sourceModel: MSPyDgnPlatform.DgnModel) -> None: """ - GetLightSetups(self: MSPyDgnPlatform.LightManager, map: bmap,std::less,32,BentleyAllocator > > >, sourceModel: MSPyDgnPlatform.DgnModel) -> None - Get the list of list setups as currently stored in the model. Note its possible that this list can be empty when in a dgn file even though there is an active and modeling setup. Due to these setups not having @@ -79427,12 +83959,15 @@ class LightManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LightMap: """ None @@ -79586,7 +84121,13 @@ class LightMap: eMAPSTYLE_Procedure """ - def __init__(self: MSPyDgnPlatform.LightMap.MapStyle, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMAPSTYLE_Image: MapStyle @@ -79620,7 +84161,13 @@ class LightMap: eMAPTYPE_ShadowColor """ - def __init__(self: MSPyDgnPlatform.LightMap.MapType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMAPTYPE_Color: MapType @@ -79756,7 +84303,13 @@ class LightMap: eWRAPMODE_Edge """ - def __init__(self: MSPyDgnPlatform.LightMap.WrapMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eWRAPMODE_Edge: WrapMode @@ -79775,12 +84328,15 @@ class LightMap: def value(arg0: MSPyDgnPlatform.LightMap.WrapMode) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eMAPSTYLE_Image: MapStyle eMAPSTYLE_Procedure: MapStyle @@ -79812,6 +84368,9 @@ class LightMapCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddMap(self: MSPyDgnPlatform.LightMapCollection, type: MSPyDgnPlatform.LightMap.MapType) -> MSPyDgnPlatform.LightMap: """ Create a LightMap by type and add it to this collection. If a map of @@ -79856,12 +84415,15 @@ class LightMapCollection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LightSetup: """ None @@ -80351,7 +84913,13 @@ class LightSetup: """ ... - def __init__(self: MSPyDgnPlatform.LightSetup) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class LightSetupCollection: @@ -80359,6 +84927,9 @@ class LightSetupCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddLightSetup(self: MSPyDgnPlatform.LightSetupCollection, id: int, setup: MSPyDgnPlatform.LightSetup) -> MSPyDgnPlatform.LightSetup: """ Add a LightSetup to this collection. @@ -80402,12 +84973,15 @@ class LightSetupCollection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LightSetupEntry: """ None @@ -80472,17 +85046,23 @@ class LightSetupEntry: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LightSetupEntryCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddEntry(self: MSPyDgnPlatform.LightSetupEntryCollection, id: int) -> MSPyDgnPlatform.LightSetupEntry: """ Add a LightSetupEntry to this collection. @@ -80536,12 +85116,15 @@ class LightSetupEntryCollection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LimitRefLoading: """ Members: @@ -80553,7 +85136,13 @@ class LimitRefLoading: eIgnoreAttachments """ - def __init__(self: MSPyDgnPlatform.LimitRefLoading, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDoNotFillCaches: LimitRefLoading @@ -80570,7 +85159,7 @@ class LimitRefLoading: def value(arg0: MSPyDgnPlatform.LimitRefLoading) -> int: ... -class LineBreak: +class LineBreak(MSPyDgnPlatform.WhiteSpace): """ None """ @@ -80595,12 +85184,15 @@ class LineBreak: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LineCap: """ Members: @@ -80616,7 +85208,13 @@ class LineCap: eTriangle """ - def __init__(self: MSPyDgnPlatform.LineCap, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlat: LineCap @@ -80637,7 +85235,7 @@ class LineCap: def value(arg0: MSPyDgnPlatform.LineCap) -> int: ... -class LineHandler: +class LineHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ICurvePathEdit): """ None """ @@ -80688,9 +85286,11 @@ class LineHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -80702,12 +85302,15 @@ class LineHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -80754,6 +85357,7 @@ class LineHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -80780,12 +85384,15 @@ class LineHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LineJoin: """ Members: @@ -80799,7 +85406,13 @@ class LineJoin: eRound """ - def __init__(self: MSPyDgnPlatform.LineJoin, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBevel: LineJoin @@ -80818,7 +85431,7 @@ class LineJoin: def value(arg0: MSPyDgnPlatform.LineJoin) -> int: ... -class LineStringBaseHandler: +class LineStringBaseHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ICurvePathEdit): """ None """ @@ -80841,9 +85454,11 @@ class LineStringBaseHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -80855,12 +85470,15 @@ class LineStringBaseHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -80907,6 +85525,7 @@ class LineStringBaseHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -80933,13 +85552,16 @@ class LineStringBaseHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class LineStringHandler: + def __init__(self, *args, **kwargs): + ... + +class LineStringHandler(MSPyDgnPlatform.LineStringBaseHandler): """ None """ @@ -81025,9 +85647,11 @@ class LineStringHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -81039,12 +85663,15 @@ class LineStringHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -81091,6 +85718,7 @@ class LineStringHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -81117,12 +85745,15 @@ class LineStringHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LineStyleDwgExportReason: """ Members: @@ -81150,7 +85781,13 @@ class LineStyleDwgExportReason: eLS_DWG_IterationLimit """ - def __init__(self: MSPyDgnPlatform.LineStyleDwgExportReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLS_DWG_CompoundHasOffsets: LineStyleDwgExportReason @@ -81384,13 +86021,16 @@ class LineStyleHandle: def UsedForRange(arg0: MSPyDgnPlatform.LineStyleHandle, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class LineStyleManager: + def __init__(self, *args, **kwargs): + ... + +class LineStyleManager(MSPyDgnPlatform.IHostobject): """ None """ @@ -81536,23 +86176,29 @@ class LineStyleManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LineStyleNameInfo: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def attributes(self: MSPyDgnPlatform.LineStyleNameInfo) -> int: ... @@ -81588,7 +86234,7 @@ class LineStyleNameInfo: def styleId(self: MSPyDgnPlatform.LineStyleNameInfo, arg0: int) -> None: ... -class LineStyleParams: +class LineStyleParams(MSPyDgnPlatform.LineStyleParamsResource): """ None """ @@ -81599,7 +86245,13 @@ class LineStyleParams: """ ... - def __init__(self: MSPyDgnPlatform.LineStyleParams) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -81698,12 +86350,15 @@ class LineStyleParamsResource: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dashScale(self: MSPyDgnPlatform.LineStyleParamsResource) -> float: ... @@ -81828,7 +86483,13 @@ class LineStyleStatus: eLINESTYLE_STATUS_MissingSubcomponent """ - def __init__(self: MSPyDgnPlatform.LineStyleStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLINESTYLE_STATUS_AlreadyExists: LineStyleStatus @@ -81991,23 +86652,29 @@ class LineStyleSymb: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Line_2d: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Line_2d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -82041,12 +86708,15 @@ class Line_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Line_3d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -82080,12 +86750,15 @@ class Line_String_2d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Line_String_2d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -82133,12 +86806,15 @@ class Line_String_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Line_String_3d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -82532,7 +87208,13 @@ class LinkageKeyValues: eMODELID_LINKAGE_KEY_ReferenceAttachment """ - def __init__(self: MSPyDgnPlatform.LinkageKeyValues, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBITMASK_LINKAGE_KEY_DimBallAndChainShields: LinkageKeyValues @@ -82894,12 +87576,18 @@ class LoadedModelsCollection: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LocalTransformType: """ Members: @@ -82911,7 +87599,13 @@ class LocalTransformType: eTRANSFORM_SecondOrderConformal """ - def __init__(self: MSPyDgnPlatform.LocalTransformType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTRANSFORM_Helmert: LocalTransformType @@ -82983,7 +87677,13 @@ class LocateFailureValue: eLOCATE_FAILURE_RefNotNowActive """ - def __init__(self: MSPyDgnPlatform.LocateFailureValue, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLOCATE_FAILURE_ByApp: LocateFailureValue @@ -83055,7 +87755,13 @@ class LocateFilterStatus: eLOCATE_FILTER_STATUS_Accept """ - def __init__(self: MSPyDgnPlatform.LocateFilterStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLOCATE_FILTER_STATUS_Accept: LocateFilterStatus @@ -83083,7 +87789,13 @@ class LocateSurfacesPref: eAlways """ - def __init__(self: MSPyDgnPlatform.LocateSurfacesPref, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlways: LocateSurfacesPref @@ -83105,6 +87817,16 @@ class LoopDataArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -83131,6 +87853,7 @@ class LoopDataArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -83151,6 +87874,7 @@ class LoopDataArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -83184,7 +87908,13 @@ class LsCapMode: eLCCAP_Arc """ - def __init__(self: MSPyDgnPlatform.LsCapMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLCCAP_Arc: LsCapMode @@ -83252,9 +87982,9 @@ class LsComponent: """ Overloaded function. - 1. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus + 1. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus - 2. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus + 2. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus """ ... @@ -83289,13 +88019,16 @@ class LsComponent: def Type(arg0: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsElementType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class LsCompoundComponent: + def __init__(self, *args, **kwargs): + ... + +class LsCompoundComponent(MSPyDgnPlatform.LsComponent): """ None """ @@ -83313,18 +88046,23 @@ class LsCompoundComponent: def ComponentId(arg0: MSPyDgnPlatform.LsComponent) -> int: ... + @staticmethod def CreateCompoundComponent(name: str) -> MSPyDgnPlatform.LsCompoundComponent: ... + @staticmethod def CreateInternalComponent(lineCode: int) -> MSPyDgnPlatform.LsInternalComponent: ... + @staticmethod def CreateLineCodeComponent(name: str) -> MSPyDgnPlatform.LsLineCodeComponent: ... + @staticmethod def CreateLinePointComponent(name: str) -> MSPyDgnPlatform.LsLinePointComponent: ... + @staticmethod def CreatePointSymbolComponent(name: str) -> MSPyDgnPlatform.LsPointSymbolComponent: ... @@ -83334,13 +88072,14 @@ class LsCompoundComponent: def Duplicate(self: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsComponent: ... + @staticmethod def GetAllComponents(*args, **kwargs): """ Overloaded function. - 1. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus + 1. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus - 2. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus + 2. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus """ ... @@ -83380,17 +88119,23 @@ class LsCompoundComponent: def Type(arg0: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsElementType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class LsDgnFileMap: + def __init__(self, *args, **kwargs): + ... + +class LsDgnFileMap(MSPyDgnPlatform.LsMap): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def DgnFile(arg0: MSPyDgnPlatform.LsDgnFileMap) -> MSPyDgnPlatform.DgnFile: ... @@ -83415,6 +88160,7 @@ class LsDgnFileMap: """ ... + @staticmethod def GetLineStyleEntry(*args, **kwargs): """ Overloaded function. @@ -83457,12 +88203,15 @@ class LsDgnFileMap: def Type(arg0: MSPyDgnPlatform.LsMap) -> MSPyDgnPlatform.LsLocationType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LsElementType: """ Members: @@ -83482,7 +88231,13 @@ class LsElementType: eRasterImage """ - def __init__(self: MSPyDgnPlatform.LsElementType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCompound: LsElementType @@ -83566,13 +88321,16 @@ class LsEntry: def StyleNumber(arg0: MSPyDgnPlatform.LsEntry) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class LsInternalComponent: + def __init__(self, *args, **kwargs): + ... + +class LsInternalComponent(MSPyDgnPlatform.LsLineCodeComponent): """ None """ @@ -83590,18 +88348,23 @@ class LsInternalComponent: def ComponentId(arg0: MSPyDgnPlatform.LsComponent) -> int: ... + @staticmethod def CreateCompoundComponent(name: str) -> MSPyDgnPlatform.LsCompoundComponent: ... + @staticmethod def CreateInternalComponent(lineCode: int) -> MSPyDgnPlatform.LsInternalComponent: ... + @staticmethod def CreateLineCodeComponent(name: str) -> MSPyDgnPlatform.LsLineCodeComponent: ... + @staticmethod def CreateLinePointComponent(name: str) -> MSPyDgnPlatform.LsLinePointComponent: ... + @staticmethod def CreatePointSymbolComponent(name: str) -> MSPyDgnPlatform.LsPointSymbolComponent: ... @@ -83611,16 +88374,18 @@ class LsInternalComponent: def Duplicate(self: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsComponent: ... + @staticmethod def GetAllComponents(*args, **kwargs): """ Overloaded function. - 1. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus + 1. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus - 2. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus + 2. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus """ ... + @staticmethod def GetComponent(*args, **kwargs): """ Overloaded function. @@ -83750,12 +88515,15 @@ class LsInternalComponent: def Type(arg0: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsElementType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LsKnownStyleNumber: """ Members: @@ -83771,7 +88539,13 @@ class LsKnownStyleNumber: eSTYLE_Invalid """ - def __init__(self: MSPyDgnPlatform.LsKnownStyleNumber, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSTYLE_ByCell: LsKnownStyleNumber @@ -83792,7 +88566,7 @@ class LsKnownStyleNumber: def value(arg0: MSPyDgnPlatform.LsKnownStyleNumber) -> int: ... -class LsLineCodeComponent: +class LsLineCodeComponent(MSPyDgnPlatform.LsComponent): """ None """ @@ -83810,18 +88584,23 @@ class LsLineCodeComponent: def ComponentId(arg0: MSPyDgnPlatform.LsComponent) -> int: ... + @staticmethod def CreateCompoundComponent(name: str) -> MSPyDgnPlatform.LsCompoundComponent: ... + @staticmethod def CreateInternalComponent(lineCode: int) -> MSPyDgnPlatform.LsInternalComponent: ... + @staticmethod def CreateLineCodeComponent(name: str) -> MSPyDgnPlatform.LsLineCodeComponent: ... + @staticmethod def CreateLinePointComponent(name: str) -> MSPyDgnPlatform.LsLinePointComponent: ... + @staticmethod def CreatePointSymbolComponent(name: str) -> MSPyDgnPlatform.LsPointSymbolComponent: ... @@ -83831,16 +88610,18 @@ class LsLineCodeComponent: def Duplicate(self: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsComponent: ... + @staticmethod def GetAllComponents(*args, **kwargs): """ Overloaded function. - 1. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus + 1. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus - 2. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus + 2. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus """ ... + @staticmethod def GetComponent(*args, **kwargs): """ Overloaded function. @@ -83948,13 +88729,16 @@ class LsLineCodeComponent: def Type(arg0: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsElementType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class LsLinePointComponent: + def __init__(self, *args, **kwargs): + ... + +class LsLinePointComponent(MSPyDgnPlatform.LsComponent): """ None """ @@ -83972,34 +88756,41 @@ class LsLinePointComponent: def ComponentId(arg0: MSPyDgnPlatform.LsComponent) -> int: ... + @staticmethod def CreateCompoundComponent(name: str) -> MSPyDgnPlatform.LsCompoundComponent: ... + @staticmethod def CreateInternalComponent(lineCode: int) -> MSPyDgnPlatform.LsInternalComponent: ... + @staticmethod def CreateLineCodeComponent(name: str) -> MSPyDgnPlatform.LsLineCodeComponent: ... + @staticmethod def CreateLinePointComponent(name: str) -> MSPyDgnPlatform.LsLinePointComponent: ... + @staticmethod def CreatePointSymbolComponent(name: str) -> MSPyDgnPlatform.LsPointSymbolComponent: ... def Duplicate(self: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsComponent: ... + @staticmethod def GetAllComponents(*args, **kwargs): """ Overloaded function. - 1. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus + 1. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus - 2. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus + 2. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus """ ... + @staticmethod def GetComponent(*args, **kwargs): """ Overloaded function. @@ -84073,12 +88864,15 @@ class LsLinePointComponent: def Type(arg0: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsElementType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LsLocationType: """ Members: @@ -84096,7 +88890,13 @@ class LsLocationType: eImporter """ - def __init__(self: MSPyDgnPlatform.LsLocationType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDgnFile_: LsLocationType @@ -84124,6 +88924,9 @@ class LsMap: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def FileName(arg0: MSPyDgnPlatform.LsMap) -> MSPyBentley.WString: ... @@ -84134,6 +88937,7 @@ class LsMap: """ ... + @staticmethod def GetLineStyleEntry(*args, **kwargs): """ Overloaded function. @@ -84176,12 +88980,15 @@ class LsMap: def Type(arg0: MSPyDgnPlatform.LsMap) -> MSPyDgnPlatform.LsLocationType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LsMapEntry: """ None @@ -84217,12 +89024,15 @@ class LsMapEntry: def StyleNumber(arg0: MSPyDgnPlatform.LsMapEntry) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LsPhaseMode: """ Members: @@ -84236,7 +89046,13 @@ class LsPhaseMode: eLsPhaseMode_Center """ - def __init__(self: MSPyDgnPlatform.LsPhaseMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLsPhaseMode_Center: LsPhaseMode @@ -84255,7 +89071,7 @@ class LsPhaseMode: def value(arg0: MSPyDgnPlatform.LsPhaseMode) -> int: ... -class LsPointSymbolComponent: +class LsPointSymbolComponent(MSPyDgnPlatform.LsComponent): """ None """ @@ -84270,34 +89086,41 @@ class LsPointSymbolComponent: def ComponentId(arg0: MSPyDgnPlatform.LsComponent) -> int: ... + @staticmethod def CreateCompoundComponent(name: str) -> MSPyDgnPlatform.LsCompoundComponent: ... + @staticmethod def CreateInternalComponent(lineCode: int) -> MSPyDgnPlatform.LsInternalComponent: ... + @staticmethod def CreateLineCodeComponent(name: str) -> MSPyDgnPlatform.LsLineCodeComponent: ... + @staticmethod def CreateLinePointComponent(name: str) -> MSPyDgnPlatform.LsLinePointComponent: ... + @staticmethod def CreatePointSymbolComponent(name: str) -> MSPyDgnPlatform.LsPointSymbolComponent: ... def Duplicate(self: MSPyDgnPlatform.LsComponent) -> MSPyDgnPlatform.LsComponent: ... + @staticmethod def GetAllComponents(*args, **kwargs): """ Overloaded function. - 1. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus + 1. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.LineStyleStatus - 2. GetAllComponents(components: List[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus + 2. GetAllComponents(components: list[MSPyDgnPlatform.LsComponent], rscFile: int) -> MSPyDgnPlatform.LineStyleStatus """ ... + @staticmethod def GetComponent(*args, **kwargs): """ Overloaded function. @@ -84357,12 +89180,15 @@ class LsPointSymbolComponent: def UnitScale(arg0: MSPyDgnPlatform.LsPointSymbolComponent, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LsPointSymbolInfo: """ None @@ -84540,14 +89366,23 @@ class LsPointSymbolInfo: def YOffset(arg0: MSPyDgnPlatform.LsPointSymbolInfo, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.LsPointSymbolInfo) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class LsResourceFileMap: +class LsResourceFileMap(MSPyDgnPlatform.LsMap): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @staticmethod def CreateNewFile(fileName: str) -> MSPyDgnPlatform.LineStyleStatus: """ @@ -84578,6 +89413,7 @@ class LsResourceFileMap: """ ... + @staticmethod def GetLineStyleEntry(*args, **kwargs): """ Overloaded function. @@ -84647,13 +89483,13 @@ class LsResourceFileMap: OpenFile Returns (Tuple, 0): + status. set to LINESTYLE_STATUS_Success if able to open the file; + otherwise set to an appropriate LineStyleStatus error status. + + Returns (Tuple, 1): A LsResourceFileMapPtr. If unable to open the file, LsResourceFileMapPtr returns NULL and the status parameter is set to an appropriate LineStyleStatus error status. - - Returns (Tuple, 1): - status. et to LINESTYLE_STATUS_Success if able to open the file; - otherwise set to an appropriate LineStyleStatus error status. """ ... @@ -84665,12 +89501,15 @@ class LsResourceFileMap: def Type(arg0: MSPyDgnPlatform.LsMap) -> MSPyDgnPlatform.LsLocationType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LsResourceType: """ Members: @@ -84694,7 +89533,13 @@ class LsResourceType: eNameEntry """ - def __init__(self: MSPyDgnPlatform.LsResourceType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCompound: LsResourceType @@ -85051,17 +89896,23 @@ class LsStrokeData: def Stretchable(arg0: MSPyDgnPlatform.LsStrokeData, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class LsSystemMap: + def __init__(self, *args, **kwargs): + ... + +class LsSystemMap(MSPyDgnPlatform.LsMap): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def FileName(arg0: MSPyDgnPlatform.LsMap) -> MSPyBentley.WString: ... @@ -85072,6 +89923,7 @@ class LsSystemMap: """ ... + @staticmethod def GetLineStyleEntry(*args, **kwargs): """ Overloaded function. @@ -85121,12 +89973,15 @@ class LsSystemMap: def Type(arg0: MSPyDgnPlatform.LsMap) -> MSPyDgnPlatform.LsLocationType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LsUnit: """ Members: @@ -85138,7 +89993,13 @@ class LsUnit: eDevice """ - def __init__(self: MSPyDgnPlatform.LsUnit, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDevice: LsUnit @@ -85359,7 +90220,13 @@ class MSElement: def Size(self: MSPyDgnPlatform.MSElement) -> int: ... - def __init__(self: MSPyDgnPlatform.MSElement) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -85634,7 +90501,13 @@ class MSElementDescr: None """ - def __init__(self: MSPyDgnPlatform.MSElementDescr.MSElementDescrHeader) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -85751,9 +90624,7 @@ class MSElementDescr: :param ignoreIsValid: Perform validation even if h.isValid is true. (ex. Application - modifies component elements directly) - - Remark: + modifies component elements directly) -> Remark: s Applications rarely need to call this directly, elements are always validated when added to a model or displayed in dynamics. @@ -85766,12 +90637,15 @@ class MSElementDescr: def XAttributeChangeSet(arg0: MSPyDgnPlatform.MSElementDescr) -> MSPyDgnPlatform.XAttributeChangeSet: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def el(self: MSPyDgnPlatform.MSElementDescr) -> MSPyDgnPlatform.MSElement: ... @@ -85791,6 +90665,13 @@ class MSElementDescrReceiver: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -85907,7 +90788,13 @@ class MSElementTypes: eREFERENCE_ATTACH_ELM """ - def __init__(self: MSPyDgnPlatform.MSElementTypes, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eARC_ELM: MSElementTypes @@ -86025,7 +90912,13 @@ class MSRasterElemTypes: eBYTE_RLE_RASTER """ - def __init__(self: MSPyDgnPlatform.MSRasterElemTypes, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBINARY_RLE_RASTER: MSRasterElemTypes @@ -86081,7 +90974,13 @@ class MSRenderMode: eGPUPathTrace """ - def __init__(self: MSPyDgnPlatform.MSRenderMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eConstantShade: MSRenderMode @@ -86129,12 +91028,15 @@ class MSTextSize: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def height(self: MSPyDgnPlatform.MSTextSize) -> float: ... @@ -86174,7 +91076,13 @@ class MapMode: eFrontProject """ - def __init__(self: MSPyDgnPlatform.MapMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCubic: MapMode @@ -86224,7 +91132,13 @@ class MapUnits: eInches """ - def __init__(self: MSPyDgnPlatform.MapUnits, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFeet: MapUnits @@ -86260,7 +91174,13 @@ class MarkupViewType: eDV """ - def __init__(self: MSPyDgnPlatform.MarkupViewType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eClash: MarkupViewType @@ -86288,7 +91208,13 @@ class MatchingLinkState: eNoMatchingLink """ - def __init__(self: MSPyDgnPlatform.MatchingLinkState, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFound: MatchingLinkState @@ -86322,7 +91248,13 @@ class MaterialAnnouncerPriority: eAnimation """ - def __init__(self: MSPyDgnPlatform.MaterialAnnouncerPriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAnimation: MaterialAnnouncerPriority @@ -86356,7 +91288,13 @@ class MaterialAnnouncerPurpose: eVueRender """ - def __init__(self: MSPyDgnPlatform.MaterialAnnouncerPurpose, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eModelFacetExport: MaterialAnnouncerPurpose @@ -86486,12 +91424,15 @@ class MaterialAssignment: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MaterialColorMask: """ None @@ -86647,12 +91588,15 @@ class MaterialColorMask: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MaterialFur: """ None @@ -86757,7 +91701,13 @@ class MaterialFur: eFURTYPE_Cylinders """ - def __init__(self: MSPyDgnPlatform.MaterialFur.FurType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFURTYPE_Cylinders: FurType @@ -87501,12 +92451,15 @@ class MaterialFur: def WidthScale(arg0: MSPyDgnPlatform.MaterialFur, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFURBILLBOARD_Leaves: FurBillboard eFURBILLBOARD_Off: FurBillboard @@ -87643,6 +92596,13 @@ class MaterialId: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -87662,6 +92622,16 @@ class MaterialList: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -87694,6 +92664,7 @@ class MaterialList: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -87714,6 +92685,7 @@ class MaterialList: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -87858,6 +92830,7 @@ class MaterialManager: """ ... + @staticmethod def DeleteMaterial(*args, **kwargs): """ Overloaded function. @@ -87930,6 +92903,7 @@ class MaterialManager: """ ... + @staticmethod def FindMaterial(*args, **kwargs): """ Overloaded function. @@ -87964,7 +92938,10 @@ class MaterialManager: materials in its associated MaterialTable. Specifying false for this argument improves performance. - :returns: + :returns(tuple, 0): + searchStatus. + + :returns(tuple, 1): The material if found. 2. FindMaterial(self: MSPyDgnPlatform.MaterialManager, id: MSPyDgnPlatform.MaterialId, source: MSPyDgnPlatform.DgnFile, renderModelRef: MSPyDgnPlatform.DgnModelRef, loadSourceIfNotCached: bool) -> tuple @@ -87997,7 +92974,10 @@ class MaterialManager: materials in its associated MaterialTable. Specifying false for this argument improves performance. - :returns: + :returns(tuple, 0): + searchStatus. + + :returns(tuple, 1): The material if found. """ ... @@ -88025,7 +93005,10 @@ class MaterialManager: materials in its associated MaterialTable. Specifying false for this argument improves performance. - :returns: + :returns(tuple, 0): + searchStatus. + + :returns(tuple, 1): The material pointer if the material is found otherwise NULL """ ... @@ -88053,10 +93036,10 @@ class MaterialManager: this argument improves performance. Returns (Tuple, 0): - SUCCESS if the search found one or more materials + status. Indicates the result of a search. Returns (Tuple, 1): - status. Indicates the result of a search. + SUCCESS if the search found one or more materials """ ... @@ -88091,9 +93074,16 @@ class MaterialManager: :param context: Optional if not NULL will search on the contexts list of cached assignments for a faster lookup + + returns (Tuple, 0): + status. Indicates the result of a search. + + returns (Tuple, 1): + A pointer to the material if found, otherwise `None`. """ ... + @staticmethod def FindMaterialInPalette(*args, **kwargs): """ Overloaded function. @@ -88148,10 +93138,10 @@ class MaterialManager: the paletteInfo Returns (Tuple, 0): - SUCCESS if one or more materials were found + status. Indicates the result of a search. Returns (Tuple, 1): - status. Indicates the result of a search. + SUCCESS if one or more materials were found """ ... @@ -88188,6 +93178,7 @@ class MaterialManager: def GetManager() -> MSPyDgnPlatform.MaterialManager: ... + @staticmethod def GetMaterialSearchPath(*args, **kwargs): """ Overloaded function. @@ -88210,11 +93201,12 @@ class MaterialManager: """ ... + @staticmethod def GetPalettesInDgnLib(*args, **kwargs): """ Overloaded function. - 1. GetPalettesInDgnLib(self: MSPyDgnPlatform.MaterialManager, paleteList: List[MSPyDgnPlatform.PaletteInfo], dgnLibFileName: str) -> MSPyDgnPlatform.BentleyStatus + 1. GetPalettesInDgnLib(self: MSPyDgnPlatform.MaterialManager, paleteList: list[MSPyDgnPlatform.PaletteInfo], dgnLibFileName: str) -> MSPyDgnPlatform.BentleyStatus Get the list of palettes contained within a dgn file @@ -88224,7 +93216,7 @@ class MaterialManager: :param dgnLibFilename: full path to the dgn file - 2. GetPalettesInDgnLib(self: MSPyDgnPlatform.MaterialManager, paleteList: List[MSPyDgnPlatform.PaletteInfo], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.BentleyStatus + 2. GetPalettesInDgnLib(self: MSPyDgnPlatform.MaterialManager, paleteList: list[MSPyDgnPlatform.PaletteInfo], dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.BentleyStatus Get the list of palettes contained within a dgn file @@ -88236,7 +93228,7 @@ class MaterialManager: """ ... - def GetPalettesInSearchPath(self: MSPyDgnPlatform.MaterialManager, paletteList: List[MSPyDgnPlatform.PaletteInfo], envVar: str) -> MSPyDgnPlatform.BentleyStatus: + def GetPalettesInSearchPath(self: MSPyDgnPlatform.MaterialManager, paletteList: list[MSPyDgnPlatform.PaletteInfo], envVar: str) -> MSPyDgnPlatform.BentleyStatus: """ Get a list of palettes in .dgnlib, .pal, .mli files found by the supplied environment variable @@ -88258,6 +93250,7 @@ class MaterialManager: """ ... + @staticmethod def GetProjectionGroupParameters(*args, **kwargs): """ Overloaded function. @@ -88471,6 +93464,7 @@ class MaterialManager: """ ... + @staticmethod def RenameMaterial(*args, **kwargs): """ Overloaded function. @@ -88627,12 +93621,15 @@ class MaterialManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MaterialMap: """ None @@ -88831,7 +93828,13 @@ class MaterialMap: eMAPTYPE_PBROpacity """ - def __init__(self: MSPyDgnPlatform.MaterialMap.MapType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMAPTYPE_AnisotropicDirection: MapType @@ -89042,12 +94045,15 @@ class MaterialMap: def Value(arg0: MSPyDgnPlatform.MaterialMap, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eMAPTYPE_AnisotropicDirection: MapType eMAPTYPE_Bump: MapType @@ -89127,6 +94133,9 @@ class MaterialMapCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddMap(self: MSPyDgnPlatform.MaterialMapCollection, type: MSPyDgnPlatform.MaterialMap.MapType) -> MSPyDgnPlatform.MaterialMap: """ Add a map of the specified type to the collection. If a map of this @@ -89178,12 +94187,15 @@ class MaterialMapCollection: def Material(arg0: MSPyDgnPlatform.MaterialMapCollection) -> MSPyDgnPlatform.DgnMaterial: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MaterialMapLayer: """ None @@ -89357,7 +94369,7 @@ class MaterialMapLayer: this vector is also returned by See also: - GetFileName () More than one image is used only when the layer + GetFileName () -> More than one image is used only when the layer type is LAYERTYPE_TextureReplicator :returns: @@ -89673,7 +94685,13 @@ class MaterialMapLayer: eLAYERTYPE_ColorBurn """ - def __init__(self: MSPyDgnPlatform.MaterialMapLayer.LayerType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLAYERTYPE_8119LxoProcedure: LayerType @@ -89875,6 +94893,7 @@ class MaterialMapLayer: def Scale(arg0: MSPyDgnPlatform.MaterialMapLayer, arg1: MSPyBentleyGeom.DPoint3d) -> None: ... + @staticmethod def SetAdjustedOffset(*args, **kwargs): """ Overloaded function. @@ -90268,12 +95287,15 @@ class MaterialMapLayer: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eLAYERTYPE_8119LxoProcedure: LayerType eLAYERTYPE_Add: LayerType @@ -90359,6 +95381,9 @@ class MaterialMapLayerCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddLayer(self: MSPyDgnPlatform.MaterialMapLayerCollection) -> MSPyDgnPlatform.MaterialMapLayer: """ Add a layer at the end of this collection @@ -90419,12 +95444,15 @@ class MaterialMapLayerCollection: def TopLayer(arg0: MSPyDgnPlatform.MaterialMapLayerCollection) -> MSPyDgnPlatform.MaterialMapLayer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MaterialOpenMode: """ Members: @@ -90436,7 +95464,13 @@ class MaterialOpenMode: eReadWrite """ - def __init__(self: MSPyDgnPlatform.MaterialOpenMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePreferablyReadWrite: MaterialOpenMode @@ -90523,7 +95557,13 @@ class MaterialPreview: eEXAMPLE_Widget """ - def __init__(self: MSPyDgnPlatform.MaterialPreview.ExampleType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEXAMPLE_None: ExampleType @@ -90613,7 +95653,13 @@ class MaterialPreview: ePREVIEWMODE_Vue """ - def __init__(self: MSPyDgnPlatform.MaterialPreview.PreviewMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePREVIEWMODE_Luxology: PreviewMode @@ -90651,7 +95697,13 @@ class MaterialPreview: eRENDERMODE_LuxologyWithEdges """ - def __init__(self: MSPyDgnPlatform.MaterialPreview.PreviewRenderMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRENDERMODE_FilledVisibleEdges: PreviewRenderMode @@ -90683,6 +95735,13 @@ class MaterialPreview: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -90780,12 +95839,15 @@ class MaterialPreview: def Type(arg0: MSPyDgnPlatform.MaterialPreview) -> MSPyDgnPlatform.MaterialPreview.PreviewType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eEXAMPLE_None: ExampleType eEXAMPLE_PaletteSpecific: ExampleType @@ -90821,6 +95883,9 @@ class MaterialPreviewCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddPreview(self: MSPyDgnPlatform.MaterialPreviewCollection, type: MSPyDgnPlatform.MaterialPreview.PreviewType) -> MSPyDgnPlatform.MaterialPreview: """ Add a preview to this collection. If a preview of this type already @@ -90862,12 +95927,15 @@ class MaterialPreviewCollection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MaterialProjectionParameters: """ None @@ -90951,12 +96019,15 @@ class MaterialProjectionParameters: def XYZRotations(arg0: MSPyDgnPlatform.MaterialProjectionParameters) -> MSPyBentleyGeom.DPoint3d: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MaterialSearchStatus: """ Members: @@ -90974,7 +96045,13 @@ class MaterialSearchStatus: eInvalidLevelId """ - def __init__(self: MSPyDgnPlatform.MaterialSearchStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCouldNotLoadSource: MaterialSearchStatus @@ -91327,7 +96404,7 @@ class MaterialSettings: def GetPBRMetalInsulatorRatio(self: MSPyDgnPlatform.MaterialSettings) -> float: """ get the property for the surface being metallic or dialectric, Rusty - surfaces is where this value would be inbetween 0 & 1 + surfaces is where this value would be inbetween 01 """ ... @@ -92281,7 +97358,7 @@ class MaterialSettings: def SetPBRMetalInsulatorRatio(self: MSPyDgnPlatform.MaterialSettings, ratio: float) -> None: """ Set the property for the surface being metallic or dialectric, Rusty - surfaces is where this value would be inbetween 0 & 1 + surfaces is where this value would be inbetween 01 :param (input): intensity The diffuse value @@ -92587,12 +97664,15 @@ class MaterialSettings: def Visible(arg0: MSPyDgnPlatform.MaterialSettings, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBACKFACECULLING_ForceDoubleSided: BackFaceCulling eBACKFACECULLING_ForceSingleSided: BackFaceCulling @@ -92739,7 +97819,13 @@ class MaterialShader: eILLUMTYPE_IrradianceCaching """ - def __init__(self: MSPyDgnPlatform.MaterialShader.IlluminationType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eILLUMTYPE_IrradianceCaching: IlluminationType @@ -93046,7 +98132,13 @@ class MaterialShader: eSHADEREFFECT_Fog """ - def __init__(self: MSPyDgnPlatform.MaterialShader.ShaderEffect, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSHADEREFFECT_Diffuse: ShaderEffect @@ -93082,7 +98174,13 @@ class MaterialShader: eSHADERTYPE_MultiMaterial """ - def __init__(self: MSPyDgnPlatform.MaterialShader.ShaderType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSHADERTYPE_Default: ShaderType @@ -93146,12 +98244,15 @@ class MaterialShader: def VisibleToRefractionRays(arg0: MSPyDgnPlatform.MaterialShader, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBLENDMODE_Add: BlendMode eBLENDMODE_ColorBurn: BlendMode @@ -93213,6 +98314,9 @@ class MaterialShaderCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddShader(self: MSPyDgnPlatform.MaterialShaderCollection) -> MSPyDgnPlatform.MaterialShader: """ Add a shader to the end of the collection. @@ -93255,12 +98359,15 @@ class MaterialShaderCollection: def TopShader(arg0: MSPyDgnPlatform.MaterialShaderCollection) -> MSPyDgnPlatform.MaterialShader: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MaterialTable: """ None @@ -93297,7 +98404,13 @@ class MaterialTable: eASSIGNMENTFINDOPTION_NameExcludingElementId """ - def __init__(self: MSPyDgnPlatform.MaterialTable.AssignmentFindOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eASSIGNMENTFINDOPTION_ElementIdOnly: AssignmentFindOption @@ -93389,10 +98502,8 @@ class MaterialTable: """ ... - def FindAssignmentByMaterial(*args, **kwargs): + def FindAssignmentByMaterial(self: MSPyDgnPlatform.MaterialTable, materialId: MSPyDgnPlatform.MaterialId, option: MSPyDgnPlatform.MaterialTable.AssignmentFindOption = AssignmentFindOption.eASSIGNMENTFINDOPTION_FullMaterialId) -> MSPyDgnPlatform.MaterialAssignment: """ - FindAssignmentByMaterial(self: MSPyDgnPlatform.MaterialTable, materialId: MSPyDgnPlatform.MaterialId, option: MSPyDgnPlatform.MaterialTable.AssignmentFindOption = ) -> MSPyDgnPlatform.MaterialAssignment - Search for an assignment which the material id is used in based on the options passed in @@ -93407,6 +98518,7 @@ class MaterialTable: """ ... + @staticmethod def FindAssignmentBySymbology(*args, **kwargs): """ Overloaded function. @@ -93445,10 +98557,8 @@ class MaterialTable: """ ... - def FindAssignmentsByMaterial(*args, **kwargs): + def FindAssignmentsByMaterial(self: MSPyDgnPlatform.MaterialTable, materialId: MSPyDgnPlatform.MaterialId, option: MSPyDgnPlatform.MaterialTable.AssignmentFindOption = AssignmentFindOption.eASSIGNMENTFINDOPTION_FullMaterialId) -> List[MSPyDgnPlatform.MaterialAssignment]: """ - FindAssignmentsByMaterial(self: MSPyDgnPlatform.MaterialTable, materialId: MSPyDgnPlatform.MaterialId, option: MSPyDgnPlatform.MaterialTable.AssignmentFindOption = ) -> List[MSPyDgnPlatform.MaterialAssignment] - Find all the assignments which a given material will use. :param (input): @@ -93475,7 +98585,7 @@ class MaterialTable: """ ... - def GetPaletteList(self: MSPyDgnPlatform.MaterialTable) -> List[MSPyDgnPlatform.PaletteInfo]: + def GetPaletteList(self: MSPyDgnPlatform.MaterialTable) -> list[MSPyDgnPlatform.PaletteInfo]: """ Get a list of all the palettes used by this material table. """ @@ -93554,12 +98664,15 @@ class MaterialTable: def Source(arg0: MSPyDgnPlatform.MaterialTable, arg1: MSPyDgnPlatform.DgnDocumentMoniker) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eASSIGNMENTFINDOPTION_ElementIdOnly: AssignmentFindOption eASSIGNMENTFINDOPTION_FullMaterialId: AssignmentFindOption @@ -93730,7 +98843,13 @@ class MaterialUVDetail: def Size(arg0: MSPyDgnPlatform.MaterialUVDetail, arg1: MSPyBentleyGeom.DPoint3d) -> None: ... - def __init__(self: MSPyDgnPlatform.MaterialUVDetail) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class MemberEnumerator: @@ -93772,12 +98891,15 @@ class MemberEnumerator: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MemberTraverseStatus: """ Members: @@ -93791,7 +98913,13 @@ class MemberTraverseStatus: eAbort """ - def __init__(self: MSPyDgnPlatform.MemberTraverseStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAbort: MemberTraverseStatus @@ -93825,7 +98953,13 @@ class MemberTraverseType: eDirectMembers """ - def __init__(self: MSPyDgnPlatform.MemberTraverseType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCopy: MemberTraverseType @@ -93846,7 +98980,7 @@ class MemberTraverseType: def value(arg0: MSPyDgnPlatform.MemberTraverseType) -> int: ... -class MeshHeaderHandler: +class MeshHeaderHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.IMeshEdit): """ None """ @@ -93881,12 +99015,15 @@ class MeshHeaderHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -93933,6 +99070,7 @@ class MeshHeaderHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -93959,12 +99097,15 @@ class MeshHeaderHandler: def SetMeshData(self: MSPyDgnPlatform.IMeshEdit, eeh: MSPyDgnPlatform.EditElementHandle, meshData: MSPyBentleyGeom.PolyfaceQuery) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MissingHandlerPermissions: """ Members: @@ -93988,7 +99129,13 @@ class MissingHandlerPermissions: eMISSING_HANDLER_PERMISSION_All_ """ - def __init__(self: MSPyDgnPlatform.MissingHandlerPermissions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMISSING_HANDLER_PERMISSION_All_: MissingHandlerPermissions @@ -94030,7 +99177,13 @@ class MlineBreakLengthType: eMLBREAK_BETWEEN_JOINTS """ - def __init__(self: MSPyDgnPlatform.MlineBreakLengthType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMLBREAK_BETWEEN_JOINTS: MlineBreakLengthType @@ -94060,7 +99213,13 @@ class MlineModifyPoint: eRemoveAssociations """ - def __init__(self: MSPyDgnPlatform.MlineModifyPoint, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNil: MlineModifyPoint @@ -94094,7 +99253,13 @@ class MlineOffsetMode: eCustom """ - def __init__(self: MSPyDgnPlatform.MlineOffsetMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eByCenter: MlineOffsetMode @@ -94117,18 +99282,21 @@ class MlineOffsetMode: def value(arg0: MSPyDgnPlatform.MlineOffsetMode) -> int: ... -class MlineStyleEvents: +class MlineStyleEvents(MSPyDgnPlatform.IMlineStyleTransactionListener): """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ModelDistantLight: + def __init__(self, *args, **kwargs): + ... + +class ModelDistantLight(MSPyDgnPlatform.Light): """ None """ @@ -94225,6 +99393,7 @@ class ModelDistantLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -94246,6 +99415,7 @@ class ModelDistantLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -94340,7 +99510,13 @@ class ModelDistantLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -94477,7 +99653,13 @@ class ModelDistantLight: def Type(arg0: MSPyDgnPlatform.Light) -> MSPyDgnPlatform.Light.LightType: ... - def __init__(self: MSPyDgnPlatform.ModelDistantLight, light: MSPyDgnPlatform.ModelDistantLight) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -94559,7 +99741,13 @@ class ModelFlags: eMODELFLAG_ACS_LOCK """ - def __init__(self: MSPyDgnPlatform.ModelFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMODELFLAG_ACS_LOCK: ModelFlags @@ -94609,7 +99797,10 @@ class ModelIndex: None """ - def CopyItems(self: MSPyDgnPlatform.ModelIndex, outItems: List[MSPyDgnPlatform.ModelIndexItem], includeDeletedModels: bool = False) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + def CopyItems(self: MSPyDgnPlatform.ModelIndex, outItems: list[MSPyDgnPlatform.ModelIndexItem], includeDeletedModels: bool = False) -> None: """ Copy the items out of the ModelIndex into a vector. """ @@ -94628,12 +99819,15 @@ class ModelIndex: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ModelIndexItem: """ None @@ -94736,12 +99930,15 @@ class ModelIndexItem: def Name(arg0: MSPyDgnPlatform.ModelIndexItem) -> str: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ModelInfo: """ None @@ -95623,6 +100820,13 @@ class ModelInfo: def UorPerStorage(arg0: MSPyDgnPlatform.ModelInfo, arg1: float) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -95644,14 +100848,26 @@ class ModelSignatureCollection: None """ - def __init__(self: MSPyDgnPlatform.ModelSignatureCollection, model: MSPyDgnPlatform.DgnModel) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ ... -class ModelingLightCollection: + def __init__(self, *args, **kwargs): + ... + +class ModelingLightCollection(MSPyDgnPlatform.LightElementCollection): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Find(self: MSPyDgnPlatform.LightElementCollection, id: int) -> MSPyDgnPlatform.LightElement: """ Find the LightElement by id. @@ -95692,12 +100908,15 @@ class ModelingLightCollection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ModifyElementSource: """ Members: @@ -95719,7 +100938,13 @@ class ModifyElementSource: eUnknown """ - def __init__(self: MSPyDgnPlatform.ModifyElementSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDragSelection: ModifyElementSource @@ -95759,7 +100984,13 @@ class MovieFrameTransition: eMOVIE_Fade """ - def __init__(self: MSPyDgnPlatform.MovieFrameTransition, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMOVIE_Fade: MovieFrameTransition @@ -95783,6 +101014,13 @@ class MsPyDgnModelStatus: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -95805,6 +101043,13 @@ class MsPyParameterStatus: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -95954,7 +101199,13 @@ class MultilineBreak: """ ... - def __init__(self: MSPyDgnPlatform.MultilineBreak, offset: float, lengthType: MSPyDgnPlatform.MlineBreakLengthType, length: float, profileMask: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class MultilineCapIndex: @@ -95968,7 +101219,13 @@ class MultilineCapIndex: eMULTILINE_MID_CAP_INDEX """ - def __init__(self: MSPyDgnPlatform.MultilineCapIndex, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMULTILINE_END_CAP_INDEX: MultilineCapIndex @@ -95996,7 +101253,13 @@ class MultilineCapType: eMULTILINE_MID_CAP """ - def __init__(self: MSPyDgnPlatform.MultilineCapType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMULTILINE_END_CAP: MultilineCapType @@ -96013,7 +101276,7 @@ class MultilineCapType: def value(arg0: MSPyDgnPlatform.MultilineCapType) -> int: ... -class MultilineHandler: +class MultilineHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.IMultilineEdit, MSPyDgnPlatform.IAreaFillPropertiesEdit): """ None """ @@ -96119,12 +101382,16 @@ class MultilineHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + + @staticmethod def ExtractCapJointDefinition(*args, **kwargs): """ Overloaded function. @@ -96165,6 +101432,7 @@ class MultilineHandler: """ ... + @staticmethod def ExtractJointDefinition(*args, **kwargs): """ Overloaded function. @@ -96205,6 +101473,7 @@ class MultilineHandler: """ ... + @staticmethod def ExtractPoints(*args, **kwargs): """ Overloaded function. @@ -96339,6 +101608,7 @@ class MultilineHandler: def GetITransactionHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.ITransactionHandler: ... + @staticmethod def GetInstance() -> MSPyDgnPlatform.DisplayHandler: ... @@ -96396,7 +101666,15 @@ class MultilineHandler: def GetPathDescription(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, string: MSPyBentley.WString, path: MSPyDgnPlatform.DisplayPath, levelStr: str, modelStr: str, groupStr: str, delimiterStr: str) -> None: ... - def GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: List[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple: + @staticmethod + def GetPattern(*args, **kwargs): + """ + Overloaded function. + + 1. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + + 2. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list, origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + """ ... def GetPlacementOffset(self: MSPyDgnPlatform.IMultilineQuery, source: MSPyDgnPlatform.ElementHandle) -> float: @@ -96516,6 +101794,7 @@ class MultilineHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -96790,12 +102069,15 @@ class MultilineHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MultilinePoint: """ None @@ -96861,13 +102143,16 @@ class MultilinePoint: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class MultilineProfile: + def __init__(self, *args, **kwargs): + ... + +class MultilineProfile(MSPyDgnPlatform.MultilineSymbology): """ None """ @@ -97062,15 +102347,13 @@ class MultilineProfile: """ ... - def SetClass(*args, **kwargs): + def SetClass(self: MSPyDgnPlatform.MultilineSymbology, class_: MSPyDgnPlatform.DgnElementClass) -> None: """ - SetClass(self: MSPyDgnPlatform.MultilineSymbology, class: MSPyDgnPlatform.DgnElementClass) -> None - Set the class (drawing or construction) in the symbology :param conclass: - The new class. The only valid values are DgnElementClass::Primary - or DgnElementClass::Construction. + The new class. The only valid values are DgnElementClass.Primary + or DgnElementClass.Construction. """ ... @@ -97241,7 +102524,13 @@ class MultilineProfile: def Weight(arg0: MSPyDgnPlatform.MultilineSymbology, arg1: int) -> None: ... - def __init__(self: MSPyDgnPlatform.MultilineProfile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class MultilineStyle: @@ -97789,18 +103078,30 @@ class MultilineStyle: def SetScale(self: MSPyDgnPlatform.MultilineStyle, scale: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MultilineStyleCollection: """ None """ - def __init__(self: MSPyDgnPlatform.MultilineStyleCollection, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class MultilineStylePropMask: @@ -97931,7 +103232,13 @@ class MultilineStylePropMask: """ ... - def __init__(self: MSPyDgnPlatform.MultilineStylePropMask) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class MultilineSymbology: @@ -98110,15 +103417,13 @@ class MultilineSymbology: """ ... - def SetClass(*args, **kwargs): + def SetClass(self: MSPyDgnPlatform.MultilineSymbology, class_: MSPyDgnPlatform.DgnElementClass) -> None: """ - SetClass(self: MSPyDgnPlatform.MultilineSymbology, class: MSPyDgnPlatform.DgnElementClass) -> None - Set the class (drawing or construction) in the symbology :param conclass: - The new class. The only valid values are DgnElementClass::Primary - or DgnElementClass::Construction. + The new class. The only valid values are DgnElementClass.Primary + or DgnElementClass.Construction. """ ... @@ -98283,12 +103588,15 @@ class MultilineSymbology: def Weight(arg0: MSPyDgnPlatform.MultilineSymbology, arg1: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NamedBoundary: """ None @@ -98369,7 +103677,7 @@ class NamedBoundary: Find named boundary element. :param name: - (input) The boundary name. + (input) -> The boundary name. :param parentGroup: (input) parent group to search in. NULL to find in all boundaries. @@ -98389,7 +103697,7 @@ class NamedBoundary: Find orphan named boundary element. :param name: - (input) The boundary name. + (input) -> The boundary name. :param modelRef: (input) indicates the file containing the boundary. @@ -98430,7 +103738,7 @@ class NamedBoundary: Get associated NamedBoundary from graphical element :param el: - (input) ElementHandle of the graphical element. + (input) -> ElementHandle of the graphical element. :returns: a named boundary pointer if no named boundary associated return @@ -98599,12 +103907,15 @@ class NamedBoundary: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NamedBoundaryClipDepths: """ None @@ -98735,7 +104046,13 @@ class NamedBoundaryClipDepths: """ ... - def __init__(self: MSPyDgnPlatform.NamedBoundaryClipDepths) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class NamedBoundaryCollection: @@ -98743,6 +104060,16 @@ class NamedBoundaryCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -98758,6 +104085,9 @@ class NamedBoundaryGroup: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Delete(self: MSPyDgnPlatform.NamedBoundaryGroup, retainBoundariesAsOrphans: bool) -> int: """ Deletes the named boundary group. @@ -98849,6 +104179,7 @@ class NamedBoundaryGroup: """ ... + @staticmethod def InsertBoundary(*args, **kwargs): """ Overloaded function. @@ -98923,6 +104254,13 @@ class NamedBoundaryGroup: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -98938,7 +104276,16 @@ class NamedBoundaryGroupCollection: None """ - def __init__(self: MSPyDgnPlatform.NamedBoundaryGroupCollection, modelRef: MSPyDgnPlatform.DgnModelRef) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class NamedGroup: @@ -99114,7 +104461,13 @@ class NamedGroup: eNG_FLAG_Always """ - def __init__(self: MSPyDgnPlatform.NamedGroup.FlagValues, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNG_FLAG_Always: FlagValues @@ -99506,12 +104859,15 @@ class NamedGroup: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eNG_FLAG_Always: FlagValues eNG_FLAG_GroupLock: FlagValues @@ -99523,6 +104879,9 @@ class NamedGroupCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def FindByElementId(self: MSPyDgnPlatform.NamedGroupCollection, elementId: int) -> MSPyDgnPlatform.NamedGroup: """ Finds a NamedGroup by the ElementId of the element that stores the @@ -99594,7 +104953,13 @@ class NamedGroupCollection: """ ... - def __init__(self: MSPyDgnPlatform.NamedGroupCollection, modelRef: MSPyDgnPlatform.DgnModelRef) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class NamedGroupFlags: @@ -99644,7 +105009,13 @@ class NamedGroupFlags: def SelectMembers(arg0: MSPyDgnPlatform.NamedGroupFlags, arg1: bool) -> None: ... - def __init__(self: MSPyDgnPlatform.NamedGroupFlags) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class NamedGroupMember: @@ -99731,12 +105102,15 @@ class NamedGroupMember: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NamedGroupMemberFlags: """ None @@ -99763,7 +105137,13 @@ class NamedGroupMemberFlags: def GroupPropagate(arg0: MSPyDgnPlatform.NamedGroupMemberFlags, arg1: bool) -> None: ... - def __init__(self: MSPyDgnPlatform.NamedGroupMemberFlags) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class NamedGroupStatus: @@ -99811,7 +105191,13 @@ class NamedGroupStatus: eNG_IsFarReference """ - def __init__(self: MSPyDgnPlatform.NamedGroupStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNG_BadArg: NamedGroupStatus @@ -99867,7 +105253,16 @@ class NamedSharedCellDefCollection: None """ - def __init__(self: MSPyDgnPlatform.NamedSharedCellDefCollection, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class NamedView: @@ -100089,7 +105484,7 @@ class NamedView: def GetViewInfo(self: MSPyDgnPlatform.NamedView) -> MSPyDgnPlatform.ViewInfo: """ - Gets a const reference to the ViewInfo for this NamedView. + Gets a reference to the ViewInfo for this NamedView. """ ... @@ -100099,7 +105494,7 @@ class NamedView: def GetViewPortInfo(self: MSPyDgnPlatform.NamedView) -> MSPyDgnPlatform.ViewPortInfo: """ - Gets a const reference to the ViewPortInfo for this NamedView. + Gets a reference to the ViewPortInfo for this NamedView. """ ... @@ -100129,10 +105524,10 @@ class NamedView: De-annotate (hide) all annotation attachments :param hostModel: - (input) ModelRef to look annotations into. + (input) -> ModelRef to look annotations into. :param viewElemRefToSkip: - (input) View element whose annotation attachment should not be + (input) -> View element whose annotation attachment should not be deannotated (optional, can pass NULL) """ ... @@ -100143,7 +105538,7 @@ class NamedView: model. :param hostModel: - (input) Model to hide annotation attachment in + (input) -> Model to hide annotation attachment in :returns: non-zero error status if annotated cross-reference could not be @@ -100161,10 +105556,10 @@ class NamedView: the given model. :param hostModel: - (input) Model to show annotation attachment in + (input) -> Model to show annotation attachment in :param drawingIndex: - (input) Index of drawing in the list of all links. -1 for Default + (input) -> Index of drawing in the list of all links. -1 for Default behavior (1st drawing link, if not found then 1st reference link) :returns: @@ -100180,7 +105575,7 @@ class NamedView: :param viewEH: - (input) View element to check + (input) -> View element to check Remark: s Caller is responsible for freeing group by calling @@ -100267,13 +105662,13 @@ class NamedView: model. :param hostModel: - (input) Model to show annotation attachment in + (input) -> Model to show annotation attachment in :param viewRefModel: - (input) Reference path from named view's root model to hostModel + (input) -> Reference path from named view's root model to hostModel :param drawingIndex: - (input) Index of drawing in the list of all links. -1 for Default + (input) -> Index of drawing in the list of all links. -1 for Default behavior (1st drawing link, if not found then 1st reference link) :returns: @@ -100336,17 +105731,23 @@ class NamedView: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NamedViewCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def FindByElementId(self: MSPyDgnPlatform.NamedViewCollection, elementId: int) -> MSPyDgnPlatform.NamedView: """ Finds a NamedView by the ElementId of the element that stores the @@ -100431,12 +105832,15 @@ class NamedViewCollection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NamedViewDisplayable: """ None @@ -100552,23 +105956,29 @@ class NamedViewDisplayable: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NamedViewDisplayableData: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def geomInfo(self: MSPyDgnPlatform.NamedViewDisplayableData) -> MSPyDgnPlatform.ViewGeomInfo: ... @@ -100620,7 +106030,13 @@ class NamedViewProp: eTypeSpecificData """ - def __init__(self: MSPyDgnPlatform.NamedViewProp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDescription: NamedViewProp @@ -100708,12 +106124,15 @@ class NamedViewPropMask: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NamedViewStatus: """ Members: @@ -100755,7 +106174,13 @@ class NamedViewStatus: eCantSaveXAttributes """ - def __init__(self: MSPyDgnPlatform.NamedViewStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBadFile: NamedViewStatus @@ -100802,7 +106227,7 @@ class NamedViewStatus: def value(arg0: MSPyDgnPlatform.NamedViewStatus) -> int: ... -class NoBarFraction: +class NoBarFraction(MSPyDgnPlatform.Fraction): """ None """ @@ -100887,12 +106312,15 @@ class NoBarFraction: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NopElementQueryResultFilter: """ None @@ -100904,10 +106332,16 @@ class NopElementQueryResultFilter: def AnyClientSideFilter(self: MSPyDgnPlatform.NopElementQueryResultFilter) -> bool: ... - def __init__(self: MSPyDgnPlatform.NopElementQueryResultFilter) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class NormalCellHeaderHandler: +class NormalCellHeaderHandler(MSPyDgnPlatform.Type2Handler, MSPyDgnPlatform.ICellQuery): """ None """ @@ -100954,9 +106388,11 @@ class NormalCellHeaderHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -101068,12 +106504,15 @@ class NormalCellHeaderHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def ExtractDescription(self: MSPyDgnPlatform.ICellQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... @@ -101126,6 +106565,7 @@ class NormalCellHeaderHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -101222,13 +106662,16 @@ class NormalCellHeaderHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class NoteCellHeaderHandler: + def __init__(self, *args, **kwargs): + ... + +class NoteCellHeaderHandler(MSPyDgnPlatform.Type2Handler, MSPyDgnPlatform.IAnnotationHandler, MSPyDgnPlatform.ITextEdit): """ None """ @@ -101253,9 +106696,11 @@ class NoteCellHeaderHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -101295,12 +106740,15 @@ class NoteCellHeaderHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -101365,6 +106813,7 @@ class NoteCellHeaderHandler: def HasAnnotationScale(self: MSPyDgnPlatform.IAnnotationHandler, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -101405,7 +106854,13 @@ class NoteCellHeaderHandler: eReplaceStatus_Delete """ - def __init__(self: MSPyDgnPlatform.ITextEdit.ReplaceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplaceStatus_Delete: ReplaceStatus @@ -101434,12 +106889,15 @@ class NoteCellHeaderHandler: def SetNoteDimensionStyle(self: MSPyDgnPlatform.NoteCellHeaderHandler, noteElement: MSPyDgnPlatform.EditElementHandle, leaderElement: MSPyDgnPlatform.EditElementHandle, dimStyle: MSPyDgnPlatform.DimensionStyle) -> MSPyDgnPlatform.BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eReplaceStatus_Delete: ReplaceStatus eReplaceStatus_Error: ReplaceStatus @@ -101466,7 +106924,13 @@ class NotificationManager: eMESSAGEBOX_ICON_Critical """ - def __init__(self: MSPyDgnPlatform.NotificationManager.MessageBoxIconType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMESSAGEBOX_ICON_Critical: MessageBoxIconType @@ -101504,7 +106968,13 @@ class NotificationManager: eMESSAGEBOX_TYPE_YesNo """ - def __init__(self: MSPyDgnPlatform.NotificationManager.MessageBoxType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMESSAGEBOX_TYPE_LargeOk: MessageBoxType @@ -101556,7 +107026,13 @@ class NotificationManager: eMESSAGEBOX_VALUE_NoToAll """ - def __init__(self: MSPyDgnPlatform.NotificationManager.MessageBoxValue, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMESSAGEBOX_VALUE_Apply: MessageBoxValue @@ -101647,12 +107123,15 @@ class NotificationManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eMESSAGEBOX_ICON_Critical: MessageBoxIconType eMESSAGEBOX_ICON_Information: MessageBoxIconType @@ -101754,12 +107233,15 @@ class NotifyMessageDetails: def Priority(arg0: MSPyDgnPlatform.NotifyMessageDetails) -> MSPyDgnPlatform.OutputMessagePriority: ... - def __init__(*args, **kwargs): + class __class__(type): """ - __init__(self: MSPyDgnPlatform.NotifyMessageDetails, priority: MSPyDgnPlatform.OutputMessagePriority, briefMsg: str, detailedMsg: str = None, msgAttr: int = 0, openAlert: MSPyDgnPlatform.OutputMessageAlert = ) -> None + None """ ... + def __init__(self, *args, **kwargs): + ... + class NpcCorners: """ Members: @@ -101781,7 +107263,13 @@ class NpcCorners: eNPC_111 """ - def __init__(self: MSPyDgnPlatform.NpcCorners, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNPC_000: NpcCorners @@ -101808,7 +107296,7 @@ class NpcCorners: def value(arg0: MSPyDgnPlatform.NpcCorners) -> int: ... -class OleCellHeaderHandler: +class OleCellHeaderHandler(MSPyDgnPlatform.Type2Handler): """ None """ @@ -101819,9 +107307,11 @@ class OleCellHeaderHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -101856,12 +107346,15 @@ class OleCellHeaderHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def ExtractOleData(self: MSPyDgnPlatform.OleCellHeaderHandler, eh: MSPyDgnPlatform.ElementHandle, data: bytearray) -> MSPyDgnPlatform.BentleyStatus: ... @@ -101904,7 +107397,7 @@ class OleCellHeaderHandler: Query the display scale for the ole data. :param eh: - (input) The element to query. + (input) -> The element to query. :param scale: (output) display scale. @@ -101919,16 +107412,16 @@ class OleCellHeaderHandler: Query extents, center, and orientation of the ole element. :param eh: - (input) The element to query. + (input) -> The element to query. :param size: - (output) Extents of ole element (optional). + (output) -> Extents of ole element (optional). :param center: - (output) Center of ole element (optional). + (output) -> Center of ole element (optional). :param rMatrix: - (output) Orientation of ole element (optional). + (output) -> Orientation of ole element (optional). :returns: SUCCESS if extracted data is valid. @@ -101943,13 +107436,13 @@ class OleCellHeaderHandler: Query the source data size for the ole data. :param eh: - (input) The element to query. + (input) -> The element to query. :param sourceSize: - (output) Source data size. + (output) -> Source data size. :param label: - (output) Unit label for source data size. + (output) -> Unit label for source data size. :returns: SUCCESS if extracted data is valid. @@ -101962,6 +107455,7 @@ class OleCellHeaderHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -101973,7 +107467,7 @@ class OleCellHeaderHandler: Test if the supplied element is an ole cell element. :param eh: - (input) The element to test. + (input) -> The element to test. :param info: (output) ole information (optional). @@ -102001,12 +107495,15 @@ class OleCellHeaderHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class OrientedBox: """ None @@ -102064,6 +107561,13 @@ class OrientedBox: def ZVec(arg0: MSPyDgnPlatform.OrientedBox) -> MSPyBentleyGeom.DVec3d: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -102085,7 +107589,13 @@ class OutputMessageAlert: eBalloon """ - def __init__(self: MSPyDgnPlatform.OutputMessageAlert, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBalloon: OutputMessageAlert @@ -102125,7 +107635,13 @@ class OutputMessagePriority: eFatal """ - def __init__(self: MSPyDgnPlatform.OutputMessagePriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDebug: OutputMessagePriority @@ -102393,12 +107909,15 @@ class OvrMatSymb: def Width(arg0: MSPyDgnPlatform.OvrMatSymb, arg1: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class OvrMatSymbFlags: """ Members: @@ -102426,7 +107945,13 @@ class OvrMatSymbFlags: eMATSYMB_OVERRIDE_FallbackRenderMaterial """ - def __init__(self: MSPyDgnPlatform.OvrMatSymbFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMATSYMB_OVERRIDE_Color: OvrMatSymbFlags @@ -102522,7 +108047,7 @@ class PBRMaterialSettings: def GetMetalInsulatorRatio(self: MSPyDgnPlatform.PBRMaterialSettings) -> float: """ get the property for the surface being metallic or dialectric, Rusty - surfaces is where this value would be inbetween 0 & 1 + surfaces is where this value would be inbetween 01 """ ... @@ -102666,7 +108191,7 @@ class PBRMaterialSettings: def SetMetalInsulatorRatio(self: MSPyDgnPlatform.PBRMaterialSettings, ratio: float) -> None: """ Set the property for the surface being metallic or dialectric, Rusty - surfaces is where this value would be inbetween 0 & 1 + surfaces is where this value would be inbetween 01 :param (input): intensity The diffuse value @@ -102722,28 +108247,44 @@ class PBRMaterialSettings: def TransmitIntensity(arg0: MSPyDgnPlatform.PBRMaterialSettings, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PDFRegionInfo: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PDFRegionInfoPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -102776,6 +108317,7 @@ class PDFRegionInfoPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -102796,6 +108338,7 @@ class PDFRegionInfoPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -102816,7 +108359,7 @@ class PDFRegionInfoPtrArray: """ ... -class PDFRegionLink: +class PDFRegionLink(MSPyDgnPlatform.DgnLinkComposition): """ None """ @@ -102878,7 +108421,7 @@ class PDFRegionLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -103029,12 +108572,15 @@ class PDFRegionLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PDFRegionType: """ Members: @@ -103044,7 +108590,13 @@ class PDFRegionType: eBookmark """ - def __init__(self: MSPyDgnPlatform.PDFRegionType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBookmark: PDFRegionType @@ -103112,6 +108664,7 @@ class PaletteInfo: """ ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -103149,7 +108702,13 @@ class PaletteInfo: ePALETTETYPE_Other """ - def __init__(self: MSPyDgnPlatform.PaletteInfo.PaletteType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePALETTETYPE_Dgn: PaletteType @@ -103217,6 +108776,13 @@ class PaletteInfo: def Type(arg0: MSPyDgnPlatform.PaletteInfo, arg1: MSPyDgnPlatform.PaletteInfo.PaletteType) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -103244,7 +108810,13 @@ class PaletteUnloadOption: eConvertToExternalAssignmentsAndAttachments """ - def __init__(self: MSPyDgnPlatform.PaletteUnloadOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eConvertToExternalAssignmentsAndAttachments: PaletteUnloadOption @@ -103274,13 +108846,16 @@ class Paragraph: def Properties(arg0: MSPyDgnPlatform.Paragraph) -> MSPyDgnPlatform.ParagraphProperties: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ParagraphBreak: + def __init__(self, *args, **kwargs): + ... + +class ParagraphBreak(MSPyDgnPlatform.WhiteSpace): """ None """ @@ -103305,12 +108880,15 @@ class ParagraphBreak: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ParagraphIterator: """ None @@ -103340,12 +108918,15 @@ class ParagraphIterator: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ParagraphProperties: """ None @@ -103562,12 +109143,15 @@ class ParagraphProperties: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ParagraphRange: """ None @@ -103593,6 +109177,13 @@ class ParagraphRange: def StartCaret(arg0: MSPyDgnPlatform.ParagraphRange) -> MSPyDgnPlatform.Caret: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -103608,7 +109199,13 @@ class ParameterCsvReadContext: None """ - def __init__(self: MSPyDgnPlatform.ParameterCsvReadContext, presenceFlags: MSPyDgnPlatform.ParameterCsvSectionPresenceFlags) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ParameterCsvSection: @@ -103632,7 +109229,13 @@ class ParameterCsvSection: eScope """ - def __init__(self: MSPyDgnPlatform.ParameterCsvSection, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eActiveValues: ParameterCsvSection @@ -103688,6 +109291,13 @@ class ParameterCsvSectionPresenceFlags: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -103734,6 +109344,7 @@ class ParameterDefinition: """ ... + @staticmethod def GetType(*args, **kwargs): """ Overloaded function. @@ -103819,10 +109430,16 @@ class ParameterDefinition: def Type(arg0: MSPyDgnPlatform.ParameterDefinition) -> MSPyDgnPlatform.ParameterType: ... - def __init__(self: MSPyDgnPlatform.ParameterDefinition) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class ParameterExpressionHandlerId: +class ParameterExpressionHandlerId(MSPyDgnPlatform.HandlerId): """ None """ @@ -103863,6 +109480,13 @@ class ParameterExpressionHandlerId: def MinorId(arg0: MSPyDgnPlatform.HandlerId) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -103908,7 +109532,13 @@ class ParameterExpressionStatus: eError """ - def __init__(self: MSPyDgnPlatform.ParameterExpressionStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCircularDependency: ParameterExpressionStatus @@ -103980,7 +109610,13 @@ class ParameterStatus: eError """ - def __init__(self: MSPyDgnPlatform.ParameterStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDuplicateName: ParameterStatus @@ -104040,7 +109676,13 @@ class ParameterType: eUnknown """ - def __init__(self: MSPyDgnPlatform.ParameterType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAngle: ParameterType @@ -104080,7 +109722,13 @@ class ParameterUnits: eModel """ - def __init__(self: MSPyDgnPlatform.ParameterUnits, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eInvariant: ParameterUnits @@ -104177,7 +109825,13 @@ class ParameterValue: def Type(arg0: MSPyDgnPlatform.ParameterValue) -> MSPyDgnPlatform.ParameterType: ... - def __init__(self: MSPyDgnPlatform.ParameterValue) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ParametricCellDefCollection: @@ -104185,7 +109839,16 @@ class ParametricCellDefCollection: None """ - def __init__(self: MSPyDgnPlatform.ParametricCellDefCollection, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ParametricCellDefEventType: @@ -104199,7 +109862,13 @@ class ParametricCellDefEventType: eDelete """ - def __init__(self: MSPyDgnPlatform.ParametricCellDefEventType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAdd: ParametricCellDefEventType @@ -104216,7 +109885,7 @@ class ParametricCellDefEventType: def value(arg0: MSPyDgnPlatform.ParametricCellDefEventType) -> int: ... -class ParametricCellDefHandler: +class ParametricCellDefHandler(MSPyDgnPlatform.ExtendedNonGraphicsHandler, MSPyDgnPlatform.ITransactionHandler): """ None """ @@ -104224,9 +109893,11 @@ class ParametricCellDefHandler: def ApplyTransform(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyDgnPlatform.TransformInfo) -> int: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -104247,12 +109918,15 @@ class ParametricCellDefHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -104292,19 +109966,23 @@ class ParametricCellDefHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeElement(eeh: MSPyDgnPlatform.EditElementHandle, teh: MSPyDgnPlatform.ElementHandle, modelRef: MSPyDgnPlatform.DgnModelRef, isComplexHeader: bool = False) -> None: ... def QueryProperties(self: MSPyDgnPlatform.Handler, eh: MSPyDgnPlatform.ElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ParametricCellDefinition: + def __init__(self, *args, **kwargs): + ... + +class ParametricCellDefinition(MSPyDgnPlatform.IParameterValues): """ None """ @@ -104370,10 +110048,8 @@ class ParametricCellDefinition: """ ... - def GetValue(*args, **kwargs): + def GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Attempts to retrieve the value of a parameter by access string """ ... @@ -104414,10 +110090,8 @@ class ParametricCellDefinition: def Properties(arg0: MSPyDgnPlatform.IParameterValues) -> MSPyECObjects.IECInstance: ... - def SetValue(*args, **kwargs): + def SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Modifies the value of the specified parameter in memory. The change does not become persistent until WriteValues() is invoked. """ @@ -104429,13 +110103,16 @@ class ParametricCellDefinition: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ParametricCellHandler: + def __init__(self, *args, **kwargs): + ... + +class ParametricCellHandler(MSPyDgnPlatform.ExtendedElementHandler, MSPyDgnPlatform.IAnnotationHandler): """ None """ @@ -104491,12 +110168,15 @@ class ParametricCellHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -104568,9 +110248,11 @@ class ParametricCellHandler: def HasAnnotationScale(self: MSPyDgnPlatform.IAnnotationHandler, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... + @staticmethod def InitializeElement(eeh: MSPyDgnPlatform.EditElementHandle, eh: MSPyDgnPlatform.ElementHandle, modelRef: MSPyDgnPlatform.DgnModelRef, is3d: bool, isComplexHeader: bool = 0) -> None: ... @@ -104610,6 +110292,7 @@ class ParametricCellHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... + @staticmethod def ValidatePresentation(*args, **kwargs): """ Overloaded function. @@ -104644,13 +110327,16 @@ class ParametricCellHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ParametricCellInfo: + def __init__(self, *args, **kwargs): + ... + +class ParametricCellInfo(MSPyDgnPlatform.IParameterValues): """ None """ @@ -104707,10 +110393,8 @@ class ParametricCellInfo: """ ... - def GetValue(*args, **kwargs): + def GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - GetValue(self: MSPyDgnPlatform.IParameterValues, v: MSPyECObjects.ECValue, accessString: str, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Attempts to retrieve the value of a parameter by access string """ ... @@ -104777,10 +110461,8 @@ class ParametricCellInfo: """ ... - def SetValue(*args, **kwargs): + def SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ParameterUnits.eStorage) -> MSPyECObjects.ECObjectsStatus: """ - SetValue(self: MSPyDgnPlatform.IParameterValues, accessString: str, value: MSPyECObjects.ECValue, units: MSPyDgnPlatform.ParameterUnits = ) -> MSPyECObjects.ECObjectsStatus - Modifies the value of the specified parameter in memory. The change does not become persistent until WriteValues() is invoked. """ @@ -104792,12 +110474,15 @@ class ParametricCellInfo: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ParametricCellRemapTable: """ None @@ -104846,12 +110531,15 @@ class ParametricCellRemapTable: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ParseParameterExpressionResult: """ None @@ -104868,12 +110556,15 @@ class ParseParameterExpressionResult: def ParsedExpression(arg0: MSPyDgnPlatform.ParseParameterExpressionResult) -> MSPyDgnPlatform.IParameterExpression: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PartialTreatment: """ Members: @@ -104885,7 +110576,13 @@ class PartialTreatment: eSymbolPartialNone """ - def __init__(self: MSPyDgnPlatform.PartialTreatment, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSymbolPartialNone: PartialTreatment @@ -105093,10 +110790,8 @@ class PatternParams: def HoleStyle(arg0: MSPyDgnPlatform.PatternParams, arg1: MSPyDgnPlatform.PatternParamsHoleStyleType) -> None: ... - def IsEqual(*args, **kwargs): + def IsEqual(self: MSPyDgnPlatform.PatternParams, params: MSPyDgnPlatform.PatternParams, compareFlags: MSPyDgnPlatform.PatternParamsCompareFlags = PatternParamsCompareFlags.ePATTERNPARAMSCOMPAREFLAGS_Default) -> bool: """ - IsEqual(self: MSPyDgnPlatform.PatternParams, params: MSPyDgnPlatform.PatternParams, compareFlags: MSPyDgnPlatform.PatternParamsCompareFlags = ) -> bool - Compare two PatternParams. """ ... @@ -105320,6 +111015,13 @@ class PatternParams: def Tolerance(arg0: MSPyDgnPlatform.PatternParams, arg1: float) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -105357,7 +111059,13 @@ class PatternParamsCompareFlags: ePATTERNPARAMSCOMPAREFLAGS_All """ - def __init__(self: MSPyDgnPlatform.PatternParamsCompareFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePATTERNPARAMSCOMPAREFLAGS_All: PatternParamsCompareFlags @@ -105399,7 +111107,13 @@ class PatternParamsHoleStyleType: eParity """ - def __init__(self: MSPyDgnPlatform.PatternParamsHoleStyleType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNormal: PatternParamsHoleStyleType @@ -105467,7 +111181,13 @@ class PatternParamsModifierFlags: eAnnotationScale """ - def __init__(self: MSPyDgnPlatform.PatternParamsModifierFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAngle1: PatternParamsModifierFlags @@ -105537,7 +111257,13 @@ class PatternPlacementTypes: ePATTERN_AREA """ - def __init__(self: MSPyDgnPlatform.PatternPlacementTypes, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePATTERN_AREA: PatternPlacementTypes @@ -105559,10 +111285,7 @@ class PersistentElementPath: None """ - def CaptureQualifiedFarReference(*args, **kwargs): - """ - CaptureQualifiedFarReference(self: MSPyDgnPlatform.PersistentElementPath, rootElementInFile: MSPyDgnPlatform.ElementRefBase, toFile: MSPyDgnPlatform.DgnAttachment, flags: MSPyDgnPlatform.PersistentElementPath.QFR_Flags = , exclude: MSPyDgnPlatform.DgnAttachment = None) -> None - """ + def CaptureQualifiedFarReference(self: MSPyDgnPlatform.PersistentElementPath, rootElementInFile: MSPyDgnPlatform.ElementRefBase, toFile: MSPyDgnPlatform.DgnAttachment, flags: MSPyDgnPlatform.PersistentElementPath.QFR_Flags = QFR_Flags.eQFR_FLAG_IncludeHomeAndRootModels, exclude: MSPyDgnPlatform.DgnAttachment = None) -> None: ... def ContainsRemapKeys(self: MSPyDgnPlatform.PersistentElementPath) -> bool: @@ -105587,7 +111310,13 @@ class PersistentElementPath: eCOPYOPTION_RemapRootsToAnyCopy """ - def __init__(self: MSPyDgnPlatform.PersistentElementPath.CopyOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCOPYCONTEXT_DeepCopyRootsAlways: CopyOption @@ -105858,7 +111587,13 @@ class PersistentElementPath: def OnReferenceAttachmentId(self: MSPyDgnPlatform.PersistentElementPath.PathProcessor, elemId: int, ref: MSPyDgnPlatform.ElementRefBase, referencedModel: MSPyDgnPlatform.DgnModelRef, dependentModel: MSPyDgnPlatform.DgnModel) -> None: ... - def __init__(self: MSPyDgnPlatform.PersistentElementPath.PathProcessor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def ProcessPath(self: MSPyDgnPlatform.PersistentElementPath, processor: MSPyDgnPlatform.PersistentElementPath.PathProcessor, dependentModel: MSPyDgnPlatform.DgnModelRef) -> int: @@ -105881,7 +111616,13 @@ class PersistentElementPath: eQFR_FLAG_IncludeHomeAndRootModels """ - def __init__(self: MSPyDgnPlatform.PersistentElementPath.QFR_Flags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eQFR_FLAG_IncludeHomeAndRootModels: QFR_Flags @@ -105915,6 +111656,13 @@ class PersistentElementPath: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -105951,7 +111699,7 @@ class PersistentElementPath: eQFR_FLAG_IncludeRootModel: QFR_Flags -class PersistentElementRef: +class PersistentElementRef(MSPyDgnPlatform.ElementRefBase): """ None """ @@ -106153,30 +111901,39 @@ class PersistentElementRef: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PersistentElementRefList: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def GetDgnModel(self: MSPyDgnPlatform.PersistentElementRefList) -> MSPyDgnPlatform.DgnModel: ... def IsEmpty(self: MSPyDgnPlatform.PersistentElementRefList) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class PersistentLevelCache: + def __init__(self, *args, **kwargs): + ... + +class PersistentLevelCache(MSPyDgnPlatform.LevelCache): """ None """ @@ -106395,12 +112152,15 @@ class PersistentLevelCache: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PersistentSnapPath: """ None @@ -106509,6 +112269,7 @@ class PersistentSnapPath: """ ... + @staticmethod def FromPersistentElementPath(*args, **kwargs): """ Overloaded function. @@ -106720,6 +112481,13 @@ class PersistentSnapPath: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -106739,6 +112507,10 @@ class PickList: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + @staticmethod def AddValue(*args, **kwargs): """ Overloaded function. @@ -106814,6 +112586,13 @@ class PickList: def SortValues(self: MSPyDgnPlatform.PickList, ascending: bool) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -106829,6 +112608,10 @@ class PickListLibrary: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + @staticmethod def AddPickList(*args, **kwargs): """ Overloaded function. @@ -106903,15 +112686,18 @@ class PickListLibrary: ... @staticmethod - def SavePickListLibToDgnWithChanges(dgnFile: MSPyDgnPlatform.DgnFile, pickListLib: MSPyDgnPlatform.PickListLibrary, pickListChangeIds: List[int], pickListValueChangeIds: List[List[int]], isUpdateRelatedObjects: bool = False) -> bool: + def SavePickListLibToDgnWithChanges(dgnFile: MSPyDgnPlatform.DgnFile, pickListLib: MSPyDgnPlatform.PickListLibrary, pickListChangeIds: List[int], pickListValueChangeIds: list[list[int]], isUpdateRelatedObjects: bool = False) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PickListValue: """ None @@ -106926,6 +112712,13 @@ class PickListValue: def JudgeSame(self: MSPyDgnPlatform.PickListValue, anotherPickListValue: MSPyDgnPlatform.PickListValue, judgeId: bool = True) -> bool: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -107020,11 +112813,12 @@ class PointCloudClipProperties: """ ... + @staticmethod def GetClipMaskList(*args, **kwargs): """ Overloaded function. - 1. GetClipMaskList(self: MSPyDgnPlatform.PointCloudClipProperties, props: MSPyDgnPlatform.PointCloudProperties, clipBoxList: List[MSPyDgnPlatform.OrientedBox]) -> int + 1. GetClipMaskList(self: MSPyDgnPlatform.PointCloudClipProperties, props: MSPyDgnPlatform.PointCloudProperties, clipBoxList: list[MSPyDgnPlatform.OrientedBox]) -> int Get the list of clip masks of a point cloud. @@ -107049,11 +112843,26 @@ class PointCloudClipProperties: :param clipBoxList: List of clip masks of the point cloud. + :returns: + always SUCCESS + + 3. GetClipMaskList(self: MSPyDgnPlatform.PointCloudClipProperties, props: MSPyDgnPlatform.PointCloudProperties, clipPolygonList: list) -> int + + Get the list of clip masks of a point cloud. + + :param props: + PointCloudProperties of the point cloud for which the clip masks + are requested. + + :param clipBoxList: + List of clip masks of the point cloud. + :returns: always SUCCESS """ ... + @staticmethod def SetClipBoundary(*args, **kwargs): """ Overloaded function. @@ -107105,11 +112914,12 @@ class PointCloudClipProperties: """ ... + @staticmethod def SetClipMaskList(*args, **kwargs): """ Overloaded function. - 1. SetClipMaskList(self: MSPyDgnPlatform.PointCloudClipProperties, props: MSPyDgnPlatform.PointCloudProperties, clipBoxList: List[MSPyDgnPlatform.OrientedBox]) -> int + 1. SetClipMaskList(self: MSPyDgnPlatform.PointCloudClipProperties, props: MSPyDgnPlatform.PointCloudProperties, clipBoxList: list[MSPyDgnPlatform.OrientedBox]) -> int Set the list of clip masks of a point cloud. @@ -107134,15 +112944,35 @@ class PointCloudClipProperties: :param clipBoxList: List of clip masks to set on the point cloud. + :returns: + always SUCCESS + + 3. SetClipMaskList(self: MSPyDgnPlatform.PointCloudClipProperties, props: MSPyDgnPlatform.PointCloudProperties, clipPolygonList: list) -> None + + Set the list of clip masks of a point cloud. + + :param props: + PointCloudProperties of the point cloud for which the clip masks + are set. + + :param clipBoxList: + List of clip masks to set on the point cloud. + :returns: always SUCCESS """ ... - def __init__(self: MSPyDgnPlatform.PointCloudClipProperties) -> None: + class __class__(type): + """ + None + """ ... -class PointCloudHandler: + def __init__(self, *args, **kwargs): + ... + +class PointCloudHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ITransactionHandler, MSPyDgnPlatform.IPointCloudEdit): """ None """ @@ -107153,9 +112983,11 @@ class PointCloudHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -107208,12 +113040,15 @@ class PointCloudHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -107296,6 +113131,7 @@ class PointCloudHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -107349,12 +113185,15 @@ class PointCloudHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PointCloudProperties: """ None @@ -107605,12 +113444,15 @@ class PointCloudProperties: def ViewDensity(arg0: MSPyDgnPlatform.PointCloudProperties, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PointCloudSelectPoints: """ None @@ -107647,7 +113489,13 @@ class PointCloudSelectPoints: eLoadedDensity """ - def __init__(self: MSPyDgnPlatform.PointCloudSelectPoints.DENSITYMODE, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFullDensity: DENSITYMODE @@ -107677,7 +113525,13 @@ class PointCloudSelectPoints: eUnSelect """ - def __init__(self: MSPyDgnPlatform.PointCloudSelectPoints.SELECTMODE, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSelect: SELECTMODE @@ -107705,12 +113559,15 @@ class PointCloudSelectPoints: def UnselectAll(self: MSPyDgnPlatform.PointCloudSelectPoints) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFullDensity: DENSITYMODE eLoadedDensity: DENSITYMODE @@ -107828,13 +113685,16 @@ class PointFormatter: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class PointLight: + def __init__(self, *args, **kwargs): + ... + +class PointLight(MSPyDgnPlatform.LightElement): """ None """ @@ -108048,6 +113908,7 @@ class PointLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -108089,6 +113950,7 @@ class PointLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -108337,7 +114199,13 @@ class PointLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -108374,6 +114242,7 @@ class PointLight: def value(arg0: MSPyDgnPlatform.Light.LightType) -> int: ... + @staticmethod def LoadFromElement(*args, **kwargs): """ Overloaded function. @@ -108921,7 +114790,13 @@ class PointLight: def VolumeShift(arg0: MSPyDgnPlatform.AdvancedLight, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.PointLight) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -109012,22 +114887,27 @@ class PointParser: """ ... - def ToValue(*args, **kwargs): + def ToValue(self: MSPyDgnPlatform.PointParser, outPoint: MSPyBentleyGeom.DPoint3d, in_: str) -> MSPyDgnPlatform.BentleyStatus: """ - ToValue(self: MSPyDgnPlatform.PointParser, outPoint: MSPyBentleyGeom.DPoint3d, in: str) -> MSPyDgnPlatform.BentleyStatus - Parse a string into a point value in uors. - :param in: + :param in_: input string. Returns (Tuple, 0): retVal. SUCCESS if parsed successfully. ERROR otherwise.. Returns (Tuple, 1) : - outVal. resulting point if successfully parsed. + outVal. resulting point if successfully parsed. """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -109042,7 +114922,7 @@ class PointParser: """ ... -class PointStringHandler: +class PointStringHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ICurvePathEdit): """ None """ @@ -109127,6 +115007,74 @@ class PointStringHandler: :param modelRef: Model to associate this element with. Required to compute range. + :returns: + SUCCESS if a valid element is created and range was sucessfully + calculated. Bentley Systems +---------------+---------------+----- + ----------+---------------+---------------+------ + + 3. CreatePointStringElement(eeh: MSPyDgnPlatform.EditElementHandle, templateEh: MSPyDgnPlatform.ElementHandle, points: MSPyBentleyGeom.DPoint3dArray, matrices: list, disjoint: bool, is3d: bool, modelRef: MSPyDgnPlatform.DgnModelRef) -> MSPyDgnPlatform.BentleyStatus + + Create a new POINT_STRING_ELM with the supplied parameters. + + :param eeh: + The new element. + + :param templateEh: + Template element to use for symbology; if NULL defaults are used. + + :param points: + input point buffer. + + :param matrices: + optional array of per-point rotations (usually NULL). + + :param numVerts: + number of points (and matrices if not NULL) + + :param disjoint: + Whether point displays as disjoint or a continous linestring. + + :param is3d: + Initialize the 2d or 3d element structure, typically + modelRef->Is3d (). + + :param modelRef: + Model to associate this element with. Required to compute range. + + :returns: + SUCCESS if a valid element is created and range was sucessfully + calculated. Bentley Systems +---------------+---------------+----- + ----------+---------------+---------------+------ + + 4. CreatePointStringElement(eeh: MSPyDgnPlatform.EditElementHandle, templateEh: MSPyDgnPlatform.ElementHandle, points: list, matrices: list, disjoint: bool, is3d: bool, modelRef: MSPyDgnPlatform.DgnModelRef) -> MSPyDgnPlatform.BentleyStatus + + Create a new POINT_STRING_ELM with the supplied parameters. + + :param eeh: + The new element. + + :param templateEh: + Template element to use for symbology; if NULL defaults are used. + + :param points: + input point buffer. + + :param matrices: + optional array of per-point rotations (usually NULL). + + :param numVerts: + number of points (and matrices if not NULL) + + :param disjoint: + Whether point displays as disjoint or a continous linestring. + + :param is3d: + Initialize the 2d or 3d element structure, typically + modelRef->Is3d (). + + :param modelRef: + Model to associate this element with. Required to compute range. + :returns: SUCCESS if a valid element is created and range was sucessfully calculated. Bentley Systems +---------------+---------------+----- @@ -109140,9 +115088,11 @@ class PointStringHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -109154,12 +115104,15 @@ class PointStringHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -109206,6 +115159,7 @@ class PointStringHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -109232,23 +115186,29 @@ class PointStringHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Point_string_2d: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Point_string_2d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -109296,12 +115256,15 @@ class Point_string_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Point_string_3d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -109353,7 +115316,13 @@ class ProcessChangesWhen: eAfterProcessing """ - def __init__(self: MSPyDgnPlatform.ProcessChangesWhen, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAfterProcessing: ProcessChangesWhen @@ -109381,7 +115350,13 @@ class ProjectionAttachmentType: eElement """ - def __init__(self: MSPyDgnPlatform.ProjectionAttachmentType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eElement: ProjectionAttachmentType @@ -109409,7 +115384,13 @@ class ProjectionVariant: eCylindricalCapped """ - def __init__(self: MSPyDgnPlatform.ProjectionVariant, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCylindricalCapped: ProjectionVariant @@ -109441,12 +115422,15 @@ class PropertyContext: def QueryPathProperties(path: MSPyDgnPlatform.HitPath, queryObj: MSPyDgnPlatform.IQueryProperties) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PropsCallbackFlags: """ Members: @@ -109466,7 +115450,13 @@ class PropsCallbackFlags: ePROPSCALLBACK_FLAGS_MaterialAssigned """ - def __init__(self: MSPyDgnPlatform.PropsCallbackFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePROPSCALLBACK_FLAGS_ElementIgnoresID: PropsCallbackFlags @@ -109522,7 +115512,13 @@ class ProxyCacheStatus: eObsoleteValidityHash """ - def __init__(self: MSPyDgnPlatform.ProxyCacheStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAttachmentChanged: ProxyCacheStatus @@ -109574,7 +115570,13 @@ class ProxyCacheSynch: eUnspecified """ - def __init__(self: MSPyDgnPlatform.ProxyCacheSynch, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlert: ProxyCacheSynch @@ -109606,7 +115608,13 @@ class ProxyCachingOption: eStatic """ - def __init__(self: MSPyDgnPlatform.ProxyCachingOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCached: ProxyCachingOption @@ -109634,7 +115642,13 @@ class QVAliasMaterialId: """ ... - def __init__(self: MSPyDgnPlatform.QVAliasMaterialId, qvAliasMaterialId: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class QueryPropertyPurpose: @@ -109646,7 +115660,13 @@ class QueryPropertyPurpose: eMatch """ - def __init__(self: MSPyDgnPlatform.QueryPropertyPurpose, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMatch: QueryPropertyPurpose @@ -109661,11 +115681,12 @@ class QueryPropertyPurpose: def value(arg0: MSPyDgnPlatform.QueryPropertyPurpose) -> int: ... -class QvViewport: +class QvViewport(MSPyDgnPlatform.Viewport): """ None """ + @staticmethod def ActiveToRoot(*args, **kwargs): """ Overloaded function. @@ -109674,9 +115695,13 @@ class QvViewport: 2. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, activePts: list) -> None - 3. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + 3. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, activePts: list) -> None + + 4. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, activePts: MSPyBentleyGeom.DPoint3dArray) -> None - 4. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootRMatrix: MSPyBentleyGeom.RotMatrix, activeRMatrix: MSPyBentleyGeom.RotMatrix) -> None + 5. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + + 6. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootRMatrix: MSPyBentleyGeom.RotMatrix, activeRMatrix: MSPyBentleyGeom.RotMatrix) -> None """ ... @@ -109684,6 +115709,7 @@ class QvViewport: def ActiveToRootMap(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DMap4d: ... + @staticmethod def ActiveToView(*args, **kwargs): """ Overloaded function. @@ -109692,7 +115718,11 @@ class QvViewport: 2. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: list, activePts: list) -> None - 3. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + 3. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, activePts: list) -> None + + 4. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: list, activePts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -109802,10 +115832,8 @@ class QvViewport: def GetIndexedLineWidth(self: MSPyDgnPlatform.Viewport, index: int) -> int: ... - def GetPixelSizeAtPoint(*args, **kwargs): + def GetPixelSizeAtPoint(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, coordSys: MSPyDgnPlatform.DgnCoordSystem = DgnCoordSystem.eRoot) -> float: """ - GetPixelSizeAtPoint(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, coordSys: MSPyDgnPlatform.DgnCoordSystem = ) -> float - Get the size of a single pixel at a given point as a distance along the view-x axis. The size of a pixel will only differ at different points within the same Viewport if the camera is on for this Viewport @@ -109813,7 +115841,7 @@ class QvViewport: ones further from the eye.) :param rootPt: - The point in DgnCoordSystem::Root for determining pixel size. If + The point in DgnCoordSystem.Root for determining pixel size. If NULL, use the center of the Viewport. :param coordSys: @@ -109848,6 +115876,7 @@ class QvViewport: def GetTargetModel(self: MSPyDgnPlatform.Viewport) -> MSPyDgnPlatform.DgnModelRef: ... + @staticmethod def GetViewBox(*args, **kwargs): """ Overloaded function. @@ -109943,36 +115972,49 @@ class QvViewport: def IsSheetView(self: MSPyDgnPlatform.Viewport) -> bool: ... + @staticmethod def MakeColorTransparency(color: int, transparency: int) -> int: ... + @staticmethod def MakeTransparentIfOpaque(color: int, transparency: int) -> int: ... + @staticmethod def MakeTrgbColor(red: int, green: int, blue: int, transparency: int) -> int: ... + @staticmethod def NpcToRoot(*args, **kwargs): """ Overloaded function. 1. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + 2. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 3. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 3. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 4. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + + 5. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def NpcToView(*args, **kwargs): """ Overloaded function. 1. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: list) -> None + 2. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 4. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: list) -> None - 3. NpcToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 5. NpcToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -109983,6 +116025,7 @@ class QvViewport: def RootModel(arg0: MSPyDgnPlatform.Viewport) -> MSPyDgnPlatform.DgnModel: ... + @staticmethod def RootToActive(*args, **kwargs): """ Overloaded function. @@ -109991,21 +116034,30 @@ class QvViewport: 2. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: list, rootPts: list) -> None - 3. RootToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 3. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None + + 4. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. RootToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None - 4. RootToActive(self: MSPyDgnPlatform.Viewport, activeRMatrix: MSPyBentleyGeom.RotMatrix, rootRMatrix: MSPyBentleyGeom.RotMatrix) -> None + 6. RootToActive(self: MSPyDgnPlatform.Viewport, activeRMatrix: MSPyBentleyGeom.RotMatrix, rootRMatrix: MSPyBentleyGeom.RotMatrix) -> None """ ... + @staticmethod def RootToNpc(*args, **kwargs): """ Overloaded function. 1. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: list) -> None + 2. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None - 3. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 4. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: list) -> None + + 5. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -110013,6 +116065,7 @@ class QvViewport: def RootToNpcMap(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DMap4d: ... + @staticmethod def RootToView(*args, **kwargs): """ Overloaded function. @@ -110021,25 +116074,38 @@ class QvViewport: 2. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint4dArray, rootPts: list) -> None - 3. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint4d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 3. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 4. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + + 5. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint4d, rootPt: MSPyBentleyGeom.DPoint3d) -> None - 4. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + 6. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 5. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + 7. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None - 6. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 8. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 9. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + + 10. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def RootToView2d(*args, **kwargs): """ Overloaded function. 1. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: list) -> None + 2. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None - 3. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint2d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 4. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: list) -> None + + 5. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint2d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -110059,6 +116125,7 @@ class QvViewport: def ScreenNumber(arg0: MSPyDgnPlatform.Viewport) -> int: ... + @staticmethod def ScreenToView(*args, **kwargs): """ Overloaded function. @@ -110067,7 +116134,11 @@ class QvViewport: 2. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: list, screenPts: list) -> None - 3. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, screenPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, screenPts: list) -> None + + 4. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: list, screenPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, screenPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -110076,8 +116147,7 @@ class QvViewport: @name Changing Viewport Frustum Scroll the Viewport by a given number of pixels in the view's X and/or Y direction. This method will move the Viewport's frustum in the indicated direction, but does *not* - update the screen (even if the Viewport happens to be a visible View.) - This method does change the ViewInfo associated with the Viewport. + update the screen (even if the Viewport happens to be a visible View.) -> This method does change the ViewInfo associated with the Viewport. :param viewDist: The distance to scroll, in pixels. @note To update the view, see @@ -110107,6 +116177,7 @@ class QvViewport: def SetTemporaryClipMaskElementRef(self: MSPyDgnPlatform.Viewport, element: MSPyDgnPlatform.ElementRefBase) -> None: ... + @staticmethod def SetupFromFrustum(*args, **kwargs): """ Overloaded function. @@ -110149,6 +116220,7 @@ class QvViewport: def ViewOrigin(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DPoint3d: ... + @staticmethod def ViewToActive(*args, **kwargs): """ Overloaded function. @@ -110157,22 +116229,32 @@ class QvViewport: 2. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: list, viewPts: list) -> None - 3. ViewToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ViewToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToNpc(*args, **kwargs): """ Overloaded function. 1. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: list) -> None + 2. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None - 3. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: list) -> None + + 5. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToRoot(*args, **kwargs): """ Overloaded function. @@ -110181,16 +116263,25 @@ class QvViewport: 2. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint4dArray) -> None - 3. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint4d) -> None + 3. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 4. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None - 4. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + 5. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint4d) -> None - 5. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + 6. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 6. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 7. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 8. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 9. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + + 10. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToScreen(*args, **kwargs): """ Overloaded function. @@ -110199,24 +116290,32 @@ class QvViewport: 2. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: list, viewPts: list) -> None - 3. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... def Zoom(self: MSPyDgnPlatform.Viewport, newCenterPoint: MSPyBentleyGeom.DPoint3d, factor: float, normalizeCamera: bool) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class QvViewportRef: + def __init__(self, *args, **kwargs): + ... + +class QvViewportRef(MSPyDgnPlatform.QvViewport): """ None """ + @staticmethod def ActiveToRoot(*args, **kwargs): """ Overloaded function. @@ -110225,9 +116324,13 @@ class QvViewportRef: 2. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, activePts: list) -> None - 3. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + 3. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, activePts: list) -> None + + 4. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, activePts: MSPyBentleyGeom.DPoint3dArray) -> None - 4. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootRMatrix: MSPyBentleyGeom.RotMatrix, activeRMatrix: MSPyBentleyGeom.RotMatrix) -> None + 5. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + + 6. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootRMatrix: MSPyBentleyGeom.RotMatrix, activeRMatrix: MSPyBentleyGeom.RotMatrix) -> None """ ... @@ -110235,6 +116338,7 @@ class QvViewportRef: def ActiveToRootMap(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DMap4d: ... + @staticmethod def ActiveToView(*args, **kwargs): """ Overloaded function. @@ -110243,7 +116347,11 @@ class QvViewportRef: 2. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: list, activePts: list) -> None - 3. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + 3. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, activePts: list) -> None + + 4. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: list, activePts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -110353,10 +116461,8 @@ class QvViewportRef: def GetIndexedLineWidth(self: MSPyDgnPlatform.Viewport, index: int) -> int: ... - def GetPixelSizeAtPoint(*args, **kwargs): + def GetPixelSizeAtPoint(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, coordSys: MSPyDgnPlatform.DgnCoordSystem = DgnCoordSystem.eRoot) -> float: """ - GetPixelSizeAtPoint(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, coordSys: MSPyDgnPlatform.DgnCoordSystem = ) -> float - Get the size of a single pixel at a given point as a distance along the view-x axis. The size of a pixel will only differ at different points within the same Viewport if the camera is on for this Viewport @@ -110364,7 +116470,7 @@ class QvViewportRef: ones further from the eye.) :param rootPt: - The point in DgnCoordSystem::Root for determining pixel size. If + The point in DgnCoordSystem.Root for determining pixel size. If NULL, use the center of the Viewport. :param coordSys: @@ -110399,6 +116505,7 @@ class QvViewportRef: def GetTargetModel(self: MSPyDgnPlatform.Viewport) -> MSPyDgnPlatform.DgnModelRef: ... + @staticmethod def GetViewBox(*args, **kwargs): """ Overloaded function. @@ -110494,36 +116601,49 @@ class QvViewportRef: def IsSheetView(self: MSPyDgnPlatform.Viewport) -> bool: ... + @staticmethod def MakeColorTransparency(color: int, transparency: int) -> int: ... + @staticmethod def MakeTransparentIfOpaque(color: int, transparency: int) -> int: ... + @staticmethod def MakeTrgbColor(red: int, green: int, blue: int, transparency: int) -> int: ... + @staticmethod def NpcToRoot(*args, **kwargs): """ Overloaded function. 1. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + 2. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 3. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 4. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None - 3. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 5. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def NpcToView(*args, **kwargs): """ Overloaded function. 1. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: list) -> None + 2. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None - 3. NpcToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 4. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: list) -> None + + 5. NpcToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -110534,6 +116654,7 @@ class QvViewportRef: def RootModel(arg0: MSPyDgnPlatform.Viewport) -> MSPyDgnPlatform.DgnModel: ... + @staticmethod def RootToActive(*args, **kwargs): """ Overloaded function. @@ -110542,21 +116663,30 @@ class QvViewportRef: 2. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: list, rootPts: list) -> None - 3. RootToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 3. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None - 4. RootToActive(self: MSPyDgnPlatform.Viewport, activeRMatrix: MSPyBentleyGeom.RotMatrix, rootRMatrix: MSPyBentleyGeom.RotMatrix) -> None + 4. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. RootToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + + 6. RootToActive(self: MSPyDgnPlatform.Viewport, activeRMatrix: MSPyBentleyGeom.RotMatrix, rootRMatrix: MSPyBentleyGeom.RotMatrix) -> None """ ... + @staticmethod def RootToNpc(*args, **kwargs): """ Overloaded function. 1. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: list) -> None + 2. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None - 3. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 4. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: list) -> None + + 5. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -110564,6 +116694,7 @@ class QvViewportRef: def RootToNpcMap(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DMap4d: ... + @staticmethod def RootToView(*args, **kwargs): """ Overloaded function. @@ -110572,25 +116703,38 @@ class QvViewportRef: 2. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint4dArray, rootPts: list) -> None - 3. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint4d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 3. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 4. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + + 5. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint4d, rootPt: MSPyBentleyGeom.DPoint3d) -> None - 4. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + 6. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 5. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + 7. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None - 6. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 8. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 9. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + + 10. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def RootToView2d(*args, **kwargs): """ Overloaded function. 1. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: list) -> None + 2. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None - 3. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint2d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 4. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: list) -> None + + 5. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint2d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -110610,6 +116754,7 @@ class QvViewportRef: def ScreenNumber(arg0: MSPyDgnPlatform.Viewport) -> int: ... + @staticmethod def ScreenToView(*args, **kwargs): """ Overloaded function. @@ -110618,7 +116763,11 @@ class QvViewportRef: 2. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: list, screenPts: list) -> None - 3. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, screenPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, screenPts: list) -> None + + 4. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: list, screenPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, screenPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -110627,8 +116776,7 @@ class QvViewportRef: @name Changing Viewport Frustum Scroll the Viewport by a given number of pixels in the view's X and/or Y direction. This method will move the Viewport's frustum in the indicated direction, but does *not* - update the screen (even if the Viewport happens to be a visible View.) - This method does change the ViewInfo associated with the Viewport. + update the screen (even if the Viewport happens to be a visible View.) -> This method does change the ViewInfo associated with the Viewport. :param viewDist: The distance to scroll, in pixels. @note To update the view, see @@ -110658,6 +116806,7 @@ class QvViewportRef: def SetTemporaryClipMaskElementRef(self: MSPyDgnPlatform.Viewport, element: MSPyDgnPlatform.ElementRefBase) -> None: ... + @staticmethod def SetupFromFrustum(*args, **kwargs): """ Overloaded function. @@ -110700,6 +116849,7 @@ class QvViewportRef: def ViewOrigin(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DPoint3d: ... + @staticmethod def ViewToActive(*args, **kwargs): """ Overloaded function. @@ -110708,22 +116858,32 @@ class QvViewportRef: 2. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: list, viewPts: list) -> None - 3. ViewToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ViewToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToNpc(*args, **kwargs): """ Overloaded function. 1. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: list) -> None + 2. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None - 3. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 4. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: list) -> None + + 5. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToRoot(*args, **kwargs): """ Overloaded function. @@ -110732,16 +116892,25 @@ class QvViewportRef: 2. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint4dArray) -> None - 3. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint4d) -> None + 3. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 4. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + + 5. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint4d) -> None + + 6. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 7. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None - 4. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + 8. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 5. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + 9. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None - 6. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 10. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToScreen(*args, **kwargs): """ Overloaded function. @@ -110750,19 +116919,26 @@ class QvViewportRef: 2. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: list, viewPts: list) -> None - 3. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... def Zoom(self: MSPyDgnPlatform.Viewport, newCenterPoint: MSPyBentleyGeom.DPoint3d, factor: float, normalizeCamera: bool) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RangeResult: """ Members: @@ -110774,7 +116950,13 @@ class RangeResult: eInside """ - def __init__(self: MSPyDgnPlatform.RangeResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eInside: RangeResult @@ -110848,6 +117030,13 @@ class RasterClip: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -110867,7 +117056,16 @@ class RasterClipCollection: None """ - def __init__(self: MSPyDgnPlatform.RasterClipCollection) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def push_back(self: MSPyDgnPlatform.RasterClipCollection, item: MSPyDgnPlatform.RasterClip) -> None: @@ -110934,7 +117132,13 @@ class RasterClipProperties: """ ... - def __init__(self: MSPyDgnPlatform.RasterClipProperties) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class RasterClipPtrArray: @@ -110942,6 +117146,16 @@ class RasterClipPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -110974,6 +117188,7 @@ class RasterClipPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -110994,6 +117209,7 @@ class RasterClipPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -111025,7 +117241,13 @@ class RasterDisplayPriorityPlane: eDisplayPriority_FrontPlane """ - def __init__(self: MSPyDgnPlatform.RasterDisplayPriorityPlane, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDisplayPriority_BackPlane: RasterDisplayPriorityPlane @@ -111082,23 +117304,29 @@ class RasterFile: def Status(arg0: MSPyDgnPlatform.RasterFile) -> MSPyDgnPlatform.RasterFileStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RasterFileManager: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RasterFileStatus: """ Members: @@ -111120,7 +117348,13 @@ class RasterFileStatus: eRASTERFILE_STATUS_InvalidAccessMode """ - def __init__(self: MSPyDgnPlatform.RasterFileStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRASTERFILE_STATUS_Closed: RasterFileStatus @@ -111168,7 +117402,13 @@ class RasterFormat: eBGRS """ - def __init__(self: MSPyDgnPlatform.RasterFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlpha: RasterFormat @@ -111200,6 +117440,16 @@ class RasterFrameElementCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -111210,7 +117460,7 @@ class RasterFrameElementCollection: """ ... -class RasterFrameHandler: +class RasterFrameHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ITransactionHandler, MSPyDgnPlatform.IRasterAttachmentEdit): """ None """ @@ -111221,12 +117471,15 @@ class RasterFrameHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def ColorIndexFromRgbInModel(modelRef: MSPyDgnPlatform.DgnModelRef, rgbColor: MSPyDgnPlatform.RgbColorDef) -> tuple: """ Query the raw color index of an RGB triplet from a DgnModelRef color @@ -111254,6 +117507,7 @@ class RasterFrameHandler: def ConvertTo3d(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, elevation: float) -> None: ... + @staticmethod def CreateRasterAttachment(eeh: MSPyDgnPlatform.EditElementHandle, templateEh: MSPyDgnPlatform.ElementHandle, moniker: MSPyDgnPlatform.DgnDocumentMoniker, matrix: MSPyBentleyGeom.Transform, extentInUOR: MSPyBentleyGeom.DPoint2d, modelRef: MSPyDgnPlatform.DgnModelRef) -> MSPyDgnPlatform.BentleyStatus: """ Create a new Raster attachment with the supplied parameters. @@ -111296,12 +117550,15 @@ class RasterFrameHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -111539,7 +117796,7 @@ class RasterFrameHandler: Unit definition that will be filled. :returns: - a const reference to input GeotiffUnit filled from raster + a reference to input GeotiffUnit filled from raster attachment values. """ ... @@ -111716,6 +117973,7 @@ class RasterFrameHandler: """ ... + @staticmethod def GetSearchPath(modelRef: MSPyDgnPlatform.DgnModelRef) -> MSPyBentley.WString: """ Return default search path used with the attach moniker to find @@ -111870,11 +118128,12 @@ class RasterFrameHandler: Unit definition that will be filled. :returns: - a const reference to input WorldFileUnit filled from raster + a reference to input WorldFileUnit filled from raster attachment values. """ ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -111886,6 +118145,7 @@ class RasterFrameHandler: def IsRenderable(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle) -> bool: ... + @staticmethod def IsTransform3D(matrix: MSPyBentleyGeom.Transform) -> bool: """ Check if the matrix contains 3D transformation. @@ -111898,6 +118158,7 @@ class RasterFrameHandler: """ ... + @staticmethod def IsValidTransform(matrix: MSPyBentleyGeom.Transform) -> bool: """ Check if the matrix is a valid raster transform matrix. @@ -111916,6 +118177,7 @@ class RasterFrameHandler: def QueryProperties(self: MSPyDgnPlatform.Handler, eh: MSPyDgnPlatform.ElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def RgbFromColorIndexInModel(color: MSPyDgnPlatform.RgbColorDef, modelRef: MSPyDgnPlatform.DgnModelRef, rawIndex: int) -> int: """ Query the RGB triplet from a DgnModelRef rawIndex. @@ -111964,6 +118226,7 @@ class RasterFrameHandler: """ ... + @staticmethod def SetAttachMoniker0(eeh: MSPyDgnPlatform.EditElementHandle, moniker: MSPyDgnPlatform.DgnDocumentMoniker) -> bool: """ Set the moniker that identifies the raster file; basic not overridable @@ -112556,13 +118819,16 @@ class RasterFrameHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class RasterHdrHandler: + def __init__(self, *args, **kwargs): + ... + +class RasterHdrHandler(MSPyDgnPlatform.DisplayHandler): """ None """ @@ -112640,12 +118906,15 @@ class RasterHdrHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -112712,6 +118981,7 @@ class RasterHdrHandler: def GetITransactionHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.ITransactionHandler: ... + @staticmethod def GetInstance() -> MSPyDgnPlatform.DisplayHandler: ... @@ -112780,6 +119050,7 @@ class RasterHdrHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -112946,12 +119217,15 @@ class RasterHdrHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RasterOverrides: """ None @@ -113002,7 +119276,13 @@ class RasterOverrides: eRASTER_OVR_Drape """ - def __init__(self: MSPyDgnPlatform.RasterOverrides.RasterOvrFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRASTER_OVR_BinaryPrintInvert: RasterOvrFlags @@ -113044,7 +119324,13 @@ class RasterOverrides: def SetValue(self: MSPyDgnPlatform.RasterOverrides, ovrFlags: MSPyDgnPlatform.RasterOverrides.RasterOvrFlags, newValue: bool) -> None: ... - def __init__(self: MSPyDgnPlatform.RasterOverrides) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRASTER_OVR_BinaryPrintInvert: RasterOvrFlags @@ -113089,11 +119375,14 @@ class RasterOverrides: def toggleValues(self: MSPyDgnPlatform.RasterOverrides, arg0: int) -> None: ... -class RasterOverridesCollection: +class RasterOverridesCollection(MSPyDgnPlatform.DgnAttachmentAppData): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def ClearAll(self: MSPyDgnPlatform.RasterOverridesCollection) -> None: """ Clear all RasterOverrides. @@ -113113,12 +119402,18 @@ class RasterOverridesCollection: """ ... - class Key: + class Key(MSPyDgnPlatform.AppDataKey): """ None """ - def __init__(self: MSPyDgnPlatform.DgnAttachmentAppData.Key) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def Write(self: MSPyDgnPlatform.RasterOverridesCollection, refAtt: MSPyDgnPlatform.DgnAttachment) -> int: @@ -113133,12 +119428,15 @@ class RasterOverridesCollection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RasterSource: """ None @@ -113182,17 +119480,23 @@ class RasterSource: def RasterFile(arg0: MSPyDgnPlatform.RasterSource) -> MSPyDgnPlatform.RasterFile: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RasterTransparentColorsCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddRgbTransparentColor(self: MSPyDgnPlatform.RasterTransparentColorsCollection, colorMin: MSPyDgnPlatform.RgbColorDef, colorMax: MSPyDgnPlatform.RgbColorDef, transparency: int) -> None: """ Add a new RGB transparent color definition at the end of the @@ -113275,6 +119579,7 @@ class RasterTransparentColorsCollection: """ ... + @staticmethod def GetTransparentColor(*args, **kwargs): """ Overloaded function. @@ -113286,7 +119591,7 @@ class RasterTransparentColorsCollection: :param index: The index of the indexed transparent color you want to access. - 2. GetTransparentColor(self: MSPyDgnPlatform.RasterTransparentColorsCollection) -> MSPyDgnPlatform.RasterTransparentColorsCollection.transparentColors + 2. GetTransparentColor(self: MSPyDgnPlatform.RasterTransparentColorsCollection) -> MSPyDgnPlatform.RasterTransparentColorsCollection.transparentColors Returns access to indexed transparent color definition at index. @@ -113295,6 +119600,7 @@ class RasterTransparentColorsCollection: """ ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -113306,7 +119612,7 @@ class RasterTransparentColorsCollection: :param colorType: The type of color in the transparentColor parameter. - 2. Init(self: MSPyDgnPlatform.RasterTransparentColorsCollection, colorType: MSPyDgnPlatform.TransparentColorType, count: int, transparentColor: MSPyDgnPlatform.RasterTransparentColorsCollection.transparentColors) -> None + 2. Init(self: MSPyDgnPlatform.RasterTransparentColorsCollection, colorType: MSPyDgnPlatform.TransparentColorType, count: int, transparentColor: MSPyDgnPlatform.RasterTransparentColorsCollection.transparentColors) -> None Initialize an empty raster transparent colors collection instance. @@ -113365,13 +119671,20 @@ class RasterTransparentColorsCollection: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. 1. __init__(self: MSPyDgnPlatform.RasterTransparentColorsCollection) -> None - 2. __init__(self: MSPyDgnPlatform.RasterTransparentColorsCollection, colorType: MSPyDgnPlatform.TransparentColorType, count: int, transparentColor: MSPyDgnPlatform.RasterTransparentColorsCollection.transparentColors) -> None + 2. __init__(self: MSPyDgnPlatform.RasterTransparentColorsCollection, colorType: MSPyDgnPlatform.TransparentColorType, count: int, transparentColor: MSPyDgnPlatform.RasterTransparentColorsCollection.transparentColors) -> None """ ... @@ -113380,12 +119693,15 @@ class Raster_comp: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def background(self: MSPyDgnPlatform.Raster_comp) -> int: ... @@ -113459,12 +119775,15 @@ class Raster_flags: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def color(arg0: MSPyDgnPlatform.Raster_flags.Raster_flags_b) -> int: ... @@ -113514,12 +119833,15 @@ class Raster_flags: def transparent(arg0: MSPyDgnPlatform.Raster_flags.Raster_flags_b, arg1: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def b(arg0: MSPyDgnPlatform.Raster_flags) -> MSPyDgnPlatform.Raster_flags.Raster_flags_b: ... @@ -113539,12 +119861,15 @@ class Raster_hdr: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def background(self: MSPyDgnPlatform.Raster_hdr) -> int: ... @@ -113655,12 +119980,18 @@ class ReachableElementCollection: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ReachableElementOptions: """ None @@ -113693,7 +120024,13 @@ class ReachableElementOptions: def ModelRefOptions(arg0: MSPyDgnPlatform.ReachableElementOptions) -> MSPyDgnPlatform.ReachableModelRefOptions: ... - def __init__(self: MSPyDgnPlatform.ReachableElementOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ReachableModelRefCollection: @@ -113701,12 +120038,18 @@ class ReachableModelRefCollection: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ReachableModelRefOptions: """ None @@ -113772,7 +120115,13 @@ class ReachableModelRefOptions: """ ... - def __init__(self: MSPyDgnPlatform.ReachableModelRefOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class RedrawGroupInfo: @@ -113808,12 +120157,15 @@ class RedrawGroupInfo: def ViewContext(arg0: MSPyDgnPlatform.RedrawGroupInfo) -> MSPyDgnPlatform.ViewContext: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RefAttachNestMode: """ Members: @@ -113825,7 +120177,13 @@ class RefAttachNestMode: eDisplay """ - def __init__(self: MSPyDgnPlatform.RefAttachNestMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCopy: RefAttachNestMode @@ -113855,7 +120213,13 @@ class RefGlobalLinestyleScale: eREF_GLOBALLINESTYLESCALE_REFERENCE """ - def __init__(self: MSPyDgnPlatform.RefGlobalLinestyleScale, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREF_GLOBALLINESTYLESCALE_BOTH: RefGlobalLinestyleScale @@ -113885,7 +120249,13 @@ class RefInitialLevelDisplay: eREF_FILE_LEVEL_DISPLAY_ALL_OFF """ - def __init__(self: MSPyDgnPlatform.RefInitialLevelDisplay, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREF_FILE_LEVEL_DISPLAY_ALL_OFF: RefInitialLevelDisplay @@ -113913,7 +120283,13 @@ class RefLevelOverrides: eREFERENCE_LEVEL_OVERRIDES_NONE """ - def __init__(self: MSPyDgnPlatform.RefLevelOverrides, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREFERENCE_LEVEL_OVERRIDES_AS_REQUIRED: RefLevelOverrides @@ -113941,7 +120317,13 @@ class RefNestOverrides: eREF_NESTOVERRIDES_NEVER """ - def __init__(self: MSPyDgnPlatform.RefNestOverrides, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREF_NESTOVERRIDES_ALWAYS: RefNestOverrides @@ -113969,7 +120351,13 @@ class RefNewLevelDisplay: eREF_NEWLEVELDISPLAY_NEVER """ - def __init__(self: MSPyDgnPlatform.RefNewLevelDisplay, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREF_NEWLEVELDISPLAY_ALWAYS: RefNewLevelDisplay @@ -114003,7 +120391,13 @@ class RefPlotType: eREF_PLOTTYPE_UseRenderingStyle """ - def __init__(self: MSPyDgnPlatform.RefPlotType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREF_PLOTTYPE_AsDisplayed: RefPlotType @@ -114043,7 +120437,13 @@ class RefRangePathStatus: eDwgReference """ - def __init__(self: MSPyDgnPlatform.RefRangePathStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDwgReference: RefRangePathStatus @@ -114077,7 +120477,13 @@ class RefUseColorTable: eREFCOLORTABLE_NEVER """ - def __init__(self: MSPyDgnPlatform.RefUseColorTable, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREFCOLORTABLE_ALWAYS: RefUseColorTable @@ -114099,12 +120505,15 @@ class ReferenceFileElm: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def baseNestDepth(self: MSPyDgnPlatform.ReferenceFileElm) -> int: ... @@ -114297,7 +120706,13 @@ class ReferenceSynchOption: eAllSettingsFromNamedViewRootModel """ - def __init__(self: MSPyDgnPlatform.ReferenceSynchOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAllSettingsFromNamedViewRootModel: ReferenceSynchOption @@ -114320,17 +120735,23 @@ class ReferenceSynchOption: def value(arg0: MSPyDgnPlatform.ReferenceSynchOption) -> int: ... -class ReferencedByArray: +class ReferencedByArray(MSPyDgnPlatform.DgnAttachmentPArray): """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def clear(self: MSPyDgnPlatform.DgnAttachmentPArray) -> None: ... @@ -114354,7 +120775,13 @@ class ReferencedModelScopeOption: eREFERENCED_MODEL_SCOPE_None """ - def __init__(self: MSPyDgnPlatform.ReferencedModelScopeOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREFERENCED_MODEL_SCOPE_All: ReferencedModelScopeOption @@ -114378,7 +120805,13 @@ class RegionConstants: eMAX_FloodSeedPoints """ - def __init__(self: MSPyDgnPlatform.RegionConstants, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMAX_FloodSeedPoints: RegionConstants @@ -114396,19 +120829,24 @@ class RegionGraphicsContext: None """ + @staticmethod def Boolean(*args, **kwargs): """ Overloaded function. - 1. Boolean(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, in: MSPyBentleyGeom.CurveVectorPtrArray, operation: MSPyDgnPlatform.RegionType) -> MSPyDgnPlatform.BentleyStatus + 1. Boolean(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, in_: MSPyBentleyGeom.CurveVectorPtrArray, operation: MSPyDgnPlatform.RegionType) -> MSPyDgnPlatform.BentleyStatus + + Create closed regions by boolean of curve vectors. + + 2. Boolean(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, in_: list, operation: MSPyDgnPlatform.RegionType) -> MSPyDgnPlatform.BentleyStatus Create closed regions by boolean of curve vectors. - 2. Boolean(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, in: MSPyDgnPlatform.ElementAgenda, inTrans: MSPyBentleyGeom.Transform, operation: MSPyDgnPlatform.RegionType) -> MSPyDgnPlatform.BentleyStatus + 3. Boolean(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, in_: MSPyDgnPlatform.ElementAgenda, inTrans: MSPyBentleyGeom.Transform, operation: MSPyDgnPlatform.RegionType) -> MSPyDgnPlatform.BentleyStatus Create closed regions by boolean of curve vectors. - 3. Boolean(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, target: MSPyDgnPlatform.ElementAgenda, tool: MSPyDgnPlatform.ElementAgenda, targetTrans: MSPyBentleyGeom.Transform, toolTrans: MSPyBentleyGeom.Transform, operation: MSPyDgnPlatform.RegionType) -> MSPyDgnPlatform.BentleyStatus + 4. Boolean(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, target: MSPyDgnPlatform.ElementAgenda, tool: MSPyDgnPlatform.ElementAgenda, targetTrans: MSPyBentleyGeom.Transform, toolTrans: MSPyBentleyGeom.Transform, operation: MSPyDgnPlatform.RegionType) -> MSPyDgnPlatform.BentleyStatus Create closed regions by boolean of curve vectors. """ @@ -114425,18 +120863,19 @@ class RegionGraphicsContext: """ ... + @staticmethod def Flood(*args, **kwargs): """ Overloaded function. - 1. Flood(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, in: MSPyDgnPlatform.ElementAgenda, inTrans: MSPyBentleyGeom.Transform, seedPoints: MSPyBentleyGeom.DPoint3dArray) -> MSPyDgnPlatform.BentleyStatus + 1. Flood(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, in_: MSPyDgnPlatform.ElementAgenda, inTrans: MSPyBentleyGeom.Transform, seedPoints: MSPyBentleyGeom.DPoint3dArray) -> MSPyDgnPlatform.BentleyStatus Find closed regions from supplied boundary candidates using flood parameters and seed point locations. @note inTrans is an array pf size in.GetCount of tranforms for each boundary candidate, can be NULL if all boundaries are in the coordinates of the targetModel. - 2. Flood(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, in: MSPyDgnPlatform.ElementAgenda, inTrans: MSPyBentleyGeom.Transform, seedPoints: list) -> MSPyDgnPlatform.BentleyStatus + 2. Flood(self: MSPyDgnPlatform.RegionGraphicsContext, targetModel: MSPyDgnPlatform.DgnModelRef, in_: MSPyDgnPlatform.ElementAgenda, inTrans: MSPyBentleyGeom.Transform, seedPoints: list) -> MSPyDgnPlatform.BentleyStatus Find closed regions from supplied boundary candidates using flood parameters and seed point locations. @note inTrans is an array pf size @@ -114453,6 +120892,7 @@ class RegionGraphicsContext: """ ... + @staticmethod def GetRegion(*args, **kwargs): """ Overloaded function. @@ -114460,7 +120900,7 @@ class RegionGraphicsContext: 1. GetRegion(self: MSPyDgnPlatform.RegionGraphicsContext) -> tuple Return region result as a CurveVector that represents a closed path, - parity region, or region. + parity region, or region. Returns (Tuple, 0): retVal. @@ -114472,7 +120912,7 @@ class RegionGraphicsContext: 2. GetRegion(self: MSPyDgnPlatform.RegionGraphicsContext, eeh: MSPyDgnPlatform.EditElementHandle) -> MSPyDgnPlatform.BentleyStatus Return region result as a CurveVector that represents a closed path, - parity region, or union region. + parity region, or region. Returns (Tuple, 0): retVal. @@ -114481,10 +120921,10 @@ class RegionGraphicsContext: - 3. GetRegion(self: MSPyDgnPlatform.RegionGraphicsContext, out: MSPyDgnPlatform.ElementAgenda) -> MSPyDgnPlatform.BentleyStatus + 3. GetRegion(self: MSPyDgnPlatform.RegionGraphicsContext, out_: MSPyDgnPlatform.ElementAgenda) -> MSPyDgnPlatform.BentleyStatus Return region result as a CurveVector that represents a closed path, - parity region, or union region. + parity region, or region. Returns (Tuple, 0): retVal. @@ -114500,6 +120940,7 @@ class RegionGraphicsContext: """ ... + @staticmethod def SetFlattenBoundary(*args, **kwargs): """ Overloaded function. @@ -114529,12 +120970,15 @@ class RegionGraphicsContext: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RegionLinkProcessor: """ None @@ -114796,6 +121240,13 @@ class RegionLinkProcessor: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -114817,7 +121268,13 @@ class RegionLoops: eAlternating """ - def __init__(self: MSPyDgnPlatform.RegionLoops, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlternating: RegionLoops @@ -114909,7 +121366,13 @@ class RegionParams: def Type(arg0: MSPyDgnPlatform.RegionParams, arg1: MSPyDgnPlatform.RegionType) -> None: ... - def __init__(self: MSPyDgnPlatform.RegionParams) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class RegionType: @@ -114927,7 +121390,13 @@ class RegionType: eExclusiveOr """ - def __init__(self: MSPyDgnPlatform.RegionType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDifference: RegionType @@ -114974,17 +121443,23 @@ class RegisteredApp: def Name(arg0: MSPyDgnPlatform.RegisteredApp) -> MSPyBentley.WString: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RegisteredAppCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddRegisteredApp(self: MSPyDgnPlatform.RegisteredAppCollection, registeredAppName: str) -> MSPyDgnPlatform.RegisteredAppStatus: """ Adds a RegisteredApp to the RegisteredAppCollection. @@ -115032,7 +121507,13 @@ class RegisteredAppCollection: """ ... - def __init__(self: MSPyDgnPlatform.RegisteredAppCollection, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class RegisteredAppStatus: @@ -115050,7 +121531,13 @@ class RegisteredAppStatus: eRA_CantCreateElement """ - def __init__(self: MSPyDgnPlatform.RegisteredAppStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRA_CantCreateElement: RegisteredAppStatus @@ -115082,7 +121569,13 @@ class RelativePathPreference: eCreateIfPossible """ - def __init__(self: MSPyDgnPlatform.RelativePathPreference, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAllow: RelativePathPreference @@ -115147,7 +121640,13 @@ class RevisionInfo: def User(arg0: MSPyDgnPlatform.RevisionInfo) -> MSPyBentley.WString: ... - def __init__(self: MSPyDgnPlatform.RevisionInfo) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class RevisionNumberArray: @@ -115155,6 +121654,16 @@ class RevisionNumberArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -115187,6 +121696,7 @@ class RevisionNumberArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -115207,6 +121717,7 @@ class RevisionNumberArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -115241,7 +121752,13 @@ class RevisionNumbersForFile: def GetRevisions(self: MSPyDgnPlatform.RevisionNumbersForFile) -> MSPyDgnPlatform.RevisionNumberArray: ... - def __init__(self: MSPyDgnPlatform.RevisionNumbersForFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class RgbColorDef: @@ -115249,7 +121766,13 @@ class RgbColorDef: None """ - def __init__(self: MSPyDgnPlatform.RgbColorDef) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -115278,6 +121801,16 @@ class RgbColorDefArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -115304,6 +121837,7 @@ class RgbColorDefArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -115324,6 +121858,7 @@ class RgbColorDefArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -115343,12 +121878,15 @@ class RgbColorShort: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def blue(self: MSPyDgnPlatform.RgbColorShort) -> int: ... @@ -115375,7 +121913,13 @@ class RgbaColorDef: None """ - def __init__(self: MSPyDgnPlatform.RgbaColorDef) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -115457,7 +122001,13 @@ class RscStatus: eRSC_STATUS_ConditionFalse """ - def __init__(self: MSPyDgnPlatform.RscStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRSC_STATUS_AddressInvalid: RscStatus @@ -115539,12 +122089,15 @@ class Run: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RunIterator: """ None @@ -115567,13 +122120,16 @@ class RunIterator: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class RunProperties: + def __init__(self, *args, **kwargs): + ... + +class RunProperties(MSPyDgnPlatform.RunPropertiesBase): """ None """ @@ -116644,12 +123200,15 @@ class RunProperties: def WidthFactor(arg0: MSPyDgnPlatform.RunPropertiesBase) -> float: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RunPropertiesBase: """ None @@ -117237,17 +123796,23 @@ class RunPropertiesBase: def WidthFactor(arg0: MSPyDgnPlatform.RunPropertiesBase) -> float: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RunRange: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def EndCaret(arg0: MSPyDgnPlatform.RunRange) -> MSPyDgnPlatform.Caret: ... @@ -117268,6 +123833,13 @@ class RunRange: def StartCaret(arg0: MSPyDgnPlatform.RunRange) -> MSPyDgnPlatform.Caret: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -117283,7 +123855,13 @@ class SPoint2d: None """ - def __init__(self: MSPyDgnPlatform.SPoint2d) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -117325,6 +123903,9 @@ class ScaleCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def FindByFactor(self: MSPyDgnPlatform.ScaleCollection, scale: float) -> MSPyDgnPlatform.ScaleDefinition: """ Find the ScaleDefinition matching the specified scale factor. @@ -117337,19 +123918,22 @@ class ScaleCollection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ScaleDefinition: """ None """ @staticmethod - def BuildScaleListForUI(includeScale: MSPyDgnPlatform.ScaleDefinition, restrictSystem: MSPyDgnPlatform.UnitSystem, alwaysAddCustom: bool) -> List[MSPyDgnPlatform.ScaleDefinition]: + def BuildScaleListForUI(includeScale: MSPyDgnPlatform.ScaleDefinition, restrictSystem: MSPyDgnPlatform.UnitSystem, alwaysAddCustom: bool) -> list[MSPyDgnPlatform.ScaleDefinition]: """ Build a list of ScaleDefinitions that can be used in scale pickers in the user interface. The list contains those scales @@ -117475,6 +124059,13 @@ class ScaleDefinition: def UnitSystemMask(arg0: MSPyDgnPlatform.ScaleDefinition, arg1: MSPyDgnPlatform.UnitSystemMask) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -117523,7 +124114,343 @@ class ScaleIteratorOptions: """ ... - def __init__(self: MSPyDgnPlatform.ScaleIteratorOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + +class ScanCriteria: + """ + None + """ + + def AddSingleClassTest(self: MSPyDgnPlatform.ScanCriteria, elementClass: MSPyDgnPlatform.DgnElementClass) -> int: + """ + Add an Element Class to the Class filter. + + Parameter ``elementClass``: + The class to add to the class filter. Elements of that element + class will be returned by the Scan. + """ + ... + + def AddSingleElementTypeTest(self: MSPyDgnPlatform.ScanCriteria, elType: int) -> None: + """ + Add an Element Type to the Type filter. + + Parameter ``elType``: + The element type to add to the class filter. Elements of that + element type will be returned by the Scan. + """ + ... + + def AddSingleLevelTest(self: MSPyDgnPlatform.ScanCriteria, level: int) -> None: + """ + Add the specified level to the Levels filter. Elements on that level + will be returned by the scan. + + Parameter ``level``: + The level to add to the Levels filter. + """ + ... + + def CheckElement(self: MSPyDgnPlatform.ScanCriteria, elHandle: MSPyDgnPlatform.ElementHandle, doRangeTest: bool, doAttrTest: bool) -> MSPyDgnPlatform.ScanTestResult: + """ + Check one particular element agains this ScanCriteria + + Parameter ``elHandle``: + The element to test. + + Parameter ``doRangeTest``: + Check the range. + + Parameter ``doAttrTest``: + Check attributes. + """ + ... + + def ClearLevelMask(self: MSPyDgnPlatform.ScanCriteria) -> None: + """ + Clears the Levels filter. Elements from all levels will be returned by + the scan. + """ + ... + + @staticmethod + def Clone(source: MSPyDgnPlatform.ScanCriteria) -> MSPyDgnPlatform.ScanCriteria: + """ + Copy an existing ScanCriteria. + + Parameter ``source``: + The existing ScanCriteria to copy. + """ + ... + + def RemoveSingleClassTest(self: MSPyDgnPlatform.ScanCriteria, elementClass: MSPyDgnPlatform.DgnElementClass) -> int: + """ + Remove an Element Class from the Class filter. + + Parameter ``elementClass``: + The class to remove from the class filter. Elements of that + element class will not be returned by the Scan. + """ + ... + + def RemoveSingleElementTypeTest(self: MSPyDgnPlatform.ScanCriteria, elType: int) -> None: + """ + Remove an Element Type from the Type filter. + + Parameter ``elType``: + The element type to remove from the type filter. Elements of that + element type will not be returned by the Scan. + """ + ... + + def RemoveSingleLevelTest(self: MSPyDgnPlatform.ScanCriteria, level: int) -> None: + """ + Remove the specified level from the Levels filter. Elements on that + level will not be returned by the scan. + + Parameter ``level``: + The level to remove from the Levels filter. + """ + ... + + def Scan(self: MSPyDgnPlatform.ScanCriteria) -> int: + """ + Perform the scan, filtering elements as dictated by this ScanCriteria, + calling the callbackFunc specified in #SetElemRefCallback. + """ + ... + + def SetClassTest(self: MSPyDgnPlatform.ScanCriteria, classMask: int) -> None: + """ + Set the Element Class filter. + + Parameter ``classMask``: + A mask with a bit set for each class. This is formed as an OR of + the desired classes, using (1 << class) for the desired classes + from the enum. + + Remark: + If the classMask argument is set to 0, then class testing is + disabled. + """ + ... + + def SetDrawnElements(self: MSPyDgnPlatform.ScanCriteria) -> None: + """ + Sets the Scan to return only elements that are drawn, eliminating + control element types. + + Remark: + s Do not use #SetElementTypeTest if this method is called. + """ + ... + + def SetElemRefCallback(self: MSPyDgnPlatform.ScanCriteria, callbackFunc: Callable[[MSPyDgnPlatform.ElementRefBase, bytearray, MSPyDgnPlatform.ScanCriteria], int], callbackArg: bytearray) -> None: + """ + Sets the function that is to be called for each acceptable element + when the #Scan method is called. + + Parameter ``callbackFunc``: + The user function that is to be called for each accepted element. + + Parameter ``callbackArg``: + A user-specified argument passed to the callbackFunc. + """ + ... + + def SetElementTypeTest(self: MSPyDgnPlatform.ScanCriteria, typeMask: MSPyBentleyGeom.UInt16Array) -> None: + """ + Sets a type mask of elements to return. + + Parameter ``typeMask``: + An array of unsigned shorts with one bit representing each element + type. Bit 0 of the first member of the array corresponds to + element type 1, etc. If this argument is NULL then all element + types are scanned. The maximum size of elements in the array is 8 shorts. + """ + ... + + def SetLevelTest(self: MSPyDgnPlatform.ScanCriteria, levelBitMask: MSPyDgnPlatform.BitMask, owned: bool) -> None: + """ + Set the Levels filter. Only elements on levels that pass the level + test will be returned by the scan. + + Parameter ``levelBitMask``: + The bitmask indicating the acceptable levels. It is formed by + setting bit (LevelId-1) in the bitmask for each LevelId that is + desired. + + Parameter ``owned``: + If true, ownership of the levelBitMask and responsibility for + freeing it is passed to the ScanCriteria. If false, the + ScanCriteria keeps a pointer to the levelBitMask and the caller is + responsible for ensuring that the levelBitMask is not freed before + the ScanCriteria. + """ + ... + + def SetModelRef(self: MSPyDgnPlatform.ScanCriteria, modelRef: MSPyDgnPlatform.DgnModelRef) -> int: + """ + Sets the DgnModelRef that is to be scanned. + + Parameter ``modelRef``: + The modelRef to be scanned. + """ + ... + + def SetModelSections(self: MSPyDgnPlatform.ScanCriteria, sections: MSPyDgnPlatform.DgnModelSections) -> None: + """ + Sets the model sections or sections that are to be traversed during + the the scan. Before calling this method, call #SetModelRef. + + Parameter ``sections``: + The target sections for the scan. Valid values for the sections + are OR'ed combinations of the DgnModelSection values, except the + combination DgnModelSections.Dictionary | + DgnModelSections.GraphicElements is invalid. If SetModelSections + is not called, all model sections are scanned. + """ + ... + + def SetPriorityTest(self: MSPyDgnPlatform.ScanCriteria, minPriority: int, maxPriority: int) -> None: + """ + Sets the element priority testing. If maxPriority is less than + minPriority, priorty testing is disabled. + + Parameter ``minPriority``: + The minimum priority value. + + Parameter ``maxPriority``: + The maximum priority value. + """ + ... + + def SetPropertiesTest(self: MSPyDgnPlatform.ScanCriteria, propertiesVal: int, propertiesMask: int) -> None: + """ + Sets the Element properties test. If the propertiesVal argument is set + to 0, then properties testing is disabled. @Param[in] propertiesVal + The value part of the properties test. @Param[in] propertiesMask The + mask part of the properties test. + + Remark: + s The scanner checks the element's properties by ANDing + propertiesMask with the element's properties bits and then + comparing the result with propertiesVal. If these values do not + match, the element is rejected. + """ + ... + + def SetRangeTest(self: MSPyDgnPlatform.ScanCriteria, scanRange: MSPyDgnPlatform.ScanRange) -> None: + """ + Sets the range testing for the scan. If scanRange is NULL, then no + range testing is performed. + + Parameter ``scanRange``: + The range to test. An element whose range overlaps any part of + scanRange is returned by the scan. + """ + ... + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + +class ScanCriteriaConstants: + """ + Members: + + eMSSCANCRIT_RETURN_FILEPOS + + eMSSCANCRIT_RETURN_ELEMENTDATA + + eMSSCANCRIT_RETURN_POSANDDATA + + eMSSCANCRIT_RETURN_UNIQUEID + + eMSSCANCRIT_ITERATE_ELMDSCR + + eMSSCANCRIT_ITERATE_ELMREF + + eMSSCANCRIT_ITERATE_ELMREF_UNORDERED + + eSCANALL_ABORT_SCAN + + eSCANALL_ABORT_CURRENT_MODEL + + eEND_OF_DGN + + eBUFF_FULL + + eREAD_LIMIT + + eBAD_FILE + + eBAD_REQUEST + + eBAD_ELEMENT + + eBUFF_TOO_SMALL + """ + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + + eBAD_ELEMENT: ScanCriteriaConstants + + eBAD_FILE: ScanCriteriaConstants + + eBAD_REQUEST: ScanCriteriaConstants + + eBUFF_FULL: ScanCriteriaConstants + + eBUFF_TOO_SMALL: ScanCriteriaConstants + + eEND_OF_DGN: ScanCriteriaConstants + + eMSSCANCRIT_ITERATE_ELMDSCR: ScanCriteriaConstants + + eMSSCANCRIT_ITERATE_ELMREF: ScanCriteriaConstants + + eMSSCANCRIT_ITERATE_ELMREF_UNORDERED: ScanCriteriaConstants + + eMSSCANCRIT_RETURN_ELEMENTDATA: ScanCriteriaConstants + + eMSSCANCRIT_RETURN_FILEPOS: ScanCriteriaConstants + + eMSSCANCRIT_RETURN_POSANDDATA: ScanCriteriaConstants + + eMSSCANCRIT_RETURN_UNIQUEID: ScanCriteriaConstants + + eREAD_LIMIT: ScanCriteriaConstants + + eSCANALL_ABORT_CURRENT_MODEL: ScanCriteriaConstants + + eSCANALL_ABORT_SCAN: ScanCriteriaConstants + + @property + def name(self: handle) -> str: + ... + + @property + def value(arg0: MSPyDgnPlatform.ScanCriteriaConstants) -> int: ... class ScanRange: @@ -117531,7 +124458,13 @@ class ScanRange: None """ - def __init__(self: MSPyDgnPlatform.ScanRange) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -117585,7 +124518,13 @@ class ScanTestResult: eFail """ - def __init__(self: MSPyDgnPlatform.ScanTestResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFail: ScanTestResult @@ -117600,7 +124539,7 @@ class ScanTestResult: def value(arg0: MSPyDgnPlatform.ScanTestResult) -> int: ... -class SectionClipElementHandler: +class SectionClipElementHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ITransactionHandler, MSPyDgnPlatform.IHasViewClipObject): """ None """ @@ -117611,9 +124550,11 @@ class SectionClipElementHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -117658,12 +124599,15 @@ class SectionClipElementHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -117701,6 +124645,7 @@ class SectionClipElementHandler: def GetITransactionHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.ITransactionHandler: ... + @staticmethod def GetInstance() -> MSPyDgnPlatform.DisplayHandler: ... @@ -117719,6 +124664,7 @@ class SectionClipElementHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -117742,12 +124688,15 @@ class SectionClipElementHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SeedCopyFlags: """ Members: @@ -117809,7 +124758,13 @@ class SeedCopyFlags: eAllData """ - def __init__(self: MSPyDgnPlatform.SeedCopyFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAllData: SeedCopyFlags @@ -117901,7 +124856,13 @@ class SeedData: def SeedModel(self: MSPyDgnPlatform.SeedData) -> int: ... - def __init__(self: MSPyDgnPlatform.SeedData, seedFile: MSPyDgnPlatform.DgnFile, seedModel: int, flags: MSPyDgnPlatform.SeedCopyFlags, headerXattributes: bool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class SelectionMode: @@ -117921,7 +124882,13 @@ class SelectionMode: eAll """ - def __init__(self: MSPyDgnPlatform.SelectionMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAdd: SelectionMode @@ -117944,11 +124911,14 @@ class SelectionMode: def value(arg0: MSPyDgnPlatform.SelectionMode) -> int: ... -class SelectionPath: +class SelectionPath(MSPyDgnPlatform.DisplayPath): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def ComponentElem(arg0: MSPyDgnPlatform.DisplayPath) -> MSPyDgnPlatform.ElementRefBase: ... @@ -117961,10 +124931,8 @@ class SelectionPath: def CursorElem(arg0: MSPyDgnPlatform.DisplayPath) -> MSPyDgnPlatform.ElementRefBase: ... - def GetChildElem(*args, **kwargs): + def GetChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ExposeChildrenReason.eQuery) -> MSPyDgnPlatform.ElementRefBase: """ - GetChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ) -> MSPyDgnPlatform.ElementRefBase - Return the ElementRefP of the innermost public component of a complex element for the given expose reason. Use this method to get the ElementRefP of the element Handler that owns/manages the entry @@ -118035,10 +125003,8 @@ class SelectionPath: """ ... - def GetSharedChildElem(*args, **kwargs): + def GetSharedChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ExposeChildrenReason.eQuery) -> MSPyDgnPlatform.ElementRefBase: """ - GetSharedChildElem(self: MSPyDgnPlatform.DisplayPath, reason: MSPyDgnPlatform.ExposeChildrenReason = ) -> MSPyDgnPlatform.ElementRefBase - Return the ElementRefP of the innermost public component of a shared cell definition element for the given expose reason. Use this method to get the ElementRefP of the element Handler that owns/manages the @@ -118103,13 +125069,16 @@ class SelectionPath: def TailElem(arg0: MSPyDgnPlatform.DisplayPath) -> MSPyDgnPlatform.ElementRefBase: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ShapeHandler: + def __init__(self, *args, **kwargs): + ... + +class ShapeHandler(MSPyDgnPlatform.LineStringBaseHandler, MSPyDgnPlatform.IAreaFillPropertiesEdit): """ None """ @@ -118204,9 +125173,11 @@ class ShapeHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToCurveVector(eh: MSPyDgnPlatform.ElementHandle) -> MSPyBentleyGeom.CurveVector: ... + @staticmethod def ElementToCurveVectors(eh: MSPyDgnPlatform.ElementHandle, curves: MSPyBentleyGeom.CurveVectorPtrArray) -> BentleyStatus: ... @@ -118218,12 +125189,15 @@ class ShapeHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -118267,7 +125241,15 @@ class ShapeHandler: def GetPathDescription(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, string: MSPyBentley.WString, path: MSPyDgnPlatform.DisplayPath, levelStr: str, modelStr: str, groupStr: str, delimiterStr: str) -> None: ... - def GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: List[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple: + @staticmethod + def GetPattern(*args, **kwargs): + """ + Overloaded function. + + 1. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list[MSPyDgnPlatform.DwgHatchDefLine], origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + + 2. GetPattern(self: MSPyDgnPlatform.IAreaFillPropertiesQuery, eh: MSPyDgnPlatform.ElementHandle, hatchDefLines: list, origin: MSPyBentleyGeom.DPoint3d, index: int) -> tuple + """ ... def GetSnapOrigin(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, origin: MSPyBentleyGeom.DPoint3d) -> None: @@ -118282,6 +125264,7 @@ class ShapeHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -118317,13 +125300,16 @@ class ShapeHandler: def SetCurveVector(self: MSPyDgnPlatform.ICurvePathEdit, eeh: MSPyDgnPlatform.EditElementHandle, path: MSPyBentleyGeom.CurveVector) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class SharedCellDefHandler: + def __init__(self, *args, **kwargs): + ... + +class SharedCellDefHandler(MSPyDgnPlatform.ComplexHeaderDisplayHandler, MSPyDgnPlatform.ITransactionHandler, MSPyDgnPlatform.ISharedCellQuery): """ None """ @@ -118370,9 +125356,11 @@ class SharedCellDefHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -118426,12 +125414,15 @@ class SharedCellDefHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def ExtractDescription(self: MSPyDgnPlatform.ICellQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... @@ -118447,6 +125438,7 @@ class SharedCellDefHandler: def FenceStretch(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, transfrom: MSPyDgnPlatform.TransformInfo, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceStretchFlags) -> int: ... + @staticmethod def FindDefinitionByName(name: str, dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.ElementRefBase: ... @@ -118505,6 +125497,7 @@ class SharedCellDefHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -118700,13 +125693,16 @@ class SharedCellDefHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class SharedCellHandler: + def __init__(self, *args, **kwargs): + ... + +class SharedCellHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ISharedCellQuery, MSPyDgnPlatform.IAnnotationHandler): """ None """ @@ -118773,12 +125769,15 @@ class SharedCellHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def ExtractDescription(self: MSPyDgnPlatform.ICellQuery, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... @@ -118794,6 +125793,7 @@ class SharedCellHandler: def FenceStretch(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, transfrom: MSPyDgnPlatform.TransformInfo, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceStretchFlags) -> int: ... + @staticmethod def FindDefinitionByName(name: str, dgnFile: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.ElementRefBase: ... @@ -118855,6 +125855,7 @@ class SharedCellHandler: def HasAnnotationScale(self: MSPyDgnPlatform.IAnnotationHandler, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -119014,12 +126015,15 @@ class SharedCellHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SheetDef: """ None @@ -119156,17 +126160,23 @@ class SheetDef: def SheetNumber(arg0: MSPyDgnPlatform.SheetDef, arg1: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SheetSizeCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def FindByCustomInfo(self: MSPyDgnPlatform.SheetSizeCollection, width: float, height: float, units: MSPyDgnPlatform.UnitDefinition) -> MSPyDgnPlatform.SheetSizeDefinition: """ Find the sheet size definition with the specified parameters @@ -119179,7 +126189,13 @@ class SheetSizeCollection: """ ... - def __init__(self: MSPyDgnPlatform.SheetSizeCollection, options: MSPyDgnPlatform.SheetSizeIteratorOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class SheetSizeDefinition: @@ -119343,6 +126359,13 @@ class SheetSizeDefinition: def Width(arg0: MSPyDgnPlatform.SheetSizeDefinition, arg1: float) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -119358,6 +126381,16 @@ class SheetSizeDefinitionVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -119384,6 +126417,7 @@ class SheetSizeDefinitionVector: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -119404,6 +126438,7 @@ class SheetSizeDefinitionVector: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -119456,7 +126491,13 @@ class SheetSizeIteratorOptions: """ ... - def __init__(self: MSPyDgnPlatform.SheetSizeIteratorOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class SignatureErrors: @@ -119474,7 +126515,13 @@ class SignatureErrors: eSIGNATURE_STATUS_Sileng """ - def __init__(self: MSPyDgnPlatform.SignatureErrors, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSIGNATURE_STATUS_NotFound: SignatureErrors @@ -119495,7 +126542,7 @@ class SignatureErrors: def value(arg0: MSPyDgnPlatform.SignatureErrors) -> int: ... -class SkyDomeLight: +class SkyDomeLight(MSPyDgnPlatform.Light): """ None """ @@ -119589,6 +126636,7 @@ class SkyDomeLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -119610,6 +126658,7 @@ class SkyDomeLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -119717,7 +126766,13 @@ class SkyDomeLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -119878,7 +126933,13 @@ class SkyDomeLight: def Type(arg0: MSPyDgnPlatform.Light) -> MSPyDgnPlatform.Light.LightType: ... - def __init__(self: MSPyDgnPlatform.SkyDomeLight, initFrom: MSPyDgnPlatform.SkyDomeLight) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -119921,7 +126982,7 @@ class SkyDomeLight: eSHADOWQUALITY_SoftVeryFine: ShadowQuality -class SkyOpeningLight: +class SkyOpeningLight(MSPyDgnPlatform.LightElement): """ None """ @@ -120131,6 +127192,7 @@ class SkyOpeningLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -120172,6 +127234,7 @@ class SkyOpeningLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -120420,7 +127483,13 @@ class SkyOpeningLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -120457,6 +127526,7 @@ class SkyOpeningLight: def value(arg0: MSPyDgnPlatform.Light.LightType) -> int: ... + @staticmethod def LoadFromElement(*args, **kwargs): """ Overloaded function. @@ -121025,7 +128095,13 @@ class SkyOpeningLight: def VolumeShift(arg0: MSPyDgnPlatform.AdvancedLight, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.SkyOpeningLight) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -121117,7 +128193,13 @@ class SnapMode: eMultiSnaps """ - def __init__(self: MSPyDgnPlatform.SnapMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBisector: SnapMode @@ -121195,7 +128277,13 @@ class SnapStatus: eFilteredByAppQuietly """ - def __init__(self: MSPyDgnPlatform.SnapStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAborted: SnapStatus @@ -121237,7 +128325,13 @@ class SnapTypeEnum: eSNAP_TYPE_Constraints """ - def __init__(self: MSPyDgnPlatform.SnapTypeEnum, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSNAP_TYPE_Constraints: SnapTypeEnum @@ -121252,7 +128346,7 @@ class SnapTypeEnum: def value(arg0: MSPyDgnPlatform.SnapTypeEnum) -> int: ... -class SolarLight: +class SolarLight(MSPyDgnPlatform.AdvancedLight): """ None """ @@ -121482,6 +128576,7 @@ class SolarLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -121523,6 +128618,7 @@ class SolarLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -121803,7 +128899,13 @@ class SolarLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -122394,12 +129496,15 @@ class SolarLight: def Year(arg0: MSPyDgnPlatform.SolarLight, arg1: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eLIGHTTYPE_Ambient: LightType eLIGHTTYPE_Area: LightType @@ -122448,7 +129553,7 @@ class SolarLight: eSOLARTYPE_TimeLocation: SolarType -class SolidHandler: +class SolidHandler(MSPyDgnPlatform.SurfaceOrSolidHandler): """ None """ @@ -122465,9 +129570,11 @@ class SolidHandler: def ConvertTo3d(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, elevation: float) -> None: ... + @staticmethod def CreateProjectionElement(eeh: MSPyDgnPlatform.EditElementHandle, templateEh: MSPyDgnPlatform.ElementHandle, profileEh: MSPyDgnPlatform.ElementHandle, origin: MSPyBentleyGeom.DPoint3d, extrudeVector: MSPyBentleyGeom.DVec3d, transform: MSPyBentleyGeom.Transform, preferSolid: bool, modelRef: MSPyDgnPlatform.DgnModelRef) -> MSPyDgnPlatform.BentleyStatus: ... + @staticmethod def CreateRevolutionElement(eeh: MSPyDgnPlatform.EditElementHandle, templateEh: MSPyDgnPlatform.ElementHandle, profileEh: MSPyDgnPlatform.ElementHandle, center: MSPyBentleyGeom.DPoint3d, axis: MSPyBentleyGeom.DVec3d, sweepAngle: float, preferSolid: bool, modelRef: MSPyDgnPlatform.DgnModelRef, numProfileRules: int = 1) -> MSPyDgnPlatform.BentleyStatus: ... @@ -122477,6 +129584,7 @@ class SolidHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToSolidPrimitive(eh: MSPyDgnPlatform.ElementHandle, simplify: bool = True) -> MSPyBentleyGeom.ISolidPrimitive: ... @@ -122488,12 +129596,15 @@ class SolidHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -122540,6 +129651,7 @@ class SolidHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -122551,6 +129663,7 @@ class SolidHandler: def IsRenderable(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle) -> bool: ... + @staticmethod def IsValidProfileType(eh: MSPyDgnPlatform.ElementHandle) -> bool: """ Check the supplied element to determine if it is an acceptable type @@ -122588,12 +129701,15 @@ class SolidHandler: def SetSolidPrimitive(self: MSPyDgnPlatform.ISolidPrimitiveEdit, eeh: MSPyDgnPlatform.EditElementHandle, primitive: MSPyBentleyGeom.ISolidPrimitive) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SpecialCharValues: """ Members: @@ -122667,7 +129783,13 @@ class SpecialCharValues: eSPECIALCHAR_PrivateUse_LastRscFraction """ - def __init__(self: MSPyDgnPlatform.SpecialCharValues, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSPECIALCHAR_CapitalOWithStroke_Unicode: SpecialCharValues @@ -122755,7 +129877,13 @@ class SpecialDisplayStyleIndex: eSpecialDisplayStyleIndex_FromParent """ - def __init__(self: MSPyDgnPlatform.SpecialDisplayStyleIndex, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSpecialDisplayStyleIndex_FromParent: SpecialDisplayStyleIndex @@ -122770,7 +129898,7 @@ class SpecialDisplayStyleIndex: def value(arg0: MSPyDgnPlatform.SpecialDisplayStyleIndex) -> int: ... -class SpotLight: +class SpotLight(MSPyDgnPlatform.LightElement): """ None """ @@ -123028,6 +130156,7 @@ class SpotLight: """ ... + @staticmethod def GetSamplesFromShadowQuality(quality: MSPyDgnPlatform.Light.ShadowQuality) -> int: """ Gets the shadow samples value by shadow quality. @@ -123069,6 +130198,7 @@ class SpotLight: """ ... + @staticmethod def GetShadowQualityFromSamples(samples: int) -> MSPyDgnPlatform.Light.ShadowQuality: """ Gets the shadow quality by shadow samples value. @@ -123321,7 +130451,13 @@ class SpotLight: eLIGHTTYPE_ModelDistant """ - def __init__(self: MSPyDgnPlatform.Light.LightType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -123358,6 +130494,7 @@ class SpotLight: def value(arg0: MSPyDgnPlatform.Light.LightType) -> int: ... + @staticmethod def LoadFromElement(*args, **kwargs): """ Overloaded function. @@ -123930,7 +131067,13 @@ class SpotLight: def VolumeShift(arg0: MSPyDgnPlatform.AdvancedLight, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.SpotLight) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLIGHTTYPE_Ambient: LightType @@ -124051,7 +131194,13 @@ class SpriteLocation: def Sprite(arg0: MSPyDgnPlatform.SpriteLocation) -> MSPyDgnPlatform.ISprite: ... - def __init__(self: MSPyDgnPlatform.SpriteLocation) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class StackedFractionAlignment: @@ -124067,7 +131216,13 @@ class StackedFractionAlignment: eNone """ - def __init__(self: MSPyDgnPlatform.StackedFractionAlignment, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBottom: StackedFractionAlignment @@ -124097,7 +131252,13 @@ class StackedFractionSection: eDenominator """ - def __init__(self: MSPyDgnPlatform.StackedFractionSection, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDenominator: StackedFractionSection @@ -124127,7 +131288,13 @@ class StackedFractionType: eHorizontalBar """ - def __init__(self: MSPyDgnPlatform.StackedFractionType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDiagonalBar: StackedFractionType @@ -124249,7 +131416,13 @@ class StandardUnit: eCustom """ - def __init__(self: MSPyDgnPlatform.StandardUnit, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAngleDegrees: StandardUnit @@ -124363,6 +131536,9 @@ class StandardUnitCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... class Entry: """ None @@ -124385,10 +131561,22 @@ class StandardUnitCollection: def UnitDef(arg0: MSPyDgnPlatform.StandardUnitCollection.Entry) -> MSPyDgnPlatform.UnitDefinition: ... - def __init__(self: MSPyDgnPlatform.StandardUnitCollection.Entry) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... - def __init__(self: MSPyDgnPlatform.StandardUnitCollection, options: MSPyDgnPlatform.UnitIteratorOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class StandardView: @@ -124414,7 +131602,13 @@ class StandardView: eRightIso """ - def __init__(self: MSPyDgnPlatform.StandardView, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBack: StandardView @@ -124457,7 +131651,13 @@ class StopEvents: """ ... - def __init__(self: MSPyDgnPlatform.StopEvents, keystrokes: bool, controlC: bool, wheel: bool, button: bool, paint: bool, focus: bool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -124633,12 +131833,15 @@ class StoredExpression: def SymbolSetVector(arg0: MSPyDgnPlatform.StoredExpression) -> MSPyBentley.WStringArray: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StoredExpressionEntry: """ None @@ -124698,6 +131901,13 @@ class StoredExpressionEntry: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -124746,7 +131956,7 @@ class StoredExpressionHelper: ... @staticmethod - def CollectExpressionEntries(expressionEntriesVector: List[MSPyDgnPlatform.StoredExpressionEntry], dgnFile: MSPyDgnPlatform.DgnFile, limitingKeyword: str = None) -> int: + def CollectExpressionEntries(expressionEntriesVector: list[MSPyDgnPlatform.StoredExpressionEntry], dgnFile: MSPyDgnPlatform.DgnFile, limitingKeyword: str = None) -> int: """ Get bvector of Store Expression Entries, useful for population User Interface Components. @@ -124900,12 +132110,15 @@ class StoredExpressionHelper: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StoredExpressionKeyword: """ None @@ -124939,23 +132152,29 @@ class StoredExpressionKeyword: def Name(arg0: MSPyDgnPlatform.StoredExpressionKeyword) -> str: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StoredUnitInfo: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def denominator(self: MSPyDgnPlatform.StoredUnitInfo) -> float: ... @@ -124997,7 +132216,13 @@ class StyleEventSource: eRedo """ - def __init__(self: MSPyDgnPlatform.StyleEventSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAction: StyleEventSource @@ -125035,7 +132260,13 @@ class StyleEventType: eBeforeSetActive """ - def __init__(self: MSPyDgnPlatform.StyleEventType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAdd: StyleEventType @@ -125073,7 +132304,13 @@ class StyleIteratorMode: eActiveFileAndLibraries """ - def __init__(self: MSPyDgnPlatform.StyleIteratorMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eActiveFileAndLibraries: StyleIteratorMode @@ -125092,7 +132329,7 @@ class StyleIteratorMode: def value(arg0: MSPyDgnPlatform.StyleIteratorMode) -> int: ... -class StyleOverrideAction: +class StyleOverrideAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -125133,7 +132370,13 @@ class StyleOverrideAction: """ ... - def __init__(self: MSPyDgnPlatform.StyleOverrideAction, lineStyle: int, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class StyleParamsRemapping: @@ -125149,7 +132392,13 @@ class StyleParamsRemapping: eOverride """ - def __init__(self: MSPyDgnPlatform.StyleParamsRemapping, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eApplyStyle: StyleParamsRemapping @@ -125187,7 +132436,13 @@ class StyleTableErrors: eSTYLETABLE_ERROR_StyleIsUsed """ - def __init__(self: MSPyDgnPlatform.StyleTableErrors, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSTYLETABLE_ERROR_BadIndex: StyleTableErrors @@ -125231,7 +132486,13 @@ class SupportOperation: eCustomHilite """ - def __init__(self: MSPyDgnPlatform.SupportOperation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCacheCutGraphics: SupportOperation @@ -125261,12 +132522,15 @@ class Surface: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def boundelms(self: MSPyDgnPlatform.Surface) -> int: ... @@ -125302,7 +132566,7 @@ class Surface: def surftype(self: MSPyDgnPlatform.Surface, arg0: int) -> None: ... -class SurfaceHandler: +class SurfaceHandler(MSPyDgnPlatform.SurfaceOrSolidHandler): """ None """ @@ -125319,9 +132583,11 @@ class SurfaceHandler: def ConvertTo3d(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, elevation: float) -> None: ... + @staticmethod def CreateProjectionElement(eeh: MSPyDgnPlatform.EditElementHandle, templateEh: MSPyDgnPlatform.ElementHandle, profileEh: MSPyDgnPlatform.ElementHandle, origin: MSPyBentleyGeom.DPoint3d, extrudeVector: MSPyBentleyGeom.DVec3d, transform: MSPyBentleyGeom.Transform, preferSolid: bool, modelRef: MSPyDgnPlatform.DgnModelRef) -> MSPyDgnPlatform.BentleyStatus: ... + @staticmethod def CreateRevolutionElement(eeh: MSPyDgnPlatform.EditElementHandle, templateEh: MSPyDgnPlatform.ElementHandle, profileEh: MSPyDgnPlatform.ElementHandle, center: MSPyBentleyGeom.DPoint3d, axis: MSPyBentleyGeom.DVec3d, sweepAngle: float, preferSolid: bool, modelRef: MSPyDgnPlatform.DgnModelRef, numProfileRules: int = 1) -> MSPyDgnPlatform.BentleyStatus: ... @@ -125331,6 +132597,7 @@ class SurfaceHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToSolidPrimitive(eh: MSPyDgnPlatform.ElementHandle, simplify: bool = True) -> MSPyBentleyGeom.ISolidPrimitive: ... @@ -125342,12 +132609,15 @@ class SurfaceHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -125394,6 +132664,7 @@ class SurfaceHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -125405,6 +132676,7 @@ class SurfaceHandler: def IsRenderable(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle) -> bool: ... + @staticmethod def IsValidProfileType(eh: MSPyDgnPlatform.ElementHandle) -> bool: """ Check the supplied element to determine if it is an acceptable type @@ -125442,13 +132714,16 @@ class SurfaceHandler: def SetSolidPrimitive(self: MSPyDgnPlatform.ISolidPrimitiveEdit, eeh: MSPyDgnPlatform.EditElementHandle, primitive: MSPyBentleyGeom.ISolidPrimitive) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class SurfaceOrSolidHandler: + def __init__(self, *args, **kwargs): + ... + +class SurfaceOrSolidHandler(MSPyDgnPlatform.ComplexHeaderDisplayHandler, MSPyDgnPlatform.ISolidPrimitiveEdit): """ None """ @@ -125479,6 +132754,7 @@ class SurfaceOrSolidHandler: def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def ElementToSolidPrimitive(eh: MSPyDgnPlatform.ElementHandle, simplify: bool = True) -> MSPyBentleyGeom.ISolidPrimitive: ... @@ -125490,12 +132766,15 @@ class SurfaceOrSolidHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -125542,6 +132821,7 @@ class SurfaceOrSolidHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -125591,12 +132871,15 @@ class SurfaceOrSolidHandler: def SetSolidPrimitive(self: MSPyDgnPlatform.ISolidPrimitiveEdit, eeh: MSPyDgnPlatform.EditElementHandle, primitive: MSPyBentleyGeom.ISolidPrimitive) -> BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SurfaceParticleGenerator: """ None @@ -125754,7 +133037,13 @@ class SurfaceParticleGenerator: """ ... - def __init__(self: MSPyDgnPlatform.SurfaceParticleGenerator) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class SymbolLocation: @@ -125772,7 +133061,13 @@ class SymbolLocation: eSymbolUnknown """ - def __init__(self: MSPyDgnPlatform.SymbolLocation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSymbolLineEnd: SymbolLocation @@ -125804,7 +133099,13 @@ class SymbolRotation: eSymbolRotationAdjusted """ - def __init__(self: MSPyDgnPlatform.SymbolRotation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSymbolRotationAbsolute: SymbolRotation @@ -125832,7 +133133,13 @@ class SymbolStrokeLocation: eSymbolStrokeCenter """ - def __init__(self: MSPyDgnPlatform.SymbolStrokeLocation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSymbolStrokeCenter: SymbolStrokeLocation @@ -125854,6 +133161,13 @@ class Symbology: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -125885,7 +133199,7 @@ class Symbology: def weight(self: MSPyDgnPlatform.Symbology, arg0: int) -> None: ... -class SymbologyReporter: +class SymbologyReporter(MSPyDgnPlatform.IQueryProperties): """ None """ @@ -126332,7 +133646,13 @@ class SymbologyReporter: def WantSharedChildren(arg0: MSPyDgnPlatform.IQueryProperties) -> bool: ... - def __init__(self: MSPyDgnPlatform.SymbologyReporter, eh: MSPyDgnPlatform.ElementHandle) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class T_AgendumVector: @@ -126340,6 +133660,9 @@ class T_AgendumVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Count(arg0: MSPyDgnPlatform.T_AgendumVector) -> int: ... @@ -126373,17 +133696,23 @@ class T_AgendumVector: def Last(arg0: MSPyDgnPlatform.T_AgendumVector) -> MSPyDgnPlatform.ElemAgendaEntry: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class T_AgendumVectorRef: + def __init__(self, *args, **kwargs): + ... + +class T_AgendumVectorRef(MSPyDgnPlatform.T_AgendumVector): """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Count(arg0: MSPyDgnPlatform.T_AgendumVector) -> int: ... @@ -126417,13 +133746,16 @@ class T_AgendumVectorRef: def Last(arg0: MSPyDgnPlatform.T_AgendumVector) -> MSPyDgnPlatform.ElemAgendaEntry: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class Tab: + def __init__(self, *args, **kwargs): + ... + +class Tab(MSPyDgnPlatform.WhiteSpace): """ None """ @@ -126448,12 +133780,15 @@ class Tab: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TableBreakPosition: """ Members: @@ -126469,7 +133804,13 @@ class TableBreakPosition: eManual """ - def __init__(self: MSPyDgnPlatform.TableBreakPosition, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAbove: TableBreakPosition @@ -126501,7 +133842,13 @@ class TableBreakType: eVertical """ - def __init__(self: MSPyDgnPlatform.TableBreakType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHorizontal: TableBreakType @@ -126541,7 +133888,13 @@ class TableCellAlignment: eRightBottom """ - def __init__(self: MSPyDgnPlatform.TableCellAlignment, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCenterBottom: TableCellAlignment @@ -126626,6 +133979,13 @@ class TableCellIndex: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -126655,6 +134015,16 @@ class TableCellIndexArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -126687,6 +134057,7 @@ class TableCellIndexArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -126707,6 +134078,7 @@ class TableCellIndexArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -126750,7 +134122,13 @@ class TableCellListEdges: eAll """ - def __init__(self: MSPyDgnPlatform.TableCellListEdges, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: TableCellListEdges @@ -126784,12 +134162,15 @@ class TableCellMarginValues: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def bottom(self: MSPyDgnPlatform.TableCellMarginValues) -> float: ... @@ -126831,7 +134212,13 @@ class TableCellOrientation: eVertical """ - def __init__(self: MSPyDgnPlatform.TableCellOrientation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHorizontal: TableCellOrientation @@ -126865,7 +134252,13 @@ class TableHeaderFooterType: eFooter """ - def __init__(self: MSPyDgnPlatform.TableHeaderFooterType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBody: TableHeaderFooterType @@ -126895,7 +134288,13 @@ class TableInsertDirection: eAfter """ - def __init__(self: MSPyDgnPlatform.TableInsertDirection, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAfter: TableInsertDirection @@ -126921,7 +134320,13 @@ class TableRows: eAll """ - def __init__(self: MSPyDgnPlatform.TableRows, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: TableRows @@ -127093,7 +134498,13 @@ class TableSymbologyValues: """ ... - def __init__(self: MSPyDgnPlatform.TableSymbologyValues) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TableSymbologyValuesPtrArray: @@ -127101,6 +134512,16 @@ class TableSymbologyValuesPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -127133,6 +134554,7 @@ class TableSymbologyValuesPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -127153,6 +134575,7 @@ class TableSymbologyValuesPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -127173,7 +134596,7 @@ class TableSymbologyValuesPtrArray: """ ... -class TableTextPartId: +class TableTextPartId(MSPyDgnPlatform.ITextPartId): """ None """ @@ -127195,21 +134618,33 @@ class TableTextPartId: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TagDefCollection: """ None """ - def __init__(self: MSPyDgnPlatform.TagDefCollection, element: MSPyDgnPlatform.ElementHandle) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class TagElementHandler: +class TagElementHandler(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ITextEdit, MSPyDgnPlatform.IAnnotationHandler): """ None """ @@ -127257,38 +134692,41 @@ class TagElementHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @staticmethod def Extract(*args, **kwargs): """ Overloaded function. - 1. Extract(tagDef: MSPyDgnPlatform.DgnTagDefinition, in: MSPyDgnPlatform.ElementHandle, dgnModel: MSPyDgnPlatform.DgnModel) -> MSPyDgnPlatform.BentleyStatus + 1. Extract(tagDef: MSPyDgnPlatform.DgnTagDefinition, in_: MSPyDgnPlatform.ElementHandle, dgnModel: MSPyDgnPlatform.DgnModel) -> MSPyDgnPlatform.BentleyStatus Extract the tag definitions associated with a tag element :param tagDef: (output) filled tag definition information - :param in: + :param in_: (input) tag element :param dgnCache: (input) the loaded DGN cache to search for tag definition - 2. Extract(tagSpec: MSPyDgnPlatform.DgnTagSpec, in: MSPyDgnPlatform.ElementHandle, dgnModel: MSPyDgnPlatform.DgnModel) -> MSPyDgnPlatform.BentleyStatus + 2. Extract(tagSpec: MSPyDgnPlatform.DgnTagSpec, in_: MSPyDgnPlatform.ElementHandle, dgnModel: MSPyDgnPlatform.DgnModel) -> MSPyDgnPlatform.BentleyStatus Extract the tag definitions associated with a tag element :param tagDef: (output) filled tag definition information - :param in: + :param in_: (input) tag element :param dgnCache: @@ -127348,7 +134786,7 @@ class TagElementHandler: """ Gets element Id of the tagset associated with this tag element - :param in: + :param in_: (input) tag element """ ... @@ -127364,7 +134802,7 @@ class TagElementHandler: :param bufferSize: (input) sizeof(allocated) name bugger - :param in: + :param in_: (input) tag element :param dgnCache: @@ -127383,10 +134821,10 @@ class TagElementHandler: Get the target element associated with the tag element. :param targetOut: - (output) Target element. + (output) -> Target element. :param tagElement: - (input) Tag element to query on. + (input) -> Tag element to query on. """ ... @@ -127411,6 +134849,7 @@ class TagElementHandler: def HasAnnotationScale(self: MSPyDgnPlatform.IAnnotationHandler, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -127451,7 +134890,13 @@ class TagElementHandler: eReplaceStatus_Delete """ - def __init__(self: MSPyDgnPlatform.ITextEdit.ReplaceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplaceStatus_Delete: ReplaceStatus @@ -127477,10 +134922,10 @@ class TagElementHandler: Modify the attribute value associated with the tag element. :param tagElement: - (input) Target element. + (input) -> Target element. :param value: - (input) The new value to set. + (input) -> The new value to set. """ ... @@ -127508,7 +134953,7 @@ class TagElementHandler: """ Sets element Id of the tagset associated with this tag element - :param in: + :param in_: (input) tag element :param id: @@ -127532,12 +134977,15 @@ class TagElementHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eReplaceStatus_Delete: ReplaceStatus eReplaceStatus_Error: ReplaceStatus @@ -127557,7 +135005,13 @@ class TagExport: eTAG_EXPORT_XML """ - def __init__(self: MSPyDgnPlatform.TagExport, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTAG_EXPORT_ALL: TagExport @@ -127589,7 +135043,13 @@ class TagProperty: eTAG_PROP_CONST """ - def __init__(self: MSPyDgnPlatform.TagProperty, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTAG_PROP_CONF: TagProperty @@ -127613,14 +135073,24 @@ class TagSetCollection: None """ - def __init__(self: MSPyDgnPlatform.TagSetCollection, dgnFile: MSPyDgnPlatform.DgnFile) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class TagSetHandler: +class TagSetHandler(MSPyDgnPlatform.DgnStoreHdrHandler): """ None """ + @staticmethod def AppendToCell(eeh: MSPyDgnPlatform.EditElementHandle, byteData: bytes, dgnStoreId: int, applicationId: int) -> MSPyDgnPlatform.BentleyStatus: ... @@ -127634,7 +135104,14 @@ class TagSetHandler: ... @staticmethod - def Create(eeh: MSPyDgnPlatform.EditElementHandle, tagDefs: MSPyDgnPlatform.DgnTagDefinitionArray, numTagDefs: int, setName: str, reportName: str, assignNewIds: bool, file: MSPyDgnPlatform.DgnFile, ownerID: int = 0) -> MSPyDgnPlatform.BentleyStatus: + def Create(*args, **kwargs): + """ + Overloaded function. + + 1. Create(eeh: MSPyDgnPlatform.EditElementHandle, tagDefs: MSPyDgnPlatform.DgnTagDefinitionArray, numTagDefs: int, setName: str, reportName: str, assignNewIds: bool, file: MSPyDgnPlatform.DgnFile, ownerID: int = 0) -> MSPyDgnPlatform.BentleyStatus + + 2. Create(eeh: MSPyDgnPlatform.EditElementHandle, tagDefs: list, numTagDefs: int, setName: str, reportName: str, assignNewIds: bool, file: MSPyDgnPlatform.DgnFile, ownerID: int = 0) -> MSPyDgnPlatform.BentleyStatus + """ ... def EditProperties(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: @@ -127648,15 +135125,20 @@ class TagSetHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + + @staticmethod def Extract(dgnStoreId: int, applicationId: int, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... + @staticmethod def ExtractFromCell(dgnStoreId: int, applicationId: int, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... @@ -127672,7 +135154,7 @@ class TagSetHandler: (output) tagset definition. :param tagDefID: - (input) Id to look up the tagset element. + (input) -> Id to look up the tagset element. """ ... @@ -127726,7 +135208,7 @@ class TagSetHandler: Look up a tag set element based on Id. :param uniqueId: - (input) Id to be looked up. + (input) -> Id to be looked up. :param dgnFile: (input) file in which to search for the tagset. @@ -127739,7 +135221,7 @@ class TagSetHandler: Look up a tag set element based on Id. :param uniqueId: - (input) Id to be looked up. + (input) -> Id to be looked up. :param dgnFile: (input) file in which to search for the tagset. @@ -127768,10 +135250,8 @@ class TagSetHandler: def GetDescription(self: MSPyDgnPlatform.Handler, eh: MSPyDgnPlatform.ElementHandle, string: MSPyBentley.WString, desiredLength: int) -> None: ... - def GetDgnStoreIds(*args, **kwargs): - """ - GetDgnStoreIds(in: MSPyDgnPlatform.ElementHandle) -> tuple - """ + @staticmethod + def GetDgnStoreIds(in_: MSPyDgnPlatform.ElementHandle) -> tuple: ... def GetDisplayHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.DisplayHandler: @@ -127800,15 +135280,14 @@ class TagSetHandler: Instance: TagSetHandler - def IsDgnStoreElement(*args, **kwargs): - """ - IsDgnStoreElement(in: MSPyDgnPlatform.ElementHandle, dgnStoreId: int = 0, applicationId: int = 0) -> bool - """ + @staticmethod + def IsDgnStoreElement(in_: MSPyDgnPlatform.ElementHandle, dgnStoreId: int = 0, applicationId: int = 0) -> bool: ... def QueryProperties(self: MSPyDgnPlatform.Handler, eh: MSPyDgnPlatform.ElementHandle, context: MSPyDgnPlatform.PropertyContext) -> None: ... + @staticmethod def RemoveFromCell(CellEeh: MSPyDgnPlatform.EditElementHandle, dgnStoreId: int, applicationId: int) -> MSPyDgnPlatform.BentleyStatus: ... @@ -127838,12 +135317,15 @@ class TagSetHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TagType: """ Members: @@ -127861,7 +135343,13 @@ class TagType: eMS_TAGTYPE_WCHAR """ - def __init__(self: MSPyDgnPlatform.TagType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMS_TAGTYPE_BINARY: TagType @@ -127987,12 +135475,15 @@ class TemplateRefAttributes: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextBlock: """ None @@ -128061,10 +135552,8 @@ class TextBlock: """ ... - def ApplyTextStyle(*args, **kwargs): + def ApplyTextStyle(self: MSPyDgnPlatform.TextBlock, textStyle: MSPyDgnPlatform.DgnTextStyle, respectOverrides: bool, from_: MSPyDgnPlatform.Caret, to_: MSPyDgnPlatform.Caret) -> None: """ - ApplyTextStyle(self: MSPyDgnPlatform.TextBlock, textStyle: MSPyDgnPlatform.DgnTextStyle, respectOverrides: bool, from: MSPyDgnPlatform.Caret, to: MSPyDgnPlatform.Caret) -> None - Applies a text style to the specified range. @note You should consider calling PerformLayout after this operation. It will not be done automatically, allowing you to perform several expensive operations @@ -128073,10 +135562,10 @@ class TextBlock: (a reasonable default), any intersecting paragraph will have paragraph-level properties applied to the whole paragraph; similar for the TextBlock's properties. You can use utility methods such as - TextBlockProperties::SetMaskForTextBlockProperties, - ParagraphProperties::SetMaskForParagraphProperties, and - RunProperties::SetMaskForRunProperties to limit propogration to - desired properties. @note See IDgnTextStyleApplyable::ApplyTextStyle + TextBlockProperties.SetMaskForTextBlockProperties, + ParagraphProperties.SetMaskForParagraphProperties, and + RunProperties.SetMaskForRunProperties to limit propogration to + desired properties. @note See IDgnTextStyleApplyable.ApplyTextStyle for rules about the style being in the file and respecting overrides. """ ... @@ -128129,12 +135618,15 @@ class TextBlock: def MatchStart(arg0: MSPyDgnPlatform.TextBlock.FindTextMatch) -> MSPyDgnPlatform.Caret: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class FindTextParameters: """ None @@ -128179,7 +135671,13 @@ class TextBlock: def UseRegularExpressions(self: MSPyDgnPlatform.TextBlock.FindTextParameters) -> bool: ... - def __init__(self: MSPyDgnPlatform.TextBlock.FindTextParameters) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def GetDgnModel(self: MSPyDgnPlatform.TextBlock) -> MSPyDgnPlatform.DgnModel: @@ -128196,8 +135694,8 @@ class TextBlock: def GetNominalRange(self: MSPyDgnPlatform.TextBlock) -> MSPyBentleyGeom.DRange3d: """ - Gets the nominal range of the entire TextBlock. This is a union of all - nominal ranges, which is a union of every character's cell box. @note + Gets the nominal range of the entire TextBlock. This is a of all + nominal ranges, which is a of every character's cell box. @note The nominal range is good to use if you want to generally know the " size " of a TextBlock. """ @@ -128370,10 +135868,8 @@ class TextBlock: def Properties(arg0: MSPyDgnPlatform.TextBlock, arg1: MSPyDgnPlatform.TextBlockProperties) -> None: ... - def Remove(*args, **kwargs): + def Remove(self: MSPyDgnPlatform.TextBlock, from_: MSPyDgnPlatform.Caret, to_: MSPyDgnPlatform.Caret) -> MSPyDgnPlatform.Caret: """ - Remove(self: MSPyDgnPlatform.TextBlock, from: MSPyDgnPlatform.Caret, to: MSPyDgnPlatform.Caret) -> MSPyDgnPlatform.Caret - Removes all content between two carets (from inclusive, to exclusive). :returns: @@ -128444,10 +135940,8 @@ class TextBlock: """ ... - def SetStyleProperties(*args, **kwargs): + def SetStyleProperties(self: MSPyDgnPlatform.TextBlock, textStyle: MSPyDgnPlatform.DgnTextStyle, propMask: MSPyDgnPlatform.TextStylePropertyMask, from_: MSPyDgnPlatform.Caret, to_: MSPyDgnPlatform.Caret) -> None: """ - SetStyleProperties(self: MSPyDgnPlatform.TextBlock, textStyle: MSPyDgnPlatform.DgnTextStyle, propMask: MSPyDgnPlatform.TextStylePropertyMask, from: MSPyDgnPlatform.Caret, to: MSPyDgnPlatform.Caret) -> None - Applies select style properties to the specified range. This differs from ApplyTextStyle in that the provided style object is treated as merely a property vessel, and properties will be copied from it; it @@ -128466,6 +135960,7 @@ class TextBlock: """ ... + @staticmethod def ToString(*args, **kwargs): """ Overloaded function. @@ -128476,7 +135971,7 @@ class TextBlock: that special runs such as fractions can no longer be uniquely identified as such. - 2. ToString(self: MSPyDgnPlatform.TextBlock, from: MSPyDgnPlatform.Caret, to: MSPyDgnPlatform.Caret) -> MSPyBentley.WString + 2. ToString(self: MSPyDgnPlatform.TextBlock, from_: MSPyDgnPlatform.Caret, to_: MSPyDgnPlatform.Caret) -> MSPyBentley.WString Creates a plain-text string representing the entire TextBlock. Note that special runs such as fractions can no longer be uniquely @@ -128498,6 +135993,13 @@ class TextBlock: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -128779,12 +136281,15 @@ class TextBlockProperties: def ViewIndependent(arg0: MSPyDgnPlatform.TextBlockProperties, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextBlockToElementResult: """ Members: @@ -128796,7 +136301,13 @@ class TextBlockToElementResult: eTEXTBLOCK_TO_ELEMENT_RESULT_Empty """ - def __init__(self: MSPyDgnPlatform.TextBlockToElementResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTEXTBLOCK_TO_ELEMENT_RESULT_Empty: TextBlockToElementResult @@ -128834,7 +136345,13 @@ class TextBlockXmlDeserializer: """ ... - def __init__(self: MSPyDgnPlatform.TextBlockXmlDeserializer, dgnModel: MSPyDgnPlatform.DgnModel, text: str) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TextBlockXmlSerializer: @@ -128862,7 +136379,13 @@ class TextBlockXmlSerializer: """ ... - def __init__(self: MSPyDgnPlatform.TextBlockXmlSerializer, textBlock: MSPyDgnPlatform.TextBlock) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TextDrawFlags: @@ -128951,23 +136474,29 @@ class TextDrawFlags: def Vertical(arg0: MSPyDgnPlatform.TextDrawFlags, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextEDField: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def justification(self: MSPyDgnPlatform.TextEDField) -> int: ... @@ -128994,12 +136523,15 @@ class TextEDParam: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def edField(arg0: MSPyDgnPlatform.TextEDParam) -> MSPyDgnPlatform.TextEDField: ... @@ -129014,7 +136546,7 @@ class TextEDParam: def numEDFields(self: MSPyDgnPlatform.TextEDParam, arg0: int) -> None: ... -class TextElemHandler: +class TextElemHandler(MSPyDgnPlatform.TextHandlerBase, MSPyDgnPlatform.IAnnotationHandler): """ None """ @@ -129041,6 +136573,7 @@ class TextElemHandler: def ConvertTo3d(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, elevation: float) -> None: ... + @staticmethod def CreateElement(*args, **kwargs): """ Overloaded function. @@ -129079,6 +136612,7 @@ class TextElemHandler: def Drop(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, dropGeom: MSPyDgnPlatform.ElementAgenda, geometry: MSPyDgnPlatform.DropGeometry) -> int: ... + @staticmethod def DropText(eh: MSPyDgnPlatform.ElementHandle, agenda: MSPyDgnPlatform.ElementAgenda, rotMatrix: MSPyBentleyGeom.RotMatrix) -> MSPyDgnPlatform.BentleyStatus: """ Drops a text element, and if it was view-independent, optionally @@ -129101,12 +136635,15 @@ class TextElemHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -129125,6 +136662,7 @@ class TextElemHandler: def GetDisplayHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.DisplayHandler: ... + @staticmethod def GetFirstTextPartValue(eh: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.TextBlock: """ A convenience wrapper around ITextQuery.GetText that gets the value @@ -129188,6 +136726,7 @@ class TextElemHandler: """ ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -129228,7 +136767,13 @@ class TextElemHandler: eReplaceStatus_Delete """ - def __init__(self: MSPyDgnPlatform.ITextEdit.ReplaceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplaceStatus_Delete: ReplaceStatus @@ -129254,12 +136799,15 @@ class TextElemHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eReplaceStatus_Delete: ReplaceStatus eReplaceStatus_Error: ReplaceStatus @@ -129307,7 +136855,13 @@ class TextElementJustification: eInvalid """ - def __init__(self: MSPyDgnPlatform.TextElementJustification, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCenterBaseline: TextElementJustification @@ -129510,12 +137064,15 @@ class TextExFlags: def WordWrapTextNode(arg0: MSPyDgnPlatform.TextExFlags, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextField: """ None @@ -129583,12 +137140,15 @@ class TextField: def SetFieldCreationContext(self: MSPyDgnPlatform.TextField, value: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFieldType_Element: FieldType eFieldType_File: FieldType @@ -129606,7 +137166,13 @@ class TextFileEncoding: eUtf16 """ - def __init__(self: MSPyDgnPlatform.TextFileEncoding, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCurrentLocale: TextFileEncoding @@ -129634,7 +137200,13 @@ class TextFileOpenType: eAppend """ - def __init__(self: MSPyDgnPlatform.TextFileOpenType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAppend: TextFileOpenType @@ -129662,7 +137234,13 @@ class TextFileOptions: eNewLinesToSpace """ - def __init__(self: MSPyDgnPlatform.TextFileOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eKeepNewLine: TextFileOptions @@ -129690,7 +137268,13 @@ class TextFileReadStatus: eBadParameter """ - def __init__(self: MSPyDgnPlatform.TextFileReadStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBadParameter: TextFileReadStatus @@ -129718,7 +137302,13 @@ class TextFileWriteStatus: eBadParameter """ - def __init__(self: MSPyDgnPlatform.TextFileWriteStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBadParameter: TextFileWriteStatus @@ -129740,12 +137330,15 @@ class TextFlags: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def fast(arg0: MSPyDgnPlatform.TextFlags) -> bool: ... @@ -129800,12 +137393,15 @@ class TextFontInfo: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def charSize(self: MSPyDgnPlatform.TextFontInfo) -> int: ... @@ -129869,7 +137465,7 @@ class TextFontInfo: def vectorSize(self: MSPyDgnPlatform.TextFontInfo, arg0: int) -> None: ... -class TextHandlerBase: +class TextHandlerBase(MSPyDgnPlatform.DisplayHandler, MSPyDgnPlatform.ITextEdit): """ None """ @@ -129948,12 +137544,15 @@ class TextHandlerBase: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -130023,6 +137622,7 @@ class TextHandlerBase: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -130054,7 +137654,13 @@ class TextHandlerBase: eReplaceStatus_Delete """ - def __init__(self: MSPyDgnPlatform.ITextEdit.ReplaceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplaceStatus_Delete: ReplaceStatus @@ -130080,19 +137686,22 @@ class TextHandlerBase: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eReplaceStatus_Delete: ReplaceStatus eReplaceStatus_Error: ReplaceStatus eReplaceStatus_Success: ReplaceStatus -class TextNodeHandler: +class TextNodeHandler(MSPyDgnPlatform.TextHandlerBase, MSPyDgnPlatform.ITransactionHandler, MSPyDgnPlatform.IAnnotationHandler): """ None """ @@ -130113,9 +137722,11 @@ class TextNodeHandler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -130125,6 +137736,7 @@ class TextNodeHandler: def ConvertTo3d(self: MSPyDgnPlatform.Handler, eeh: MSPyDgnPlatform.EditElementHandle, elevation: float) -> None: ... + @staticmethod def CreateElement(*args, **kwargs): """ Overloaded function. @@ -130163,6 +137775,7 @@ class TextNodeHandler: def Drop(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, dropGeom: MSPyDgnPlatform.ElementAgenda, geometry: MSPyDgnPlatform.DropGeometry) -> int: ... + @staticmethod def DropText(eh: MSPyDgnPlatform.ElementHandle, agenda: MSPyDgnPlatform.ElementAgenda, rotMatrix: MSPyBentleyGeom.RotMatrix) -> MSPyDgnPlatform.BentleyStatus: """ Drops a text element, and if it was view-independent, optionally @@ -130185,12 +137798,15 @@ class TextNodeHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -130209,6 +137825,7 @@ class TextNodeHandler: def GetDisplayHandler(self: MSPyDgnPlatform.Handler) -> MSPyDgnPlatform.DisplayHandler: ... + @staticmethod def GetFirstTextPartValue(eh: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.TextBlock: """ A convenience wrapper around ITextQuery.GetText that gets the value @@ -130262,6 +137879,7 @@ class TextNodeHandler: def HasAnnotationScale(self: MSPyDgnPlatform.IAnnotationHandler, eh: MSPyDgnPlatform.ElementHandle) -> tuple: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -130302,7 +137920,13 @@ class TextNodeHandler: eReplaceStatus_Delete """ - def __init__(self: MSPyDgnPlatform.ITextEdit.ReplaceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplaceStatus_Delete: ReplaceStatus @@ -130328,12 +137952,15 @@ class TextNodeHandler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eReplaceStatus_Delete: ReplaceStatus eReplaceStatus_Error: ReplaceStatus @@ -130345,12 +137972,15 @@ class TextParam: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def font(self: MSPyDgnPlatform.TextParam) -> int: ... @@ -130377,6 +138007,7 @@ class TextParamWide: None """ + @staticmethod def ApplyScaleFactor(*args, **kwargs): """ Overloaded function. @@ -130422,7 +138053,13 @@ class TextParamWide: """ ... - def __init__(self: MSPyDgnPlatform.TextParamWide) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -130633,6 +138270,16 @@ class TextPartIdVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -130665,6 +138312,7 @@ class TextPartIdVector: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -130685,6 +138333,7 @@ class TextPartIdVector: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -130731,23 +138380,29 @@ class TextRenderingFlags: def LineAlignment(arg0: MSPyDgnPlatform.TextRenderingFlags, arg1: int) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextScale: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def x(self: MSPyDgnPlatform.TextScale) -> float: ... @@ -130767,12 +138422,15 @@ class TextSizeParam: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def aspectRatio(self: MSPyDgnPlatform.TextSizeParam) -> float: ... @@ -130911,6 +138569,13 @@ class TextString: def Width(arg0: MSPyDgnPlatform.TextString) -> float: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -130921,7 +138586,7 @@ class TextString: """ ... -class TextStringProperties: +class TextStringProperties(MSPyDgnPlatform.RunPropertiesBase): """ None """ @@ -131380,10 +139045,8 @@ class TextStringProperties: """ ... - def SetIs3d(*args, **kwargs): + def SetIs3d(self: MSPyDgnPlatform.TextStringProperties, dim3d: bool) -> None: """ - SetIs3d(self: MSPyDgnPlatform.TextStringProperties, 3d: bool) -> None - Sets the Is3d flag. See also: @@ -131674,42 +139337,60 @@ class TextStringProperties: def WidthFactor(arg0: MSPyDgnPlatform.RunPropertiesBase) -> float: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextStyleCollection: """ None """ - def __init__(self: MSPyDgnPlatform.TextStyleCollection, file: MSPyDgnPlatform.DgnFile) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ ... -class TextStyleEvents: + def __init__(self, *args, **kwargs): + ... + +class TextStyleEvents(MSPyDgnPlatform.ITextStyleTransactionListener): """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextStyleInfo: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def bigFont(self: MSPyDgnPlatform.TextStyleInfo) -> int: ... @@ -131750,12 +139431,15 @@ class TextStyleOverrideFlags: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def acadInterCharSpacing(arg0: MSPyDgnPlatform.TextStyleOverrideFlags) -> bool: ... @@ -132171,7 +139855,13 @@ class TextStyleProperty: eTextStyle_RightToLeft """ - def __init__(self: MSPyDgnPlatform.TextStyleProperty, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTextStyle_AcadInterCharSpacing: TextStyleProperty @@ -132293,7 +139983,13 @@ class TextStylePropertyMask: def SetPropertyFlag(self: MSPyDgnPlatform.TextStylePropertyMask, flag: MSPyDgnPlatform.TextStyleProperty, value: bool) -> bool: ... - def __init__(self: MSPyDgnPlatform.TextStylePropertyMask) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TextTable: @@ -132386,19 +140082,19 @@ class TextTable: initialized to safe default values. :param rowCount: - (input) The number of rows in the table. + (input) -> The number of rows in the table. :param columnCount: - (input) The number of columns in the table. + (input) -> The number of columns in the table. :param textStyleId: - (input) The default TextStyle. + (input) -> The default TextStyle. :param backupTextHeight: - (input) Used when textStyleId refers to a style with zero text height. + (input) -> Used when textStyleId refers to a style with zero text height. :param model: - (input) Used as context for textStyleId and UOR sizes. + (input) -> Used as context for textStyleId and UOR sizes. """ ... @@ -132415,7 +140111,7 @@ class TextTable: @DefaultCellOrientation.setter def DefaultCellOrientation(arg0: MSPyDgnPlatform.TextTable, arg1: MSPyDgnPlatform.TableCellOrientation) -> None: ... - + @property def DefaultColumnWidth(arg0: MSPyDgnPlatform.TextTable) -> float: ... @@ -132629,10 +140325,10 @@ class TextTable: (output) A list of unique symbologies from the requested edges. :param edges: - (input) Specifies which edges to query. + (input) -> Specifies which edges to query. :param cells: - (input) Specifies which cells to query. + (input) -> Specifies which cells to query. """ ... @@ -132784,33 +140480,33 @@ class TextTable: def Height(arg0: MSPyDgnPlatform.TextTable, arg1: float) -> None: ... - def InsertColumn(self: MSPyDgnPlatform.TextTable, indexOfSeedColumn: int, dir: MSPyDgnPlatform.TableInsertDirection) -> MSPyDgnPlatform.BentleyStatus: + def InsertColumn(self: MSPyDgnPlatform.TextTable, indexOfSeedColumn: int, dir_: MSPyDgnPlatform.TableInsertDirection) -> MSPyDgnPlatform.BentleyStatus: """ Insert a new column into the table. It is only possible to insert directly before (to the left of) or after (to the right of) the seed column. :param indexOfSeedColumn: - (input) The seed columns's properties but not its contents will be + (input) -> The seed columns's properties but not its contents will be copied to form the new column. - :param dir: - (input) The location of the new column either before or after the seed + :param dir_: + (input) -> The location of the new column either before or after the seed column. """ ... - def InsertRow(self: MSPyDgnPlatform.TextTable, indexOfSeedRow: int, dir: MSPyDgnPlatform.TableInsertDirection) -> MSPyDgnPlatform.BentleyStatus: + def InsertRow(self: MSPyDgnPlatform.TextTable, indexOfSeedRow: int, dir_: MSPyDgnPlatform.TableInsertDirection) -> MSPyDgnPlatform.BentleyStatus: """ Insert a new row into the table. It is only possible to insert directly before (above) or after (below) the seed row. :param indexOfSeedRow: - (input) The seed row's properties but not its contents will be copied + (input) -> The seed row's properties but not its contents will be copied to form the new row. - :param dir: - (input) The location of the new row either before or after the seed + :param dir_: + (input) -> The location of the new row either before or after the seed row. """ ... @@ -132821,7 +140517,7 @@ class TextTable: would consume a part of another merged cell. :param root: - (input) The upper left cell index of the merged cell. + (input) -> The upper left cell index of the merged cell. :param numRows: (input) the number of rows that will be spanned by the merged cell. @@ -132980,13 +140676,13 @@ class TextTable: of cells. :param symb: - (input) The symbology to apply to the specified edges. + (input) -> The symbology to apply to the specified edges. :param edges: - (input) Specifies which edges to change. + (input) -> Specifies which edges to change. :param cells: - (input) Specifies which cells to change. + (input) -> Specifies which cells to change. """ ... @@ -133084,12 +140780,15 @@ class TextTable: def Width(arg0: MSPyDgnPlatform.TextTable, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextTableCell: """ None @@ -133144,11 +140843,11 @@ class TextTableCell: works on one cell. :param symb: - (output) List of unique symbologies on the requested edges of this + (output) -> List of unique symbologies on the requested edges of this cell. :param edges: - (input) Edges from which to report. Interior, InteriorHorizontal and + (input) -> Edges from which to report. Interior, InteriorHorizontal and InteriorVertical are ignored. """ ... @@ -133242,7 +140941,7 @@ class TextTableCell: @Orientation.setter def Orientation(arg0: MSPyDgnPlatform.TextTableCell, arg1: MSPyDgnPlatform.TableCellOrientation) -> None: ... - + @property def RowSpan(arg0: MSPyDgnPlatform.TextTableCell) -> int: ... @@ -133277,7 +140976,7 @@ class TextTableCell: the rotation of the contents within the cell. """ ... - + def SetTextBlock(self: MSPyDgnPlatform.TextTableCell, textBlock: MSPyDgnPlatform.TextBlock, needResize: bool = True) -> None: """ Specify text to be displayed in this cell. It can be useful to call @@ -133313,23 +141012,32 @@ class TextTableCell: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextTableCellCollection: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextTableColumn: """ None @@ -133427,13 +141135,16 @@ class TextTableColumn: def WidthLock(arg0: MSPyDgnPlatform.TextTableColumn) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class TextTableHandler: + def __init__(self, *args, **kwargs): + ... + +class TextTableHandler(MSPyDgnPlatform.ExtendedElementHandler, MSPyDgnPlatform.ITextEdit): """ None """ @@ -133483,12 +141194,15 @@ class TextTableHandler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def ExtractTextTable(self: MSPyDgnPlatform.TextTableHandler, eh: MSPyDgnPlatform.ElementHandle) -> MSPyDgnPlatform.TextTable: """ Creates a TextTable object representing the table stored on the input @@ -133551,9 +141265,11 @@ class TextTableHandler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... + @staticmethod def InitializeElement(eeh: MSPyDgnPlatform.EditElementHandle, eh: MSPyDgnPlatform.ElementHandle, modelRef: MSPyDgnPlatform.DgnModelRef, is3d: bool, isComplexHeader: bool = 0) -> None: ... @@ -133600,7 +141316,13 @@ class TextTableHandler: eReplaceStatus_Delete """ - def __init__(self: MSPyDgnPlatform.ITextEdit.ReplaceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplaceStatus_Delete: ReplaceStatus @@ -133632,6 +141354,7 @@ class TextTableHandler: """ ... + @staticmethod def ValidatePresentation(*args, **kwargs): """ Overloaded function. @@ -133666,12 +141389,15 @@ class TextTableHandler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eReplaceStatus_Delete: ReplaceStatus eReplaceStatus_Error: ReplaceStatus @@ -133697,7 +141423,13 @@ class TextTableRegion: eFooterColumn """ - def __init__(self: MSPyDgnPlatform.TextTableRegion, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBody: TextTableRegion @@ -133818,23 +141550,29 @@ class TextTableRow: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Text_2d: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Text_2d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -133931,12 +141669,15 @@ class Text_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def dhdr(self: MSPyDgnPlatform.Text_3d) -> MSPyDgnPlatform.Disp_hdr: ... @@ -134033,12 +141774,15 @@ class Text_node_2d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def componentCount(self: MSPyDgnPlatform.Text_node_2d) -> int: ... @@ -134128,12 +141872,15 @@ class Text_node_3d: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def componentCount(self: MSPyDgnPlatform.Text_node_3d) -> int: ... @@ -134422,7 +142169,13 @@ class TextureFunctionInfo: """ ... - def __init__(self: MSPyDgnPlatform.TextureFunctionInfo) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TextureFunctionResults: @@ -134491,7 +142244,13 @@ class TextureFunctionResults: def TextureRange(arg0: MSPyDgnPlatform.TextureFunctionResults, arg1: MSPyBentleyGeom.DRange2d) -> None: ... - def __init__(self: MSPyDgnPlatform.TextureFunctionResults) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TextureImage: @@ -134543,12 +142302,15 @@ class TextureImage: def ImageSize(arg0: MSPyDgnPlatform.TextureImage) -> MSPyBentleyGeom.Point2d: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TextureReplicator: """ None @@ -134804,7 +142566,13 @@ class TextureReplicator: def SurfaceParticleGenerator(arg0: MSPyDgnPlatform.TextureReplicator) -> MSPyDgnPlatform.SurfaceParticleGenerator: ... - def __init__(self: MSPyDgnPlatform.TextureReplicator) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ToneMappingMode: @@ -134824,7 +142592,13 @@ class ToneMappingMode: eNaturalFilmResponse """ - def __init__(self: MSPyDgnPlatform.ToneMappingMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDrago03: ToneMappingMode @@ -134852,6 +142626,7 @@ class TransformClipStack: None """ + @staticmethod def ClassifyPoints(*args, **kwargs): """ Overloaded function. @@ -134868,6 +142643,7 @@ class TransformClipStack: """ ... + @staticmethod def ClassifyRange(*args, **kwargs): """ Overloaded function. @@ -134932,6 +142708,7 @@ class TransformClipStack: """ ... + @staticmethod def GetTransform(*args, **kwargs): """ Overloaded function. @@ -135005,8 +142782,17 @@ class TransformClipStack: """ ... - def PushClipPlanes(self: MSPyDgnPlatform.TransformClipStack, planes: MSPyBentleyGeom.ClipPlaneArray) -> None: + @staticmethod + def PushClipPlanes(*args, **kwargs): """ + Overloaded function. + + 1. PushClipPlanes(self: MSPyDgnPlatform.TransformClipStack, planes: MSPyBentleyGeom.ClipPlaneArray) -> None + + Push clip planes to the top of the stack + + 2. PushClipPlanes(self: MSPyDgnPlatform.TransformClipStack, planes: list) -> None + Push clip planes to the top of the stack """ ... @@ -135056,12 +142842,15 @@ class TransformClipStack: def TransformScale(arg0: MSPyDgnPlatform.TransformClipStack) -> float: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TransformInfo: """ None @@ -135161,6 +142950,13 @@ class TransformInfo: def Transform(arg0: MSPyDgnPlatform.TransformInfo) -> MSPyBentleyGeom.Transform: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -135200,7 +142996,13 @@ class TransformOptionValues: eTRANSFORM_OPTIONS_DisableRotateCharacters """ - def __init__(self: MSPyDgnPlatform.TransformOptionValues, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTRANSFORM_OPTIONS_AnnotationSizeMatchSource: TransformOptionValues @@ -135235,7 +143037,7 @@ class TransformOptionValues: def value(arg0: MSPyDgnPlatform.TransformOptionValues) -> int: ... -class TransparencyOverrideAction: +class TransparencyOverrideAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -135276,7 +143078,13 @@ class TransparencyOverrideAction: def Transparency(arg0: MSPyDgnPlatform.TransparencyOverrideAction, arg1: float) -> None: ... - def __init__(self: MSPyDgnPlatform.TransparencyOverrideAction, transparency: float) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TransparentColorType: @@ -135288,7 +143096,13 @@ class TransparentColorType: eTransparentColorType_CubeDef """ - def __init__(self: MSPyDgnPlatform.TransparentColorType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTransparentColorType_Colordef: TransparentColorType @@ -135314,7 +143128,13 @@ class TstPathStatus: eTESTPATH_TestAborted """ - def __init__(self: MSPyDgnPlatform.TstPathStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTESTPATH_IsOnPath: TstPathStatus @@ -135331,7 +143151,7 @@ class TstPathStatus: def value(arg0: MSPyDgnPlatform.TstPathStatus) -> int: ... -class TxnElementAddOptions: +class TxnElementAddOptions(MSPyDgnPlatform.TxnElementWriteOptions): """ None """ @@ -135374,7 +143194,13 @@ class TxnElementAddOptions: """ ... - def __init__(self: MSPyDgnPlatform.TxnElementAddOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TxnElementWriteOptions: @@ -135420,7 +143246,13 @@ class TxnElementWriteOptions: """ ... - def __init__(self: MSPyDgnPlatform.TxnElementWriteOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TxnMonitor: @@ -135428,7 +143260,13 @@ class TxnMonitor: None """ - def __init__(self: MSPyDgnPlatform.TxnMonitor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TxnPos: @@ -135436,12 +143274,15 @@ class TxnPos: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def pos(self: MSPyDgnPlatform.TxnPos) -> int: ... @@ -135449,12 +143290,18 @@ class TxnPos: def pos(self: MSPyDgnPlatform.TxnPos, arg0: int) -> None: ... -class TxnXAttributeAddOptions: +class TxnXAttributeAddOptions(MSPyDgnPlatform.TxnXAttributeWriteOptions): """ None """ - def __init__(self: MSPyDgnPlatform.TxnXAttributeAddOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class TxnXAttributeWriteOptions: @@ -135462,10 +143309,16 @@ class TxnXAttributeWriteOptions: None """ - def __init__(self: MSPyDgnPlatform.TxnXAttributeWriteOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class Type2Handler: +class Type2Handler(MSPyDgnPlatform.ComplexHeaderDisplayHandler, MSPyDgnPlatform.ITransactionHandler): """ None """ @@ -135476,9 +143329,11 @@ class Type2Handler: def CalcElementRange(self: MSPyDgnPlatform.DisplayHandler, eh: MSPyDgnPlatform.ElementHandle, range: MSPyBentleyGeom.DRange3d, transform: MSPyBentleyGeom.Transform) -> BentleyStatus: ... + @staticmethod def CallOnAdded(eh: MSPyDgnPlatform.ElementHandle) -> None: ... + @staticmethod def CallOnAddedComplete(eh: MSPyDgnPlatform.ElementHandle) -> None: ... @@ -135502,12 +143357,15 @@ class Type2Handler: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def FenceClip(self: MSPyDgnPlatform.Handler, inside: MSPyDgnPlatform.ElementAgenda, outside: MSPyDgnPlatform.ElementAgenda, eh: MSPyDgnPlatform.ElementHandle, fp: MSPyDgnPlatform.FenceParams, options: MSPyDgnPlatform.FenceClipFlags) -> int: ... @@ -135551,6 +143409,7 @@ class Type2Handler: def GetTypeName(self: MSPyDgnPlatform.Handler, string: MSPyBentley.WString, desiredLength: int) -> None: ... + @staticmethod def InitializeBasis(eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform, range: MSPyBentleyGeom.DRange3d) -> None: ... @@ -135574,12 +143433,15 @@ class Type2Handler: def SetBasisTransform(self: MSPyDgnPlatform.DisplayHandler, eeh: MSPyDgnPlatform.EditElementHandle, transform: MSPyBentleyGeom.Transform) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Unit: """ None @@ -135613,12 +143475,15 @@ class Unit: def GetSystem(self: MSPyDgnPlatform.Unit) -> MSPyDgnPlatform.GeoUnitSystem: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class UnitBase: """ Members: @@ -135630,7 +143495,13 @@ class UnitBase: eDegree """ - def __init__(self: MSPyDgnPlatform.UnitBase, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDegree: UnitBase @@ -135664,7 +143535,7 @@ class UnitDefinition: ... @staticmethod - def BuildUnitListForUI(includeUnit: MSPyDgnPlatform.UnitDefinition, compareUnit: MSPyDgnPlatform.UnitDefinition, base: MSPyDgnPlatform.UnitBase, restrictSize: bool, restrictSystem: bool, useSinglarNames: bool) -> List[MSPyDgnPlatform.UnitListItem]: + def BuildUnitListForUI(includeUnit: MSPyDgnPlatform.UnitDefinition, compareUnit: MSPyDgnPlatform.UnitDefinition, base: MSPyDgnPlatform.UnitBase, restrictSize: bool, restrictSystem: bool, useSinglarNames: bool) -> list[MSPyDgnPlatform.UnitListItem]: """ Build a list of UnitDefinitions that can be used in unit pickers in the user interface. The list contains those units defined in the @@ -135755,10 +143626,8 @@ class UnitDefinition: """ ... - def GetConversionFactorFrom(*args, **kwargs): + def GetConversionFactorFrom(self: MSPyDgnPlatform.UnitDefinition, from_: MSPyDgnPlatform.UnitDefinition) -> tuple: """ - GetConversionFactorFrom(self: MSPyDgnPlatform.UnitDefinition, from: MSPyDgnPlatform.UnitDefinition) -> tuple - Compute the scale factor used to convert distance from the input unit to this unit. The factor is defined by the equation:distInA = distInB * factorFromBtoA. The method #ConvertDistanceFrom is preferable since @@ -135912,6 +143781,13 @@ class UnitDefinition: def System(arg0: MSPyDgnPlatform.UnitDefinition) -> MSPyDgnPlatform.UnitSystem: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -135951,7 +143827,13 @@ class UnitEnumerator: """ ... - def __init__(self: MSPyDgnPlatform.UnitEnumerator) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class UnitFlags: @@ -135959,12 +143841,15 @@ class UnitFlags: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def base(arg0: MSPyDgnPlatform.UnitFlags) -> int: ... @@ -135991,7 +143876,13 @@ class UnitInfo: None """ - def __init__(self: MSPyDgnPlatform.UnitInfo) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -136100,7 +143991,13 @@ class UnitIteratorOptions: eAllowLargerOrEqual """ - def __init__(self: MSPyDgnPlatform.UnitIteratorOptions.UnitCompareMethod, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAllowLarger: UnitCompareMethod @@ -136119,7 +144016,13 @@ class UnitIteratorOptions: def value(arg0: MSPyDgnPlatform.UnitIteratorOptions.UnitCompareMethod) -> int: ... - def __init__(self: MSPyDgnPlatform.UnitIteratorOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAllowLarger: UnitCompareMethod @@ -136135,12 +144038,15 @@ class UnitListItem: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def name(self: MSPyDgnPlatform.UnitListItem) -> MSPyBentley.WString: ... @@ -136160,6 +144066,16 @@ class UnitListItemArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -136186,6 +144102,7 @@ class UnitListItemArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -136206,6 +144123,7 @@ class UnitListItemArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -136233,7 +144151,13 @@ class UnitSystem: eUSSurvey """ - def __init__(self: MSPyDgnPlatform.UnitSystem, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEnglish: UnitSystem @@ -136293,6 +144217,13 @@ class UnitSystemMask: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -136332,7 +144263,13 @@ class UpdateAbortReason: eUPDATE_ABORT_ModifierKey """ - def __init__(self: MSPyDgnPlatform.UpdateAbortReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUPDATE_ABORT_BadView: UpdateAbortReason @@ -136382,7 +144319,13 @@ class UpdateParametricCellDefStatus: eError """ - def __init__(self: MSPyDgnPlatform.UpdateParametricCellDefStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCellNotFound: UpdateParametricCellDefStatus @@ -136408,6 +144351,9 @@ class UserUnitCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... class Entry: """ None @@ -136430,13 +144376,22 @@ class UserUnitCollection: def UnitDef(arg0: MSPyDgnPlatform.UserUnitCollection.Entry) -> MSPyDgnPlatform.UnitDefinition: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... - def __init__(self: MSPyDgnPlatform.UserUnitCollection, options: MSPyDgnPlatform.UnitIteratorOptions) -> None: + def __init__(self, *args, **kwargs): + ... + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... VIEWTYPE_Basic: str @@ -136468,7 +144423,13 @@ class VertDatumCode: evdcLocalEllipsoid """ - def __init__(self: MSPyDgnPlatform.VertDatumCode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... evdcEllipsoid: VertDatumCode @@ -136504,7 +144465,13 @@ class VideoFileFormat: eVIDEOFILE_WMV """ - def __init__(self: MSPyDgnPlatform.VideoFileFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eVIDEOFILE_AVI: VideoFileFormat @@ -136528,6 +144495,13 @@ class ViewBoundarySynchOptions: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -136567,7 +144541,13 @@ class ViewCategory: eSheet """ - def __init__(self: MSPyDgnPlatform.ViewCategory, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDefault: ViewCategory @@ -136613,7 +144593,13 @@ class ViewChangeType: eAll """ - def __init__(self: MSPyDgnPlatform.ViewChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eACS: ViewChangeType @@ -136828,8 +144814,36 @@ class ViewContext: """ ... - def DrawStyledLineString2d(self: MSPyDgnPlatform.ViewContext, pts: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d, closed: bool = False) -> None: + @staticmethod + def DrawStyledLineString2d(*args, **kwargs): """ + Overloaded function. + + 1. DrawStyledLineString2d(self: MSPyDgnPlatform.ViewContext, pts: MSPyBentleyGeom.DPoint2dArray, zDepth: float, range: MSPyBentleyGeom.DPoint2d, closed: bool = False) -> None + + Draw a 2D linestring using the current Linestyle, if any. If there is + no current Linestyle, draw a solid linestring. + + :param nPts: + Number of vertices in ``pts.`` + + :param pts: + Array of points in linestring. + + :param zDepth: + Display priority for all vertices. + + :param range: + Array of 2 points with the range (min followed by max) of the + vertices in ``points.`` This argument is optional and is only used + to speed processing. If you do not already have the range of your + points, pass NULL. + + :param closed: + Do point represent a shape or linestring. + + 2. DrawStyledLineString2d(self: MSPyDgnPlatform.ViewContext, pts: list, zDepth: float, range: MSPyBentleyGeom.DPoint2d, closed: bool = False) -> None + Draw a 2D linestring using the current Linestyle, if any. If there is no current Linestyle, draw a solid linestring. @@ -136853,6 +144867,7 @@ class ViewContext: """ ... + @staticmethod def DrawStyledLineString3d(*args, **kwargs): """ Overloaded function. @@ -136917,6 +144932,7 @@ class ViewContext: def ElemMatSymb(arg0: MSPyDgnPlatform.ViewContext) -> MSPyDgnPlatform.ElemMatSymb: ... + @staticmethod def FrustumToLocal(*args, **kwargs): """ Overloaded function. @@ -136936,7 +144952,37 @@ class ViewContext: :param nPts: Number of points in both arrays. - 2. FrustumToLocal(self: MSPyDgnPlatform.ViewContext, localPts: list, frustumPts: list) -> None + 2. FrustumToLocal(self: MSPyDgnPlatform.ViewContext, localPts: MSPyBentleyGeom.DPoint3dArray, frustumPts: list) -> None + + Transfrom an array of points in DgnCoordSystem.Frustum into the + current local coordinate system. + + :param localPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param frustumPts: + Input array in DgnCoordSystem.Frustum. + + :param nPts: + Number of points in both arrays. + + 3. FrustumToLocal(self: MSPyDgnPlatform.ViewContext, localPts: list, frustumPts: MSPyBentleyGeom.DPoint3dArray) -> None + + Transfrom an array of points in DgnCoordSystem.Frustum into the + current local coordinate system. + + :param localPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param frustumPts: + Input array in DgnCoordSystem.Frustum. + + :param nPts: + Number of points in both arrays. + + 4. FrustumToLocal(self: MSPyDgnPlatform.ViewContext, localPts: list, frustumPts: list) -> None Transfrom an array of points in DgnCoordSystem.Frustum into the current local coordinate system. @@ -136953,6 +144999,7 @@ class ViewContext: """ ... + @staticmethod def FrustumToView(*args, **kwargs): """ Overloaded function. @@ -136987,7 +145034,7 @@ class ViewContext: :param nPts: Number of points in both arrays. - 3. FrustumToView(self: MSPyDgnPlatform.ViewContext, viewPts: MSPyBentleyGeom.Point2dArray, frustumPts: MSPyBentleyGeom.DPoint3dArray) -> None + 3. FrustumToView(self: MSPyDgnPlatform.ViewContext, viewPts: list, frustumPts: MSPyBentleyGeom.DPoint3dArray) -> None Transfrom an array of points in DgnCoordSystem.Frustum into DgnCoordSystem.View. @@ -137002,7 +145049,37 @@ class ViewContext: :param nPts: Number of points in both arrays. - 4. FrustumToView(self: MSPyDgnPlatform.ViewContext, viewPts: MSPyBentleyGeom.Point2dArray, frustumPts: list) -> None + 4. FrustumToView(self: MSPyDgnPlatform.ViewContext, viewPts: list, frustumPts: list) -> None + + Transfrom an array of points in DgnCoordSystem.Frustum into + DgnCoordSystem.View. + + :param viewPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param frustumPts: + Input array in DgnCoordSystem.Frustum. + + :param nPts: + Number of points in both arrays. + + 5. FrustumToView(self: MSPyDgnPlatform.ViewContext, viewPts: MSPyBentleyGeom.Point2dArray, frustumPts: MSPyBentleyGeom.DPoint3dArray) -> None + + Transfrom an array of points in DgnCoordSystem.Frustum into + DgnCoordSystem.View. + + :param viewPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param frustumPts: + Input array in DgnCoordSystem.Frustum. + + :param nPts: + Number of points in both arrays. + + 6. FrustumToView(self: MSPyDgnPlatform.ViewContext, viewPts: MSPyBentleyGeom.Point2dArray, frustumPts: list) -> None Transfrom an array of points in DgnCoordSystem.Frustum into DgnCoordSystem.View. @@ -137330,6 +145407,7 @@ class ViewContext: def LevelClassMask(arg0: MSPyDgnPlatform.ViewContext) -> MSPyDgnPlatform.LevelClassMask: ... + @staticmethod def LocalToFrustum(*args, **kwargs): """ Overloaded function. @@ -137361,11 +145439,42 @@ class ViewContext: :param localPts: Input array in current local coordinates, + :param nPts: + Number of points in both arrays. + + 3. LocalToFrustum(self: MSPyDgnPlatform.ViewContext, frustumPts: MSPyBentleyGeom.DPoint3dArray, localPts: list) -> None + + Transfrom an array of points in the current local coordinate system + into DgnCoordSystem.Frustum coordinates. + + :param frustumPts: + An array to receive the points in DgnCoordSystem.Frustum. Must be + dimensioned to hold ``nPts`` points. + + :param localPts: + Input array in current local coordinates, + + :param nPts: + Number of points in both arrays. + + 4. LocalToFrustum(self: MSPyDgnPlatform.ViewContext, frustumPts: list, localPts: MSPyBentleyGeom.DPoint3dArray) -> None + + Transfrom an array of points in the current local coordinate system + into DgnCoordSystem.Frustum coordinates. + + :param frustumPts: + An array to receive the points in DgnCoordSystem.Frustum. Must be + dimensioned to hold ``nPts`` points. + + :param localPts: + Input array in current local coordinates, + :param nPts: Number of points in both arrays. """ ... + @staticmethod def LocalToView(*args, **kwargs): """ Overloaded function. @@ -137400,7 +145509,7 @@ class ViewContext: :param nPts: Number of points in both arrays. - 3. LocalToView(self: MSPyDgnPlatform.ViewContext, viewPts: MSPyBentleyGeom.DPoint3dArray, localPts: MSPyBentleyGeom.DPoint3dArray) -> None + 3. LocalToView(self: MSPyDgnPlatform.ViewContext, viewPts: list, localPts: MSPyBentleyGeom.DPoint3dArray) -> None Transfrom an array of points in the current local coordinate system into DgnCoordSystem.View coordinates. @@ -137427,11 +145536,72 @@ class ViewContext: :param localPts: Input array in current local coordinates, + :param nPts: + Number of points in both arrays. + + 5. LocalToView(self: MSPyDgnPlatform.ViewContext, viewPts: MSPyBentleyGeom.DPoint3dArray, localPts: MSPyBentleyGeom.DPoint3dArray) -> None + + Transfrom an array of points in the current local coordinate system + into DgnCoordSystem.View coordinates. + + :param viewPts: + An array to receive the points in DgnCoordSystem.View. Must be + dimensioned to hold ``nPts`` points. + + :param localPts: + Input array in current local coordinates, + + :param nPts: + Number of points in both arrays. + + 6. LocalToView(self: MSPyDgnPlatform.ViewContext, viewPts: MSPyBentleyGeom.DPoint3dArray, localPts: list) -> None + + Transfrom an array of points in the current local coordinate system + into DgnCoordSystem.View coordinates. + + :param viewPts: + An array to receive the points in DgnCoordSystem.View. Must be + dimensioned to hold ``nPts`` points. + + :param localPts: + Input array in current local coordinates, + + :param nPts: + Number of points in both arrays. + + 7. LocalToView(self: MSPyDgnPlatform.ViewContext, viewPts: list, localPts: MSPyBentleyGeom.DPoint3dArray) -> None + + Transfrom an array of points in the current local coordinate system + into DgnCoordSystem.View coordinates. + + :param viewPts: + An array to receive the points in DgnCoordSystem.View. Must be + dimensioned to hold ``nPts`` points. + + :param localPts: + Input array in current local coordinates, + + :param nPts: + Number of points in both arrays. + + 8. LocalToView(self: MSPyDgnPlatform.ViewContext, viewPts: list, localPts: list) -> None + + Transfrom an array of points in the current local coordinate system + into DgnCoordSystem.View coordinates. + + :param viewPts: + An array to receive the points in DgnCoordSystem.View. Must be + dimensioned to hold ``nPts`` points. + + :param localPts: + Input array in current local coordinates, + :param nPts: Number of points in both arrays. """ ... + @staticmethod def NpcToView(*args, **kwargs): """ Overloaded function. @@ -137451,7 +145621,37 @@ class ViewContext: :param nPts: Number of points in both arrays. - 2. NpcToView(self: MSPyDgnPlatform.ViewContext, viewPts: list, npcPts: list) -> None + 2. NpcToView(self: MSPyDgnPlatform.ViewContext, viewPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + Transfrom an array of points in DgnCoordSystem.Npc into + DgnCoordSystem.View. + + :param viewPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param npcPts: + Input array in DgnCoordSystem.Npc. + + :param nPts: + Number of points in both arrays. + + 3. NpcToView(self: MSPyDgnPlatform.ViewContext, viewPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + Transfrom an array of points in DgnCoordSystem.Npc into + DgnCoordSystem.View. + + :param viewPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param npcPts: + Input array in DgnCoordSystem.Npc. + + :param nPts: + Number of points in both arrays. + + 4. NpcToView(self: MSPyDgnPlatform.ViewContext, viewPts: list, npcPts: list) -> None Transfrom an array of points in DgnCoordSystem.Npc into DgnCoordSystem.View. @@ -137514,7 +145714,7 @@ class ViewContext: new local coordinate system and clip region. :param clipPlanes: - Clipping planes to push. The clip region is the union of all + Clipping planes to push. The clip region is the of all convex sets in the set. See also: @@ -137548,6 +145748,7 @@ class ViewContext: """ ... + @staticmethod def SetIndexedFillColor(*args, **kwargs): """ Overloaded function. @@ -137578,6 +145779,7 @@ class ViewContext: """ ... + @staticmethod def SetIndexedLineColor(*args, **kwargs): """ Overloaded function. @@ -137606,6 +145808,7 @@ class ViewContext: """ ... + @staticmethod def SetIndexedLinePattern(*args, **kwargs): """ Overloaded function. @@ -137634,6 +145837,7 @@ class ViewContext: """ ... + @staticmethod def SetIndexedLineWidth(*args, **kwargs): """ Overloaded function. @@ -137697,6 +145901,7 @@ class ViewContext: def ViewFlags(arg0: MSPyDgnPlatform.ViewContext, arg1: MSPyDgnPlatform.ViewFlags) -> None: ... + @staticmethod def ViewToFrustum(*args, **kwargs): """ Overloaded function. @@ -137731,7 +145936,22 @@ class ViewContext: :param nPts: Number of points in both arrays. - 3. ViewToFrustum(self: MSPyDgnPlatform.ViewContext, frustumPts: MSPyBentleyGeom.DPoint3dArray, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + 3. ViewToFrustum(self: MSPyDgnPlatform.ViewContext, frustumPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + Transfrom an array of points in DgnCoordSystem.View into + DgnCoordSystem.Frustum. + + :param frustumPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param viewPts: + Input array in DgnCoordSystem.View. + + :param nPts: + Number of points in both arrays. + + 4. ViewToFrustum(self: MSPyDgnPlatform.ViewContext, frustumPts: MSPyBentleyGeom.DPoint3dArray, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None Transfrom an array of points in DgnCoordSystem.View into DgnCoordSystem.Frustum. @@ -137746,7 +145966,7 @@ class ViewContext: :param nPts: Number of points in both arrays. - 4. ViewToFrustum(self: MSPyDgnPlatform.ViewContext, frustumPts: list, viewPts: list) -> None + 5. ViewToFrustum(self: MSPyDgnPlatform.ViewContext, frustumPts: list, viewPts: list) -> None Transfrom an array of points in DgnCoordSystem.View into DgnCoordSystem.Frustum. @@ -137763,6 +145983,7 @@ class ViewContext: """ ... + @staticmethod def ViewToLocal(*args, **kwargs): """ Overloaded function. @@ -137797,7 +146018,22 @@ class ViewContext: :param nPts: Number of points in both arrays. - 3. ViewToLocal(self: MSPyDgnPlatform.ViewContext, localPts: MSPyBentleyGeom.DPoint3dArray, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + 3. ViewToLocal(self: MSPyDgnPlatform.ViewContext, localPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + Transfrom an array of points in DgnCoordSystem.View into the current + local coordinate system. + + :param localPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param viewPts: + Input array in DgnCoordSystem.View. + + :param nPts: + Number of points in both arrays. + + 4. ViewToLocal(self: MSPyDgnPlatform.ViewContext, localPts: MSPyBentleyGeom.DPoint3dArray, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None Transfrom an array of points in DgnCoordSystem.View into the current local coordinate system. @@ -137812,7 +146048,7 @@ class ViewContext: :param nPts: Number of points in both arrays. - 4. ViewToLocal(self: MSPyDgnPlatform.ViewContext, localPts: list, viewPts: list) -> None + 5. ViewToLocal(self: MSPyDgnPlatform.ViewContext, localPts: list, viewPts: list) -> None Transfrom an array of points in DgnCoordSystem.View into the current local coordinate system. @@ -137829,6 +146065,7 @@ class ViewContext: """ ... + @staticmethod def ViewToNpc(*args, **kwargs): """ Overloaded function. @@ -137860,6 +146097,36 @@ class ViewContext: :param viewPts: Input array in DgnCoordSystem.View. + :param nPts: + Number of points in both arrays. + + 3. ViewToNpc(self: MSPyDgnPlatform.ViewContext, npcPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + Transfrom an array of points in DgnCoordSystem.View into + DgnCoordSystem.Npc. + + :param npcPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param viewPts: + Input array in DgnCoordSystem.View. + + :param nPts: + Number of points in both arrays. + + 4. ViewToNpc(self: MSPyDgnPlatform.ViewContext, npcPts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + Transfrom an array of points in DgnCoordSystem.View into + DgnCoordSystem.Npc. + + :param npcPts: + An array to receive the transformed points. Must be dimensioned to + hold ``nPts`` points. + + :param viewPts: + Input array in DgnCoordSystem.View. + :param nPts: Number of points in both arrays. """ @@ -137872,12 +146139,15 @@ class ViewContext: def VisitElemHandle(self: MSPyDgnPlatform.ViewContext, eh: MSPyDgnPlatform.ElementHandle, checkRange: bool, checkScanCriteria: bool) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ViewDisplayOverrides: """ None @@ -137972,7 +146242,13 @@ class ViewDisplayOverrides: None """ - def __init__(self: MSPyDgnPlatform.ViewDisplayOverrides.OverrideFlags) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -138090,7 +146366,13 @@ class ViewDisplayOverrides: """ ... - def __init__(self: MSPyDgnPlatform.ViewDisplayOverrides) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -138190,12 +146472,15 @@ class ViewFlags: def SetRenderMode(self: MSPyDgnPlatform.ViewFlags, value: MSPyDgnPlatform.MSRenderMode) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def associativeClip(arg0: MSPyDgnPlatform.ViewFlags) -> int: ... @@ -138631,7 +146916,13 @@ class ViewFrustumError: eVIEW_FRUSTERR_MaxDisplayDepth """ - def __init__(self: MSPyDgnPlatform.ViewFrustumError, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eVIEW_FRUSTERR_InvalidWindow: ViewFrustumError @@ -138729,12 +147020,15 @@ class ViewGeomInfo: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def activez(self: MSPyDgnPlatform.ViewGeomInfo) -> float: ... @@ -138788,7 +147082,13 @@ class ViewGraphicsType: eVisibleEdges """ - def __init__(self: MSPyDgnPlatform.ViewGraphicsType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eElements: ViewGraphicsType @@ -139156,7 +147456,7 @@ class ViewGroup: def GetViewInfo(self: MSPyDgnPlatform.ViewGroup, viewNumber: int) -> MSPyDgnPlatform.ViewInfo: """ - Gets a const reference to the ViewInfo for the indicated view. + Gets a reference to the ViewInfo for the indicated view. :param viewNumber: The view for which the ViewInfo is requested @@ -139165,7 +147465,7 @@ class ViewGroup: def GetViewPortInfo(self: MSPyDgnPlatform.ViewGroup, viewNumber: int) -> MSPyDgnPlatform.ViewPortInfo: """ - Gets a const reference to the ViewPortInfo for the indicated view. + Gets a reference to the ViewPortInfo for the indicated view. :param viewNumber: The view for which the ViewPortInfo is requested @@ -139418,17 +147718,23 @@ class ViewGroup: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ViewGroupCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def ActiveViewGroup(arg0: MSPyDgnPlatform.ViewGroupCollection) -> MSPyDgnPlatform.ViewGroup: ... @@ -139643,12 +147949,15 @@ class ViewGroupCollection: def Size(arg0: MSPyDgnPlatform.ViewGroupCollection) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ViewGroupCopyOptions: """ None @@ -139695,7 +148004,13 @@ class ViewGroupCopyOptions: """ ... - def __init__(self: MSPyDgnPlatform.ViewGroupCopyOptions) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ViewGroupCopyTypeOption: @@ -139709,7 +148024,13 @@ class ViewGroupCopyTypeOption: eMakePermanent """ - def __init__(self: MSPyDgnPlatform.ViewGroupCopyTypeOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMakePermanent: ViewGroupCopyTypeOption @@ -139767,7 +148088,13 @@ class ViewGroupStatus: eVG_OpenViewNotFound """ - def __init__(self: MSPyDgnPlatform.ViewGroupStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eVG_ActivateRejected: ViewGroupStatus @@ -139935,7 +148262,7 @@ class ViewInfo: def GetCamera(self: MSPyDgnPlatform.ViewInfo) -> MSPyDgnPlatform.CameraInfo: """ - Gets a const reference to the CameraInfo. + Gets a reference to the CameraInfo. """ ... @@ -139963,7 +148290,7 @@ class ViewInfo: def GetDynamicViewSettings(self: MSPyDgnPlatform.ViewInfo) -> MSPyDgnPlatform.DynamicViewSettings: """ - Gets a const reference to the DynamicViewSettings that apply to this + Gets a reference to the DynamicViewSettings that apply to this ViewInfo. """ ... @@ -140020,7 +148347,7 @@ class ViewInfo: def GetGeomInfo(self: MSPyDgnPlatform.ViewInfo) -> MSPyDgnPlatform.ViewGeomInfo: """ - Gets a const reference to the ViewGeomInfo. + Gets a reference to the ViewGeomInfo. """ ... @@ -140143,7 +148470,7 @@ class ViewInfo: def GetViewFlags(self: MSPyDgnPlatform.ViewInfo) -> MSPyDgnPlatform.ViewFlags: """ - Gets a const reference to the ViewFlags. + Gets a reference to the ViewFlags. """ ... @@ -140158,6 +148485,7 @@ class ViewInfo: """ ... + @staticmethod def Init(*args, **kwargs): """ Overloaded function. @@ -140237,7 +148565,13 @@ class ViewInfo: eLEVELMASKCLONE_Transfer """ - def __init__(self: MSPyDgnPlatform.ViewInfo.LevelMaskCloneOpts, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLEVELMASKCLONE_Copy: LevelMaskCloneOpts @@ -140394,6 +148728,7 @@ class ViewInfo: """ ... + @staticmethod def SetRootModel(*args, **kwargs): """ Overloaded function. @@ -140457,12 +148792,15 @@ class ViewInfo: def ViewNumber(arg0: MSPyDgnPlatform.ViewInfo) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eLEVELMASKCLONE_Copy: LevelMaskCloneOpts eLEVELMASKCLONE_CopyIfDifferent: LevelMaskCloneOpts @@ -140482,7 +148820,13 @@ class ViewInfoStatus: eVI_CameraNotInUse """ - def __init__(self: MSPyDgnPlatform.ViewInfoStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eVI_BadModelRef: ViewInfoStatus @@ -140508,7 +148852,13 @@ class ViewLevelDisplayType: eEffective """ - def __init__(self: MSPyDgnPlatform.ViewLevelDisplayType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEffective: ViewLevelDisplayType @@ -140603,6 +148953,13 @@ class ViewPortInfo: def ScreenNumber(arg0: MSPyDgnPlatform.ViewPortInfo) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -140618,6 +148975,7 @@ class Viewport: None """ + @staticmethod def ActiveToRoot(*args, **kwargs): """ Overloaded function. @@ -140626,9 +148984,13 @@ class Viewport: 2. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, activePts: list) -> None - 3. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + 3. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, activePts: list) -> None + + 4. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, activePts: MSPyBentleyGeom.DPoint3dArray) -> None - 4. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootRMatrix: MSPyBentleyGeom.RotMatrix, activeRMatrix: MSPyBentleyGeom.RotMatrix) -> None + 5. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + + 6. ActiveToRoot(self: MSPyDgnPlatform.Viewport, rootRMatrix: MSPyBentleyGeom.RotMatrix, activeRMatrix: MSPyBentleyGeom.RotMatrix) -> None """ ... @@ -140636,6 +148998,7 @@ class Viewport: def ActiveToRootMap(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DMap4d: ... + @staticmethod def ActiveToView(*args, **kwargs): """ Overloaded function. @@ -140644,7 +149007,11 @@ class Viewport: 2. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: list, activePts: list) -> None - 3. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None + 3. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, activePts: list) -> None + + 4. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPts: list, activePts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ActiveToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, activePt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -140754,10 +149121,8 @@ class Viewport: def GetIndexedLineWidth(self: MSPyDgnPlatform.Viewport, index: int) -> int: ... - def GetPixelSizeAtPoint(*args, **kwargs): + def GetPixelSizeAtPoint(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, coordSys: MSPyDgnPlatform.DgnCoordSystem = DgnCoordSystem.eRoot) -> float: """ - GetPixelSizeAtPoint(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, coordSys: MSPyDgnPlatform.DgnCoordSystem = ) -> float - Get the size of a single pixel at a given point as a distance along the view-x axis. The size of a pixel will only differ at different points within the same Viewport if the camera is on for this Viewport @@ -140765,7 +149130,7 @@ class Viewport: ones further from the eye.) :param rootPt: - The point in DgnCoordSystem::Root for determining pixel size. If + The point in DgnCoordSystem.Root for determining pixel size. If NULL, use the center of the Viewport. :param coordSys: @@ -140800,6 +149165,7 @@ class Viewport: def GetTargetModel(self: MSPyDgnPlatform.Viewport) -> MSPyDgnPlatform.DgnModelRef: ... + @staticmethod def GetViewBox(*args, **kwargs): """ Overloaded function. @@ -140907,27 +149273,37 @@ class Viewport: def MakeTrgbColor(red: int, green: int, blue: int, transparency: int) -> int: ... + @staticmethod def NpcToRoot(*args, **kwargs): """ Overloaded function. 1. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + 2. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 3. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 3. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 4. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + + 5. NpcToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def NpcToView(*args, **kwargs): """ Overloaded function. 1. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: list) -> None + 2. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 3. NpcToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 3. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 4. NpcToView(self: MSPyDgnPlatform.Viewport, viewPts: list, npcPts: list) -> None + + 5. NpcToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -140938,6 +149314,7 @@ class Viewport: def RootModel(arg0: MSPyDgnPlatform.Viewport) -> MSPyDgnPlatform.DgnModel: ... + @staticmethod def RootToActive(*args, **kwargs): """ Overloaded function. @@ -140946,21 +149323,30 @@ class Viewport: 2. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: list, rootPts: list) -> None - 3. RootToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 3. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None + + 4. RootToActive(self: MSPyDgnPlatform.Viewport, activePts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 4. RootToActive(self: MSPyDgnPlatform.Viewport, activeRMatrix: MSPyBentleyGeom.RotMatrix, rootRMatrix: MSPyBentleyGeom.RotMatrix) -> None + 5. RootToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + + 6. RootToActive(self: MSPyDgnPlatform.Viewport, activeRMatrix: MSPyBentleyGeom.RotMatrix, rootRMatrix: MSPyBentleyGeom.RotMatrix) -> None """ ... + @staticmethod def RootToNpc(*args, **kwargs): """ Overloaded function. 1. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: list) -> None + 2. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None + + 4. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, rootPts: list) -> None - 3. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 5. RootToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -140968,6 +149354,7 @@ class Viewport: def RootToNpcMap(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DMap4d: ... + @staticmethod def RootToView(*args, **kwargs): """ Overloaded function. @@ -140976,25 +149363,38 @@ class Viewport: 2. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint4dArray, rootPts: list) -> None - 3. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint4d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 3. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 4. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + + 5. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint4d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + + 6. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 4. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + 7. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, rootPts: list) -> None - 5. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + 8. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 6. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 9. RootToView(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None + + 10. RootToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def RootToView2d(*args, **kwargs): """ Overloaded function. 1. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: list) -> None + 2. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: list, rootPts: list) -> None - 3. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint2d, rootPt: MSPyBentleyGeom.DPoint3d) -> None + 4. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint2dArray, rootPts: list) -> None + + 5. RootToView2d(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint2d, rootPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -141014,6 +149414,7 @@ class Viewport: def ScreenNumber(arg0: MSPyDgnPlatform.Viewport) -> int: ... + @staticmethod def ScreenToView(*args, **kwargs): """ Overloaded function. @@ -141022,7 +149423,11 @@ class Viewport: 2. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: list, screenPts: list) -> None - 3. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, screenPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: MSPyBentleyGeom.DPoint3dArray, screenPts: list) -> None + + 4. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPts: list, screenPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ScreenToView(self: MSPyDgnPlatform.Viewport, viewPt: MSPyBentleyGeom.DPoint3d, screenPt: MSPyBentleyGeom.DPoint3d) -> None """ ... @@ -141031,8 +149436,7 @@ class Viewport: @name Changing Viewport Frustum Scroll the Viewport by a given number of pixels in the view's X and/or Y direction. This method will move the Viewport's frustum in the indicated direction, but does *not* - update the screen (even if the Viewport happens to be a visible View.) - This method does change the ViewInfo associated with the Viewport. + update the screen (even if the Viewport happens to be a visible View.) -> This method does change the ViewInfo associated with the Viewport. :param viewDist: The distance to scroll, in pixels. @note To update the view, see @@ -141062,6 +149466,7 @@ class Viewport: def SetTemporaryClipMaskElementRef(self: MSPyDgnPlatform.Viewport, element: MSPyDgnPlatform.ElementRefBase) -> None: ... + @staticmethod def SetupFromFrustum(*args, **kwargs): """ Overloaded function. @@ -141104,6 +149509,7 @@ class Viewport: def ViewOrigin(arg0: MSPyDgnPlatform.Viewport) -> MSPyBentleyGeom.DPoint3d: ... + @staticmethod def ViewToActive(*args, **kwargs): """ Overloaded function. @@ -141112,22 +149518,32 @@ class Viewport: 2. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: list, viewPts: list) -> None - 3. ViewToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToActive(self: MSPyDgnPlatform.Viewport, activePts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ViewToActive(self: MSPyDgnPlatform.Viewport, activePt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToNpc(*args, **kwargs): """ Overloaded function. 1. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None - 2. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: list) -> None + 2. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 3. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None - 3. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 4. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPts: list, viewPts: list) -> None + + 5. ViewToNpc(self: MSPyDgnPlatform.Viewport, npcPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToRoot(*args, **kwargs): """ Overloaded function. @@ -141136,16 +149552,25 @@ class Viewport: 2. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint4dArray) -> None - 3. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint4d) -> None + 3. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None + + 4. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + + 5. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint4d) -> None - 4. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + 6. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None - 5. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + 7. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: MSPyBentleyGeom.DPoint3dArray, npcPts: list) -> None - 6. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None + 8. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 9. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPts: list, npcPts: list) -> None + + 10. ViewToRoot(self: MSPyDgnPlatform.Viewport, rootPt: MSPyBentleyGeom.DPoint3d, npcPt: MSPyBentleyGeom.DPoint3d) -> None """ ... + @staticmethod def ViewToScreen(*args, **kwargs): """ Overloaded function. @@ -141154,19 +149579,26 @@ class Viewport: 2. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: list, viewPts: list) -> None - 3. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None + 3. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: MSPyBentleyGeom.DPoint3dArray, viewPts: list) -> None + + 4. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPts: list, viewPts: MSPyBentleyGeom.DPoint3dArray) -> None + + 5. ViewToScreen(self: MSPyDgnPlatform.Viewport, screenPt: MSPyBentleyGeom.DPoint3d, viewPt: MSPyBentleyGeom.DPoint3d) -> None """ ... def Zoom(self: MSPyDgnPlatform.Viewport, newCenterPoint: MSPyBentleyGeom.DPoint3d, factor: float, normalizeCamera: bool) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ViewportResizeMode: """ Members: @@ -141182,7 +149614,13 @@ class ViewportResizeMode: eSizeAndPosition """ - def __init__(self: MSPyDgnPlatform.ViewportResizeMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAspectRatio: ViewportResizeMode @@ -141224,7 +149662,13 @@ class ViewportStatus: eViewInfoNotOpen """ - def __init__(self: MSPyDgnPlatform.ViewportStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlreadyAttached: ViewportStatus @@ -141251,7 +149695,7 @@ class ViewportStatus: def value(arg0: MSPyDgnPlatform.ViewportStatus) -> int: ... -class VolumeFormatter: +class VolumeFormatter(MSPyDgnPlatform.AreaOrVolumeFormatterBase): """ None """ @@ -141460,6 +149904,7 @@ class VolumeFormatter: """ ... + @staticmethod def SetStorageUnit(*args, **kwargs): """ Overloaded function. @@ -141539,13 +149984,16 @@ class VolumeFormatter: def UorPerStorageUnit(arg0: MSPyDgnPlatform.AreaOrVolumeFormatterBase, arg1: float) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class VolumeParser: + def __init__(self, *args, **kwargs): + ... + +class VolumeParser(MSPyDgnPlatform.AreaOrVolumeParser): """ None """ @@ -141594,14 +150042,12 @@ class VolumeParser: """ ... - def ToValue(*args, **kwargs): + def ToValue(self: MSPyDgnPlatform.AreaOrVolumeParser, in_: str) -> tuple: """ - ToValue(self: MSPyDgnPlatform.AreaOrVolumeParser, in: str) -> tuple - Parse a string into a distance value in uors. - :param in: + :param in_: input string. Returns (Tuple, 0): @@ -141612,6 +150058,13 @@ class VolumeParser: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -141691,7 +150144,13 @@ class WGS84ConvertCode: eConvertType_MAXVALUE """ - def __init__(self: MSPyDgnPlatform.WGS84ConvertCode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eConvertType_3PARM: WGS84ConvertCode @@ -141760,7 +150219,7 @@ class WGS84ConvertCode: def value(arg0: MSPyDgnPlatform.WGS84ConvertCode) -> int: ... -class WeightOverrideAction: +class WeightOverrideAction(MSPyDgnPlatform.IDisplayRuleAction): """ None """ @@ -141801,10 +150260,16 @@ class WeightOverrideAction: """ ... - def __init__(self: MSPyDgnPlatform.WeightOverrideAction, lineWeight: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class WhiteSpace: +class WhiteSpace(MSPyDgnPlatform.Run): """ None """ @@ -141829,13 +150294,16 @@ class WhiteSpace: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class WordBookmarkLink: + def __init__(self, *args, **kwargs): + ... + +class WordBookmarkLink(MSPyDgnPlatform.DgnLinkComposition): """ None """ @@ -141906,7 +150374,7 @@ class WordBookmarkLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -142035,28 +150503,44 @@ class WordBookmarkLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class WordHeadingInfo: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class WordHeadingInfoPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -142089,6 +150573,7 @@ class WordHeadingInfoPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -142109,6 +150594,7 @@ class WordHeadingInfoPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -142129,7 +150615,7 @@ class WordHeadingInfoPtrArray: """ ... -class WordHeadingLink: +class WordHeadingLink(MSPyDgnPlatform.DgnLinkComposition): """ None """ @@ -142197,7 +150683,7 @@ class WordHeadingLink: """ ... - def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: List[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: + def GetTargetAncestry(self: MSPyDgnPlatform.DgnLink, specList: list[MSPyDgnPlatform.DgnLinkTargetSpec]) -> None: """ Get the target sepecifications for the link and its parent target as well. @@ -142365,12 +150851,15 @@ class WordHeadingLink: def TreeNode(arg0: MSPyDgnPlatform.DgnLink) -> MSPyDgnPlatform.DgnLinkTreeLeaf: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class WordRegionType: """ Members: @@ -142382,7 +150871,13 @@ class WordRegionType: eHeading """ - def __init__(self: MSPyDgnPlatform.WordRegionType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBookmark: WordRegionType @@ -142404,18 +150899,24 @@ class WorkSetCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def FindByFileName(self: MSPyDgnPlatform.WorkSetCollection, workSetFileName: str, stopHere: int) -> MSPyDgnPlatform.DgnWorkSet: ... def FindByName(self: MSPyDgnPlatform.WorkSetCollection, workSetName: str, stopHere: int) -> MSPyDgnPlatform.DgnWorkSet: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class WorkSetCompareFilter: """ None @@ -142425,7 +150926,13 @@ class WorkSetCompareFilter: def Get() -> MSPyDgnPlatform.WorkSetCompareFilter: ... - def __init__(self: MSPyDgnPlatform.WorkSetCompareFilter) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class WorkSetStatus: @@ -142447,7 +150954,13 @@ class WorkSetStatus: eFileIsReadOnly """ - def __init__(self: MSPyDgnPlatform.WorkSetStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eError: WorkSetStatus @@ -142514,7 +151027,13 @@ class XAttributeChange: def Id(arg0: MSPyDgnPlatform.XAttributeChange) -> int: ... - def __init__(self: MSPyDgnPlatform.XAttributeChange) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCHANGETYPE_Delete: ChangeType @@ -142532,7 +151051,10 @@ class XAttributeCollection: None """ - class Entry: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class Entry(MSPyDgnPlatform.XAttributeHandle): """ None """ @@ -142572,6 +151094,7 @@ class XAttributeCollection: def HandlerId(arg0: MSPyDgnPlatform.XAttributeHandle) -> MSPyDgnPlatform.XAttributeHandlerId: ... + @staticmethod def HasAttribute(elRef: MSPyDgnPlatform.ElementRefBase, handlerId: MSPyDgnPlatform.XAttributeHandlerId, id: int) -> bool: """ Convenience method to determine whether an XAttribute exists on a @@ -142598,15 +151121,24 @@ class XAttributeCollection: MATCH_ANY_ID: int - def __init__(self: MSPyDgnPlatform.XAttributeCollection.Entry, elRef: MSPyDgnPlatform.ElementRefBase, searchId: MSPyDgnPlatform.XAttributeHandlerId, id: int = 4294967295) -> None: + class __class__(type): + """ + None + """ ... - def __init__(*args, **kwargs): + def __init__(self, *args, **kwargs): + ... + + class __class__(type): """ - __init__(self: MSPyDgnPlatform.XAttributeCollection, elRef: MSPyDgnPlatform.ElementRefBase, handlerId: MSPyDgnPlatform.XAttributeHandlerId = (Id:0, majorId:0, minorId:0)) -> None + None """ ... + def __init__(self, *args, **kwargs): + ... + class XAttributeHandle: """ None @@ -142674,6 +151206,13 @@ class XAttributeHandle: MATCH_ANY_ID: int + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -142689,6 +151228,16 @@ class XAttributeHandleCPArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -142711,7 +151260,7 @@ class XAttributeHandleCPArray: def resize(self: MSPyDgnPlatform.XAttributeHandleCPArray, newSize: int) -> None: ... -class XAttributeHandlerId: +class XAttributeHandlerId(MSPyDgnPlatform.HandlerId): """ None """ @@ -142752,6 +151301,13 @@ class XAttributeHandlerId: def MinorId(arg0: MSPyDgnPlatform.HandlerId) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -142811,17 +151367,23 @@ class XAttributesHolder: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class XDataNodeCollection: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def GetFirstNodeWithName(self: MSPyDgnPlatform.XDataNodeCollection, name: str) -> MSPyECObjects.XDataTreeNode: ... @@ -142840,6 +151402,13 @@ class XDataNodeCollection: def SortByName(self: MSPyDgnPlatform.XDataNodeCollection) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -142985,12 +151554,15 @@ class XDataTreeManager: UserInterfaceSchemaName: str - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class XDataTreeOwner: """ None @@ -143113,6 +151685,7 @@ class XDataTreeOwner: """ ... + @staticmethod def GetNextAvailableName(*args, **kwargs): """ Overloaded function. @@ -143243,12 +151816,15 @@ class XDataTreeOwner: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class XmlFragment: """ None @@ -143347,6 +151923,13 @@ class XmlFragment: def Text(arg0: MSPyDgnPlatform.XmlFragment, arg1: MSPyBentley.WString) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -143368,6 +151951,9 @@ class XmlFragmentList: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def Append(self: MSPyDgnPlatform.XmlFragmentList, xmlFragment: MSPyDgnPlatform.XmlFragment) -> int: ... @@ -143390,6 +151976,13 @@ class XmlFragmentList: def Remove(self: MSPyDgnPlatform.XmlFragmentList, index: int) -> int: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -143407,6 +152000,16 @@ class XmlFragmentPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -143439,6 +152042,7 @@ class XmlFragmentPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -143459,6 +152063,7 @@ class XmlFragmentPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -143717,6 +152322,12 @@ eAuxCoordSystem: SeedCopyFlags eAzimuth: DirectionMode +eBAD_ELEMENT: ScanCriteriaConstants + +eBAD_FILE: ScanCriteriaConstants + +eBAD_REQUEST: ScanCriteriaConstants + eBGColor: ViewChangeType eBGR: RasterFormat @@ -143877,6 +152488,10 @@ eBSURF_BOUNDARY_ELM: MSElementTypes eBSpline: GPCurveType +eBUFF_FULL: ScanCriteriaConstants + +eBUFF_TOO_SMALL: ScanCriteriaConstants + eBYTEARRAY_LINKAGE_KEY_AlternateFontNameCP: LinkageKeyValues eBYTEARRAY_LINKAGE_KEY_AuxCoordGrid: LinkageKeyValues @@ -146589,6 +155204,8 @@ eELEMREF_CHANGE_REASON_MovedToNewElemRef: ElemRefChangeReason eELLIPSE_ELM: MSElementTypes +eEND_OF_DGN: ScanCriteriaConstants + eERROR: BentleyStatus eETSTATUS_BadArg: ElementTemplateStatus @@ -147751,6 +156368,20 @@ eMOVIE_HorizontalWipe: MovieFrameTransition eMOVIE_VerticalWipe: MovieFrameTransition +eMSSCANCRIT_ITERATE_ELMDSCR: ScanCriteriaConstants + +eMSSCANCRIT_ITERATE_ELMREF: ScanCriteriaConstants + +eMSSCANCRIT_ITERATE_ELMREF_UNORDERED: ScanCriteriaConstants + +eMSSCANCRIT_RETURN_ELEMENTDATA: ScanCriteriaConstants + +eMSSCANCRIT_RETURN_FILEPOS: ScanCriteriaConstants + +eMSSCANCRIT_RETURN_POSANDDATA: ScanCriteriaConstants + +eMSSCANCRIT_RETURN_UNIQUEID: ScanCriteriaConstants + eMS_TAGTYPE_BINARY: TagType eMS_TAGTYPE_CHAR: TagType @@ -148435,6 +157066,8 @@ eRA_NotFound: RegisteredAppStatus eRA_Success: RegisteredAppStatus +eREAD_LIMIT: ScanCriteriaConstants + eREFCOLORTABLE_ALWAYS: RefUseColorTable eREFCOLORTABLE_NEVER: RefUseColorTable @@ -148699,6 +157332,10 @@ eRound: LineCap eRsc: DgnFontType +eSCANALL_ABORT_CURRENT_MODEL: ScanCriteriaConstants + +eSCANALL_ABORT_SCAN: ScanCriteriaConstants + eSHAPE_ELM: MSElementTypes eSHAREDCELL_DEF_ELM: MSElementTypes diff --git a/MSPythonSamples/Intellisense/MSPyDgnView.pyi b/MSPythonSamples/Intellisense/MSPyDgnView.pyi index 959a569..dde49a4 100644 --- a/MSPythonSamples/Intellisense/MSPyDgnView.pyi +++ b/MSPythonSamples/Intellisense/MSPyDgnView.pyi @@ -1,6 +1,10 @@ -from typing import Any, Optional, overload, Type, Sequence, Iterable, Union, Callable +from __future__ import annotations +from typing import Any, Optional, overload, Callable, ClassVar +from collections.abc import Sequence, Iterable, Iterator from enum import Enum -import MSPyDgnView + +# Module self-reference for proper type resolution +import MSPyDgnView as MSPyDgnView class AccuDraw: """ @@ -140,7 +144,13 @@ class AccuDraw: eANGLE_BM """ - def __init__(self: MSPyDgnView.AccuDraw.LockedStates, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eANGLE_BM: LockedStates @@ -184,12 +194,15 @@ class AccuDraw: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eANGLE_BM: LockedStates eDIST_BM: LockedStates @@ -275,7 +288,13 @@ class AccuDrawFlags: eACCUDRAW_UpdateRotation """ - def __init__(self: MSPyDgnView.AccuDrawFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eACCUDRAW_AllowStartInLocate: AccuDrawFlags @@ -474,12 +493,15 @@ class AccuSnap: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class AccuSnapEnableFlag: """ Members: @@ -491,7 +513,13 @@ class AccuSnapEnableFlag: eACCUSNAP_ENABLE_Never """ - def __init__(self: MSPyDgnView.AccuSnapEnableFlag, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eACCUSNAP_ENABLE_Never: AccuSnapEnableFlag @@ -528,7 +556,13 @@ class AccuSnapHandler: eACCUSNAPHANDLER_PRIORITY_Lowest """ - def __init__(self: MSPyDgnView.AccuSnapHandler.AccuSnapEventHandlerPriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eACCUSNAPHANDLER_PRIORITY_High: AccuSnapEventHandlerPriority @@ -558,7 +592,13 @@ class AccuSnapHandler: eDontShow """ - def __init__(self: MSPyDgnView.AccuSnapHandler.AsnapStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDontShow: AsnapStatus @@ -573,12 +613,15 @@ class AccuSnapHandler: def value(arg0: MSPyDgnView.AccuSnapHandler.AsnapStatus) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eACCUSNAPHANDLER_PRIORITY_High: AccuSnapEventHandlerPriority eACCUSNAPHANDLER_PRIORITY_Highest: AccuSnapEventHandlerPriority @@ -608,7 +651,13 @@ class CoordinateLockOverrides: eOVERRIDE_COORDINATE_LOCK_All """ - def __init__(self: MSPyDgnView.CoordinateLockOverrides, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eOVERRIDE_COORDINATE_LOCK_ACS: CoordinateLockOverrides @@ -662,12 +711,15 @@ class Dgn3DInputEvent: def Translation(arg0: MSPyDgnView.Dgn3DInputEvent) -> MSPyBentleyGeom.DVec3d: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnButtonEvent: """ None @@ -803,7 +855,13 @@ class DgnButtonEvent: def Viewport(arg0: MSPyDgnView.DgnButtonEvent, arg1: MSPyDgnPlatform.IndexedViewport) -> None: ... - def __init__(self: MSPyDgnView.DgnButtonEvent) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFROM_ElemSnap: CoordSource @@ -814,7 +872,7 @@ class DgnButtonEvent: eFROM_User: CoordSource -class DgnElementSetTool: +class DgnElementSetTool(MSPyDgnView.DgnPrimitiveTool): """ None """ @@ -844,7 +902,13 @@ class DgnElementSetTool: eCLIP_RESULT_OriginalElements """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ClipResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCLIP_RESULT_NewElements: ClipResult @@ -876,7 +940,13 @@ class DgnElementSetTool: eSOURCE_SelectionSet """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ElemSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSOURCE_Fence: ElemSource @@ -911,7 +981,13 @@ class DgnElementSetTool: eERROR_NUM_NotSuportedElmType """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ErrorNums, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eERROR_NUM_NoFence: ErrorNums @@ -932,9 +1008,11 @@ class DgnElementSetTool: def value(arg0: MSPyDgnView.DgnElementSetTool.ErrorNums) -> int: ... + @staticmethod def GetActivePrimitiveTool() -> MSPyDgnPlatform.DgnPrimitiveTool: ... + @staticmethod def GetActiveViewTool() -> MSPyDgnView.DgnTool: ... @@ -943,7 +1021,7 @@ class DgnElementSetTool: Call to get a button event representing the current cursor location. :param ev: - (input) Current button event. + (input) -> Current button event. """ ... @@ -1015,7 +1093,13 @@ class DgnElementSetTool: eREF_LOCATE_TreatAsElement """ - def __init__(self: MSPyDgnView.DgnElementSetTool.RefLocateOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREF_LOCATE_Editable: RefLocateOption @@ -1039,7 +1123,7 @@ class DgnElementSetTool: Internal method to reset the current qualifier mask. :param mask: - (input) New qualifier mask. + (input) -> New qualifier mask. """ ... @@ -1105,7 +1189,13 @@ class DgnElementSetTool: eUSES_DRAGSELECT_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesDragSelect, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_DRAGSELECT_Box: UsesDragSelect @@ -1133,7 +1223,13 @@ class DgnElementSetTool: eUSES_FENCE_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesFence, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_FENCE_Check: UsesFence @@ -1161,7 +1257,13 @@ class DgnElementSetTool: eUSES_SS_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesSelection, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_SS_Check: UsesSelection @@ -1181,6 +1283,13 @@ class DgnElementSetTool: def WantAdditionalLocateHelper(self: MSPyDgnView.DgnElementSetTool, ev: MSPyDgnView.DgnButtonEvent) -> bool: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1239,7 +1348,7 @@ class DgnElementSetTool: eUSES_SS_Required: UsesSelection -class DgnFlickEvent: +class DgnFlickEvent(MSPyDgnView.DgnButtonEvent): """ None """ @@ -1381,12 +1490,15 @@ class DgnFlickEvent: def Viewport(arg0: MSPyDgnView.DgnButtonEvent, arg1: MSPyDgnPlatform.IndexedViewport) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFLICKDIRECTION_Down: FlickDirection eFLICKDIRECTION_DownLeft: FlickDirection @@ -1411,7 +1523,7 @@ class DgnFlickEvent: eFROM_User: CoordSource -class DgnGestureEvent: +class DgnGestureEvent(MSPyDgnView.DgnButtonEvent): """ None """ @@ -1445,7 +1557,13 @@ class DgnGestureEvent: eGESTUREID_Rollover """ - def __init__(self: MSPyDgnView.DgnGestureEvent.GestureIds, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGESTUREID_Begin: GestureIds @@ -1487,12 +1605,15 @@ class DgnGestureEvent: def GetViewPoint(self: MSPyDgnView.DgnGestureEvent.GestureInfo, vp: MSPyDgnPlatform.IndexedViewport) -> MSPyBentleyGeom.DPoint3d: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def GetButtonSource(self: MSPyDgnView.DgnButtonEvent) -> int: """ Get the " input source " for this event. See Inputq_element#hdr.source @@ -1622,12 +1743,15 @@ class DgnGestureEvent: def Viewport(arg0: MSPyDgnView.DgnButtonEvent, arg1: MSPyDgnPlatform.IndexedViewport) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFROM_ElemSnap: CoordSource eFROM_Precision: CoordSource @@ -1652,7 +1776,7 @@ class DgnGestureEvent: eGESTUREID_Zoom: GestureIds -class DgnMouseWheelEvent: +class DgnMouseWheelEvent(MSPyDgnView.DgnButtonEvent): """ None """ @@ -1798,12 +1922,15 @@ class DgnMouseWheelEvent: def WheelDelta(arg0: MSPyDgnView.DgnMouseWheelEvent) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFROM_ElemSnap: CoordSource eFROM_Precision: CoordSource @@ -1812,7 +1939,7 @@ class DgnMouseWheelEvent: eFROM_User: CoordSource -class DgnPrimitiveTool: +class DgnPrimitiveTool(MSPyDgnView.DgnTool): """ None """ @@ -1838,9 +1965,11 @@ class DgnPrimitiveTool: def EnableUndoPreviousStep(self: MSPyDgnView.DgnPrimitiveTool) -> None: ... + @staticmethod def GetActivePrimitiveTool() -> MSPyDgnPlatform.DgnPrimitiveTool: ... + @staticmethod def GetActiveViewTool() -> MSPyDgnView.DgnTool: ... @@ -1849,7 +1978,7 @@ class DgnPrimitiveTool: Call to get a button event representing the current cursor location. :param ev: - (input) Current button event. + (input) -> Current button event. """ ... @@ -1903,7 +2032,7 @@ class DgnPrimitiveTool: Internal method to reset the current qualifier mask. :param mask: - (input) New qualifier mask. + (input) -> New qualifier mask. """ ... @@ -1955,10 +2084,16 @@ class DgnPrimitiveTool: def ToolPrompt(arg0: MSPyDgnView.DgnTool, arg1: int) -> None: ... - def __init__(self: MSPyDgnView.DgnPrimitiveTool, toolId: int, toolPrompt: int) -> None: + class __class__(type): + """ + None + """ ... -class DgnRegionElementTool: + def __init__(self, *args, **kwargs): + ... + +class DgnRegionElementTool(MSPyDgnView.DgnElementSetTool): """ None """ @@ -1988,7 +2123,13 @@ class DgnRegionElementTool: eCLIP_RESULT_OriginalElements """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ClipResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCLIP_RESULT_NewElements: ClipResult @@ -2024,7 +2165,13 @@ class DgnRegionElementTool: eSOURCE_SelectionSet """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ElemSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSOURCE_Fence: ElemSource @@ -2059,7 +2206,13 @@ class DgnRegionElementTool: eERROR_NUM_NotSuportedElmType """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ErrorNums, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eERROR_NUM_NoFence: ErrorNums @@ -2080,9 +2233,11 @@ class DgnRegionElementTool: def value(arg0: MSPyDgnView.DgnElementSetTool.ErrorNums) -> int: ... + @staticmethod def GetActivePrimitiveTool() -> MSPyDgnPlatform.DgnPrimitiveTool: ... + @staticmethod def GetActiveViewTool() -> MSPyDgnView.DgnTool: ... @@ -2091,7 +2246,7 @@ class DgnRegionElementTool: Call to get a button event representing the current cursor location. :param ev: - (input) Current button event. + (input) -> Current button event. """ ... @@ -2155,6 +2310,7 @@ class DgnRegionElementTool: def OnModifierKeyTransitionHelper(self: MSPyDgnView.DgnElementSetTool, wentDown: bool, key: int) -> bool: ... + @staticmethod def OutputErrorMessage(msg: MSPyDgnView.DgnElementSetTool.ErrorNums) -> None: ... @@ -2171,7 +2327,13 @@ class DgnRegionElementTool: eREF_LOCATE_TreatAsElement """ - def __init__(self: MSPyDgnView.DgnElementSetTool.RefLocateOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREF_LOCATE_Editable: RefLocateOption @@ -2207,7 +2369,13 @@ class DgnRegionElementTool: eREGION_CREATE_Fence """ - def __init__(self: MSPyDgnView.DgnRegionElementTool.RegionCreateMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREGION_CREATE_ByParams: RegionCreateMode @@ -2237,7 +2405,13 @@ class DgnRegionElementTool: eREGION_PHASE_ProcessOriginals """ - def __init__(self: MSPyDgnView.DgnRegionElementTool.RegionToolPhase, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREGION_PHASE_CreateRegion: RegionToolPhase @@ -2259,7 +2433,7 @@ class DgnRegionElementTool: Internal method to reset the current qualifier mask. :param mask: - (input) New qualifier mask. + (input) -> New qualifier mask. """ ... @@ -2325,7 +2499,13 @@ class DgnRegionElementTool: eUSES_DRAGSELECT_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesDragSelect, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_DRAGSELECT_Box: UsesDragSelect @@ -2353,7 +2533,13 @@ class DgnRegionElementTool: eUSES_FENCE_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesFence, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_FENCE_Check: UsesFence @@ -2381,7 +2567,13 @@ class DgnRegionElementTool: eUSES_SS_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesSelection, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_SS_Check: UsesSelection @@ -2401,7 +2593,13 @@ class DgnRegionElementTool: def WantAdditionalLocateHelper(self: MSPyDgnView.DgnElementSetTool, ev: MSPyDgnView.DgnButtonEvent) -> bool: ... - def __init__(self: MSPyDgnView.DgnRegionElementTool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCLIP_RESULT_NewElements: ClipResult @@ -2488,7 +2686,7 @@ class DgnTool: Call to get a button event representing the current cursor location. :param ev: - (input) Current button event. + (input) -> Current button event. """ ... @@ -2539,7 +2737,7 @@ class DgnTool: Internal method to reset the current qualifier mask. :param mask: - (input) New qualifier mask. + (input) -> New qualifier mask. """ ... @@ -2591,10 +2789,16 @@ class DgnTool: def ToolPrompt(arg0: MSPyDgnView.DgnTool, arg1: int) -> None: ... - def __init__(self: MSPyDgnView.DgnTool, toolId: int, toolPrompt: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class DgnTouchEvent: +class DgnTouchEvent(MSPyDgnView.DgnButtonEvent): """ None """ @@ -2738,7 +2942,13 @@ class DgnTouchEvent: eTOUCHFLAGS_Palm """ - def __init__(self: MSPyDgnView.DgnTouchEvent.TouchFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTOUCHFLAGS_Down: TouchFlags @@ -2785,12 +2995,15 @@ class DgnTouchEvent: def IsUp(self: MSPyDgnView.DgnTouchEvent.TouchInput) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def Touches(arg0: MSPyDgnView.DgnTouchEvent) -> list: ... @@ -2810,12 +3023,15 @@ class DgnTouchEvent: def Viewport(arg0: MSPyDgnView.DgnButtonEvent, arg1: MSPyDgnPlatform.IndexedViewport) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFROM_ElemSnap: CoordSource eFROM_Precision: CoordSource @@ -2840,7 +3056,7 @@ class DgnTouchEvent: eTOUCHFLAGS_Up: TouchFlags -class DgnViewTool: +class DgnViewTool(MSPyDgnView.DgnTool): """ None """ @@ -2849,9 +3065,11 @@ class DgnViewTool: ActiveViewTool: NoneType + @staticmethod def GetActivePrimitiveTool() -> MSPyDgnPlatform.DgnPrimitiveTool: ... + @staticmethod def GetActiveViewTool() -> MSPyDgnView.DgnTool: ... @@ -2860,7 +3078,7 @@ class DgnViewTool: Call to get a button event representing the current cursor location. :param ev: - (input) Current button event. + (input) -> Current button event. """ ... @@ -2894,13 +3112,13 @@ class DgnViewTool: as unparsedP. :param sourceFoundP: - (output) Source of preferred viewport. + (output) -> Source of preferred viewport. :param unparsedP: (input) unparsed string containing a view number or NULL. :param sourceToSearch: - (input) Mask of allow sources for preferred viewport, + (input) -> Mask of allow sources for preferred viewport, PREFERRED_VIEW_Unparsed only used as an output, assumed if unparsedP isn't NULL. @@ -2946,7 +3164,13 @@ class DgnViewTool: ePREFERRED_VIEW_Single """ - def __init__(self: MSPyDgnView.DgnViewTool.PreferredView, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePREFERRED_VIEW_None: PreferredView @@ -2970,7 +3194,7 @@ class DgnViewTool: Internal method to reset the current qualifier mask. :param mask: - (input) New qualifier mask. + (input) -> New qualifier mask. """ ... @@ -3022,7 +3246,13 @@ class DgnViewTool: def ToolPrompt(arg0: MSPyDgnView.DgnTool, arg1: int) -> None: ... - def __init__(self: MSPyDgnView.DgnViewTool, toolName: int, toolPrompt: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePREFERRED_VIEW_None: PreferredView @@ -3033,7 +3263,7 @@ class DgnViewTool: ePREFERRED_VIEW_Unparsed: PreferredView -class ElementGraphicsTool: +class ElementGraphicsTool(MSPyDgnView.DgnElementSetTool): """ None """ @@ -3063,7 +3293,13 @@ class ElementGraphicsTool: eCLIP_RESULT_OriginalElements """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ClipResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCLIP_RESULT_NewElements: ClipResult @@ -3095,7 +3331,13 @@ class ElementGraphicsTool: eSOURCE_SelectionSet """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ElemSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSOURCE_Fence: ElemSource @@ -3130,7 +3372,13 @@ class ElementGraphicsTool: eERROR_NUM_NotSuportedElmType """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ErrorNums, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eERROR_NUM_NoFence: ErrorNums @@ -3151,9 +3399,11 @@ class ElementGraphicsTool: def value(arg0: MSPyDgnView.DgnElementSetTool.ErrorNums) -> int: ... + @staticmethod def GetActivePrimitiveTool() -> MSPyDgnPlatform.DgnPrimitiveTool: ... + @staticmethod def GetActiveViewTool() -> MSPyDgnView.DgnTool: ... @@ -3162,7 +3412,7 @@ class ElementGraphicsTool: Call to get a button event representing the current cursor location. :param ev: - (input) Current button event. + (input) -> Current button event. """ ... @@ -3175,7 +3425,7 @@ class ElementGraphicsTool: def GetElementAgenda(self: MSPyDgnView.DgnElementSetTool) -> MSPyDgnPlatform.ElementAgenda: ... - def GetElementGraphicsCache(self: MSPyDgnView.ElementGraphicsTool, eh: MSPyDgnPlatform.ElementHandle, geomCache: List[IRefCounted]) -> MSPyDgnPlatform.BentleyStatus: + def GetElementGraphicsCache(self: MSPyDgnView.ElementGraphicsTool, eh: MSPyDgnPlatform.ElementHandle, geomCache: list[IRefCounted]) -> MSPyDgnPlatform.BentleyStatus: ... def GetElementGraphicsCacheCount(self: MSPyDgnView.ElementGraphicsTool, eh: MSPyDgnPlatform.ElementHandle) -> int: @@ -3244,6 +3494,7 @@ class ElementGraphicsTool: def OnModifierKeyTransitionHelper(self: MSPyDgnView.DgnElementSetTool, wentDown: bool, key: int) -> bool: ... + @staticmethod def OutputErrorMessage(msg: MSPyDgnView.DgnElementSetTool.ErrorNums) -> None: ... @@ -3260,7 +3511,13 @@ class ElementGraphicsTool: eREF_LOCATE_TreatAsElement """ - def __init__(self: MSPyDgnView.DgnElementSetTool.RefLocateOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREF_LOCATE_Editable: RefLocateOption @@ -3284,7 +3541,7 @@ class ElementGraphicsTool: Internal method to reset the current qualifier mask. :param mask: - (input) New qualifier mask. + (input) -> New qualifier mask. """ ... @@ -3365,7 +3622,13 @@ class ElementGraphicsTool: eUSES_DRAGSELECT_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesDragSelect, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_DRAGSELECT_Box: UsesDragSelect @@ -3393,7 +3656,13 @@ class ElementGraphicsTool: eUSES_FENCE_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesFence, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_FENCE_Check: UsesFence @@ -3421,7 +3690,13 @@ class ElementGraphicsTool: eUSES_SS_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesSelection, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_SS_Check: UsesSelection @@ -3441,7 +3716,13 @@ class ElementGraphicsTool: def WantAdditionalLocateHelper(self: MSPyDgnView.DgnElementSetTool, ev: MSPyDgnView.DgnButtonEvent) -> bool: ... - def __init__(self: MSPyDgnView.ElementGraphicsTool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCLIP_RESULT_NewElements: ClipResult @@ -3530,6 +3811,7 @@ class FenceManager: """ ... + @staticmethod def DefineByPoints(*args, **kwargs): """ Overloaded function. @@ -3562,7 +3844,13 @@ class FenceManager: eFENCE_InhibitFill """ - def __init__(self: MSPyDgnView.FenceManager.FenceDisplayMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFENCE_InhibitDraw: FenceDisplayMode @@ -3698,12 +3986,15 @@ class FenceManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eFENCE_InhibitDraw: FenceDisplayMode eFENCE_InhibitFill: FenceDisplayMode @@ -3715,7 +4006,13 @@ class IModifyElement: None """ - def __init__(self: MSPyDgnView.IModifyElement) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IRedrawAbort: @@ -3723,7 +4020,13 @@ class IRedrawAbort: None """ - def __init__(self: MSPyDgnView.IRedrawAbort) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IRedrawOperation: @@ -3731,7 +4034,13 @@ class IRedrawOperation: None """ - def __init__(self: MSPyDgnView.IRedrawOperation) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ISelectionEvents: @@ -3739,7 +4048,13 @@ class ISelectionEvents: None """ - def __init__(self: MSPyDgnView.ISelectionEvents) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class KeyModifierMasks: @@ -3753,7 +4068,13 @@ class KeyModifierMasks: eKEYMODIFIER_AltKey """ - def __init__(self: MSPyDgnView.KeyModifierMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eKEYMODIFIER_AltKey: KeyModifierMasks @@ -3770,7 +4091,7 @@ class KeyModifierMasks: def value(arg0: MSPyDgnView.KeyModifierMasks) -> int: ... -class LocateSubEntityTool: +class LocateSubEntityTool(MSPyDgnView.ElementGraphicsTool): """ None """ @@ -3800,7 +4121,13 @@ class LocateSubEntityTool: eCLIP_RESULT_OriginalElements """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ClipResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCLIP_RESULT_NewElements: ClipResult @@ -3841,7 +4168,13 @@ class LocateSubEntityTool: eSOURCE_SelectionSet """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ElemSource, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSOURCE_Fence: ElemSource @@ -3876,7 +4209,13 @@ class LocateSubEntityTool: eERROR_NUM_NotSuportedElmType """ - def __init__(self: MSPyDgnView.DgnElementSetTool.ErrorNums, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eERROR_NUM_NoFence: ErrorNums @@ -3906,9 +4245,11 @@ class LocateSubEntityTool: def GetAcceptedSubEntities(self: MSPyDgnView.LocateSubEntityTool) -> MSPyDgnPlatform.ISubEntityPtrArray: ... + @staticmethod def GetActivePrimitiveTool() -> MSPyDgnPlatform.DgnPrimitiveTool: ... + @staticmethod def GetActiveViewTool() -> MSPyDgnView.DgnTool: ... @@ -3920,7 +4261,7 @@ class LocateSubEntityTool: Call to get a button event representing the current cursor location. :param ev: - (input) Current button event. + (input) -> Current button event. """ ... @@ -3933,7 +4274,7 @@ class LocateSubEntityTool: def GetElementAgenda(self: MSPyDgnView.DgnElementSetTool) -> MSPyDgnPlatform.ElementAgenda: ... - def GetElementGraphicsCache(self: MSPyDgnView.ElementGraphicsTool, eh: MSPyDgnPlatform.ElementHandle, geomCache: List[IRefCounted]) -> MSPyDgnPlatform.BentleyStatus: + def GetElementGraphicsCache(self: MSPyDgnView.ElementGraphicsTool, eh: MSPyDgnPlatform.ElementHandle, geomCache: list[IRefCounted]) -> MSPyDgnPlatform.BentleyStatus: ... def GetElementGraphicsCacheCount(self: MSPyDgnView.ElementGraphicsTool, eh: MSPyDgnPlatform.ElementHandle) -> int: @@ -4039,6 +4380,7 @@ class LocateSubEntityTool: def OnModifierKeyTransitionHelper(self: MSPyDgnView.DgnElementSetTool, wentDown: bool, key: int) -> bool: ... + @staticmethod def OutputErrorMessage(msg: MSPyDgnView.DgnElementSetTool.ErrorNums) -> None: ... @@ -4055,7 +4397,13 @@ class LocateSubEntityTool: eREF_LOCATE_TreatAsElement """ - def __init__(self: MSPyDgnView.DgnElementSetTool.RefLocateOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eREF_LOCATE_Editable: RefLocateOption @@ -4079,7 +4427,7 @@ class LocateSubEntityTool: Internal method to reset the current qualifier mask. :param mask: - (input) New qualifier mask. + (input) -> New qualifier mask. """ ... @@ -4172,7 +4520,13 @@ class LocateSubEntityTool: eUSES_DRAGSELECT_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesDragSelect, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_DRAGSELECT_Box: UsesDragSelect @@ -4200,7 +4554,13 @@ class LocateSubEntityTool: eUSES_FENCE_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesFence, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_FENCE_Check: UsesFence @@ -4228,7 +4588,13 @@ class LocateSubEntityTool: eUSES_SS_None """ - def __init__(self: MSPyDgnView.DgnElementSetTool.UsesSelection, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eUSES_SS_Check: UsesSelection @@ -4248,7 +4614,13 @@ class LocateSubEntityTool: def WantAdditionalLocateHelper(self: MSPyDgnView.DgnElementSetTool, ev: MSPyDgnView.DgnButtonEvent) -> bool: ... - def __init__(self: MSPyDgnView.LocateSubEntityTool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCLIP_RESULT_NewElements: ClipResult @@ -4299,12 +4671,18 @@ class LocateSubEntityTool: eUSES_SS_Required: UsesSelection -class ModifyOp: +class ModifyOp(MSPyDgnView.IModifyElement): """ None """ - def __init__(self: MSPyDgnView.ModifyOp) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class RedrawElems: @@ -4318,6 +4696,7 @@ class RedrawElems: """ ... + @staticmethod def DoRedraw(*args, **kwargs): """ Overloaded function. @@ -4428,6 +4807,13 @@ class RedrawElems: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4461,7 +4847,13 @@ class SelectionSetAction: eSELECT_DOUBLECLICK_ELEMENT """ - def __init__(self: MSPyDgnView.SelectionSetAction, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSELECT_DOUBLECLICK_ELEMENT: SelectionSetAction @@ -4507,10 +4899,10 @@ class SelectionSetManager: Add an element to the current selection set. :param elem: - (input) Element to add. + (input) -> Element to add. :param elemModel: - (input) DgnModelRef of element being added. + (input) -> DgnModelRef of element being added. :returns: SUCCESS if entry was added. Bentley Systems +---------------+----- @@ -4523,7 +4915,7 @@ class SelectionSetManager: Add a set of elements to the current selection set. :param elSet: - (input) Elements to add. + (input) -> Elements to add. :returns: SUCCESS if at least one entry was added. Bentley Systems +-------- @@ -4537,12 +4929,13 @@ class SelectionSetManager: Add selection set changed/event listener. :param selectionListener: - (input) The listener object to add. Bentley Systems +---------------+-- + (input) -> The listener object to add. Bentley Systems +---------------+-- -------------+---------------+---------------+---------------+---- -- """ ... + @staticmethod def BuildAgenda(*args, **kwargs): """ Overloaded function. @@ -4604,7 +4997,7 @@ class SelectionSetManager: Drop selection set changed/event listener. :param selectionListener: - (input) The listener object to drop. Bentley Systems +---------------+- + (input) -> The listener object to drop. Bentley Systems +---------------+- --------------+---------------+---------------+---------------+--- --- """ @@ -4624,13 +5017,13 @@ class SelectionSetManager: index. :param index: - (input) The index to get the entry for. + (input) -> The index to get the entry for. :param elemRef: - (output) ElementRefP at index. + (output) -> ElementRefP at index. :param modelRef: - (output) DgnModelRef at index. + (output) -> DgnModelRef at index. :returns: SUCCESS if index was valid. Bentley Systems +---------------+----- @@ -4656,10 +5049,10 @@ class SelectionSetManager: selected. :param elem: - (input) Element to process. + (input) -> Element to process. :param elemModel: - (input) DgnModelRef of element being processed. + (input) -> DgnModelRef of element being processed. :returns: SUCCESS if current selection was changed. Bentley Systems +------- @@ -4674,7 +5067,7 @@ class SelectionSetManager: selected. :param elSet: - (input) Elements to process. + (input) -> Elements to process. :returns: SUCCESS if current selection was changed. Bentley Systems +------- @@ -4701,10 +5094,10 @@ class SelectionSetManager: Modifies current selection by removing and adding sets of elements. :param toRemove: - (input) Elements to remove. + (input) -> Elements to remove. :param toAdd: - (input) Elements to add. + (input) -> Elements to add. :returns: SUCCESS if at least one entry was added or removed. @note Remove @@ -4730,10 +5123,10 @@ class SelectionSetManager: Remove an element from the current selection set. :param elem: - (input) Element to remove. + (input) -> Element to remove. :param elemModel: - (input) DgnModelRef of element being removed. + (input) -> DgnModelRef of element being removed. :returns: SUCCESS if entry was removed. Bentley Systems +---------------+--- @@ -4747,7 +5140,7 @@ class SelectionSetManager: Remove a set of elements to the current selection set. :param elSet: - (input) Elements to remove. + (input) -> Elements to remove. :returns: SUCCESS if at least one entry was removed. Bentley Systems +------ @@ -4761,10 +5154,10 @@ class SelectionSetManager: Set the current selection set to the supplied element. :param elem: - (input) Element to become new selection. + (input) -> Element to become new selection. :param elemModel: - (input) DgnModelRef of replacement element. + (input) -> DgnModelRef of replacement element. :returns: SUCCESS if current selection was changed. Bentley Systems +------- @@ -4778,7 +5171,7 @@ class SelectionSetManager: Set the current selection set to the supplied set of elements. :param elSet: - (input) Elements to become current selection. + (input) -> Elements to become current selection. :returns: SUCCESS if current selection was changed. Bentley Systems +------- @@ -4787,12 +5180,15 @@ class SelectionSetManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class TentativePoint: """ None @@ -4840,12 +5236,15 @@ class TentativePoint: def Point(arg0: MSPyDgnView.TentativePoint) -> MSPyBentleyGeom.DPoint3d: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eACCUDRAW_AllowStartInLocate: AccuDrawFlags eACCUDRAW_AlwaysSetOrigin: AccuDrawFlags diff --git a/MSPythonSamples/Intellisense/MSPyECObjects.pyi b/MSPythonSamples/Intellisense/MSPyECObjects.pyi index d11aec9..07b6552 100644 --- a/MSPythonSamples/Intellisense/MSPyECObjects.pyi +++ b/MSPythonSamples/Intellisense/MSPyECObjects.pyi @@ -1,6 +1,10 @@ -from typing import Any, Optional, overload, Type, Sequence, Iterable, Union, Callable +from __future__ import annotations +from typing import Any, Optional, overload, Callable, ClassVar +from collections.abc import Sequence, Iterable, Iterator from enum import Enum -import MSPyECObjects + +# Module self-reference for proper type resolution +import MSPyECObjects as MSPyECObjects class ApplicationToolData: """ @@ -14,12 +18,15 @@ class ApplicationToolData: def Owner(arg0: MSPyECObjects.ApplicationToolData, arg1: str) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def cmdNum(self: MSPyECObjects.ApplicationToolData) -> int: ... @@ -74,6 +81,16 @@ class ArrayAccessorArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -100,6 +117,7 @@ class ArrayAccessorArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -120,6 +138,7 @@ class ArrayAccessorArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -134,7 +153,7 @@ class ArrayAccessorArray: """ ... -class ArrayECProperty: +class ArrayECProperty(MSPyECObjects.ECProperty): """ None """ @@ -179,6 +198,7 @@ class ArrayECProperty: def GetClass(self: MSPyECObjects.ECProperty) -> ECN.ECClass: ... + @staticmethod def GetCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -189,6 +209,7 @@ class ArrayECProperty: """ ... + @staticmethod def GetCustomAttributeLocal(*args, **kwargs): """ Overloaded function. @@ -244,6 +265,7 @@ class ArrayECProperty: def GetName(self: MSPyECObjects.ECProperty) -> MSPyBentley.WString: ... + @staticmethod def GetPrimaryCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -285,6 +307,7 @@ class ArrayECProperty: def IsCalculated(self: MSPyECObjects.ECProperty) -> bool: ... + @staticmethod def IsDefined(*args, **kwargs): """ Overloaded function. @@ -343,6 +366,7 @@ class ArrayECProperty: def PrimitiveElementType(arg0: MSPyECObjects.ArrayECProperty, arg1: MSPyECObjects.PrimitiveType) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def RemoveCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -368,6 +392,7 @@ class ArrayECProperty: def SetDisplayLabel(self: MSPyECObjects.ECProperty, label: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetIsReadOnly(*args, **kwargs): """ Overloaded function. @@ -407,12 +432,15 @@ class ArrayECProperty: def TypeName(arg0: MSPyECObjects.ECProperty, arg1: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ArrayInfo: """ None @@ -448,12 +476,15 @@ class ArrayInfo: def Kind(arg0: MSPyECObjects.ArrayInfo) -> MSPyECObjects.ValueKind: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ArrayKind: """ Members: @@ -463,7 +494,13 @@ class ArrayKind: eARRAYKIND_Struct """ - def __init__(self: MSPyECObjects.ArrayKind, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eARRAYKIND_Primitive: ArrayKind @@ -491,7 +528,13 @@ class ArrayModifierFlags: ePROPERTYLAYOUTMODIFIERFLAGS_IsCalculated """ - def __init__(self: MSPyECObjects.ArrayModifierFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePROPERTYLAYOUTMODIFIERFLAGS_IsArrayFixedCount: ArrayModifierFlags @@ -525,7 +568,13 @@ class CategorySortPriority: eVeryLow """ - def __init__(self: MSPyECObjects.CategorySortPriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHigh: CategorySortPriority @@ -754,13 +803,16 @@ class ClassLayout: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ColumnDefinitionNode: + def __init__(self, *args, **kwargs): + ... + +class ColumnDefinitionNode(MSPyECObjects.ECReportNode): """ None """ @@ -795,6 +847,7 @@ class ColumnDefinitionNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -836,6 +889,7 @@ class ColumnDefinitionNode: def ElementRef(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.ElementRefBase: ... + @staticmethod def FindByElementId(*args, **kwargs): """ Overloaded function. @@ -850,6 +904,7 @@ class ColumnDefinitionNode: """ ... + @staticmethod def FromXDataTreeNode(node: MSPyECObjects.XDataTreeNode) -> MSPyECObjects.ECReportNode: """ Extracts an ECReportNode from an XDataTreeNode @@ -867,6 +922,7 @@ class ColumnDefinitionNode: """ ... + @staticmethod def GetArraySortingOptions(*args, **kwargs): """ Overloaded function. @@ -945,6 +1001,7 @@ class ColumnDefinitionNode: """ ... + @staticmethod def GetFormattingOptions(*args, **kwargs): """ Overloaded function. @@ -1148,7 +1205,13 @@ class ColumnDefinitionNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(self: MSPyECObjects.ColumnDefinitionNode, node: MSPyECObjects.ECReportNode) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ColumnDefinitionNodePtrArray: @@ -1156,6 +1219,16 @@ class ColumnDefinitionNodePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1188,6 +1261,7 @@ class ColumnDefinitionNodePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -1208,6 +1282,7 @@ class ColumnDefinitionNodePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -1228,7 +1303,7 @@ class ColumnDefinitionNodePtrArray: """ ... -class ColumnGroupNode: +class ColumnGroupNode(MSPyECObjects.ECReportNode): """ None """ @@ -1260,6 +1335,7 @@ class ColumnGroupNode: def ColumnDefinitions(arg0: MSPyECObjects.ColumnGroupNode) -> MSPyECObjects.ColumnDefinitionNodePtrArray: ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -1307,6 +1383,7 @@ class ColumnGroupNode: def ElementRef(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.ElementRefBase: ... + @staticmethod def FindByElementId(*args, **kwargs): """ Overloaded function. @@ -1321,6 +1398,7 @@ class ColumnGroupNode: """ ... + @staticmethod def FromXDataTreeNode(node: MSPyECObjects.XDataTreeNode) -> MSPyECObjects.ECReportNode: """ Extracts an ECReportNode from an XDataTreeNode @@ -1561,10 +1639,16 @@ class ColumnGroupNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(self: MSPyECObjects.ColumnGroupNode, node: MSPyECObjects.ECReportNode) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class ContextMenuNode: +class ContextMenuNode(MSPyECObjects.UserInterfaceNode): """ None """ @@ -1584,6 +1668,7 @@ class ContextMenuNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -1828,18 +1913,27 @@ class ContextMenuNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ContextSymbol: + def __init__(self, *args, **kwargs): + ... + +class ContextSymbol(MSPyECObjects.Symbol): """ None """ - def __init__(self: MSPyECObjects.ContextSymbol, name: str, context: MSPyECObjects.ExpressionContext) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class CustomStructSerializerManager: @@ -1857,12 +1951,15 @@ class CustomStructSerializerManager: def GetManager() -> MSPyECObjects.CustomStructSerializerManager: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DateTimeInfo: """ None @@ -1892,6 +1989,13 @@ class DateTimeInfo: def ToString(self: MSPyECObjects.DateTimeInfo) -> MSPyBentley.WString: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1925,7 +2029,13 @@ class DeleteDgnECInstanceStatus: eDELETEDGNECINSTANCE_Error """ - def __init__(self: MSPyECObjects.DeleteDgnECInstanceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDELETEDGNECINSTANCE_Error: DeleteDgnECInstanceStatus @@ -1954,7 +2064,7 @@ class DeleteDgnECInstanceStatus: def value(arg0: MSPyECObjects.DeleteDgnECInstanceStatus) -> int: ... -class DgnActionItemContext: +class DgnActionItemContext(MSPyECObjects.IAUIDataContext): """ None """ @@ -1982,7 +2092,13 @@ class DgnActionItemContext: eNodeCollection """ - def __init__(self: MSPyECObjects.IAUIDataContext.ContextType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCustom: ContextType @@ -2064,12 +2180,15 @@ class DgnActionItemContext: def View(arg0: MSPyECObjects.DgnActionItemContext) -> MSPyDgnPlatform.Viewport: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eCustom: ContextType eDgnActionItemInfoType: ContextType @@ -2150,7 +2269,13 @@ class DgnECExtendedType: eUnitDefinition """ - def __init__(self: MSPyECObjects.DgnECExtendedType.StandardType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAngle: StandardType @@ -2213,12 +2338,15 @@ class DgnECExtendedType: def value(arg0: MSPyECObjects.DgnECExtendedType.StandardType) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eAngle: StandardType eArea: StandardType @@ -2276,7 +2404,13 @@ class DgnECHostIterable: None """ - def __init__(self: MSPyECObjects.DgnECHostIterable, primaryInstances: MSPyDgnPlatform.DgnECInstanceIterable, context: MSPyECObjects.DgnECHostSpecificationsContext) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnECHostRelationshipSpecification: @@ -2308,7 +2442,13 @@ class DgnECHostRelationshipSpecification: ekFlags_Default """ - def __init__(self: MSPyECObjects.DgnECHostRelationshipSpecification.Flags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ekFlag_Backward: Flags @@ -2396,7 +2536,7 @@ class DgnECHostRelationshipSpecification: def RelationshipClass(arg0: MSPyECObjects.DgnECHostRelationshipSpecification, arg1: MSPyECObjects.SchemaNameClassNamePair) -> None: ... - def SetDirection(self: MSPyECObjects.DgnECHostRelationshipSpecification, dir: MSPyECObjects.ECRelatedInstanceDirection) -> None: + def SetDirection(self: MSPyECObjects.DgnECHostRelationshipSpecification, dir_: MSPyECObjects.ECRelatedInstanceDirection) -> None: """ Sets the direction in which the ECRelationship will be queried """ @@ -2441,11 +2581,18 @@ class DgnECHostRelationshipSpecification: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. - 1. __init__(self: MSPyECObjects.DgnECHostRelationshipSpecification, relationship: MSPyECObjects.SchemaNameClassNamePair, related: MSPyECObjects.SchemaNameClassNamePair, dir: MSPyECObjects.ECRelatedInstanceDirection = , required: bool = False, relationshipPolymorphic: bool = True, relatedPolymorphic: bool = True) -> None + 1. __init__(self: MSPyECObjects.DgnECHostRelationshipSpecification, relationship: MSPyECObjects.SchemaNameClassNamePair, related: MSPyECObjects.SchemaNameClassNamePair, dir_: MSPyECObjects.ECRelatedInstanceDirection = ECRelatedInstanceDirection.eSTRENGTHDIRECTION_Forward, required: bool = False, relationshipPolymorphic: bool = True, relatedPolymorphic: bool = True) -> None 2. __init__(self: MSPyECObjects.DgnECHostRelationshipSpecification, rhs: MSPyECObjects.DgnECHostRelationshipSpecification) -> None @@ -2470,6 +2617,16 @@ class DgnECHostRelationshipSpecificationArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -2496,6 +2653,7 @@ class DgnECHostRelationshipSpecificationArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -2516,6 +2674,7 @@ class DgnECHostRelationshipSpecificationArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -2576,7 +2735,13 @@ class DgnECHostSpecification: """ ... - def __init__(self: MSPyECObjects.DgnECHostSpecification) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnECHostSpecificationArray: @@ -2584,6 +2749,16 @@ class DgnECHostSpecificationArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -2610,6 +2785,7 @@ class DgnECHostSpecificationArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -2630,6 +2806,7 @@ class DgnECHostSpecificationArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -2649,7 +2826,13 @@ class DgnECHostSpecificationsContext: None """ - def __init__(self: MSPyECObjects.DgnECHostSpecificationsContext, hostSpecs: MSPyECObjects.DgnECHostSpecificationArray) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class DgnECHostType: @@ -2675,7 +2858,13 @@ class DgnECHostType: eAll """ - def __init__(self: MSPyECObjects.DgnECHostType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: DgnECHostType @@ -2704,11 +2893,12 @@ class DgnECHostType: def value(arg0: MSPyECObjects.DgnECHostType) -> int: ... -class DgnECInstance: +class DgnECInstance(MSPyECObjects.IECInstance): """ None """ + @staticmethod def AddArrayElements(*args, **kwargs): """ Overloaded function. @@ -2722,6 +2912,7 @@ class DgnECInstance: def AsMemoryECInstance(self: MSPyECObjects.IECInstance) -> ECN.MemoryECInstanceBase: ... + @staticmethod def ChangeValue(*args, **kwargs): """ Overloaded function. @@ -2743,6 +2934,7 @@ class DgnECInstance: def Class(arg0: MSPyECObjects.IECInstance) -> MSPyECObjects.ECClass: ... + @staticmethod def ClearArray(*args, **kwargs): """ Overloaded function. @@ -2756,6 +2948,7 @@ class DgnECInstance: def CopyValues(self: MSPyECObjects.IECInstance, source: MSPyECObjects.IECInstance) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def CreateCopyThroughSerialization(*args, **kwargs): """ Overloaded function. @@ -2847,6 +3040,7 @@ class DgnECInstance: def GetOffsetToIECInstance(self: MSPyECObjects.IECInstance) -> int: ... + @staticmethod def GetValue(*args, **kwargs): """ Overloaded function. @@ -2861,6 +3055,7 @@ class DgnECInstance: """ ... + @staticmethod def GetValueAsString(*args, **kwargs): """ Overloaded function. @@ -2918,6 +3113,7 @@ class DgnECInstance: def HostType(arg0: MSPyECObjects.DgnECInstance) -> MSPyECObjects.DgnECHostType: ... + @staticmethod def InsertArrayElements(*args, **kwargs): """ Overloaded function. @@ -2943,9 +3139,11 @@ class DgnECInstance: def InstanceIdForSerialization(arg0: MSPyECObjects.IECInstance) -> MSPyBentley.WString: ... + @staticmethod def IsFixedArrayProperty(instance: MSPyECObjects.IECInstance, accessString: str) -> tuple: ... + @staticmethod def IsPropertyNull(*args, **kwargs): """ Overloaded function. @@ -2960,6 +3158,7 @@ class DgnECInstance: """ ... + @staticmethod def IsPropertyReadOnly(*args, **kwargs): """ Overloaded function. @@ -2977,12 +3176,15 @@ class DgnECInstance: def OffsetToIECInstance(arg0: MSPyECObjects.IECInstance) -> int: ... + @staticmethod def ReadFromXmlFile(fileName: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def ReadFromXmlString(xmlString: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def RemoveArrayElement(*args, **kwargs): """ Overloaded function. @@ -3032,6 +3234,7 @@ class DgnECInstance: """ ... + @staticmethod def SetValue(*args, **kwargs): """ Overloaded function. @@ -3046,6 +3249,7 @@ class DgnECInstance: """ ... + @staticmethod def SetValueAsString(*args, **kwargs): """ Overloaded function. @@ -3112,6 +3316,7 @@ class DgnECInstance: def WriteToXmlFile(self: MSPyECObjects.IECInstance, fileName: str, writeInstanceId: bool, utf16: bool) -> MSPyECObjects.InstanceWriteStatus: ... + @staticmethod def WriteToXmlString(*args, **kwargs): """ Overloaded function. @@ -3122,13 +3327,16 @@ class DgnECInstance: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class DgnECInstanceCreateContext: + def __init__(self, *args, **kwargs): + ... + +class DgnECInstanceCreateContext(MSPyECObjects.DgnECInstanceCreateOptions): """ None """ @@ -3224,13 +3432,20 @@ class DgnECInstanceCreateContext: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. - 1. __init__(self: MSPyECObjects.DgnECInstanceCreateContext, selectedProperties: MSPyECObjects.SelectedProperties = None, options: MSPyECObjects.DgnECInstanceCreateOptions = ) -> None + 1. __init__(self: MSPyECObjects.DgnECInstanceCreateContext, selectedProperties: MSPyECObjects.SelectedProperties = None, options: MSPyECObjects.DgnECInstanceCreateOptions = None) -> None - 2. __init__(self: MSPyECObjects.DgnECInstanceCreateContext, options: MSPyECObjects.DgnECInstanceCreateOptions = ) -> None + 2. __init__(self: MSPyECObjects.DgnECInstanceCreateContext, options: MSPyECObjects.DgnECInstanceCreateOptions = None) -> None """ ... @@ -3309,10 +3524,16 @@ class DgnECInstanceCreateOptions: """ ... - def __init__(self: MSPyECObjects.DgnECInstanceCreateOptions, pathBasedId: bool = False, qualifiedPepBasedId: bool = False) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class DgnECInstanceEnabler: +class DgnECInstanceEnabler(MSPyECObjects.ECEnabler): """ None """ @@ -3358,6 +3579,7 @@ class DgnECInstanceEnabler: """ ... + @staticmethod def CreateInstanceOnElement(*args, **kwargs): """ Overloaded function. @@ -3456,11 +3678,12 @@ class DgnECInstanceEnabler: """ ... + @staticmethod def CreateInstanceOnHost(*args, **kwargs): """ Overloaded function. - 1. CreateInstanceOnHost(self: MSPyECObjects.DgnECInstanceEnabler, wipInstance: MSPyECObjects.IECInstance, host: MSPyECObjects.DgnECInstanceHost, intendedLocalId: int, createContext: MSPyECObjects.DgnECInstanceCreateContext = , instanceOwnsHost: bool = False) -> tuple + 1. CreateInstanceOnHost(self: MSPyECObjects.DgnECInstanceEnabler, wipInstance: MSPyECObjects.IECInstance, host: MSPyECObjects.DgnECInstanceHost, intendedLocalId: int, createContext: MSPyECObjects.DgnECInstanceCreateContext = None, instanceOwnsHost: bool = False) -> tuple Create an instance which is stored on the specified host. @@ -3488,7 +3711,7 @@ class DgnECInstanceEnabler: - 2. CreateInstanceOnHost(self: MSPyECObjects.DgnECInstanceEnabler, wipInstance: MSPyECObjects.IECInstance, host: MSPyECObjects.DgnECInstanceHost, createContext: MSPyECObjects.DgnECInstanceCreateContext = , instanceOwnsHost: bool = False) -> tuple + 2. CreateInstanceOnHost(self: MSPyECObjects.DgnECInstanceEnabler, wipInstance: MSPyECObjects.IECInstance, host: MSPyECObjects.DgnECInstanceHost, createContext: MSPyECObjects.DgnECInstanceCreateContext = None, instanceOwnsHost: bool = False) -> tuple Create an instance which is stored on the specified host. @@ -3607,7 +3830,7 @@ class DgnECInstanceEnabler: CreateInstance* methods. The instance is setup (memory allocated) for efficient usage with those methods. This technique avoids initially writing an empty ECInstance and then making subsequent modifications - (avoiding overhead in undo buffer, design history, etc.) The property + (avoiding overhead in undo buffer, design history, etc.) -> The property values in the returned instance will initially all be null. It is shared to avoid repeated mallocs and frees when creating many DgnElementECInstances, forcing you to initialize and create @@ -3751,12 +3974,15 @@ class DgnECInstanceEnabler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnECInstanceHost: """ None @@ -3850,6 +4076,13 @@ class DgnECInstanceHost: def View(arg0: MSPyECObjects.DgnECInstanceHost) -> MSPyDgnPlatform.ViewGroup: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3887,12 +4120,15 @@ class DgnECInstanceIterable: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def empty(self: MSPyECObjects.DgnECInstanceIterable) -> bool: """ Utility method to check whether the current collection has any @@ -3905,6 +4141,16 @@ class DgnECInstanceIterableArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3931,6 +4177,7 @@ class DgnECInstanceIterableArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -3951,6 +4198,7 @@ class DgnECInstanceIterableArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4006,7 +4254,13 @@ class DgnECInstanceStatus: eDGNECINSTANCESTATUS_Error """ - def __init__(self: MSPyECObjects.DgnECInstanceStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDGNECINSTANCESTATUS_ClassLayoutNotStored: DgnECInstanceStatus @@ -4058,6 +4312,16 @@ class DgnECInstanceVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4090,6 +4354,7 @@ class DgnECInstanceVector: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4110,6 +4375,7 @@ class DgnECInstanceVector: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4154,11 +4420,12 @@ DgnECProviderId_ModelExtrinsic: int DgnECProviderId_View: int -class DgnECRelationshipEnabler: +class DgnECRelationshipEnabler(MSPyECObjects.IECRelationshipEnabler): """ None """ + @staticmethod def CreateRelationship(*args, **kwargs): """ Overloaded function. @@ -4250,12 +4517,15 @@ class DgnECRelationshipEnabler: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnECRelationshipInfo: """ None @@ -4280,17 +4550,30 @@ class DgnECRelationshipInfo: def SupportsForward(self: MSPyECObjects.DgnECRelationshipInfo) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnECRelationshipInfoArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4323,6 +4606,7 @@ class DgnECRelationshipInfoArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4343,6 +4627,7 @@ class DgnECRelationshipInfoArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4368,12 +4653,15 @@ class DgnECRelationshipIterable: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + def empty(self: MSPyECObjects.DgnECRelationshipIterable) -> bool: ... @@ -4382,7 +4670,17 @@ class DgnECRelationshipIterableArray: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod + def __init__(*args, **kwargs): """ Overloaded function. @@ -4408,6 +4706,7 @@ class DgnECRelationshipIterableArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4428,6 +4727,7 @@ class DgnECRelationshipIterableArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4516,11 +4816,18 @@ class DgnECUnit: def WorkingUnit(arg0: MSPyECObjects.DgnECUnit) -> MSPyECObjects.DgnECUnit.WorkingUnit: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. - 1. __init__(self: MSPyECObjects.DgnECUnit, workingUnit: MSPyECObjects.DgnECUnit.WorkingUnit = ) -> None + 1. __init__(self: MSPyECObjects.DgnECUnit, workingUnit: MSPyECObjects.DgnECUnit.WorkingUnit = WorkingUnit.eUnspecified) -> None 2. __init__(self: MSPyECObjects.DgnECUnit, standardECUnitName: str) -> None """ @@ -4536,11 +4843,12 @@ class DgnECUnit: eVolume: WorkingUnit -class DgnElementECInstance: +class DgnElementECInstance(MSPyECObjects.DgnECInstance): """ None """ + @staticmethod def AddArrayElements(*args, **kwargs): """ Overloaded function. @@ -4554,6 +4862,7 @@ class DgnElementECInstance: def AsMemoryECInstance(self: MSPyECObjects.IECInstance) -> ECN.MemoryECInstanceBase: ... + @staticmethod def ChangeValue(*args, **kwargs): """ Overloaded function. @@ -4575,6 +4884,7 @@ class DgnElementECInstance: def Class(arg0: MSPyECObjects.IECInstance) -> MSPyECObjects.ECClass: ... + @staticmethod def ClearArray(*args, **kwargs): """ Overloaded function. @@ -4588,6 +4898,7 @@ class DgnElementECInstance: def CopyValues(self: MSPyECObjects.IECInstance, source: MSPyECObjects.IECInstance) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def CreateCopyThroughSerialization(*args, **kwargs): """ Overloaded function. @@ -4715,6 +5026,7 @@ class DgnElementECInstance: def GetOffsetToIECInstance(self: MSPyECObjects.IECInstance) -> int: ... + @staticmethod def GetValue(*args, **kwargs): """ Overloaded function. @@ -4729,6 +5041,7 @@ class DgnElementECInstance: """ ... + @staticmethod def GetValueAsString(*args, **kwargs): """ Overloaded function. @@ -4786,6 +5099,7 @@ class DgnElementECInstance: def HostType(arg0: MSPyECObjects.DgnECInstance) -> MSPyECObjects.DgnECHostType: ... + @staticmethod def InsertArrayElements(*args, **kwargs): """ Overloaded function. @@ -4811,9 +5125,11 @@ class DgnElementECInstance: def InstanceIdForSerialization(arg0: MSPyECObjects.IECInstance) -> MSPyBentley.WString: ... + @staticmethod def IsFixedArrayProperty(instance: MSPyECObjects.IECInstance, accessString: str) -> tuple: ... + @staticmethod def IsPropertyNull(*args, **kwargs): """ Overloaded function. @@ -4828,6 +5144,7 @@ class DgnElementECInstance: """ ... + @staticmethod def IsPropertyReadOnly(*args, **kwargs): """ Overloaded function. @@ -4853,12 +5170,15 @@ class DgnElementECInstance: def OffsetToIECInstance(arg0: MSPyECObjects.IECInstance) -> int: ... + @staticmethod def ReadFromXmlFile(fileName: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def ReadFromXmlString(xmlString: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def RemoveArrayElement(*args, **kwargs): """ Overloaded function. @@ -4908,6 +5228,7 @@ class DgnElementECInstance: """ ... + @staticmethod def SetValue(*args, **kwargs): """ Overloaded function. @@ -4922,6 +5243,7 @@ class DgnElementECInstance: """ ... + @staticmethod def SetValueAsString(*args, **kwargs): """ Overloaded function. @@ -4988,6 +5310,7 @@ class DgnElementECInstance: def WriteToXmlFile(self: MSPyECObjects.IECInstance, fileName: str, writeInstanceId: bool, utf16: bool) -> MSPyECObjects.InstanceWriteStatus: ... + @staticmethod def WriteToXmlString(*args, **kwargs): """ Overloaded function. @@ -4998,17 +5321,30 @@ class DgnElementECInstance: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class DgnElementECInstancePtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5041,6 +5377,7 @@ class DgnElementECInstancePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -5061,6 +5398,7 @@ class DgnElementECInstancePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -5081,7 +5419,7 @@ class DgnElementECInstancePtrArray: """ ... -class ECClass: +class ECClass(MSPyECObjects.IECCustomAttributeContainer): """ None """ @@ -5097,6 +5435,7 @@ class ECClass: def ClassesAreEqualByName(currentBaseClass: MSPyECObjects.ECClass, arg: capsule) -> bool: ... + @staticmethod def CreateArrayProperty(*args, **kwargs): """ Overloaded function. @@ -5109,6 +5448,7 @@ class ECClass: """ ... + @staticmethod def CreatePrimitiveProperty(*args, **kwargs): """ Overloaded function. @@ -5119,6 +5459,7 @@ class ECClass: """ ... + @staticmethod def CreateStructProperty(*args, **kwargs): """ Overloaded function. @@ -5158,6 +5499,7 @@ class ECClass: def GetBaseClasses(self: MSPyECObjects.ECClass) -> MSPyECObjects.ECClassPArray: ... + @staticmethod def GetCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -5168,6 +5510,7 @@ class ECClass: """ ... + @staticmethod def GetCustomAttributeLocal(*args, **kwargs): """ Overloaded function. @@ -5223,6 +5566,7 @@ class ECClass: def GetName(self: MSPyECObjects.ECClass) -> MSPyBentley.WString: ... + @staticmethod def GetPrimaryCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -5236,6 +5580,7 @@ class ECClass: def GetPrimaryCustomAttributes(self: MSPyECObjects.IECCustomAttributeContainer, includeBase: bool) -> ECN.ECCustomAttributeInstanceIterable: ... + @staticmethod def GetProperties(*args, **kwargs): """ Overloaded function. @@ -5246,6 +5591,7 @@ class ECClass: """ ... + @staticmethod def GetProperty(*args, **kwargs): """ Overloaded function. @@ -5286,6 +5632,7 @@ class ECClass: def InvariantDisplayLabel(arg0: MSPyECObjects.ECClass) -> MSPyBentley.WString: ... + @staticmethod def Is(*args, **kwargs): """ Overloaded function. @@ -5305,6 +5652,7 @@ class ECClass: def IsCustomAttributeClass(arg0: MSPyECObjects.ECClass, arg1: bool) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def IsDefined(*args, **kwargs): """ Overloaded function. @@ -5359,6 +5707,7 @@ class ECClass: def RemoveBaseClass(self: MSPyECObjects.ECClass, baseClass: MSPyECObjects.ECClass) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def RemoveCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -5385,6 +5734,7 @@ class ECClass: def SetDisplayLabel(self: MSPyECObjects.ECClass, label: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetIsCustomAttributeClass(*args, **kwargs): """ Overloaded function. @@ -5395,6 +5745,7 @@ class ECClass: """ ... + @staticmethod def SetIsDomainClass(*args, **kwargs): """ Overloaded function. @@ -5405,6 +5756,7 @@ class ECClass: """ ... + @staticmethod def SetIsFinal(*args, **kwargs): """ Overloaded function. @@ -5415,6 +5767,7 @@ class ECClass: """ ... + @staticmethod def SetIsStruct(*args, **kwargs): """ Overloaded function. @@ -5425,17 +5778,30 @@ class ECClass: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECClassCPArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5463,17 +5829,33 @@ class ECClassContainer: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECClassPArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5501,12 +5883,15 @@ class ECCustomAttributeInstanceIterable: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECDBuffer: """ None @@ -5535,12 +5920,15 @@ class ECDBuffer: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECEnabler: """ None @@ -5591,12 +5979,15 @@ class ECEnabler: def StandaloneEnablerLocater(arg0: MSPyECObjects.ECEnabler) -> MSPyECObjects.IStandaloneEnablerLocater: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECErrorCategories: """ Members: @@ -5614,7 +6005,13 @@ class ECErrorCategories: eSUPPLEMENTED_SCHEMA_STATUS_BASE """ - def __init__(self: MSPyECObjects.ECErrorCategories, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eECOBJECTS_ERROR_BASE: ECErrorCategories @@ -5637,7 +6034,7 @@ class ECErrorCategories: def value(arg0: MSPyECObjects.ECErrorCategories) -> int: ... -class ECExpressionCriterion: +class ECExpressionCriterion(MSPyECObjects.WhereCriterion): """ None """ @@ -5679,7 +6076,13 @@ class ECExpressionCriterion: eNOT_IN """ - def __init__(self: MSPyECObjects.WhereCriterion.CompareOp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEQ: CompareOp @@ -5706,6 +6109,7 @@ class ECExpressionCriterion: def value(arg0: MSPyECObjects.WhereCriterion.CompareOp) -> int: ... + @staticmethod def ComparePrimitiveValues(lhs: MSPyECObjects.ECValue, op: MSPyECObjects.WhereCriterion.CompareOp, rhs: MSPyECObjects.ECValue) -> bool: """ Utility to compare two values according to a comparison operator. This @@ -5735,6 +6139,7 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateComparison(lhs: MSPyECObjects.WhereExpression, op: MSPyECObjects.WhereCriterion.CompareOp, rhs: MSPyECObjects.WhereExpression, isCaseSensitive: bool = False) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that compares the values of two expressions. @@ -5758,6 +6163,7 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateLogical(lhs: MSPyECObjects.WhereCriterion, op: MSPyECObjects.WhereCriterion.LogicalOp, rhs: MSPyECObjects.WhereCriterion) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that combines the results of other criteria. @@ -5774,6 +6180,7 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateLogicalAnd(lhs: MSPyECObjects.WhereCriterion, rhs: MSPyECObjects.WhereCriterion) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that ANDs two criteria together. @See @@ -5787,6 +6194,7 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateLogicalOr(lhs: MSPyECObjects.WhereCriterion, rhs: MSPyECObjects.WhereCriterion) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that ORs two criteria together. @See @@ -5800,6 +6208,7 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateNonNullPropertyTest(accessString: MSPyBentley.WString, arrayIndex: int = -1) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion which evaluates true if the specified property @@ -5813,6 +6222,7 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateNullPropertyTest(accessString: MSPyBentley.WString, arrayIndex: int = -1) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion which evaluates true if the specified property @@ -5826,9 +6236,11 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateNumberFilter(lhs: MSPyECObjects.WhereExpression, filter: str, ifMatch: bool) -> tuple: ... + @staticmethod def CreatePropertyComparison(ecPropertyName: str, op: MSPyECObjects.WhereCriterion.CompareOp, value: MSPyECObjects.ECValue) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that compares a named ECProperty to a known @@ -5847,9 +6259,11 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateRegexFilter(lhs: MSPyECObjects.WhereExpression, regexPattern: str, isCaseSensitive: bool) -> tuple: ... + @staticmethod def CreateRelatedCriterion(lhs: MSPyECObjects.WhereCriterion.RelatedInstanceFinder, rhs: MSPyECObjects.WhereCriterion) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that applies a criterion to a related @@ -5863,6 +6277,7 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateRelatedInstanceFinder(source: MSPyECObjects.WhereCriterion.RelatedInstanceFinder, targetRelationship: MSPyECObjects.QueryRelatedClassSpecifier, relationshipCriterion: MSPyECObjects.WhereCriterion = None) -> MSPyECObjects.WhereCriterion.RelatedInstanceFinder: """ Create an agent that looks up a related instance, nested in another @@ -5884,6 +6299,7 @@ class ECExpressionCriterion: """ ... + @staticmethod def CreateStringFilter(lhs: MSPyECObjects.WhereExpression, filter: str, ifMatch: bool, isCaseSensitive: bool) -> tuple: ... @@ -5896,7 +6312,13 @@ class ECExpressionCriterion: eLOGICAL_OR """ - def __init__(self: MSPyECObjects.WhereCriterion.LogicalOp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLOGICAL_AND: LogicalOp @@ -5918,7 +6340,13 @@ class ECExpressionCriterion: eNUMBER_FILTER_ERROR_InvalidSyntax """ - def __init__(self: MSPyECObjects.WhereCriterion.NumberFilterError, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNUMBER_FILTER_ERROR_InvalidSyntax: NumberFilterError @@ -5931,6 +6359,7 @@ class ECExpressionCriterion: def value(arg0: MSPyECObjects.WhereCriterion.NumberFilterError) -> int: ... + @staticmethod def PromoteValueToPrimitiveType(v: MSPyECObjects.ECValue, typeWanted: MSPyECObjects.PrimitiveType) -> MSPyECObjects.ECValue: """ Utility to do simple primitive type conversions. @@ -5960,12 +6389,15 @@ class ECExpressionCriterion: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StringFilterError: """ Members: @@ -5973,7 +6405,13 @@ class ECExpressionCriterion: eSTRING_FILTER_ERROR_InvalidSyntax """ - def __init__(self: MSPyECObjects.WhereCriterion.StringFilterError, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSTRING_FILTER_ERROR_InvalidSyntax: StringFilterError @@ -5986,12 +6424,15 @@ class ECExpressionCriterion: def value(arg0: MSPyECObjects.WhereCriterion.StringFilterError) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eEQ: CompareOp eGE: CompareOp @@ -6073,7 +6514,13 @@ class ECImageKey: def SetImageType(self: MSPyECObjects.ECImageKey, type: MSPyECObjects.ECImageKey.ImageType) -> None: ... - def __init__(self: MSPyECObjects.ECImageKey, name: MSPyBentley.WString, type: MSPyECObjects.ECImageKey.ImageType) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBitmap: ImageType @@ -6089,7 +6536,13 @@ class ECInstanceIterable: None """ - def __init__(self: MSPyECObjects.ECInstanceIterable) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ECInstanceReadContext: @@ -6126,12 +6579,15 @@ class ECInstanceReadContext: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECNameValidation: """ None @@ -6170,7 +6626,13 @@ class ECNameValidation: eRESULT_IncludesInvalidCharacters """ - def __init__(self: MSPyECObjects.ECNameValidation.ValidationResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eRESULT_BeginsWithDigit: ValidationResult @@ -6189,12 +6651,15 @@ class ECNameValidation: def value(arg0: MSPyECObjects.ECNameValidation.ValidationResult) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eRESULT_BeginsWithDigit: ValidationResult eRESULT_IncludesInvalidCharacters: ValidationResult @@ -6292,7 +6757,13 @@ class ECObjectsStatus: eECOBJECTS_STATUS_Error """ - def __init__(self: MSPyECObjects.ECObjectsStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eECOBJECTS_STATUS_AccessStringDisagreesWithNIndices: ECObjectsStatus @@ -6387,7 +6858,7 @@ class ECObjectsStatus: def value(arg0: MSPyECObjects.ECObjectsStatus) -> int: ... -class ECProperty: +class ECProperty(MSPyECObjects.IECCustomAttributeContainer): """ None """ @@ -6432,6 +6903,7 @@ class ECProperty: def GetClass(self: MSPyECObjects.ECProperty) -> ECN.ECClass: ... + @staticmethod def GetCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -6442,6 +6914,7 @@ class ECProperty: """ ... + @staticmethod def GetCustomAttributeLocal(*args, **kwargs): """ Overloaded function. @@ -6488,6 +6961,7 @@ class ECProperty: def GetName(self: MSPyECObjects.ECProperty) -> MSPyBentley.WString: ... + @staticmethod def GetPrimaryCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -6523,6 +6997,7 @@ class ECProperty: def IsCalculated(self: MSPyECObjects.ECProperty) -> bool: ... + @staticmethod def IsDefined(*args, **kwargs): """ Overloaded function. @@ -6556,6 +7031,7 @@ class ECProperty: def Name(arg0: MSPyECObjects.ECProperty) -> MSPyBentley.WString: ... + @staticmethod def RemoveCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -6581,6 +7057,7 @@ class ECProperty: def SetDisplayLabel(self: MSPyECObjects.ECProperty, label: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetIsReadOnly(*args, **kwargs): """ Overloaded function. @@ -6601,12 +7078,15 @@ class ECProperty: def TypeName(arg0: MSPyECObjects.ECProperty, arg1: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECPropertyIterable: """ None @@ -6615,12 +7095,15 @@ class ECPropertyIterable: def FindByDisplayLabel(self: MSPyECObjects.ECPropertyIterable, label: str) -> MSPyECObjects.ECProperty: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECPropertyValue: """ None @@ -6661,12 +7144,15 @@ class ECPropertyValue: def ValueAccessor(arg0: MSPyECObjects.ECPropertyValue) -> MSPyECObjects.ECValueAccessor: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECQuery: """ None @@ -6746,7 +7232,7 @@ class ECQuery: /code FindInstancesScopePtr scope = FindInstancesScope.Create(*model, true); ECQuery query; query.SetSearchAllClasses (); ECSubstringPropertyValueFilter textSearch (L" EQRSVD "); - query.SetPropertyValuePreFilter (&textSearch); for each + query.SetPropertyValuePreFilter (textSearch); for each (DgnElementECInstancePtr inst in dgnECManager.FindElementInstances (*scope, query, model)) ++haveText; /endcode """ @@ -6773,12 +7259,15 @@ class ECQuery: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECQueryProcessFlags: """ Members: @@ -6794,7 +7283,13 @@ class ECQueryProcessFlags: eECQUERY_PROCESS_SearchAllClasses """ - def __init__(self: MSPyECObjects.ECQueryProcessFlags, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eECQUERY_PROCESS_Empty: ECQueryProcessFlags @@ -6824,7 +7319,13 @@ class ECRelatedInstanceDirection: eSTRENGTHDIRECTION_Backward """ - def __init__(self: MSPyECObjects.ECRelatedInstanceDirection, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSTRENGTHDIRECTION_Backward: ECRelatedInstanceDirection @@ -6839,7 +7340,7 @@ class ECRelatedInstanceDirection: def value(arg0: MSPyECObjects.ECRelatedInstanceDirection) -> int: ... -class ECRelationshipClass: +class ECRelationshipClass(MSPyECObjects.ECClass): """ None """ @@ -6851,9 +7352,11 @@ class ECRelationshipClass: def BaseClasses(arg0: MSPyECObjects.ECClass) -> MSPyECObjects.ECClassPArray: ... + @staticmethod def ClassesAreEqualByName(currentBaseClass: MSPyECObjects.ECClass, arg: capsule) -> bool: ... + @staticmethod def CreateArrayProperty(*args, **kwargs): """ Overloaded function. @@ -6866,6 +7369,7 @@ class ECRelationshipClass: """ ... + @staticmethod def CreatePrimitiveProperty(*args, **kwargs): """ Overloaded function. @@ -6876,6 +7380,7 @@ class ECRelationshipClass: """ ... + @staticmethod def CreateStructProperty(*args, **kwargs): """ Overloaded function. @@ -6915,6 +7420,7 @@ class ECRelationshipClass: def GetBaseClasses(self: MSPyECObjects.ECClass) -> MSPyECObjects.ECClassPArray: ... + @staticmethod def GetCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -6925,6 +7431,7 @@ class ECRelationshipClass: """ ... + @staticmethod def GetCustomAttributeLocal(*args, **kwargs): """ Overloaded function. @@ -6986,6 +7493,7 @@ class ECRelationshipClass: def GetOrderedRelationshipPropertyName(self: MSPyECObjects.ECRelationshipClass, propertyName: MSPyBentley.WString, end: MSPyECObjects.ECRelationshipEnd) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def GetPrimaryCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -6999,6 +7507,7 @@ class ECRelationshipClass: def GetPrimaryCustomAttributes(self: MSPyECObjects.IECCustomAttributeContainer, includeBase: bool) -> ECN.ECCustomAttributeInstanceIterable: ... + @staticmethod def GetProperties(*args, **kwargs): """ Overloaded function. @@ -7009,6 +7518,7 @@ class ECRelationshipClass: """ ... + @staticmethod def GetProperty(*args, **kwargs): """ Overloaded function. @@ -7024,6 +7534,7 @@ class ECRelationshipClass: def GetPropertyCount(self: MSPyECObjects.ECClass, includeBaseProperties: bool = True) -> int: ... + @staticmethod def GetQualifiedClassName(primarySchema: ECN.ECSchema, ecClass: MSPyECObjects.ECClass) -> MSPyBentley.WString: ... @@ -7060,6 +7571,7 @@ class ECRelationshipClass: def InvariantDisplayLabel(arg0: MSPyECObjects.ECClass) -> MSPyBentley.WString: ... + @staticmethod def Is(*args, **kwargs): """ Overloaded function. @@ -7079,6 +7591,7 @@ class ECRelationshipClass: def IsCustomAttributeClass(arg0: MSPyECObjects.ECClass, arg1: bool) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def IsDefined(*args, **kwargs): """ Overloaded function. @@ -7122,6 +7635,7 @@ class ECRelationshipClass: def Name(arg0: MSPyECObjects.ECClass) -> MSPyBentley.WString: ... + @staticmethod def ParseClassName(prefix: MSPyBentley.WString, className: MSPyBentley.WString, qualifiedClassName: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... @@ -7136,6 +7650,7 @@ class ECRelationshipClass: def RemoveBaseClass(self: MSPyECObjects.ECClass, baseClass: MSPyECObjects.ECClass) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def RemoveCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -7162,6 +7677,7 @@ class ECRelationshipClass: def SetDisplayLabel(self: MSPyECObjects.ECClass, label: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetIsCustomAttributeClass(*args, **kwargs): """ Overloaded function. @@ -7172,6 +7688,7 @@ class ECRelationshipClass: """ ... + @staticmethod def SetIsDomainClass(*args, **kwargs): """ Overloaded function. @@ -7182,6 +7699,7 @@ class ECRelationshipClass: """ ... + @staticmethod def SetIsFinal(*args, **kwargs): """ Overloaded function. @@ -7192,6 +7710,7 @@ class ECRelationshipClass: """ ... + @staticmethod def SetIsStruct(*args, **kwargs): """ Overloaded function. @@ -7205,7 +7724,7 @@ class ECRelationshipClass: def SetStrength(self: MSPyECObjects.ECRelationshipClass, strength: MSPyECObjects.StrengthType) -> MSPyECObjects.ECObjectsStatus: ... - def SetStrengthDirection(self: MSPyECObjects.ECRelationshipClass, dir: MSPyECObjects.ECRelatedInstanceDirection) -> MSPyECObjects.ECObjectsStatus: + def SetStrengthDirection(self: MSPyECObjects.ECRelationshipClass, dir_: MSPyECObjects.ECRelatedInstanceDirection) -> MSPyECObjects.ECObjectsStatus: ... @property @@ -7230,13 +7749,16 @@ class ECRelationshipClass: def Target(arg0: MSPyECObjects.ECRelationshipClass) -> MSPyECObjects.ECRelationshipConstraint: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ECRelationshipConstraint: + def __init__(self, *args, **kwargs): + ... + +class ECRelationshipConstraint(MSPyECObjects.IECCustomAttributeContainer): """ None """ @@ -7267,6 +7789,7 @@ class ECRelationshipConstraint: def GetCustomAttribute(self: MSPyECObjects.ECRelationshipConstraint, classDefiniton: MSPyECObjects.ECClass) -> ECN.IECInstance: ... + @staticmethod def GetCustomAttributeLocal(*args, **kwargs): """ Overloaded function. @@ -7298,6 +7821,7 @@ class ECRelationshipConstraint: def GetOrderedRelationshipPropertyName(self: MSPyECObjects.ECRelationshipConstraint, propertyName: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def GetPrimaryCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -7318,6 +7842,7 @@ class ECRelationshipConstraint: def InvariantRoleLabel(arg0: MSPyECObjects.ECRelationshipConstraint) -> MSPyBentley.WString: ... + @staticmethod def IsDefined(*args, **kwargs): """ Overloaded function. @@ -7353,6 +7878,7 @@ class ECRelationshipConstraint: def RemoveClass(self: MSPyECObjects.ECRelationshipConstraint, classConstraint: MSPyECObjects.ECClass) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def RemoveCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -7370,6 +7896,7 @@ class ECRelationshipConstraint: def RoleLabel(arg0: MSPyECObjects.ECRelationshipConstraint, arg1: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetCardinality(*args, **kwargs): """ Overloaded function. @@ -7383,6 +7910,7 @@ class ECRelationshipConstraint: def SetCustomAttribute(self: MSPyECObjects.ECRelationshipConstraint, customAtributeInstance: ECN.IECInstance) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetIsPolymorphic(*args, **kwargs): """ Overloaded function. @@ -7396,12 +7924,15 @@ class ECRelationshipConstraint: def SetRoleLabel(self: MSPyECObjects.ECRelationshipConstraint, label: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECRelationshipEnd: """ Members: @@ -7411,7 +7942,13 @@ class ECRelationshipEnd: eECRelationshipEnd_Target """ - def __init__(self: MSPyECObjects.ECRelationshipEnd, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eECRelationshipEnd_Source: ECRelationshipEnd @@ -7431,10 +7968,16 @@ class ECRelationshipIterable: None """ - def __init__(self: MSPyECObjects.ECRelationshipIterable) -> None: + class __class__(type): + """ + None + """ ... -class ECReportNode: + def __init__(self, *args, **kwargs): + ... + +class ECReportNode(MSPyECObjects.XDataTreeNode): """ None """ @@ -7462,6 +8005,7 @@ class ECReportNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -7753,17 +8297,30 @@ class ECReportNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECReportNodePtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -7796,6 +8353,7 @@ class ECReportNodePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -7816,6 +8374,7 @@ class ECReportNodePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -7855,10 +8414,16 @@ class ECReportNodeType: eSortingRule """ - def __init__(self: MSPyECObjects.ECReportNodeType, value: int) -> None: + class __class__(type): + """ + None + """ ... - eCategory: ECReportNodeType + def __init__(self, *args, **kwargs): + ... + + eCategory: ECReportNodeType eColumnDefinition: ECReportNodeType @@ -7885,6 +8450,7 @@ class ECSchema: None """ + @staticmethod def AddReferencedSchema(*args, **kwargs): """ Overloaded function. @@ -8148,6 +8714,7 @@ class ECSchema: def WriteToXmlFile(self: MSPyECObjects.ECSchema, ecSchemaXmlFile: str, utf16: bool = False) -> MSPyECObjects.SchemaWriteStatus: ... + @staticmethod def WriteToXmlString(*args, **kwargs): """ Overloaded function. @@ -8158,17 +8725,30 @@ class ECSchema: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECSchemaCPArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -8201,6 +8781,7 @@ class ECSchemaCPArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -8221,6 +8802,7 @@ class ECSchemaCPArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -8262,6 +8844,7 @@ class ECSchemaCache: def GetCount(self: MSPyECObjects.ECSchemaCache) -> int: ... + @staticmethod def GetSchema(*args, **kwargs): """ Overloaded function. @@ -8275,14 +8858,20 @@ class ECSchemaCache: def GetSchemaLocater(self: MSPyECObjects.ECSchemaCache) -> MSPyECObjects.IECSchemaLocater: ... - def GetSchemas(self: MSPyECObjects.ECSchemaCache, schemas: List[ECN.ECSchema ]) -> int: + def GetSchemas(self: MSPyECObjects.ECSchemaCache, schemas: list[ECN.ECSchema ]) -> int: ... @property def SchemaLocater(arg0: MSPyECObjects.ECSchemaCache) -> MSPyECObjects.IECSchemaLocater: ... - def __init__(self: MSPyECObjects.ECSchemaCache) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ECSchemaPArray: @@ -8290,6 +8879,16 @@ class ECSchemaPArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -8322,6 +8921,7 @@ class ECSchemaPArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -8342,6 +8942,7 @@ class ECSchemaPArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -8375,7 +8976,13 @@ class ECSchemaPersistence: eECSCHEMAPERSISTENCE_All """ - def __init__(self: MSPyECObjects.ECSchemaPersistence, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eECSCHEMAPERSISTENCE_All: ECSchemaPersistence @@ -8399,6 +9006,16 @@ class ECSchemaPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -8431,6 +9048,7 @@ class ECSchemaPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -8451,6 +9069,7 @@ class ECSchemaPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -8605,7 +9224,13 @@ class ECSchemaReadContext: eFinal """ - def __init__(self: MSPyECObjects.ECSchemaReadContext.PriorityPartiion, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eExternal: PriorityPartiion @@ -8645,12 +9270,15 @@ class ECSchemaReadContext: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eExternal: PriorityPartiion eFinal: PriorityPartiion @@ -8661,7 +9289,7 @@ class ECSchemaReadContext: eUserSpace: PriorityPartiion -class ECSubstringPropertyValueFilter: +class ECSubstringPropertyValueFilter(MSPyECObjects.IECPropertyValueFilter): """ None """ @@ -8731,7 +9359,13 @@ class ECSubstringPropertyValueFilter: def RequiredPrimitiveType(arg0: MSPyECObjects.IECPropertyValueFilter) -> MSPyECObjects.PrimitiveType: ... - def __init__(self: MSPyECObjects.ECSubstringPropertyValueFilter, pv: str) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ECTypeDescriptor: @@ -8791,12 +9425,15 @@ class ECTypeDescriptor: def TypeKind(arg0: MSPyECObjects.ECTypeDescriptor) -> MSPyECObjects.ValueKind: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ECValue: """ None @@ -9038,6 +9675,7 @@ class ECValue: def SetDateTime(self: MSPyECObjects.ECValue, dateTime: MSPyBentley.BeDateTime) -> BentleyStatus: ... + @staticmethod def SetDateTimeTicks(*args, **kwargs): """ Overloaded function. @@ -9081,6 +9719,7 @@ class ECValue: def SetPrimitiveType(self: MSPyECObjects.ECValue, type: MSPyECObjects.PrimitiveType) -> BentleyStatus: ... + @staticmethod def SetString(*args, **kwargs): """ Overloaded function. @@ -9099,6 +9738,7 @@ class ECValue: def SetStructArrayInfo(self: MSPyECObjects.ECValue, count: int, isFixedSize: bool) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetToNull(*args, **kwargs): """ Overloaded function. @@ -9127,6 +9767,13 @@ class ECValue: def Utf8String(arg0: MSPyECObjects.ECValue) -> str: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -9176,6 +9823,7 @@ class ECValueAccessor: def Depth(arg0: MSPyECObjects.ECValueAccessor) -> int: ... + @staticmethod def GetAccessString(*args, **kwargs): """ Overloaded function. @@ -9214,6 +9862,13 @@ class ECValueAccessor: def GetEnabler(self: MSPyECObjects.ECValueAccessor.Location) -> MSPyECObjects.ECEnabler: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -9246,6 +9901,7 @@ class ECValueAccessor: def PropertyName(arg0: MSPyECObjects.ECValueAccessor) -> MSPyBentley.WString: ... + @staticmethod def PushLocation(*args, **kwargs): """ Overloaded function. @@ -9260,7 +9916,13 @@ class ECValueAccessor: """ ... - def __init__(self: MSPyECObjects.ECValueAccessor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ECValuesCollection: @@ -9268,6 +9930,9 @@ class ECValuesCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @staticmethod def Create(*args, **kwargs): """ @@ -9286,13 +9951,16 @@ class ECValuesCollection: def ParentProperty(arg0: MSPyECObjects.ECValuesCollection) -> MSPyECObjects.ECPropertyValue: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ElementTemplateNode: + def __init__(self, *args, **kwargs): + ... + +class ElementTemplateNode(MSPyECObjects.XDataTreeNode): """ None """ @@ -9312,6 +9980,7 @@ class ElementTemplateNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -9588,12 +10257,15 @@ class ElementTemplateNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class EvaluationOptions: """ Members: @@ -9607,7 +10279,13 @@ class EvaluationOptions: eEVALOPT_EnforceGlobalRepresentation """ - def __init__(self: MSPyECObjects.EvaluationOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEVALOPT_EnforceGlobalRepresentation: EvaluationOptions @@ -9641,7 +10319,7 @@ class EvaluationResult: def GetECValue(self: MSPyECObjects.EvaluationResult) -> ECN.ECValue: ... - def GetInstanceList(self: MSPyECObjects.EvaluationResult) -> List[ECN.IECInstance]: + def GetInstanceList(self: MSPyECObjects.EvaluationResult) -> list[ECN.IECInstance]: ... def GetUnits(self: MSPyECObjects.EvaluationResult) -> ECN.UnitSpec: @@ -9651,7 +10329,7 @@ class EvaluationResult: ... @property - def InstanceList(arg0: MSPyECObjects.EvaluationResult) -> List[ECN.IECInstance]: + def InstanceList(arg0: MSPyECObjects.EvaluationResult) -> list[ECN.IECInstance]: ... def IsECValue(self: MSPyECObjects.EvaluationResult) -> bool: @@ -9669,7 +10347,7 @@ class EvaluationResult: def SetInstance(self: MSPyECObjects.EvaluationResult, instance: ECN.IECInstance) -> None: ... - def SetInstanceList(self: MSPyECObjects.EvaluationResult, instanceList: List[ECN.IECInstance], makeCopy: bool) -> None: + def SetInstanceList(self: MSPyECObjects.EvaluationResult, instanceList: list[ECN.IECInstance], makeCopy: bool) -> None: ... def SetUnits(self: MSPyECObjects.EvaluationResult, units: ECN.UnitSpec) -> None: @@ -9686,10 +10364,16 @@ class EvaluationResult: def ValueType(arg0: MSPyECObjects.EvaluationResult) -> MSPyECObjects.ValueType: ... - def __init__(self: MSPyECObjects.EvaluationResult) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class ExplorerContextMenuNode: +class ExplorerContextMenuNode(MSPyECObjects.UserInterfaceNode): """ None """ @@ -9709,6 +10393,7 @@ class ExplorerContextMenuNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -9953,12 +10638,15 @@ class ExplorerContextMenuNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ExpressionContext: """ None @@ -9986,12 +10674,15 @@ class ExpressionContext: def SetEvaluationOptions(self: MSPyECObjects.ExpressionContext, options: MSPyECObjects.EvaluationOptions) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ExpressionResolver: """ None @@ -10004,12 +10695,15 @@ class ExpressionResolver: def GetExpressionContext(self: MSPyECObjects.ExpressionResolver) -> MSPyECObjects.ExpressionContext: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ExpressionStatus: """ Members: @@ -10055,7 +10749,13 @@ class ExpressionStatus: eExprStatus_IncompatibleUnits """ - def __init__(self: MSPyECObjects.ExpressionStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eExprStatus_ArrayRequired: ExpressionStatus @@ -10249,7 +10949,13 @@ class ExpressionToken: eTOKEN_PrimaryList """ - def __init__(self: MSPyECObjects.ExpressionToken, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTOKEN_And: ExpressionToken @@ -10398,7 +11104,7 @@ class ExpressionToken: def value(arg0: MSPyECObjects.ExpressionToken) -> int: ... -class HostExpressionCriterion: +class HostExpressionCriterion(MSPyECObjects.ECExpressionCriterion): """ None """ @@ -10440,7 +11146,13 @@ class HostExpressionCriterion: eNOT_IN """ - def __init__(self: MSPyECObjects.WhereCriterion.CompareOp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEQ: CompareOp @@ -10467,6 +11179,7 @@ class HostExpressionCriterion: def value(arg0: MSPyECObjects.WhereCriterion.CompareOp) -> int: ... + @staticmethod def ComparePrimitiveValues(lhs: MSPyECObjects.ECValue, op: MSPyECObjects.WhereCriterion.CompareOp, rhs: MSPyECObjects.ECValue) -> bool: """ Utility to compare two values according to a comparison operator. This @@ -10496,6 +11209,7 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateComparison(lhs: MSPyECObjects.WhereExpression, op: MSPyECObjects.WhereCriterion.CompareOp, rhs: MSPyECObjects.WhereExpression, isCaseSensitive: bool = False) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that compares the values of two expressions. @@ -10519,6 +11233,7 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateLogical(lhs: MSPyECObjects.WhereCriterion, op: MSPyECObjects.WhereCriterion.LogicalOp, rhs: MSPyECObjects.WhereCriterion) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that combines the results of other criteria. @@ -10535,6 +11250,7 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateLogicalAnd(lhs: MSPyECObjects.WhereCriterion, rhs: MSPyECObjects.WhereCriterion) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that ANDs two criteria together. @See @@ -10548,6 +11264,7 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateLogicalOr(lhs: MSPyECObjects.WhereCriterion, rhs: MSPyECObjects.WhereCriterion) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that ORs two criteria together. @See @@ -10561,6 +11278,7 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateNonNullPropertyTest(accessString: MSPyBentley.WString, arrayIndex: int = -1) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion which evaluates true if the specified property @@ -10574,6 +11292,7 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateNullPropertyTest(accessString: MSPyBentley.WString, arrayIndex: int = -1) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion which evaluates true if the specified property @@ -10587,9 +11306,11 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateNumberFilter(lhs: MSPyECObjects.WhereExpression, filter: str, ifMatch: bool) -> tuple: ... + @staticmethod def CreatePropertyComparison(ecPropertyName: str, op: MSPyECObjects.WhereCriterion.CompareOp, value: MSPyECObjects.ECValue) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that compares a named ECProperty to a known @@ -10608,9 +11329,11 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateRegexFilter(lhs: MSPyECObjects.WhereExpression, regexPattern: str, isCaseSensitive: bool) -> tuple: ... + @staticmethod def CreateRelatedCriterion(lhs: MSPyECObjects.WhereCriterion.RelatedInstanceFinder, rhs: MSPyECObjects.WhereCriterion) -> MSPyECObjects.WhereCriterion: """ Create a WhereCriterion that applies a criterion to a related @@ -10624,6 +11347,7 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateRelatedInstanceFinder(source: MSPyECObjects.WhereCriterion.RelatedInstanceFinder, targetRelationship: MSPyECObjects.QueryRelatedClassSpecifier, relationshipCriterion: MSPyECObjects.WhereCriterion = None) -> MSPyECObjects.WhereCriterion.RelatedInstanceFinder: """ Create an agent that looks up a related instance, nested in another @@ -10645,6 +11369,7 @@ class HostExpressionCriterion: """ ... + @staticmethod def CreateStringFilter(lhs: MSPyECObjects.WhereExpression, filter: str, ifMatch: bool, isCaseSensitive: bool) -> tuple: ... @@ -10657,7 +11382,13 @@ class HostExpressionCriterion: eLOGICAL_OR """ - def __init__(self: MSPyECObjects.WhereCriterion.LogicalOp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLOGICAL_AND: LogicalOp @@ -10679,7 +11410,13 @@ class HostExpressionCriterion: eNUMBER_FILTER_ERROR_InvalidSyntax """ - def __init__(self: MSPyECObjects.WhereCriterion.NumberFilterError, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNUMBER_FILTER_ERROR_InvalidSyntax: NumberFilterError @@ -10692,6 +11429,7 @@ class HostExpressionCriterion: def value(arg0: MSPyECObjects.WhereCriterion.NumberFilterError) -> int: ... + @staticmethod def PromoteValueToPrimitiveType(v: MSPyECObjects.ECValue, typeWanted: MSPyECObjects.PrimitiveType) -> MSPyECObjects.ECValue: """ Utility to do simple primitive type conversions. @@ -10721,12 +11459,15 @@ class HostExpressionCriterion: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StringFilterError: """ Members: @@ -10734,7 +11475,13 @@ class HostExpressionCriterion: eSTRING_FILTER_ERROR_InvalidSyntax """ - def __init__(self: MSPyECObjects.WhereCriterion.StringFilterError, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSTRING_FILTER_ERROR_InvalidSyntax: StringFilterError @@ -10747,7 +11494,13 @@ class HostExpressionCriterion: def value(arg0: MSPyECObjects.WhereCriterion.StringFilterError) -> int: ... - def __init__(self: MSPyECObjects.HostExpressionCriterion, expressionString: str, hostSymbolName: str, hostSpecContext: MSPyECObjects.DgnECHostSpecificationsContext) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEQ: CompareOp @@ -10802,7 +11555,13 @@ class IAUIDataContext: eNodeCollection """ - def __init__(self: MSPyECObjects.IAUIDataContext.ContextType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCustom: ContextType @@ -10843,12 +11602,15 @@ class IAUIDataContext: def GetMoniker(self: MSPyECObjects.IAUIDataContext) -> MSPyBentley.WString: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eCustom: ContextType eDgnActionItemInfoType: ContextType @@ -10881,21 +11643,22 @@ class ICustomECStructSerializer: def UsesCustomStructXmlString(self: MSPyECObjects.ICustomECStructSerializer, structProperty: MSPyECObjects.StructECProperty, ecInstance: ECN.IECInstance) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IDgnECProvider: + def __init__(self, *args, **kwargs): + ... + +class IDgnECProvider(MSPyECObjects.IECProvider): """ None """ - def FindECClassesOnElement(*args, **kwargs): + def FindECClassesOnElement(self: MSPyECObjects.IDgnECProvider, rootElement: MSPyDgnPlatform.ElementRefBase, classes: dict[Any, Any]) -> None: """ - FindECClassesOnElement(self: MSPyECObjects.IDgnECProvider, rootElement: MSPyDgnPlatform.ElementRefBase, classes: bmap,32,BentleyAllocator > >) -> None - Finds the schemaName className pairs for all instances on the element, and sets a flag as to whether the primary instance on the element is of that class. @@ -10922,17 +11685,21 @@ class IDgnECProvider: def ProviderName(arg0: MSPyECObjects.IECProvider) -> str: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IDgnECRelationshipInstance: + def __init__(self, *args, **kwargs): + ... + +class IDgnECRelationshipInstance(MSPyECObjects.IECRelationshipInstance): """ None """ + @staticmethod def AddArrayElements(*args, **kwargs): """ Overloaded function. @@ -10946,6 +11713,7 @@ class IDgnECRelationshipInstance: def AsMemoryECInstance(self: MSPyECObjects.IECInstance) -> ECN.MemoryECInstanceBase: ... + @staticmethod def ChangeValue(*args, **kwargs): """ Overloaded function. @@ -10967,6 +11735,7 @@ class IDgnECRelationshipInstance: def Class(arg0: MSPyECObjects.IECInstance) -> MSPyECObjects.ECClass: ... + @staticmethod def ClearArray(*args, **kwargs): """ Overloaded function. @@ -10980,6 +11749,7 @@ class IDgnECRelationshipInstance: def CopyValues(self: MSPyECObjects.IECInstance, source: MSPyECObjects.IECInstance) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def CreateCopyThroughSerialization(*args, **kwargs): """ Overloaded function. @@ -11086,6 +11856,7 @@ class IDgnECRelationshipInstance: """ ... + @staticmethod def GetValue(*args, **kwargs): """ Overloaded function. @@ -11103,6 +11874,7 @@ class IDgnECRelationshipInstance: def GetValueUsingAccessor(self: MSPyECObjects.IECInstance, value: ECN.ECValue, accessor: ECN.ECValueAccessor) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def InsertArrayElements(*args, **kwargs): """ Overloaded function. @@ -11124,9 +11896,11 @@ class IDgnECRelationshipInstance: def InstanceIdForSerialization(arg0: MSPyECObjects.IECInstance) -> MSPyBentley.WString: ... + @staticmethod def IsFixedArrayProperty(instance: MSPyECObjects.IECInstance, accessString: str) -> tuple: ... + @staticmethod def IsPropertyNull(*args, **kwargs): """ Overloaded function. @@ -11141,6 +11915,7 @@ class IDgnECRelationshipInstance: """ ... + @staticmethod def IsPropertyReadOnly(*args, **kwargs): """ Overloaded function. @@ -11158,12 +11933,15 @@ class IDgnECRelationshipInstance: def OffsetToIECInstance(arg0: MSPyECObjects.IECInstance) -> int: ... + @staticmethod def ReadFromXmlFile(fileName: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def ReadFromXmlString(xmlString: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def RemoveArrayElement(*args, **kwargs): """ Overloaded function. @@ -11189,6 +11967,7 @@ class IDgnECRelationshipInstance: def SetTarget(self: MSPyECObjects.IECRelationshipInstance, instance: MSPyECObjects.IECInstance) -> None: ... + @staticmethod def SetValue(*args, **kwargs): """ Overloaded function. @@ -11226,6 +12005,7 @@ class IDgnECRelationshipInstance: def WriteToXmlFile(self: MSPyECObjects.IECInstance, fileName: str, writeInstanceId: bool, utf16: bool) -> MSPyECObjects.InstanceWriteStatus: ... + @staticmethod def WriteToXmlString(*args, **kwargs): """ Overloaded function. @@ -11236,17 +12016,30 @@ class IDgnECRelationshipInstance: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDgnECRelationshipInstancePtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -11279,6 +12072,7 @@ class IDgnECRelationshipInstancePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -11299,6 +12093,7 @@ class IDgnECRelationshipInstancePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -11319,11 +12114,12 @@ class IDgnECRelationshipInstancePtrArray: """ ... -class IDgnECStandaloneTypeAdapterContext: +class IDgnECStandaloneTypeAdapterContext(MSPyECObjects.IDgnECTypeAdapterContext): """ None """ + @staticmethod def CreateStandalone(ecproperty: MSPyECObjects.ECProperty, instance: MSPyECObjects.IECInstance, accessString: str, componentIndex: int = 4294967295, dgnFile: MSPyDgnPlatform.DgnFile = None, modelRef: MSPyDgnPlatform.DgnModelRef = None, elemRef: MSPyDgnPlatform.ElementRefBase = None) -> MSPyDgnPlatform.IDgnECStandaloneTypeAdapterContext: """ Create a context for an IECInstance. If the instance can be cast to @@ -11394,12 +12190,15 @@ class IDgnECStandaloneTypeAdapterContext: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IDgnECTypeAdapter: """ None @@ -11467,13 +12266,16 @@ class IDgnECTypeAdapter: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class IDgnECTypeAdapterContext: + def __init__(self, *args, **kwargs): + ... + +class IDgnECTypeAdapterContext(MSPyECObjects.IECTypeAdapterContext): """ None """ @@ -11515,7 +12317,13 @@ class IDgnECTypeAdapterContext: """ ... - def __init__(self: MSPyECObjects.IDgnECTypeAdapterContext, ecproperty: MSPyECObjects.ECProperty, instance: MSPyDgnPlatform.DgnECInstance, accessString: str, componentIndex: int = 4294967295) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IECCustomAttributeContainer: @@ -11523,6 +12331,7 @@ class IECCustomAttributeContainer: None """ + @staticmethod def GetCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -11533,6 +12342,7 @@ class IECCustomAttributeContainer: """ ... + @staticmethod def GetCustomAttributeLocal(*args, **kwargs): """ Overloaded function. @@ -11546,6 +12356,7 @@ class IECCustomAttributeContainer: def GetCustomAttributes(self: MSPyECObjects.IECCustomAttributeContainer, includeBase: bool) -> ECN.ECCustomAttributeInstanceIterable: ... + @staticmethod def GetPrimaryCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -11559,6 +12370,7 @@ class IECCustomAttributeContainer: def GetPrimaryCustomAttributes(self: MSPyECObjects.IECCustomAttributeContainer, includeBase: bool) -> ECN.ECCustomAttributeInstanceIterable: ... + @staticmethod def IsDefined(*args, **kwargs): """ Overloaded function. @@ -11569,6 +12381,7 @@ class IECCustomAttributeContainer: """ ... + @staticmethod def RemoveCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -11582,17 +12395,21 @@ class IECCustomAttributeContainer: def SetCustomAttribute(self: MSPyECObjects.IECCustomAttributeContainer, customAtributeInstance: ECN.IECInstance) -> MSPyECObjects.ECObjectsStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IECInstance: """ None """ + @staticmethod def AddArrayElements(*args, **kwargs): """ Overloaded function. @@ -11606,6 +12423,7 @@ class IECInstance: def AsMemoryECInstance(self: MSPyECObjects.IECInstance) -> ECN.MemoryECInstanceBase: ... + @staticmethod def ChangeValue(*args, **kwargs): """ Overloaded function. @@ -11627,6 +12445,7 @@ class IECInstance: def Class(arg0: MSPyECObjects.IECInstance) -> MSPyECObjects.ECClass: ... + @staticmethod def ClearArray(*args, **kwargs): """ Overloaded function. @@ -11640,6 +12459,7 @@ class IECInstance: def CopyValues(self: MSPyECObjects.IECInstance, source: MSPyECObjects.IECInstance) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def CreateCopyThroughSerialization(*args, **kwargs): """ Overloaded function. @@ -11679,6 +12499,7 @@ class IECInstance: def GetOffsetToIECInstance(self: MSPyECObjects.IECInstance) -> int: ... + @staticmethod def GetValue(*args, **kwargs): """ Overloaded function. @@ -11696,6 +12517,7 @@ class IECInstance: def GetValueUsingAccessor(self: MSPyECObjects.IECInstance, value: ECN.ECValue, accessor: ECN.ECValueAccessor) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def InsertArrayElements(*args, **kwargs): """ Overloaded function. @@ -11721,6 +12543,7 @@ class IECInstance: def IsFixedArrayProperty(instance: MSPyECObjects.IECInstance, accessString: str) -> tuple: ... + @staticmethod def IsPropertyNull(*args, **kwargs): """ Overloaded function. @@ -11735,6 +12558,7 @@ class IECInstance: """ ... + @staticmethod def IsPropertyReadOnly(*args, **kwargs): """ Overloaded function. @@ -11760,6 +12584,7 @@ class IECInstance: def ReadFromXmlString(xmlString: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def RemoveArrayElement(*args, **kwargs): """ Overloaded function. @@ -11779,6 +12604,7 @@ class IECInstance: def SetInstanceId(self: MSPyECObjects.IECInstance, instanceId: str) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetValue(*args, **kwargs): """ Overloaded function. @@ -11802,6 +12628,7 @@ class IECInstance: def WriteToXmlFile(self: MSPyECObjects.IECInstance, fileName: str, writeInstanceId: bool, utf16: bool) -> MSPyECObjects.InstanceWriteStatus: ... + @staticmethod def WriteToXmlString(*args, **kwargs): """ Overloaded function. @@ -11812,17 +12639,30 @@ class IECInstance: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IECInstancePtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -11855,6 +12695,7 @@ class IECInstancePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -11875,6 +12716,7 @@ class IECInstancePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -11921,7 +12763,13 @@ class IECPresentationProvider: def ProviderType(arg0: MSPyECObjects.IECPresentationProvider) -> MSPyECObjects.IECPresentationProvider.ProviderType: ... - def __init__(self: MSPyECObjects.IECPresentationProvider) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCommandService: ProviderType @@ -12008,12 +12856,15 @@ class IECPropertyValueFilter: def RequiredPrimitiveType(arg0: MSPyECObjects.IECPropertyValueFilter) -> MSPyECObjects.PrimitiveType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IECProvider: """ None @@ -12033,7 +12884,13 @@ class IECProvider: def ProviderName(arg0: MSPyECObjects.IECProvider) -> str: ... - def __init__(self: MSPyECObjects.IECProvider) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IECRelationshipEnabler: @@ -12047,14 +12904,21 @@ class IECRelationshipEnabler: def GetRelationshipClass(self: MSPyECObjects.IECRelationshipEnabler) -> MSPyECObjects.ECRelationshipClass: ... - def __init__(self: MSPyECObjects.IECRelationshipEnabler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IECRelationshipInstance: +class IECRelationshipInstance(MSPyECObjects.IECInstance): """ None """ + @staticmethod def AddArrayElements(*args, **kwargs): """ Overloaded function. @@ -12068,6 +12932,7 @@ class IECRelationshipInstance: def AsMemoryECInstance(self: MSPyECObjects.IECInstance) -> ECN.MemoryECInstanceBase: ... + @staticmethod def ChangeValue(*args, **kwargs): """ Overloaded function. @@ -12089,6 +12954,7 @@ class IECRelationshipInstance: def Class(arg0: MSPyECObjects.IECInstance) -> MSPyECObjects.ECClass: ... + @staticmethod def ClearArray(*args, **kwargs): """ Overloaded function. @@ -12102,6 +12968,7 @@ class IECRelationshipInstance: def CopyValues(self: MSPyECObjects.IECInstance, source: MSPyECObjects.IECInstance) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def CreateCopyThroughSerialization(*args, **kwargs): """ Overloaded function. @@ -12153,6 +13020,7 @@ class IECRelationshipInstance: def GetTargetOrderId(self: MSPyECObjects.IECRelationshipInstance) -> tuple: ... + @staticmethod def GetValue(*args, **kwargs): """ Overloaded function. @@ -12170,6 +13038,7 @@ class IECRelationshipInstance: def GetValueUsingAccessor(self: MSPyECObjects.IECInstance, value: ECN.ECValue, accessor: ECN.ECValueAccessor) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def InsertArrayElements(*args, **kwargs): """ Overloaded function. @@ -12191,9 +13060,11 @@ class IECRelationshipInstance: def InstanceIdForSerialization(arg0: MSPyECObjects.IECInstance) -> MSPyBentley.WString: ... + @staticmethod def IsFixedArrayProperty(instance: MSPyECObjects.IECInstance, accessString: str) -> tuple: ... + @staticmethod def IsPropertyNull(*args, **kwargs): """ Overloaded function. @@ -12208,6 +13079,7 @@ class IECRelationshipInstance: """ ... + @staticmethod def IsPropertyReadOnly(*args, **kwargs): """ Overloaded function. @@ -12225,12 +13097,15 @@ class IECRelationshipInstance: def OffsetToIECInstance(arg0: MSPyECObjects.IECInstance) -> int: ... + @staticmethod def ReadFromXmlFile(fileName: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def ReadFromXmlString(xmlString: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def RemoveArrayElement(*args, **kwargs): """ Overloaded function. @@ -12256,6 +13131,7 @@ class IECRelationshipInstance: def SetTarget(self: MSPyECObjects.IECRelationshipInstance, instance: MSPyECObjects.IECInstance) -> None: ... + @staticmethod def SetValue(*args, **kwargs): """ Overloaded function. @@ -12293,6 +13169,7 @@ class IECRelationshipInstance: def WriteToXmlFile(self: MSPyECObjects.IECInstance, fileName: str, writeInstanceId: bool, utf16: bool) -> MSPyECObjects.InstanceWriteStatus: ... + @staticmethod def WriteToXmlString(*args, **kwargs): """ Overloaded function. @@ -12303,12 +13180,15 @@ class IECRelationshipInstance: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IECSchemaLocater: """ None @@ -12317,7 +13197,13 @@ class IECSchemaLocater: def LocateSchema(self: MSPyECObjects.IECSchemaLocater, key: MSPyECObjects.SchemaKey, matchType: MSPyECObjects.SchemaMatchType, schemaContext: MSPyECObjects.ECSchemaReadContext) -> ECN.ECSchema: ... - def __init__(self: MSPyECObjects.IECSchemaLocater) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IECSymbolProvider: @@ -12342,7 +13228,13 @@ class IECSymbolProvider: """ ... - def __init__(self: MSPyECObjects.IECSymbolProvider) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IECTypeAdapter: @@ -12389,43 +13281,49 @@ class IECTypeAdapter: def PopulateDefaultFormatterProperties(self: MSPyECObjects.IECTypeAdapter, formatter: ECN.IECInstance) -> ECN.IECInstance: ... - def RequiresExpressionTypeConversion(*args, **kwargs): - """ - RequiresExpressionTypeConversion(self: MSPyECObjects.IECTypeAdapter, evalOptions: MSPyECObjects.EvaluationOptions = ) -> bool - """ + def RequiresExpressionTypeConversion(self: MSPyECObjects.IECTypeAdapter, evalOptions: MSPyECObjects.EvaluationOptions = EvaluationOptions.eEVALOPT_Legacy) -> bool: ... def SupportsUnits(self: MSPyECObjects.IECTypeAdapter) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IECTypeAdapterContext: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IPrimitiveTypeResolver: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IStandaloneEnablerLocater: """ None @@ -12434,13 +13332,16 @@ class IStandaloneEnablerLocater: def LocateStandaloneEnabler(self: MSPyECObjects.IStandaloneEnablerLocater, schemaKey: MSPyECObjects.SchemaKey, className: str) -> ECN.StandaloneECEnabler: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class InstanceExpressionContext: + def __init__(self, *args, **kwargs): + ... + +class InstanceExpressionContext(MSPyECObjects.InstanceListExpressionContext): """ None """ @@ -12470,13 +13371,19 @@ class InstanceExpressionContext: def SetInstance(self: MSPyECObjects.InstanceExpressionContext, instance: ECN.IECInstance) -> None: ... - def SetInstances(self: MSPyECObjects.InstanceExpressionContext, instances: List[ECN.IECInstance]) -> None: + def SetInstances(self: MSPyECObjects.InstanceExpressionContext, instances: list[ECN.IECInstance]) -> None: + ... + + class __class__(type): + """ + None + """ ... - def __init__(self: MSPyECObjects.InstanceExpressionContext, outer: MSPyECObjects.ExpressionContext = None) -> None: + def __init__(self, *args, **kwargs): ... -class InstanceListExpressionContext: +class InstanceListExpressionContext(MSPyECObjects.ExpressionContext): """ None """ @@ -12503,7 +13410,13 @@ class InstanceListExpressionContext: def SetEvaluationOptions(self: MSPyECObjects.ExpressionContext, options: MSPyECObjects.EvaluationOptions) -> None: ... - def __init__(self: MSPyECObjects.InstanceListExpressionContext, instances: List[ECN.IECInstance], outer: MSPyECObjects.ExpressionContext = None) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class InstanceReadStatus: @@ -12569,7 +13482,13 @@ class InstanceReadStatus: eINSTANCE_READ_STATUS_PropertyNotFound """ - def __init__(self: MSPyECObjects.InstanceReadStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eINSTANCE_READ_STATUS_BadArrayElement: InstanceReadStatus @@ -12659,7 +13578,13 @@ class InstanceWriteStatus: eINSTANCE_WRITE_STATUS_BadPrimitivePropertyType """ - def __init__(self: MSPyECObjects.InstanceWriteStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eINSTANCE_WRITE_STATUS_BadPrimitivePropertyType: InstanceWriteStatus @@ -12691,24 +13616,36 @@ class ItemsView[SchemaMapExact]: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class KeysView[SchemaMapExact]: """ None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class MainTaskNode: + def __init__(self, *args, **kwargs): + ... + +class MainTaskNode(MSPyECObjects.UserInterfaceNode): """ None """ @@ -12728,6 +13665,7 @@ class MainTaskNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -12972,13 +13910,16 @@ class MainTaskNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class MemoryECInstanceBase: + def __init__(self, *args, **kwargs): + ... + +class MemoryECInstanceBase(MSPyECObjects.ECDBuffer): """ None """ @@ -13012,12 +13953,15 @@ class MemoryECInstanceBase: def SetData(self: MSPyECObjects.MemoryECInstanceBase, data: bytes) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MemoryInstanceUsageBitmask: """ Members: @@ -13029,7 +13973,13 @@ class MemoryInstanceUsageBitmask: eMEMORYINSTANCEUSAGE_IsHidden """ - def __init__(self: MSPyECObjects.MemoryInstanceUsageBitmask, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMEMORYINSTANCEUSAGE_Empty: MemoryInstanceUsageBitmask @@ -13046,7 +13996,7 @@ class MemoryInstanceUsageBitmask: def value(arg0: MSPyECObjects.MemoryInstanceUsageBitmask) -> int: ... -class MenuNode: +class MenuNode(MSPyECObjects.UserInterfaceNode): """ None """ @@ -13069,6 +14019,7 @@ class MenuNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -13319,12 +14270,15 @@ class MenuNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MethodSymbol: """ None @@ -13337,13 +14291,16 @@ class MethodSymbol: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class MiniToolbarNode: + def __init__(self, *args, **kwargs): + ... + +class MiniToolbarNode(MSPyECObjects.UserInterfaceNode): """ None """ @@ -13363,6 +14320,7 @@ class MiniToolbarNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -13607,12 +14565,15 @@ class MiniToolbarNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NameTreeNode: """ None @@ -13648,12 +14609,15 @@ class NameTreeNode: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Node: """ None @@ -13671,12 +14635,15 @@ class Node: def Traverse(self: MSPyECObjects.Node, visitor: MSPyECObjects.NodeVisitor) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NodeVisitor: """ None @@ -13709,7 +14676,13 @@ class NodeVisitor: def StartArrayIndex(self: MSPyECObjects.NodeVisitor, node: ECN.Node) -> bool: ... - def __init__(self: MSPyECObjects.NodeVisitor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class OrderIdEntries: @@ -13744,12 +14717,15 @@ class OrderIdEntries: def TryGetTargetOrderId(self: MSPyECObjects.OrderIdEntries) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class OrderIdStorageMode: """ Members: @@ -13761,7 +14737,13 @@ class OrderIdStorageMode: eORDERIDSTORAGEMODE_ProvidedByClient """ - def __init__(self: MSPyECObjects.OrderIdStorageMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eORDERIDSTORAGEMODE_None: OrderIdStorageMode @@ -13783,6 +14765,7 @@ class PresentationMetadataHelper: None """ + @staticmethod def HideProperty(*args, **kwargs): """ Overloaded function. @@ -13799,6 +14782,7 @@ class PresentationMetadataHelper: def SetCustomCategory(self: MSPyECObjects.PresentationMetadataHelper, ecProperty: MSPyECObjects.ECProperty, uniqueName: str, displayLabel: str, priority: int, expand: bool = False, description: str = None) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetExtendedType(*args, **kwargs): """ Overloaded function. @@ -13815,6 +14799,7 @@ class PresentationMetadataHelper: def SetIgnoreZ(self: MSPyECObjects.PresentationMetadataHelper, ecProperty: MSPyECObjects.ECProperty) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetMemberExtendedType(*args, **kwargs): """ Overloaded function. @@ -13840,10 +14825,16 @@ class PresentationMetadataHelper: def SetStoresUnitsAsUORs(self: MSPyECObjects.PresentationMetadataHelper, ecSchema: MSPyECObjects.ECSchema) -> MSPyECObjects.ECObjectsStatus: ... - def __init__(self: MSPyECObjects.PresentationMetadataHelper, schemaContext: MSPyECObjects.ECSchemaReadContext) -> None: + class __class__(type): + """ + None + """ ... -class PrimitiveECProperty: + def __init__(self, *args, **kwargs): + ... + +class PrimitiveECProperty(MSPyECObjects.ECProperty): """ None """ @@ -13888,6 +14879,7 @@ class PrimitiveECProperty: def GetClass(self: MSPyECObjects.ECProperty) -> ECN.ECClass: ... + @staticmethod def GetCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -13898,6 +14890,7 @@ class PrimitiveECProperty: """ ... + @staticmethod def GetCustomAttributeLocal(*args, **kwargs): """ Overloaded function. @@ -13944,6 +14937,7 @@ class PrimitiveECProperty: def GetName(self: MSPyECObjects.ECProperty) -> MSPyBentley.WString: ... + @staticmethod def GetPrimaryCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -13982,6 +14976,7 @@ class PrimitiveECProperty: def IsCalculated(self: MSPyECObjects.ECProperty) -> bool: ... + @staticmethod def IsDefined(*args, **kwargs): """ Overloaded function. @@ -14015,6 +15010,7 @@ class PrimitiveECProperty: def Name(arg0: MSPyECObjects.ECProperty) -> MSPyBentley.WString: ... + @staticmethod def RemoveCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -14040,6 +15036,7 @@ class PrimitiveECProperty: def SetDisplayLabel(self: MSPyECObjects.ECProperty, label: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetIsReadOnly(*args, **kwargs): """ Overloaded function. @@ -14070,12 +15067,15 @@ class PrimitiveECProperty: def TypeName(arg0: MSPyECObjects.ECProperty, arg1: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PrimitiveType: """ Members: @@ -14101,7 +15101,13 @@ class PrimitiveType: ePRIMITIVETYPE_IGeometry """ - def __init__(self: MSPyECObjects.PrimitiveType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePRIMITIVETYPE_Binary: PrimitiveType @@ -14141,7 +15147,13 @@ class PropertyFlagIndex: ePROPERTYFLAGINDEX_IsReadOnly """ - def __init__(self: MSPyECObjects.PropertyFlagIndex, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePROPERTYFLAGINDEX_IsLoaded: PropertyFlagIndex @@ -14300,12 +15312,15 @@ class PropertyLayout: def TypeDescriptor(arg0: MSPyECObjects.PropertyLayout) -> ECN.ECTypeDescriptor: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PropertySortPriority: """ Members: @@ -14321,7 +15336,13 @@ class PropertySortPriority: eVeryLow """ - def __init__(self: MSPyECObjects.PropertySortPriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHigh: PropertySortPriority @@ -14395,6 +15416,13 @@ class QualifiedECAccessor: def ToString(self: MSPyECObjects.QualifiedECAccessor) -> MSPyBentley.WString: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -14411,18 +15439,18 @@ class QueryRelatedClassSpecifier: """ @staticmethod - def Create(*args, **kwargs): - """ - Create(relationshipClass: MSPyECObjects.ECRelationshipClass, dc: MSPyECObjects.ECClass = None, dir: MSPyECObjects.ECRelatedInstanceDirection = , isRelationshipPolyMorphic: bool = False, isRelatedPolyMorphic: bool = False, process: MSPyECObjects.ECQueryProcessFlags = ) -> MSPyECObjects.QueryRelatedClassSpecifier - """ + def Create(relationshipClass: MSPyECObjects.ECRelationshipClass, dc: MSPyECObjects.ECClass = None, dir_: MSPyECObjects.ECRelatedInstanceDirection = ECRelatedInstanceDirection.eSTRENGTHDIRECTION_Forward, isRelationshipPolyMorphic: bool = False, isRelatedPolyMorphic: bool = False, process: MSPyECObjects.ECQueryProcessFlags = ECQueryProcessFlags.eECQUERY_PROCESS_SearchAllClasses) -> MSPyECObjects.QueryRelatedClassSpecifier: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class RelationshipCardinality: """ None @@ -14464,6 +15492,13 @@ class RelationshipCardinality: def ZeroOne() -> MSPyECObjects.RelationshipCardinality: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -14479,12 +15514,15 @@ class RelationshipEntry: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def relatedInstanceDirection(self: MSPyECObjects.RelationshipEntry) -> MSPyECObjects.ECRelatedInstanceDirection: ... @@ -14602,6 +15640,16 @@ class RelationshipEntryArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -14628,6 +15676,7 @@ class RelationshipEntryArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -14648,6 +15697,7 @@ class RelationshipEntryArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -14662,7 +15712,7 @@ class RelationshipEntryArray: """ ... -class ReportCategoryNode: +class ReportCategoryNode(MSPyECObjects.ECReportNode): """ None """ @@ -14690,6 +15740,7 @@ class ReportCategoryNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -14719,6 +15770,7 @@ class ReportCategoryNode: """ ... + @staticmethod def CreateReportDefinition(*args, **kwargs): """ Overloaded function. @@ -14747,6 +15799,7 @@ class ReportCategoryNode: def ElementRef(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.ElementRefBase: ... + @staticmethod def FindByElementId(*args, **kwargs): """ Overloaded function. @@ -14768,6 +15821,7 @@ class ReportCategoryNode: """ ... + @staticmethod def FromXDataTreeNode(node: MSPyECObjects.XDataTreeNode) -> MSPyECObjects.ECReportNode: """ Extracts an ECReportNode from an XDataTreeNode @@ -15008,6 +16062,13 @@ class ReportCategoryNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -15048,13 +16109,20 @@ class ReportColumnAccessor: def Option(arg0: MSPyECObjects.ReportColumnAccessor.ArrayAccessor) -> MSPyECObjects.ReportColumnAccessor.ArrayOption: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. 1. __init__(self: MSPyECObjects.ReportColumnAccessor.ArrayAccessor) -> None - 2. __init__(self: MSPyECObjects.ReportColumnAccessor.ArrayAccessor, memberAccessor: str, option: MSPyECObjects.ReportColumnAccessor.ArrayOption = ) -> None + 2. __init__(self: MSPyECObjects.ReportColumnAccessor.ArrayAccessor, memberAccessor: str, option: MSPyECObjects.ReportColumnAccessor.ArrayOption = ArrayOption.eNone) -> None """ ... @@ -15079,7 +16147,13 @@ class ReportColumnAccessor: eNone """ - def __init__(self: MSPyECObjects.ReportColumnAccessor.ArrayOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAllMembers: ArrayOption @@ -15121,15 +16195,22 @@ class ReportColumnAccessor: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. 1. __init__(self: MSPyECObjects.ReportColumnAccessor) -> None - 2. __init__(self: MSPyECObjects.ReportColumnAccessor, accessor: MSPyECObjects.QualifiedECAccessor, option: MSPyECObjects.ReportColumnAccessor.ArrayOption = ) -> None + 2. __init__(self: MSPyECObjects.ReportColumnAccessor, accessor: MSPyECObjects.QualifiedECAccessor, option: MSPyECObjects.ReportColumnAccessor.ArrayOption = ArrayOption.eNone) -> None - 3. __init__(self: MSPyECObjects.ReportColumnAccessor, schemaName: str, className: str, accessString: str, option: MSPyECObjects.ReportColumnAccessor.ArrayOption = ) -> None + 3. __init__(self: MSPyECObjects.ReportColumnAccessor, schemaName: str, className: str, accessString: str, option: MSPyECObjects.ReportColumnAccessor.ArrayOption = ArrayOption.eNone) -> None """ ... @@ -15150,6 +16231,16 @@ class ReportColumnAccessorArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -15176,6 +16267,7 @@ class ReportColumnAccessorArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -15196,6 +16288,7 @@ class ReportColumnAccessorArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -15215,6 +16308,9 @@ class ReportDefinitionCollection: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @property def Count(arg0: MSPyECObjects.ReportDefinitionCollection) -> int: ... @@ -15222,6 +16318,13 @@ class ReportDefinitionCollection: def GetReportDefinitionAt(self: MSPyECObjects.ReportDefinitionCollection, index: int) -> MSPyECObjects.ReportDefinitionNode: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -15232,7 +16335,7 @@ class ReportDefinitionCollection: """ ... -class ReportDefinitionNode: +class ReportDefinitionNode(MSPyECObjects.ECReportNode): """ None """ @@ -15268,6 +16371,7 @@ class ReportDefinitionNode: def ColumnCount(arg0: MSPyECObjects.ReportDefinitionNode) -> int: ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -15323,6 +16427,7 @@ class ReportDefinitionNode: def ElementRef(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.ElementRefBase: ... + @staticmethod def FindByElementId(*args, **kwargs): """ Overloaded function. @@ -15352,6 +16457,7 @@ class ReportDefinitionNode: """ ... + @staticmethod def FromXDataTreeNode(node: MSPyECObjects.XDataTreeNode) -> MSPyECObjects.ECReportNode: """ Extracts an ECReportNode from an XDataTreeNode @@ -15399,6 +16505,7 @@ class ReportDefinitionNode: """ ... + @staticmethod def GetColumnGroupNode(*args, **kwargs): """ Overloaded function. @@ -15556,6 +16663,7 @@ class ReportDefinitionNode: """ ... + @staticmethod def GetSortingGroupNode(*args, **kwargs): """ Overloaded function. @@ -15736,23 +16844,29 @@ class ReportDefinitionNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(self: MSPyECObjects.ReportDefinitionNode, node: MSPyECObjects.ECReportNode) -> None: + class __class__(type): """ - Extracts a ReportDefinitionNode from an ECReportNode + None """ ... + def __init__(self, *args, **kwargs): + ... + class ReportResults: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ReportResultsEntry: """ None @@ -15786,12 +16900,15 @@ class ReportResultsEntry: def SourceInstanceId(arg0: MSPyECObjects.ReportResultsEntry) -> MSPyBentley.WString: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ReportScope: """ None @@ -15846,7 +16963,13 @@ class ReportScope: eIncludeAllClasses """ - def __init__(self: MSPyECObjects.ReportScope.IncludeItemTypeOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eIncludeAllClasses: IncludeItemTypeOption @@ -15868,18 +16991,14 @@ class ReportScope: """ ... - def InitForActiveModel(*args, **kwargs): + def InitForActiveModel(self: MSPyECObjects.ReportScope, refOut: MSPyECObjects.ReportScope.ReferencedModelOption = ReferencedModelOption.eNone) -> None: """ - InitForActiveModel(self: MSPyECObjects.ReportScope, refOut: MSPyECObjects.ReportScope.ReferencedModelOption = ) -> None - Initializes a ReportScope for the active model """ ... - def InitForDefaultModel(*args, **kwargs): + def InitForDefaultModel(self: MSPyECObjects.ReportScope, moniker: MSPyDgnPlatform.DgnDocumentMoniker, refOut: MSPyECObjects.ReportScope.ReferencedModelOption = ReferencedModelOption.eNone) -> None: """ - InitForDefaultModel(self: MSPyECObjects.ReportScope, moniker: MSPyDgnPlatform.DgnDocumentMoniker, refOut: MSPyECObjects.ReportScope.ReferencedModelOption = ) -> None - Initializes a ReportScope for the default model. If moniker is null, refers to the active file. """ @@ -15892,10 +17011,8 @@ class ReportScope: """ ... - def InitForModel(*args, **kwargs): + def InitForModel(self: MSPyECObjects.ReportScope, modelName: str, moniker: MSPyDgnPlatform.DgnDocumentMoniker, refOut: MSPyECObjects.ReportScope.ReferencedModelOption = ReferencedModelOption.eNone) -> None: """ - InitForModel(self: MSPyECObjects.ReportScope, modelName: str, moniker: MSPyDgnPlatform.DgnDocumentMoniker, refOut: MSPyECObjects.ReportScope.ReferencedModelOption = ) -> None - Initializes a ReportScope for a specific model identified by name. If moniker is null, refers to the active file. """ @@ -15925,7 +17042,13 @@ class ReportScope: eNone """ - def __init__(self: MSPyECObjects.ReportScope.ReferencedModelOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: ReferencedModelOption @@ -15949,7 +17072,13 @@ class ReportScope: eHide """ - def __init__(self: MSPyECObjects.ReportScope.ReportSummaryOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHide: ReportSummaryOption @@ -15975,7 +17104,13 @@ class ReportScope: eCurrentSelection """ - def __init__(self: MSPyECObjects.ReportScope.SelectionScopeOption, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: SelectionScopeOption @@ -16037,7 +17172,13 @@ class ReportScope: ePath """ - def __init__(self: MSPyECObjects.ReportScope.Type, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFile: Type @@ -16054,7 +17195,13 @@ class ReportScope: def value(arg0: MSPyECObjects.ReportScope.Type) -> int: ... - def __init__(self: MSPyECObjects.ReportScope) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: SelectionScopeOption @@ -16098,7 +17245,13 @@ class SchemaDeleteStatus: eSCHEMADELETE_FailedToDeleteSchemaElement """ - def __init__(self: MSPyECObjects.SchemaDeleteStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSCHEMADELETE_FailedToDeleteSchemaElement: SchemaDeleteStatus @@ -16146,7 +17299,13 @@ class SchemaImportStatus: eSCHEMAIMPORT_InvalidUserDefinedSchema """ - def __init__(self: MSPyECObjects.SchemaImportStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSCHEMAIMPORT_FailedToDeserializeXmlFile: SchemaImportStatus @@ -16330,7 +17489,13 @@ class SchemaInfo: def StoredSchema(arg0: MSPyECObjects.SchemaInfo, arg1: bool) -> None: ... - def __init__(self: MSPyECObjects.SchemaInfo, schemaKey: MSPyECObjects.SchemaKey, dgnFile: MSPyDgnPlatform.DgnFile, providerName: str = '', location: str = '', checkSum: int = 0, storedSchema: bool = False) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class SchemaInfoArray: @@ -16338,6 +17503,16 @@ class SchemaInfoArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16370,6 +17545,7 @@ class SchemaInfoArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -16390,6 +17566,7 @@ class SchemaInfoArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -16419,6 +17596,13 @@ class SchemaKey: def ParseSchemaFullName(key: MSPyECObjects.SchemaKey, schemaFullName: str) -> MSPyECObjects.ECObjectsStatus: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16462,6 +17646,13 @@ class SchemaKeyToSchemaBPair: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16598,7 +17789,13 @@ class SchemaLayout: def SchemaIndex(arg0: MSPyECObjects.SchemaLayout) -> int: ... - def __init__(self: MSPyECObjects.SchemaLayout, index: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class SchemaMapExact: @@ -16606,7 +17803,16 @@ class SchemaMapExact: None """ - def __init__(self: MSPyECObjects.SchemaMapExact) -> None: + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... def items(self: MSPyECObjects.SchemaMapExact) -> MSPyECObjects.ItemsView[SchemaMapExact]: @@ -16631,7 +17837,13 @@ class SchemaMatchType: eSCHEMAMATCHTYPE_Latest """ - def __init__(self: MSPyECObjects.SchemaMatchType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSCHEMAMATCHTYPE_Exact: SchemaMatchType @@ -16661,6 +17873,13 @@ class SchemaNameClassNamePair: def ToColonSeparatedString(self: MSPyECObjects.SchemaNameClassNamePair) -> MSPyBentley.WString: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16692,6 +17911,16 @@ class SchemaNameClassNamePairArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16724,6 +17953,7 @@ class SchemaNameClassNamePairArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -16744,6 +17974,7 @@ class SchemaNameClassNamePairArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -16783,7 +18014,13 @@ class SchemaReadStatus: eSCHEMA_READ_STATUS_HasReferenceCycle """ - def __init__(self: MSPyECObjects.SchemaReadStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSCHEMA_READ_STATUS_DuplicateSchema: SchemaReadStatus @@ -16837,7 +18074,13 @@ class SchemaUpdateStatus: eSCHEMAUPDATE_FailedToUpdateReferencingSchemas """ - def __init__(self: MSPyECObjects.SchemaUpdateStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSCHEMAUPDATE_FailedToDeserializeXmlFile: SchemaUpdateStatus @@ -16885,7 +18128,13 @@ class SchemaWriteStatus: eSCHEMA_WRITE_STATUS_FailedToWriteFile """ - def __init__(self: MSPyECObjects.SchemaWriteStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSCHEMA_WRITE_STATUS_FailedToCreateXml: SchemaWriteStatus @@ -16909,7 +18158,13 @@ class SearchClass: None """ - def __init__(self: MSPyECObjects.SearchClass, schemaName: MSPyBentley.WString, className: MSPyBentley.WString, isPoly: bool) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class SearchClassArray: @@ -16917,6 +18172,16 @@ class SearchClassArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -16943,6 +18208,7 @@ class SearchClassArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -16963,6 +18229,7 @@ class SearchClassArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -16998,10 +18265,16 @@ class SelectedProperties: """ ... - def __init__(self: MSPyECObjects.SelectedProperties, selectAllProperties: bool = False) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class SortingGroupNode: +class SortingGroupNode(MSPyECObjects.ECReportNode): """ None """ @@ -17029,6 +18302,7 @@ class SortingGroupNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -17077,6 +18351,7 @@ class SortingGroupNode: def ElementRef(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.ElementRefBase: ... + @staticmethod def FindByElementId(*args, **kwargs): """ Overloaded function. @@ -17091,6 +18366,7 @@ class SortingGroupNode: """ ... + @staticmethod def FromXDataTreeNode(node: MSPyECObjects.XDataTreeNode) -> MSPyECObjects.ECReportNode: """ Extracts an ECReportNode from an XDataTreeNode @@ -17338,10 +18614,16 @@ class SortingGroupNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(self: MSPyECObjects.SortingGroupNode, node: MSPyECObjects.ECReportNode) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class SortingRuleNode: +class SortingRuleNode(MSPyECObjects.ECReportNode): """ None """ @@ -17397,6 +18679,7 @@ class SortingRuleNode: def ColumnName(arg0: MSPyECObjects.SortingRuleNode, arg1: str) -> bool: ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -17438,6 +18721,7 @@ class SortingRuleNode: def ElementRef(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.ElementRefBase: ... + @staticmethod def FindByElementId(*args, **kwargs): """ Overloaded function. @@ -17452,6 +18736,7 @@ class SortingRuleNode: """ ... + @staticmethod def FromXDataTreeNode(node: MSPyECObjects.XDataTreeNode) -> MSPyECObjects.ECReportNode: """ Extracts an ECReportNode from an XDataTreeNode @@ -17757,7 +19042,13 @@ class SortingRuleNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(self: MSPyECObjects.SortingRuleNode, node: MSPyECObjects.ECReportNode) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class SortingRuleNodePtrArray: @@ -17765,6 +19056,16 @@ class SortingRuleNodePtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -17797,6 +19098,7 @@ class SortingRuleNodePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -17817,6 +19119,7 @@ class SortingRuleNodePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -17837,7 +19140,7 @@ class SortingRuleNodePtrArray: """ ... -class StandaloneECEnabler: +class StandaloneECEnabler(MSPyECObjects.ECEnabler): """ None """ @@ -17897,14 +19200,21 @@ class StandaloneECEnabler: def StandaloneEnablerLocater(arg0: MSPyECObjects.ECEnabler) -> MSPyECObjects.IStandaloneEnablerLocater: ... - def __init__(self: MSPyECObjects.StandaloneECEnabler, ecClass: MSPyECObjects.ECClass, classLayout: MSPyECObjects.ClassLayout, structStandaloneEnablerLocater: MSPyECObjects.IStandaloneEnablerLocater) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class StandaloneECInstance: +class StandaloneECInstance(MSPyECObjects.IECInstance): """ None """ + @staticmethod def AddArrayElements(*args, **kwargs): """ Overloaded function. @@ -17918,6 +19228,7 @@ class StandaloneECInstance: def AsMemoryECInstance(self: MSPyECObjects.IECInstance) -> ECN.MemoryECInstanceBase: ... + @staticmethod def ChangeValue(*args, **kwargs): """ Overloaded function. @@ -17939,6 +19250,7 @@ class StandaloneECInstance: def Class(arg0: MSPyECObjects.IECInstance) -> MSPyECObjects.ECClass: ... + @staticmethod def ClearArray(*args, **kwargs): """ Overloaded function. @@ -17952,6 +19264,7 @@ class StandaloneECInstance: def CopyValues(self: MSPyECObjects.IECInstance, source: MSPyECObjects.IECInstance) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def CreateCopyThroughSerialization(*args, **kwargs): """ Overloaded function. @@ -17995,6 +19308,7 @@ class StandaloneECInstance: def GetOffsetToIECInstance(self: MSPyECObjects.IECInstance) -> int: ... + @staticmethod def GetValue(*args, **kwargs): """ Overloaded function. @@ -18012,6 +19326,7 @@ class StandaloneECInstance: def GetValueUsingAccessor(self: MSPyECObjects.IECInstance, value: ECN.ECValue, accessor: ECN.ECValueAccessor) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def InsertArrayElements(*args, **kwargs): """ Overloaded function. @@ -18033,9 +19348,11 @@ class StandaloneECInstance: def InstanceIdForSerialization(arg0: MSPyECObjects.IECInstance) -> MSPyBentley.WString: ... + @staticmethod def IsFixedArrayProperty(instance: MSPyECObjects.IECInstance, accessString: str) -> tuple: ... + @staticmethod def IsPropertyNull(*args, **kwargs): """ Overloaded function. @@ -18050,6 +19367,7 @@ class StandaloneECInstance: """ ... + @staticmethod def IsPropertyReadOnly(*args, **kwargs): """ Overloaded function. @@ -18067,12 +19385,15 @@ class StandaloneECInstance: def OffsetToIECInstance(arg0: MSPyECObjects.IECInstance) -> int: ... + @staticmethod def ReadFromXmlFile(fileName: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def ReadFromXmlString(xmlString: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def RemoveArrayElement(*args, **kwargs): """ Overloaded function. @@ -18092,6 +19413,7 @@ class StandaloneECInstance: def SetInstanceId(self: MSPyECObjects.IECInstance, instanceId: str) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetValue(*args, **kwargs): """ Overloaded function. @@ -18115,6 +19437,7 @@ class StandaloneECInstance: def WriteToXmlFile(self: MSPyECObjects.IECInstance, fileName: str, writeInstanceId: bool, utf16: bool) -> MSPyECObjects.InstanceWriteStatus: ... + @staticmethod def WriteToXmlString(*args, **kwargs): """ Overloaded function. @@ -18125,17 +19448,30 @@ class StandaloneECInstance: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StandaloneECInstancePtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -18168,6 +19504,7 @@ class StandaloneECInstancePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -18188,6 +19525,7 @@ class StandaloneECInstancePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -18208,7 +19546,7 @@ class StandaloneECInstancePtrArray: """ ... -class StandaloneECRelationshipEnabler: +class StandaloneECRelationshipEnabler(MSPyECObjects.StandaloneECEnabler): """ None """ @@ -18278,6 +19616,13 @@ class StandaloneECRelationshipEnabler: def StandaloneEnablerLocater(arg0: MSPyECObjects.ECEnabler) -> MSPyECObjects.IStandaloneEnablerLocater: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -18288,11 +19633,12 @@ class StandaloneECRelationshipEnabler: """ ... -class StandaloneECRelationshipInstance: +class StandaloneECRelationshipInstance(MSPyECObjects.IECRelationshipInstance): """ None """ + @staticmethod def AddArrayElements(*args, **kwargs): """ Overloaded function. @@ -18306,6 +19652,7 @@ class StandaloneECRelationshipInstance: def AsMemoryECInstance(self: MSPyECObjects.IECInstance) -> ECN.MemoryECInstanceBase: ... + @staticmethod def ChangeValue(*args, **kwargs): """ Overloaded function. @@ -18327,6 +19674,7 @@ class StandaloneECRelationshipInstance: def Class(arg0: MSPyECObjects.IECInstance) -> MSPyECObjects.ECClass: ... + @staticmethod def ClearArray(*args, **kwargs): """ Overloaded function. @@ -18340,6 +19688,7 @@ class StandaloneECRelationshipInstance: def CopyValues(self: MSPyECObjects.IECInstance, source: MSPyECObjects.IECInstance) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def CreateCopyThroughSerialization(*args, **kwargs): """ Overloaded function. @@ -18403,6 +19752,7 @@ class StandaloneECRelationshipInstance: def GetTargetOrderId(self: MSPyECObjects.IECRelationshipInstance) -> tuple: ... + @staticmethod def GetValue(*args, **kwargs): """ Overloaded function. @@ -18420,6 +19770,7 @@ class StandaloneECRelationshipInstance: def GetValueUsingAccessor(self: MSPyECObjects.IECInstance, value: ECN.ECValue, accessor: ECN.ECValueAccessor) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def InsertArrayElements(*args, **kwargs): """ Overloaded function. @@ -18441,9 +19792,11 @@ class StandaloneECRelationshipInstance: def InstanceIdForSerialization(arg0: MSPyECObjects.IECInstance) -> MSPyBentley.WString: ... + @staticmethod def IsFixedArrayProperty(instance: MSPyECObjects.IECInstance, accessString: str) -> tuple: ... + @staticmethod def IsPropertyNull(*args, **kwargs): """ Overloaded function. @@ -18458,6 +19811,7 @@ class StandaloneECRelationshipInstance: """ ... + @staticmethod def IsPropertyReadOnly(*args, **kwargs): """ Overloaded function. @@ -18478,9 +19832,11 @@ class StandaloneECRelationshipInstance: def OrderIdEntries(self: MSPyECObjects.StandaloneECRelationshipInstance) -> MSPyECObjects.OrderIdEntries: ... + @staticmethod def ReadFromXmlFile(fileName: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... + @staticmethod def ReadFromXmlString(xmlString: str, context: MSPyECObjects.ECInstanceReadContext) -> tuple: ... @@ -18492,6 +19848,7 @@ class StandaloneECRelationshipInstance: def RelationshipEnabler(arg0: MSPyECObjects.StandaloneECRelationshipInstance) -> ECN.StandaloneECRelationshipEnabler: ... + @staticmethod def RemoveArrayElement(*args, **kwargs): """ Overloaded function. @@ -18529,6 +19886,7 @@ class StandaloneECRelationshipInstance: def SetTargetOrderId(self: MSPyECObjects.StandaloneECRelationshipInstance, orderId: int) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetValue(*args, **kwargs): """ Overloaded function. @@ -18580,6 +19938,7 @@ class StandaloneECRelationshipInstance: def WriteToXmlFile(self: MSPyECObjects.IECInstance, fileName: str, writeInstanceId: bool, utf16: bool) -> MSPyECObjects.InstanceWriteStatus: ... + @staticmethod def WriteToXmlString(*args, **kwargs): """ Overloaded function. @@ -18590,12 +19949,15 @@ class StandaloneECRelationshipInstance: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StandardCustomAttributeHelper: """ None @@ -18625,12 +19987,15 @@ class StandardCustomAttributeHelper: def TryGetDateTimeInfo(dateTimeInfo: MSPyECObjects.DateTimeInfo, dateTimeProperty: MSPyECObjects.ECProperty) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StrengthType: """ Members: @@ -18642,7 +20007,13 @@ class StrengthType: eSTRENGTHTYPE_Embedding """ - def __init__(self: MSPyECObjects.StrengthType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSTRENGTHTYPE_Embedding: StrengthType @@ -18659,7 +20030,7 @@ class StrengthType: def value(arg0: MSPyECObjects.StrengthType) -> int: ... -class StructECProperty: +class StructECProperty(MSPyECObjects.ECProperty): """ None """ @@ -18704,6 +20075,7 @@ class StructECProperty: def GetClass(self: MSPyECObjects.ECProperty) -> ECN.ECClass: ... + @staticmethod def GetCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -18714,6 +20086,7 @@ class StructECProperty: """ ... + @staticmethod def GetCustomAttributeLocal(*args, **kwargs): """ Overloaded function. @@ -18760,6 +20133,7 @@ class StructECProperty: def GetName(self: MSPyECObjects.ECProperty) -> MSPyBentley.WString: ... + @staticmethod def GetPrimaryCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -18798,6 +20172,7 @@ class StructECProperty: def IsCalculated(self: MSPyECObjects.ECProperty) -> bool: ... + @staticmethod def IsDefined(*args, **kwargs): """ Overloaded function. @@ -18831,6 +20206,7 @@ class StructECProperty: def Name(arg0: MSPyECObjects.ECProperty) -> MSPyBentley.WString: ... + @staticmethod def RemoveCustomAttribute(*args, **kwargs): """ Overloaded function. @@ -18856,6 +20232,7 @@ class StructECProperty: def SetDisplayLabel(self: MSPyECObjects.ECProperty, label: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... + @staticmethod def SetIsReadOnly(*args, **kwargs): """ Overloaded function. @@ -18886,12 +20263,15 @@ class StructECProperty: def TypeName(arg0: MSPyECObjects.ECProperty, arg1: MSPyBentley.WString) -> MSPyECObjects.ECObjectsStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SupplementalSchemaInfo: """ None @@ -18916,7 +20296,13 @@ class SupplementalSchemaInfo: def PrimarySchemaFullName(arg0: MSPyECObjects.SupplementalSchemaInfo) -> MSPyBentley.WString: ... - def __init__(self: MSPyECObjects.SupplementalSchemaInfo, primarySchemaFullName: MSPyBentley.WString, schemaFullNameToPurposeMapping: MSPyBentley.WStringWStringMap) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class SupplementalSchemaMetaData: @@ -19067,6 +20453,13 @@ class SupplementalSchemaMetaData: def UserSpecific(arg0: MSPyECObjects.SupplementalSchemaMetaData, arg1: bool) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -19093,7 +20486,13 @@ class SupplementedSchemaBuilder: eSCHEMA_PRECEDENCE_Greater """ - def __init__(self: MSPyECObjects.SupplementedSchemaBuilder.SchemaPrecedence, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSCHEMA_PRECEDENCE_Equal: SchemaPrecedence @@ -19110,6 +20509,7 @@ class SupplementedSchemaBuilder: def value(arg0: MSPyECObjects.SupplementedSchemaBuilder.SchemaPrecedence) -> int: ... + @staticmethod def UpdateSchema(*args, **kwargs): """ Overloaded function. @@ -19120,7 +20520,13 @@ class SupplementedSchemaBuilder: """ ... - def __init__(self: MSPyECObjects.SupplementedSchemaBuilder) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSCHEMA_PRECEDENCE_Equal: SchemaPrecedence @@ -19146,7 +20552,13 @@ class SupplementedSchemaStatus: eSUPPLEMENTED_SCHEMA_STATUS_SupplementalClassHasBaseClass """ - def __init__(self: MSPyECObjects.SupplementedSchemaStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSUPPLEMENTED_SCHEMA_STATUS_Duplicate_Precedence_Error: SupplementedSchemaStatus @@ -19174,13 +20586,16 @@ class Symbol: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class SymbolExpressionContext: + def __init__(self, *args, **kwargs): + ... + +class SymbolExpressionContext(MSPyECObjects.ExpressionContext): """ None """ @@ -19210,10 +20625,16 @@ class SymbolExpressionContext: def SetEvaluationOptions(self: MSPyECObjects.ExpressionContext, options: MSPyECObjects.EvaluationOptions) -> None: ... - def __init__(self: MSPyECObjects.SymbolExpressionContext, outer: MSPyECObjects.ExpressionContext) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class TaskNode: +class TaskNode(MSPyECObjects.UserInterfaceNode): """ None """ @@ -19233,6 +20654,7 @@ class TaskNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -19477,13 +20899,16 @@ class TaskNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class TentativePopupMenuNode: + def __init__(self, *args, **kwargs): + ... + +class TentativePopupMenuNode(MSPyECObjects.UserInterfaceNode): """ None """ @@ -19503,6 +20928,7 @@ class TentativePopupMenuNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -19747,13 +21173,16 @@ class TentativePopupMenuNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ToolBoxNode: + def __init__(self, *args, **kwargs): + ... + +class ToolBoxNode(MSPyECObjects.UserInterfaceNode): """ None """ @@ -19773,6 +21202,7 @@ class ToolBoxNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -20017,12 +21447,15 @@ class ToolBoxNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class UserInterfaceHelper: """ None @@ -20088,13 +21521,16 @@ class UserInterfaceHelper: def SetTaskContainerIconName(instance: MSPyECObjects.IECInstance, iconName: str) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class UserInterfaceNode: + def __init__(self, *args, **kwargs): + ... + +class UserInterfaceNode(MSPyECObjects.XDataTreeNode): """ None """ @@ -20114,6 +21550,7 @@ class UserInterfaceNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -20147,6 +21584,7 @@ class UserInterfaceNode: def ElementRef(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.ElementRefBase: ... + @staticmethod def FindByElementId(elemId: int, handlerId: MSPyDgnPlatform.HandlerId, owner: MSPyDgnPlatform.XDataTreeOwner) -> MSPyECObjects.XDataTreeNode: """ Return a reference counted pointer to an XDataTreeNode. @@ -20354,12 +21792,15 @@ class UserInterfaceNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ValueKind: """ Members: @@ -20373,7 +21814,13 @@ class ValueKind: eVALUEKIND_Array """ - def __init__(self: MSPyECObjects.ValueKind, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eVALUEKIND_Array: ValueKind @@ -20400,18 +21847,27 @@ class ValueResult: def GetECValue(self: MSPyECObjects.ValueResult, ecValue: ECN.ECValue) -> MSPyECObjects.ExpressionStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ValueSymbol: + def __init__(self, *args, **kwargs): + ... + +class ValueSymbol(MSPyECObjects.Symbol): """ None """ - def __init__(self: MSPyECObjects.ValueSymbol, name: str, value: ECN.ECValue) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ValueType: @@ -20431,7 +21887,13 @@ class ValueType: eValType_Lambda """ - def __init__(self: MSPyECObjects.ValueType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eValType_Custom: ValueType @@ -20459,13 +21921,19 @@ class ValuesView[SchemaMapExact]: None """ - def __init__(*args, **kwargs): + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class ViewPopupMenuNode: + def __init__(self, *args, **kwargs): + ... + +class ViewPopupMenuNode(MSPyECObjects.UserInterfaceNode): """ None """ @@ -20485,6 +21953,7 @@ class ViewPopupMenuNode: """ ... + @staticmethod def Create(name: MSPyBentley.WString, sortPriority: int, allowChildNodes: bool, parentNode: MSPyECObjects.XDataTreeNode, owner: MSPyDgnPlatform.XDataTreeOwner, handlerId: MSPyDgnPlatform.HandlerId, seedInstances: MSPyDgnPlatform.XInstanceContainer) -> MSPyECObjects.XDataTreeNode: """ Create and return a new XDataTreeNode. @@ -20729,12 +22198,15 @@ class ViewPopupMenuNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class WStringKey: """ None @@ -20747,6 +22219,13 @@ class WStringKey: def Key(arg0: MSPyECObjects.WStringKey) -> str: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -20764,6 +22243,16 @@ class WStringKeyArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -20796,6 +22285,7 @@ class WStringKeyArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -20816,6 +22306,7 @@ class WStringKeyArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -20878,7 +22369,13 @@ class WhereCriterion: eNOT_IN """ - def __init__(self: MSPyECObjects.WhereCriterion.CompareOp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eEQ: CompareOp @@ -21108,7 +22605,13 @@ class WhereCriterion: eLOGICAL_OR """ - def __init__(self: MSPyECObjects.WhereCriterion.LogicalOp, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLOGICAL_AND: LogicalOp @@ -21130,7 +22633,13 @@ class WhereCriterion: eNUMBER_FILTER_ERROR_InvalidSyntax """ - def __init__(self: MSPyECObjects.WhereCriterion.NumberFilterError, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNUMBER_FILTER_ERROR_InvalidSyntax: NumberFilterError @@ -21173,12 +22682,15 @@ class WhereCriterion: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StringFilterError: """ Members: @@ -21186,7 +22698,13 @@ class WhereCriterion: eSTRING_FILTER_ERROR_InvalidSyntax """ - def __init__(self: MSPyECObjects.WhereCriterion.StringFilterError, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSTRING_FILTER_ERROR_InvalidSyntax: StringFilterError @@ -21199,12 +22717,15 @@ class WhereCriterion: def value(arg0: MSPyECObjects.WhereCriterion.StringFilterError) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eEQ: CompareOp eGE: CompareOp @@ -21259,7 +22780,16 @@ class WhereExpression: :param s: The set constant values - 2. CreateConstantSet(s: MSPyBentleyGeom.Int64Array) -> MSPyECObjects.WhereExpression + 2. CreateConstantSet(s: list) -> MSPyECObjects.WhereExpression + + Create an expression that is a set of constant values. A set can be + used as the right side of the IS_IN operator. @See CreateConstant, + CreateComparison. + + :param s: + The set constant values + + 3. CreateConstantSet(s: MSPyBentleyGeom.Int64Array) -> MSPyECObjects.WhereExpression Create an expression that is a set of constant values. A set can be used as the right side of the IS_IN operator. @See CreateConstant, @@ -21268,7 +22798,16 @@ class WhereExpression: :param s: The set constant values - 3. CreateConstantSet(s: MSPyBentleyGeom.DoubleArray) -> MSPyECObjects.WhereExpression + 4. CreateConstantSet(s: MSPyBentleyGeom.DoubleArray) -> MSPyECObjects.WhereExpression + + Create an expression that is a set of constant values. A set can be + used as the right side of the IS_IN operator. @See CreateConstant, + CreateComparison. + + :param s: + The set constant values + + 5. CreateConstantSet(s: list) -> MSPyECObjects.WhereExpression Create an expression that is a set of constant values. A set can be used as the right side of the IS_IN operator. @See CreateConstant, @@ -21333,12 +22872,15 @@ class WhereExpression: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class XDataTreeNode: """ None @@ -21588,12 +23130,15 @@ class XDataTreeNode: def XInstanceContainer(arg0: MSPyECObjects.XDataTreeNode) -> MSPyDgnPlatform.XInstanceContainer: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eARRAYKIND_Primitive: ArrayKind eARRAYKIND_Struct: ArrayKind diff --git a/MSPythonSamples/Intellisense/MSPyMstnPlatform.pyi b/MSPythonSamples/Intellisense/MSPyMstnPlatform.pyi index 9023cfe..0cbeeaa 100644 --- a/MSPythonSamples/Intellisense/MSPyMstnPlatform.pyi +++ b/MSPythonSamples/Intellisense/MSPyMstnPlatform.pyi @@ -1,6 +1,10 @@ -from typing import Any, Optional, overload, Type, Sequence, Iterable, Union, Callable +from __future__ import annotations +from typing import Any, Optional, overload, Callable, ClassVar +from collections.abc import Sequence, Iterable, Iterator from enum import Enum -import MSPyMstnPlatform + +# Module self-reference for proper type resolution +import MSPyMstnPlatform as MSPyMstnPlatform class ACS: """ @@ -399,12 +403,15 @@ class ACS: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class AcsChangeType: """ Members: @@ -418,7 +425,13 @@ class AcsChangeType: eACS_SYNCH_TO_DATA """ - def __init__(self: MSPyMstnPlatform.AcsChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eACS_CHANGE_DELETE: AcsChangeType @@ -468,7 +481,13 @@ class ActionButtonValue: eACTIONBUTTON_OPEN """ - def __init__(self: MSPyMstnPlatform.ActionButtonValue, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eACTIONBUTTON_APPLY: ActionButtonValue @@ -518,13 +537,16 @@ class ActiveModel: def IsReadonly() -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... -class Angle3dConstraint: + def __init__(self, *args, **kwargs): + ... + +class Angle3dConstraint(MSPyMstnPlatform.Dimension3dBase): """ None """ @@ -538,7 +560,13 @@ class Angle3dConstraint: eINVERTED_AXIS """ - def __init__(self: MSPyMstnPlatform.Angle3dConstraint.AngleSettings, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eINVERTED_AXIS: AngleSettings @@ -570,7 +598,13 @@ class Angle3dConstraint: eFlagMask_HalfSpace2 """ - def __init__(self: MSPyMstnPlatform.Constraint3dBase.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_GroupLock: FlagMasks @@ -692,12 +726,15 @@ class Angle3dConstraint: def Type(arg0: MSPyMstnPlatform.Constraint3dBase) -> MSPyMstnPlatform.Constraint3dType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eDCM3_D_BETWEEN_FIXED: Status eDCM3_D_BETWEEN_SET_MEMBERS: Status @@ -749,7 +786,13 @@ class AngularUnits: eANGULAR_UNITS_Bearing """ - def __init__(self: MSPyMstnPlatform.AngularUnits, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eANGULAR_UNITS_Bearing: AngularUnits @@ -1256,17 +1299,27 @@ class Assoc: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class AssociativeExtractSettings: """ None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1317,6 +1370,13 @@ class AssociativeExtractSymbologySettings: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -1327,13 +1387,6 @@ class AssociativeExtractSymbologySettings: """ ... - @property - def circularProfile(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting) -> bool: - ... - @circularProfile.setter - def circularProfile(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting, arg1: bool) -> None: - ... - @property def classOverride(arg0: MSPyMstnPlatform.AssociativeExtractSymbologySettings) -> bool: ... @@ -1355,27 +1408,6 @@ class AssociativeExtractSymbologySettings: def colorOverride(arg0: MSPyMstnPlatform.AssociativeExtractSymbologySettings, arg1: bool) -> None: ... - @property - def doEditmode(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting) -> bool: - ... - @doEditmode.setter - def doEditmode(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting, arg1: bool) -> None: - ... - - @property - def doInsideDiameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting) -> bool: - ... - @doInsideDiameter.setter - def doInsideDiameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting, arg1: bool) -> None: - ... - - @property - def doOutsideDiameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting) -> bool: - ... - @doOutsideDiameter.setter - def doOutsideDiameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting, arg1: bool) -> None: - ... - @property def elementclass(arg0: MSPyMstnPlatform.AssociativeExtractSymbologySettings) -> bool: ... @@ -1430,7 +1462,13 @@ class Asynch_update_view: None """ - def __init__(self: MSPyMstnPlatform.Asynch_update_view) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -1532,7 +1570,7 @@ class Asynch_update_view: def window(self: MSPyMstnPlatform.Asynch_update_view, arg0: int) -> None: ... -class BRepVertexGeometryId: +class BRepVertexGeometryId(MSPyMstnPlatform.GeometryId): """ None """ @@ -1560,7 +1598,13 @@ class BRepVertexGeometryId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -1614,7 +1658,13 @@ class BRepVertexGeometryId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -1640,6 +1690,7 @@ class BRepVertexGeometryId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -1675,6 +1726,7 @@ class BRepVertexGeometryId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -1702,12 +1754,15 @@ class BRepVertexGeometryId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -1774,7 +1829,7 @@ class BRepVertexGeometryId: eRegionPlane: Type -class BaseWindow: +class BaseWindow(MSPyMstnPlatform.WindowInfo): """ None """ @@ -1872,12 +1927,15 @@ class BaseWindow: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class BatchProcessing_States: """ Members: @@ -1899,7 +1957,13 @@ class BatchProcessing_States: ePROCESSSTATE_ClosedFile """ - def __init__(self: MSPyMstnPlatform.BatchProcessing_States, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePROCESSSTATE_AnalyzeFile: BatchProcessing_States @@ -1945,7 +2009,13 @@ class ButtonTrans: eUndefined """ - def __init__(self: MSPyMstnPlatform.ButtonTrans, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eClick: ButtonTrans @@ -1987,7 +2057,13 @@ class CadInputType: eCadInputTypeAny """ - def __init__(self: MSPyMstnPlatform.CadInputType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCadInputTypeAny: CadInputType @@ -2136,7 +2212,7 @@ class Cell: This can be used as an orphan cell, or later added to a cell library using Cell.AddLibDescr. Typically this function is used to create a cell header, and Elmdscr.AppendDscr is then used to add elements. - @Param(output) cellElm This is a pointer to a full MSElement union which + @Param(output) cellElm This is a pointer to a full MSElement which is filled in. @Param(input) cellName the name of the cell; may be NULL. @Param(input) origin the origin of the cell. If NULL is passed for cellOrigin, the (0, 0, 0) point for the current coordinate system is @@ -2699,9 +2775,9 @@ class Cell: ``` MSElement element; - memcpy (&element, &cellDP->el, Element.Size (&cellDP->el)); - Cell.SetDescription (&element, L" NEW DESCRIPTION "); - Elmdscr.ReplaceElement (&cellDP, &element); + memcpy (element,cellDP->el, Element.Size (cellDP->el)); + Cell.SetDescription (element, L" NEW DESCRIPTION "); + Elmdscr.ReplaceElement (cellDP,element); ``` @Param(input) elmP the cell element on which the description will be set. @@ -2726,9 +2802,9 @@ class Cell: ``` MSElement element; - memcpy (&element, &cellDP->el, Element.Size (&cellDP->el)); - Cell.SetName (&element, L" NEW NAME "); - Elmdscr.ReplaceElement (&cellDP, &element); + memcpy (element,cellDP->el, Element.Size (cellDP->el)); + Cell.SetName (element, L" NEW NAME "); + Elmdscr.ReplaceElement (cellDP,element); ``` @Param(input) elmP the cell element on which the name will be set. @@ -2785,18 +2861,18 @@ class Cell: ... @staticmethod - def UpgradeLibrary(*args, **kwargs): - """ - UpgradeLibrary(libraryFileName: MSPyBentley.WString, backupFileName: str, haveUnits: bool, uorPerStorage: float, unitNumerator: float, unitDenominator: float, unitLabel: str, unitFlags: MSPyDgnPlatform.UnitFlags, libraryFlag: int, feedbackFunc: std::function) -> int - """ + def UpgradeLibrary(libraryFileName: MSPyBentley.WString, backupFileName: str, haveUnits: bool, uorPerStorage: float, unitNumerator: float, unitDenominator: float, unitLabel: str, unitFlags: MSPyDgnPlatform.UnitFlags, libraryFlag: int, feedbackFunc: Callable[[wchar_t ,int], None]) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class CellAddType: """ Members: @@ -2808,7 +2884,13 @@ class CellAddType: ePointCell """ - def __init__(self: MSPyMstnPlatform.CellAddType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFronContext: CellAddType @@ -2844,7 +2926,13 @@ class CellLibAsyncMsgType: eCELL_LIBRARY_POST_CREATE """ - def __init__(self: MSPyMstnPlatform.CellLibAsyncMsgType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCELL_LIBRARY_MSG_ERROR: CellLibAsyncMsgType @@ -2886,7 +2974,13 @@ class CellLibraryOptions: eCELL_LIBRARY_OPT_IncludeShared """ - def __init__(self: MSPyMstnPlatform.CellLibraryOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCELL_LIBRARY_OPT_Include3d: CellLibraryOptions @@ -2914,6 +3008,25 @@ class ChamferEdgeSettings: None """ + def GetDistances(self: MSPyMstnPlatform.ChamferEdgeSettings) -> tuple: + ... + + def Scale(self: MSPyMstnPlatform.ChamferEdgeSettings, scale: float) -> None: + ... + + def SetDistance(self: MSPyMstnPlatform.ChamferEdgeSettings, distance: float) -> None: + ... + + def SetDistance2(self: MSPyMstnPlatform.ChamferEdgeSettings, distance: float) -> None: + ... + + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -2921,6 +3034,10 @@ class ChamferEdgeSettings: 1. __init__(self: MSPyMstnPlatform.ChamferEdgeSettings) -> None 2. __init__(self: MSPyMstnPlatform.ChamferEdgeSettings, dgnModel: MSPyDgnPlatform.DgnModel) -> None + + 3. __init__(self: MSPyMstnPlatform.ChamferEdgeSettings) -> None + + 4. __init__(self: MSPyMstnPlatform.ChamferEdgeSettings, dgnModel: MSPyDgnPlatform.DgnModel) -> None """ ... @@ -3162,12 +3279,15 @@ class ChangeTrackCallback: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ChooseMasterFileStatus: """ Members: @@ -3179,7 +3299,13 @@ class ChooseMasterFileStatus: eCHOOSEMASTERFILE_STATUS_Canceled """ - def __init__(self: MSPyMstnPlatform.ChooseMasterFileStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCHOOSEMASTERFILE_STATUS_Canceled: ChooseMasterFileStatus @@ -3207,7 +3333,13 @@ class ClearFeaturesAreaMode: eClearFeaturesAreaMode_SelectionSet """ - def __init__(self: MSPyMstnPlatform.ClearFeaturesAreaMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eClearFeaturesAreaMode_All: ClearFeaturesAreaMode @@ -3235,7 +3367,13 @@ class CommandFilterReturnValue: eINPUT_COMMAND_CHANGED """ - def __init__(self: MSPyMstnPlatform.CommandFilterReturnValue, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eINPUT_COMMAND_ACCEPT: CommandFilterReturnValue @@ -3291,7 +3429,13 @@ class CommandTableStatus: eCT_ERROR """ - def __init__(self: MSPyMstnPlatform.CommandTableStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCT_AmbiguousMatch: CommandTableStatus @@ -3345,7 +3489,13 @@ class CompressType: ePOST_COMPRESS_DGNFILE """ - def __init__(self: MSPyMstnPlatform.CompressType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePOST_COMPRESS_DGNFILE: CompressType @@ -3627,9 +3777,7 @@ class ConnectionManager: def GetActiveConnections(self: MSPyMstnPlatform.ConnectionManager, connections: MSPyMstnPlatform.ServerConnectionPtrArray) -> None: """ - Get the active connections) - - Parameter ``connections``: + Get the active connections) -> Parameter ``connections``: The List of active connections. Returns: @@ -3656,9 +3804,7 @@ class ConnectionManager: @staticmethod def GetSavedConnections(connections: MSPyMstnPlatform.ServerConnectionPtrArray) -> None: """ - Get the connections saved in the active model) - - Parameter ``connections``: + Get the connections saved in the active model) -> Parameter ``connections``: The List of saved connections. Returns: @@ -3766,12 +3912,15 @@ class ConnectionManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ConnectionServerType: """ Members: @@ -3783,7 +3932,13 @@ class ConnectionServerType: eConnectionServerType_WFS """ - def __init__(self: MSPyMstnPlatform.ConnectionServerType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eConnectionServerType_All: ConnectionServerType @@ -3864,6 +4019,13 @@ class Constraint2dData: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3879,6 +4041,16 @@ class Constraint2dDataArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -3911,6 +4083,7 @@ class Constraint2dDataArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -3931,6 +4104,7 @@ class Constraint2dDataArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4025,18 +4199,21 @@ class Constraint2dManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Constraint2dSolver: """ None """ - def Evaluate(self: MSPyMstnPlatform.Constraint2dSolver, dragInfos: List[MSPyDgnPlatform.Constraint2d.Drag2dInfo], isDynamic: bool) -> MSPyDgnPlatform.BentleyStatus: + def Evaluate(self: MSPyMstnPlatform.Constraint2dSolver, dragInfos: list[MSPyDgnPlatform.Constraint2d.Drag2dInfo], isDynamic: bool) -> MSPyDgnPlatform.BentleyStatus: """ @description Perform a evaluation @@ -4097,7 +4274,13 @@ class Constraint2dSolver: """ ... - def __init__(self: MSPyMstnPlatform.Constraint2dSolver, localToWorldScale: float, isAutoConstraining: bool = False) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class Constraint2dSolverData: @@ -4250,7 +4433,13 @@ class Constraint2dSolverData: """ ... - def __init__(self: MSPyMstnPlatform.Constraint2dSolverData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -4258,7 +4447,7 @@ class Constraint2dSolverData: ... @property - def m_dimensions(arg0: MSPyMstnPlatform.Constraint2dSolverData) -> List[MSPyDgnPlatform.Constraint2d.Dimension2dData]: + def m_dimensions(arg0: MSPyMstnPlatform.Constraint2dSolverData) -> list[MSPyDgnPlatform.Constraint2d.Dimension2dData]: ... class Constraint2dSolverDataArray: @@ -4266,6 +4455,16 @@ class Constraint2dSolverDataArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4292,6 +4491,7 @@ class Constraint2dSolverDataArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4312,6 +4512,7 @@ class Constraint2dSolverDataArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -4355,7 +4556,13 @@ class Constraint2dStatus: eSolved """ - def __init__(self: MSPyMstnPlatform.Constraint2dStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBetween_Fixed: Constraint2dStatus @@ -4489,7 +4696,13 @@ class Constraint2dType: eDummy """ - def __init__(self: MSPyMstnPlatform.Constraint2dType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAngle: Constraint2dType @@ -4623,7 +4836,13 @@ class Constraint3dBase: eFlagMask_HalfSpace2 """ - def __init__(self: MSPyMstnPlatform.Constraint3dBase.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_GroupLock: FlagMasks @@ -4745,12 +4964,15 @@ class Constraint3dBase: def Type(arg0: MSPyMstnPlatform.Constraint3dBase) -> MSPyMstnPlatform.Constraint3dType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eDCM3_D_BETWEEN_FIXED: Status eDCM3_D_BETWEEN_SET_MEMBERS: Status @@ -4796,12 +5018,15 @@ class Constraint3dDisplay: def DrawPath(path: MSPyDgnPlatform.DisplayPath, viewContext: MSPyDgnPlatform.ViewContext) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Constraint3dElement: """ None @@ -4855,12 +5080,15 @@ class Constraint3dElement: def SaveConstraints(eeh: MSPyDgnPlatform.EditElementHandle, constraints: MSPyMstnPlatform.Constraint3dPtrArray) -> MSPyDgnPlatform.BentleyStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Constraint3dGUI: """ None @@ -4878,12 +5106,15 @@ class Constraint3dGUI: def OpenDimensionDialog(dimensionValue: float, variableAccess: MSPyBentley.WString, modelRef: MSPyDgnPlatform.DgnModelRef, viewport: MSPyDgnPlatform.Viewport, origin: MSPyBentleyGeom.DPoint3d) -> float: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Constraint3dHalfSpace: """ Members: @@ -4895,7 +5126,13 @@ class Constraint3dHalfSpace: eNegative """ - def __init__(self: MSPyMstnPlatform.Constraint3dHalfSpace, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNegative: Constraint3dHalfSpace @@ -4921,17 +5158,30 @@ class Constraint3dManager: def AddConstraint(constrainedElements: MSPyDgnPlatform.ElementAgenda, subEntities: MSPyDgnPlatform.ISubEntityPtrArray, consType: MSPyMstnPlatform.Constraint3dType, flags: int = 0, dimValue: float = 0.0, varName: str = '') -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Constraint3dPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -4964,6 +5214,7 @@ class Constraint3dPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -4984,6 +5235,7 @@ class Constraint3dPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -5009,6 +5261,7 @@ class Constraint3dSolver: None """ + @staticmethod def DynamicEvaluate(*args, **kwargs): """ Overloaded function. @@ -5019,6 +5272,7 @@ class Constraint3dSolver: """ ... + @staticmethod def Evaluate(*args, **kwargs): """ Overloaded function. @@ -5037,7 +5291,13 @@ class Constraint3dSolver: def Initialize(self: MSPyMstnPlatform.Constraint3dSolver, constraints: MSPyMstnPlatform.Constraint3dPtrArray, modelRef: MSPyDgnPlatform.DgnModelRef, modifiedElements: dict = {}, debugJournal: str = None) -> MSPyDgnPlatform.BentleyStatus: ... - def __init__(self: MSPyMstnPlatform.Constraint3dSolver) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class Constraint3dStorageVersion: @@ -5049,7 +5309,13 @@ class Constraint3dStorageVersion: eLatest """ - def __init__(self: MSPyMstnPlatform.Constraint3dStorageVersion, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eInitial: Constraint3dStorageVersion @@ -5123,7 +5389,13 @@ class Constraint3dType: eUnspecified """ - def __init__(self: MSPyMstnPlatform.Constraint3dType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_ANGLE: Constraint3dType @@ -5220,12 +5492,15 @@ class Constraint3dUtil: def RemoveInvalidConstraints(constraints: MSPyMstnPlatform.Constraint3dPtrArray, changed: MSPyDgnPlatform.ElementRefBase, hostEh: MSPyDgnPlatform.ElementHandle) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Constraint3dXAttributeIndex: """ Members: @@ -5235,7 +5510,13 @@ class Constraint3dXAttributeIndex: eVariableDependency """ - def __init__(self: MSPyMstnPlatform.Constraint3dXAttributeIndex, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eData: Constraint3dXAttributeIndex @@ -5250,7 +5531,7 @@ class Constraint3dXAttributeIndex: def value(arg0: MSPyMstnPlatform.Constraint3dXAttributeIndex) -> int: ... -class CurveArcAxisGeometryId: +class CurveArcAxisGeometryId(MSPyMstnPlatform.CurveGeometryId): """ None """ @@ -5278,7 +5559,13 @@ class CurveArcAxisGeometryId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -5332,7 +5619,13 @@ class CurveArcAxisGeometryId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -5358,6 +5651,7 @@ class CurveArcAxisGeometryId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -5393,6 +5687,7 @@ class CurveArcAxisGeometryId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -5420,12 +5715,15 @@ class CurveArcAxisGeometryId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -5617,6 +5915,13 @@ class CurveEntityIdentifier: def VertexType(arg0: MSPyMstnPlatform.CurveEntityIdentifier, arg1: MSPyMstnPlatform.VertexType) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5634,6 +5939,16 @@ class CurveEntityIdentifierArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -5666,6 +5981,7 @@ class CurveEntityIdentifierArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -5686,6 +6002,7 @@ class CurveEntityIdentifierArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -5706,7 +6023,7 @@ class CurveEntityIdentifierArray: """ ... -class CurveGeometryId: +class CurveGeometryId(MSPyMstnPlatform.GeometryId): """ None """ @@ -5734,7 +6051,13 @@ class CurveGeometryId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -5788,7 +6111,13 @@ class CurveGeometryId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -5814,6 +6143,7 @@ class CurveGeometryId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -5849,6 +6179,7 @@ class CurveGeometryId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -5876,12 +6207,15 @@ class CurveGeometryId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -5948,7 +6282,7 @@ class CurveGeometryId: eRegionPlane: Type -class CurvePointGeometryId: +class CurvePointGeometryId(MSPyMstnPlatform.CurveGeometryId): """ None """ @@ -5976,7 +6310,13 @@ class CurvePointGeometryId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -6030,7 +6370,13 @@ class CurvePointGeometryId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -6056,6 +6402,7 @@ class CurvePointGeometryId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -6091,6 +6438,7 @@ class CurvePointGeometryId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -6118,12 +6466,15 @@ class CurvePointGeometryId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -6195,10 +6546,8 @@ class DgnDocumentManager: None """ - def DeleteDocument(*args, **kwargs): + def DeleteDocument(self: MSPyMstnPlatform.DgnDocumentManager, doc: MSPyDgnPlatform.DgnDocument, options: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions = DeleteOptions.eDefault) -> int: """ - DeleteDocument(self: MSPyMstnPlatform.DgnDocumentManager, doc: MSPyDgnPlatform.DgnDocument, options: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions = ) -> int - @name Methods to manage documents in the DMS repository Remove the document from the DMS. @@ -6208,10 +6557,8 @@ class DgnDocumentManager: """ ... - def DeleteFolder(*args, **kwargs): + def DeleteFolder(self: MSPyMstnPlatform.DgnDocumentManager, folderMoniker: MSPyDgnPlatform.DgnFolderMoniker, options: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions = DeleteOptions.eDefault) -> int: """ - DeleteFolder(self: MSPyMstnPlatform.DgnDocumentManager, folderMoniker: MSPyDgnPlatform.DgnFolderMoniker, options: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions = ) -> int - Remove the folder from the DMS. """ ... @@ -6227,7 +6574,13 @@ class DgnDocumentManager: eIncludeSubItems """ - def __init__(self: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAllowRestore: DeleteOptions @@ -6255,7 +6608,13 @@ class DgnDocumentManager: eNoIntegrationLoaded """ - def __init__(self: MSPyMstnPlatform.DgnDocumentManager.DgnBrowserStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCancel: DgnBrowserStatus @@ -6367,12 +6726,15 @@ class DgnDocumentManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eAllowRestore: DeleteOptions eCancel: DgnBrowserStatus @@ -6385,170 +6747,6 @@ class DgnDocumentManager: eSuccess: DgnBrowserStatus -class DgnFile: - """ - None - """ - - @staticmethod - def CheckRights(dgnFileObj: MSPyDgnPlatform.DgnFile, rights: int, displayError: MSPyMstnPlatform.MessageDestination) -> int: - """ - @Description Check if the specified rights are granted to the current - user for the specified file. - - Remark: - s The rights parameter can be one or more of the following values - OR'd together: - - * MSPyDgnPlatform.DGNFILE_RIGHT_Print -- Print, print preview, e-plot, - etc. - - * MSPyDgnPlatform.DGNFILE_RIGHT_Export -- SaveAs, Export, Copy to - clipboard, File Fence, etc. - - * MSPyDgnPlatform.DGNFILE_RIGHT_Edit -- Modify file contents (implies not - read-only) - - * MSPyDgnPlatform.DGNFILE_RIGHT_Unlimited -- All rights, present and - future - - :param DgnFile: - the DgnFile of interest. @Param(input) rights the rights to query - @Param(input) displayError display error message in message center if - rights not granted? Else return ERROR silently @Return SUCCESS if - all of the rights are granted. - - Remark: - """ - ... - - @staticmethod - def CreateModel(dgnFileObj: MSPyDgnPlatform.DgnFile, seedModelRef: MSPyDgnPlatform.DgnModelRef, modelName: str, modelDescr: str, FromSeedForModelAndIs3d: bool, modelType: MSPyDgnPlatform.DgnModelType, Is3d: bool) -> tuple: - ... - - @staticmethod - def FindElemByID(dgnFile: MSPyDgnPlatform.DgnFile, elemId: int, dictionaryOnly: bool) -> MSPyDgnPlatform.ElementRefBase: - ... - - @staticmethod - def FindModelIDByName(dgnFileObj: MSPyDgnPlatform.DgnFile, name: str) -> tuple: - ... - - @staticmethod - def GetMasterFile() -> MSPyDgnPlatform.DgnFile: - """ - @Description Get the DgnFile for the current master file. @Return - The DgnFileP for the current master file. - - Remark: - """ - ... - - @staticmethod - def GetModelCount(dgnFileObj: MSPyDgnPlatform.DgnFile) -> int: - """ - Remark: - """ - ... - - @staticmethod - def GetModelItemById(dgnFileObj: MSPyDgnPlatform.DgnFile, modelId: int) -> MSPyDgnPlatform.ModelIndexItem: - """ - Retrieve the model index item using a model ID. - - :param pDgnFile: - The file containing the model. - - :param modelID: - The ID of the model to retreive. - - :returns: - NULL if the indicated model does not exist in the file, otherwise - a pointer to the model index item. @Group " DgnFile Functions " - @See ModelItem.GetData ModelItem.GetName - ModelItem.GetDescription - - Remark: - """ - ... - - @staticmethod - def GetModelItemByName(dgnFileObj: MSPyDgnPlatform.DgnFile, modelName: str) -> MSPyDgnPlatform.ModelIndexItem: - """ - Retrieve the model index item using a model name. - - :param pDgnFile: - The file containing the model. - - :param modelName: - The name of the model to retreive. - - :returns: - NULL if the indicated model does not exist in the file, otherwise - a pointer to the model index item. @Group " DgnFile Functions " - @See ModelItem.GetData ModelItem.GetName - ModelItem.GetDescription - - Remark: - """ - ... - - @staticmethod - def GetModelRefList(dgnFileObj: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.DgnModelRefList: - """ - Create a DgnModelRefList containing an entry for each of the loaded - models in the specified design file. Note, any DgnModelRefList created - with this function must be freed by calling ModelRefList.Free. - - :param DgnFile: - Is a reference to the design file containing the models to add to - the list. @Remarks The returned model ref must be freed by the - caller. - - :returns: - A pointer to the DgnModelRefList that has an entry for each model - in the design file. @Group " DgnFile Functions " - - Remark: - """ - ... - - @staticmethod - def GetVersion(dgnFilebj: MSPyDgnPlatform.DgnFile) -> tuple: - ... - - @staticmethod - def HasPendingChanges(DgnFile: MSPyDgnPlatform.DgnFile) -> bool: - """ - @Description Determines if a design file has pending chages. - @Param(input) DgnFile is a reference to the design file of interest - @Return true if the design file has changes that have not been saved; - false otherwise. - - Remark: - """ - ... - - @staticmethod - def IsProtected(dgnFileObj: MSPyDgnPlatform.DgnFile) -> bool: - """ - @Description Check if the specified file is encrypted (e.g., for - digital rights management) - - :param file: - the DgnFile of interest. @Return true if file is encrypted - - Remark: - """ - ... - - def __init__(*args, **kwargs): - """ - Initialize self. See help(type(self)) for accurate signature. - """ - ... - class DgnLibSelector: """ Members: @@ -6594,7 +6792,13 @@ class DgnLibSelector: eNamedExpressions """ - def __init__(self: MSPyMstnPlatform.DgnLibSelector, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eClashDetection: DgnLibSelector @@ -7016,7 +7220,13 @@ class DialogIds: eDIALOGID_FileWorkSetNotFound_ValidActiveWorkSet_ValidConfig """ - def __init__(self: MSPyMstnPlatform.DialogIds, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIALOGID_AboutConfiguration: DialogIds @@ -7393,7 +7603,7 @@ class DialogIds: def value(arg0: MSPyMstnPlatform.DialogIds) -> int: ... -class Dimension2dData: +class Dimension2dData(MSPyMstnPlatform.Constraint2dData): """ None """ @@ -7624,6 +7834,13 @@ class Dimension2dData: def VariableName(arg0: MSPyMstnPlatform.Dimension2dData, arg1: MSPyBentley.WString) -> None: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -7634,11 +7851,12 @@ class Dimension2dData: """ ... -class Dimension3dBase: +class Dimension3dBase(MSPyMstnPlatform.Constraint3dBase): """ None """ + @staticmethod def Create(*args, **kwargs): """ Overloaded function. @@ -7662,7 +7880,13 @@ class Dimension3dBase: eFlagMask_HalfSpace2 """ - def __init__(self: MSPyMstnPlatform.Constraint3dBase.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_GroupLock: FlagMasks @@ -7784,12 +8008,15 @@ class Dimension3dBase: def Type(arg0: MSPyMstnPlatform.Constraint3dBase) -> MSPyMstnPlatform.Constraint3dType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eDCM3_D_BETWEEN_FIXED: Status eDCM3_D_BETWEEN_SET_MEMBERS: Status @@ -7837,7 +8064,13 @@ class DimensionAlignmentType: eDimAlign_Drawing_Y_Reversed """ - def __init__(self: MSPyMstnPlatform.DimensionAlignmentType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDimAlign_Drawing_X: DimensionAlignmentType @@ -7869,7 +8102,13 @@ class DimensionHalfSpace: eRight """ - def __init__(self: MSPyMstnPlatform.DimensionHalfSpace, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLeft: DimensionHalfSpace @@ -7899,7 +8138,13 @@ class DimensionStyleChangeType: eDIMSTYLE_CHANGE_SETTINGS """ - def __init__(self: MSPyMstnPlatform.DimensionStyleChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDIMSTYLE_CHANGE_ACTIVE: DimensionStyleChangeType @@ -7918,7 +8163,7 @@ class DimensionStyleChangeType: def value(arg0: MSPyMstnPlatform.DimensionStyleChangeType) -> int: ... -class DistanceDimension3d: +class DistanceDimension3d(MSPyMstnPlatform.Dimension3dBase): """ None """ @@ -7940,7 +8185,13 @@ class DistanceDimension3d: eFlagMask_HalfSpace2 """ - def __init__(self: MSPyMstnPlatform.Constraint3dBase.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_GroupLock: FlagMasks @@ -8062,12 +8313,15 @@ class DistanceDimension3d: def Type(arg0: MSPyMstnPlatform.Constraint3dBase) -> MSPyMstnPlatform.Constraint3dType: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eDCM3_D_BETWEEN_FIXED: Status eDCM3_D_BETWEEN_SET_MEMBERS: Status @@ -8121,7 +8375,13 @@ class DockPosition: eDOCK_FILL """ - def __init__(self: MSPyMstnPlatform.DockPosition, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDOCK_BOTTOM: DockPosition @@ -8173,7 +8433,13 @@ class DockPriority: eDOCKEXTENT_INVALIDREGION """ - def __init__(self: MSPyMstnPlatform.DockPriority, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDOCKEXTENT_DONTCARE: DockPriority @@ -8312,13 +8578,20 @@ class Drag2dInfo: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. 1. __init__(self: MSPyMstnPlatform.Drag2dInfo) -> None - 2. __init__(self: MSPyMstnPlatform.Drag2dInfo, identifier: MSPyMstnPlatform.CurveEntityIdentifier, transformType: MSPyMstnPlatform.DragTransformType = ) -> None + 2. __init__(self: MSPyMstnPlatform.Drag2dInfo, identifier: MSPyMstnPlatform.CurveEntityIdentifier, transformType: MSPyMstnPlatform.DragTransformType = DragTransformType.eTranslation) -> None """ ... @@ -8339,7 +8612,13 @@ class DragTransformType: eOffset_Distance """ - def __init__(self: MSPyMstnPlatform.DragTransformType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGeneral: DragTransformType @@ -8371,7 +8650,13 @@ class DriverCoordSysOrigin: eUpperLeft """ - def __init__(self: MSPyMstnPlatform.DriverCoordSysOrigin, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLowerLeft: DriverCoordSysOrigin @@ -8401,7 +8686,13 @@ class DriverOutputMode: ePreferNonrasterized """ - def __init__(self: MSPyMstnPlatform.DriverOutputMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eForceNonrasterized: DriverOutputMode @@ -8422,7 +8713,7 @@ class DriverOutputMode: def value(arg0: MSPyMstnPlatform.DriverOutputMode) -> int: ... -class EdgeArcAxisGeometryId: +class EdgeArcAxisGeometryId(MSPyMstnPlatform.EdgeGeometryId): """ None """ @@ -8450,7 +8741,13 @@ class EdgeArcAxisGeometryId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -8504,7 +8801,13 @@ class EdgeArcAxisGeometryId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -8530,6 +8833,7 @@ class EdgeArcAxisGeometryId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -8565,6 +8869,7 @@ class EdgeArcAxisGeometryId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -8592,12 +8897,15 @@ class EdgeArcAxisGeometryId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -8664,7 +8972,7 @@ class EdgeArcAxisGeometryId: eRegionPlane: Type -class EdgeGeometryId: +class EdgeGeometryId(MSPyMstnPlatform.GeometryId): """ None """ @@ -8692,7 +9000,13 @@ class EdgeGeometryId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -8746,7 +9060,13 @@ class EdgeGeometryId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -8772,6 +9092,7 @@ class EdgeGeometryId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -8807,6 +9128,7 @@ class EdgeGeometryId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -8834,12 +9156,15 @@ class EdgeGeometryId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -9036,12 +9361,15 @@ class ElementPropertyUtils: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ExportElementFilterMode: """ Members: @@ -9055,7 +9383,13 @@ class ExportElementFilterMode: eExportElementFilterMode_BySelectionSet """ - def __init__(self: MSPyMstnPlatform.ExportElementFilterMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eExportElementFilterMode_ByElementTemplate: ExportElementFilterMode @@ -9117,12 +9451,15 @@ class ExportManager: Manager: ExportManager - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ExportSpecification: """ None @@ -9460,17 +9797,30 @@ class ExportSpecification: def UseFenceOverlap(arg0: MSPyMstnPlatform.ExportSpecification, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ExportSpecificationPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -9503,6 +9853,7 @@ class ExportSpecificationPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -9523,6 +9874,7 @@ class ExportSpecificationPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -9548,6 +9900,13 @@ class ExtrudeAlongProfileSetting: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -9558,6 +9917,203 @@ class ExtrudeAlongProfileSetting: """ ... + @property + def circularProfile(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting) -> bool: + ... + @circularProfile.setter + def circularProfile(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting, arg1: bool) -> None: + ... + + @property + def diameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting) -> numpy.typing.NDArray: + ... + @diameter.setter + def diameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting, arg1: numpy.typing.NDArray) -> None: + ... + + @property + def doEditmode(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting) -> bool: + ... + @doEditmode.setter + def doEditmode(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting, arg1: bool) -> None: + ... + + @property + def doInsideDiameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting) -> bool: + ... + @doInsideDiameter.setter + def doInsideDiameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting, arg1: bool) -> None: + ... + + @property + def doOutsideDiameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting) -> bool: + ... + @doOutsideDiameter.setter + def doOutsideDiameter(arg0: MSPyMstnPlatform.ExtrudeAlongProfileSetting, arg1: bool) -> None: + ... + +class ExtrudeAlongSettings: + """ + None + """ + + class __class__(type): + """ + None + """ + ... + + @staticmethod + def __init__(*args, **kwargs): + """ + Overloaded function. + + 1. __init__(self: MSPyMstnPlatform.ExtrudeAlongSettings) -> None + + 2. __init__(self: MSPyMstnPlatform.ExtrudeAlongSettings, dgnModel: MSPyDgnPlatform.DgnModel) -> None + """ + ... + + @property + def alignParallel(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @alignParallel.setter + def alignParallel(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def distances(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> numpy.typing.NDArray: + ... + @distances.setter + def distances(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: numpy.typing.NDArray) -> None: + ... + + @property + def doEndDistance(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @doEndDistance.setter + def doEndDistance(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def doLockProfileRotation(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @doLockProfileRotation.setter + def doLockProfileRotation(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def doScale(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @doScale.setter + def doScale(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def doStartDistance(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @doStartDistance.setter + def doStartDistance(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def doTwist(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @doTwist.setter + def doTwist(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def invertPath(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @invertPath.setter + def invertPath(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def lockProfileDirection(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @lockProfileDirection.setter + def lockProfileDirection(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: int) -> None: + ... + + @property + def pathLeafMode(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @pathLeafMode.setter + def pathLeafMode(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: int) -> None: + ... + + @property + def profileLeafMode(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @profileLeafMode.setter + def profileLeafMode(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: int) -> None: + ... + + @property + def scale(self: MSPyMstnPlatform.ExtrudeAlongSettings) -> float: + ... + @scale.setter + def scale(self: MSPyMstnPlatform.ExtrudeAlongSettings, arg0: float) -> None: + ... + + @property + def selfRepair(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @selfRepair.setter + def selfRepair(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def thickness(self: MSPyMstnPlatform.ExtrudeAlongSettings) -> float: + ... + @thickness.setter + def thickness(self: MSPyMstnPlatform.ExtrudeAlongSettings, arg0: float) -> None: + ... + + @property + def thicknessMode(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @thicknessMode.setter + def thicknessMode(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: int) -> None: + ... + + @property + def twistAngle(self: MSPyMstnPlatform.ExtrudeAlongSettings) -> float: + ... + @twistAngle.setter + def twistAngle(self: MSPyMstnPlatform.ExtrudeAlongSettings, arg0: float) -> None: + ... + + @property + def type(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @type.setter + def type(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: int) -> None: + ... + + @property + def useActiveAttributes(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @useActiveAttributes.setter + def useActiveAttributes(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def useFractions(arg0: MSPyMstnPlatform.ExtrudeAlongSettings) -> bool: + ... + @useFractions.setter + def useFractions(arg0: MSPyMstnPlatform.ExtrudeAlongSettings, arg1: bool) -> None: + ... + + @property + def version(self: MSPyMstnPlatform.ExtrudeAlongSettings) -> int: + ... + @version.setter + def version(self: MSPyMstnPlatform.ExtrudeAlongSettings, arg0: int) -> None: + ... + class ExtrudeSettings: """ None @@ -9581,6 +10137,13 @@ class ExtrudeSettings: def Validate(self: MSPyMstnPlatform.ExtrudeSettings) -> bool: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -9698,7 +10261,7 @@ class ExtrudeSettings: def yScale(self: MSPyMstnPlatform.ExtrudeSettings, arg0: float) -> None: ... -class FaceAxisGeometryId: +class FaceAxisGeometryId(MSPyMstnPlatform.FaceGeometryId): """ None """ @@ -9726,7 +10289,13 @@ class FaceAxisGeometryId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -9780,7 +10349,13 @@ class FaceAxisGeometryId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -9806,6 +10381,7 @@ class FaceAxisGeometryId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -9841,6 +10417,7 @@ class FaceAxisGeometryId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -9868,12 +10445,15 @@ class FaceAxisGeometryId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -9940,7 +10520,7 @@ class FaceAxisGeometryId: eRegionPlane: Type -class FaceGeometryId: +class FaceGeometryId(MSPyMstnPlatform.GeometryId): """ None """ @@ -9968,7 +10548,13 @@ class FaceGeometryId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -10022,7 +10608,13 @@ class FaceGeometryId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -10048,6 +10640,7 @@ class FaceGeometryId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -10083,6 +10676,7 @@ class FaceGeometryId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -10110,12 +10704,15 @@ class FaceGeometryId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -10286,7 +10883,7 @@ class FeatureCreate: ... @staticmethod - def CreateExtrudeAlongFeature(lockDirection: MSPyBentleyGeom.DVec3d, scalePoint: MSPyBentleyGeom.DPoint3d, settings: MSPyDgnPlatform.SmartFeature.ExtrudeAlongSettings, createSheet: bool) -> MSPyMstnPlatform.SmartFeatureNode: + def CreateExtrudeAlongFeature(lockDirection: MSPyBentleyGeom.DVec3d, scalePoint: MSPyBentleyGeom.DPoint3d, settings: MSPyMstnPlatform.ExtrudeAlongSettings, createSheet: bool) -> MSPyMstnPlatform.SmartFeatureNode: """ Create Extrude Along Smart Feature node @@ -10350,7 +10947,7 @@ class FeatureCreate: ... @staticmethod - def CreateSizeFilter(settings: MSPyDgnPlatform.SmartFeature.SizeFilterSettings) -> MSPyMstnPlatform.SmartFeatureNode: + def CreateSizeFilter(settings: MSPyMstnPlatform.SizeFilterSettings) -> MSPyMstnPlatform.SmartFeatureNode: """ Create Size Filter Smart Feature Node. @@ -10405,12 +11002,15 @@ class FeatureCreate: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class FenceChangedType: """ Members: @@ -10420,7 +11020,13 @@ class FenceChangedType: eSYSTEM_FENCE_CREATED """ - def __init__(self: MSPyMstnPlatform.FenceChangedType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSYSTEM_FENCE_CLEARED: FenceChangedType @@ -10450,7 +11056,13 @@ class FileListAttr: eDEFAULT """ - def __init__(self: MSPyMstnPlatform.FileListAttr, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCREATE: FileListAttr @@ -10482,7 +11094,13 @@ class FileOpenExtAttr: eDONTDEFAULTTODEFFILE """ - def __init__(self: MSPyMstnPlatform.FileOpenExtAttr, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCENTERONSCREEN: FileOpenExtAttr @@ -10510,7 +11128,13 @@ class FileOutdatedCheck_Reason: eFILEOUTDATED_REF_FORCERELOAD """ - def __init__(self: MSPyMstnPlatform.FileOutdatedCheck_Reason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFILEOUTDATED_REF_FORCERELOAD: FileOutdatedCheck_Reason @@ -10560,7 +11184,13 @@ class FilterChangeType: eFILTER_TABLE_REDO """ - def __init__(self: MSPyMstnPlatform.FilterChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFILTER_CHANGE_ACTIVE: FilterChangeType @@ -10599,7 +11229,7 @@ class FilterChangeType: def value(arg0: MSPyMstnPlatform.FilterChangeType) -> int: ... -class GDBExportSpecification: +class GDBExportSpecification(MSPyMstnPlatform.ExportSpecification): """ None """ @@ -10960,12 +11590,15 @@ class GDBExportSpecification: def UseFenceOverlap(arg0: MSPyMstnPlatform.ExportSpecification, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class GDBImportSpecification: """ None @@ -11015,12 +11648,15 @@ class GDBImportSpecification: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class GeometryId: """ None @@ -11045,7 +11681,13 @@ class GeometryId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -11099,7 +11741,13 @@ class GeometryId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -11125,6 +11773,7 @@ class GeometryId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -11160,6 +11809,7 @@ class GeometryId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -11187,12 +11837,15 @@ class GeometryId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -11264,6 +11917,16 @@ class GeometryIdPtrArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -11296,6 +11959,7 @@ class GeometryIdPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -11316,6 +11980,7 @@ class GeometryIdPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -11415,7 +12080,13 @@ class GeospatialContextStatus: eGeospatialContextStatus_CreateDefaultElementTemplatesFailed """ - def __init__(self: MSPyMstnPlatform.GeospatialContextStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGeospatialContextStatus_ActivateConnectionFailed: GeospatialContextStatus @@ -11533,7 +12204,13 @@ class GlobalPositionData: def VDOP(self: MSPyMstnPlatform.GlobalPositionData, arg0: float) -> None: ... - def __init__(self: MSPyMstnPlatform.GlobalPositionData) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -11619,7 +12296,13 @@ class GraphicsFileType: eGRAPHICSFILE_SKP """ - def __init__(self: MSPyMstnPlatform.GraphicsFileType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGRAPHICSFILE_3DStudio: GraphicsFileType @@ -11683,7 +12366,13 @@ class GuiDrawMode: eHILITE_XORINCLUDEBACKSTORE """ - def __init__(self: MSPyMstnPlatform.GuiDrawMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHILITE_XORDRAW: GuiDrawMode @@ -11711,7 +12400,13 @@ class GuiWAttributes: None """ - def __init__(self: MSPyMstnPlatform.GuiWAttributes) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -12074,7 +12769,13 @@ class HideReasonCode: eMdlUnload """ - def __init__(self: MSPyMstnPlatform.HideReasonCode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eExiting: HideReasonCode @@ -12246,23 +12947,29 @@ class HistoryCallback: def RemoveUpdateRevisionUserDescPreFunction(newFunc: Callable[[MSPyDgnPlatform.DgnFile, str, str, str], int], funcID: str) -> bool: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class HistoryCommitParms: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def desc(arg0: MSPyMstnPlatform.HistoryCommitParms) -> str: ... @@ -12284,12 +12991,15 @@ class HistoryRevisionInfo: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def desc(arg0: MSPyMstnPlatform.HistoryRevisionInfo) -> str: ... @@ -12359,7 +13069,13 @@ class IBeginPrintPageParam: def GetPrintEnginePlotter(self: MSPyMstnPlatform.IBeginPrintPageParam) -> MSPyMstnPlatform.Print.IPlotter: ... - def __init__(self: MSPyMstnPlatform.IBeginPrintPageParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IBeginPrintSetParam: @@ -12401,15 +13117,19 @@ class IBeginPrintSetParam: """ ... - def GetPrinterDriverOptions(*args, **kwargs): + def GetPrinterDriverOptions(self: MSPyMstnPlatform.IBeginPrintSetParam) -> dict[Any, Any]: """ - GetPrinterDriverOptions(self: MSPyMstnPlatform.IBeginPrintSetParam) -> bmap,32,BentleyAllocator > > - Gets the printer driver override options. @since Version 10.02.00.00. """ ... - def __init__(self: MSPyMstnPlatform.IBeginPrintSetParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IDriverBeginPlotParam: @@ -12423,7 +13143,13 @@ class IDriverBeginPlotParam: """ ... - def __init__(self: MSPyMstnPlatform.IDriverBeginPlotParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IDriverEndPlotParam: @@ -12443,7 +13169,13 @@ class IDriverEndPlotParam: """ ... - def __init__(self: MSPyMstnPlatform.IDriverEndPlotParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IDriverPreBeginPlotParam: @@ -12457,7 +13189,13 @@ class IDriverPreBeginPlotParam: """ ... - def __init__(self: MSPyMstnPlatform.IDriverPreBeginPlotParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IEndPrintPageParam: @@ -12480,7 +13218,13 @@ class IEndPrintPageParam: def GetPrintEnginePlotter(self: MSPyMstnPlatform.IEndPrintPageParam) -> MSPyMstnPlatform.Print.IPlotter: ... - def __init__(self: MSPyMstnPlatform.IEndPrintPageParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IEndPrintSetParam: @@ -12525,15 +13269,19 @@ class IEndPrintSetParam: """ ... - def GetPrinterDriverOptions(*args, **kwargs): + def GetPrinterDriverOptions(self: MSPyMstnPlatform.IEndPrintSetParam) -> dict[Any, Any]: """ - GetPrinterDriverOptions(self: MSPyMstnPlatform.IEndPrintSetParam) -> bmap,32,BentleyAllocator > > - Gets the printer driver override options. @since Version 10.02.00.00. """ ... - def __init__(self: MSPyMstnPlatform.IEndPrintSetParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IEventHandlerPrioritized: @@ -12541,7 +13289,13 @@ class IEventHandlerPrioritized: None """ - def __init__(self: MSPyMstnPlatform.IEventHandlerPrioritized) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IGlobalPositionSource: @@ -12559,15 +13313,27 @@ class IGlobalPositionSource: def GetLatestPositionData(self: MSPyMstnPlatform.IGlobalPositionSource, data: MSPyMstnPlatform.GlobalPositionData) -> int: ... - def __init__(self: MSPyMstnPlatform.IGlobalPositionSource) -> None: + class __class__(type): + """ + None + """ ... -class IMouseWheelHandler: + def __init__(self, *args, **kwargs): + ... + +class IMouseWheelHandler(MSPyMstnPlatform.IEventHandlerPrioritized): """ None """ - def __init__(self: MSPyMstnPlatform.IMouseWheelHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotBeginElementParam: @@ -12587,10 +13353,8 @@ class IPlotBeginElementParam: """ ... - def GetElementStack(*args, **kwargs): + def GetElementStack(self: MSPyMstnPlatform.IPlotBeginElementParam) -> list[MSPyMstnPlatform.Print.IPlotElementParam ]: """ - GetElementStack(self: MSPyMstnPlatform.IPlotBeginElementParam) -> Bstdcxx::bvector > - Gets the element parameter stack. """ ... @@ -12677,7 +13441,13 @@ class IPlotBeginElementParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotBeginElementParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotBorderTextParam: @@ -12715,10 +13485,16 @@ class IPlotBorderTextParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotBorderTextParam) -> None: + class __class__(type): + """ + None + """ ... -class IPlotClipParam: + def __init__(self, *args, **kwargs): + ... + +class IPlotClipParam(MSPyMstnPlatform.IPlotPolygonSetParam): """ None """ @@ -12777,7 +13553,13 @@ class IPlotClipParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotClipParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotDPoints: @@ -12797,7 +13579,13 @@ class IPlotDPoints: """ ... - def __init__(self: MSPyMstnPlatform.IPlotDPoints) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotElemDisplayParams: @@ -13330,7 +14118,13 @@ class IPlotElemDisplayParams: def WidthMM(arg0: MSPyMstnPlatform.IPlotElemDisplayParams, arg1: float) -> None: ... - def __init__(self: MSPyMstnPlatform.IPlotElemDisplayParams) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotElementParam: @@ -13350,7 +14144,13 @@ class IPlotElementParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotElementParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotEndElementParam: @@ -13378,15 +14178,19 @@ class IPlotEndElementParam: """ ... - def GetElementStack(*args, **kwargs): + def GetElementStack(self: MSPyMstnPlatform.IPlotEndElementParam) -> list[MSPyMstnPlatform.Print.IPlotElementParam ]: """ - GetElementStack(self: MSPyMstnPlatform.IPlotEndElementParam) -> Bstdcxx::bvector > - Gets the element parameter stack. """ ... - def __init__(self: MSPyMstnPlatform.IPlotEndElementParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotFontMap: @@ -13508,7 +14312,13 @@ class IPlotFontMap: """ ... - def __init__(self: MSPyMstnPlatform.IPlotFontMap) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotFontMapList: @@ -13516,6 +14326,9 @@ class IPlotFontMapList: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AddFontMap(self: MSPyMstnPlatform.IPlotFontMapList, arg0: int) -> None: """ fontMapListIndex @@ -13552,7 +14365,13 @@ class IPlotFontMapList: """ ... - def __init__(self: MSPyMstnPlatform.IPlotFontMapList) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotGetColorTableParam: @@ -13597,7 +14416,13 @@ class IPlotGetColorTableParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotGetColorTableParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotOleParam: @@ -13652,7 +14477,13 @@ class IPlotOleParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotOleParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotPathParam: @@ -13735,7 +14566,13 @@ class IPlotPathParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotPathParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotPolygonSetParam: @@ -13779,7 +14616,13 @@ class IPlotPolygonSetParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotPolygonSetParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotPostElementOutputParam: @@ -13799,15 +14642,19 @@ class IPlotPostElementOutputParam: """ ... - def GetElementStack(*args, **kwargs): + def GetElementStack(self: MSPyMstnPlatform.IPlotPostElementOutputParam) -> list[MSPyMstnPlatform.Print.IPlotElementParam ]: """ - GetElementStack(self: MSPyMstnPlatform.IPlotPostElementOutputParam) -> Bstdcxx::bvector > - Gets the element parameter stack. """ ... - def __init__(self: MSPyMstnPlatform.IPlotPostElementOutputParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotPostElementScanParam: @@ -13831,7 +14678,13 @@ class IPlotPostElementScanParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotPostElementScanParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotPreElementOutputParam: @@ -13851,15 +14704,19 @@ class IPlotPreElementOutputParam: """ ... - def GetElementStack(*args, **kwargs): + def GetElementStack(self: MSPyMstnPlatform.IPlotPreElementOutputParam) -> list[MSPyMstnPlatform.Print.IPlotElementParam ]: """ - GetElementStack(self: MSPyMstnPlatform.IPlotPreElementOutputParam) -> Bstdcxx::bvector > - Gets the element parameter stack. """ ... - def __init__(self: MSPyMstnPlatform.IPlotPreElementOutputParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotPreElementScanParam: @@ -13883,7 +14740,13 @@ class IPlotPreElementScanParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotPreElementScanParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotPreModelParam: @@ -13909,7 +14772,13 @@ class IPlotPreModelParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotPreModelParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotPrePenChartParam: @@ -13923,7 +14792,13 @@ class IPlotPrePenChartParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotPrePenChartParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotRasterParam: @@ -14006,7 +14881,13 @@ class IPlotRasterParam: def GetTransparentMask(self: MSPyMstnPlatform.IPlotRasterParam) -> MSPyBentleyGeom.UInt16Array: ... - def __init__(self: MSPyMstnPlatform.IPlotRasterParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotRasterizedParam: @@ -14038,7 +14919,13 @@ class IPlotRasterizedParam: """ ... - def __init__(self: MSPyMstnPlatform.IPlotRasterizedParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotter: @@ -14046,6 +14933,7 @@ class IPlotter: None """ + @staticmethod def ConvertUnits(*args, **kwargs): """ Overloaded function. @@ -14072,8 +14960,34 @@ class IPlotter: """ ... - def FindBestFitForm(self: MSPyMstnPlatform.IPlotter, requestWidthDots: float, requestHeightDots: float, requestUnits: MSPyMstnPlatform.Print.PlotUnits, bestFitFormIndexP: MSPyBentleyGeom.Int32Array, selectedFormFitsP: MSPyBentleyGeom.BoolArray) -> None: + @staticmethod + def FindBestFitForm(*args, **kwargs): """ + Overloaded function. + + 1. FindBestFitForm(self: MSPyMstnPlatform.IPlotter, requestWidthDots: float, requestHeightDots: float, requestUnits: MSPyMstnPlatform.Print.PlotUnits, bestFitFormIndexP: MSPyBentleyGeom.Int32Array, selectedFormFitsP: MSPyBentleyGeom.BoolArray) -> None + + Gets the form that best fits the specified width and height. + + :param requestWidthDots: + Requested form width in dots. + + :param requestHeightDots: + Requested form height in dots. + + :param requestUnits: + Indicates preference for standard ANSI or ISO forms; must be + PlotUnits.in or PlotUnits.mm. + + :param bestFitFormIndexP: + Returns index of the form that best fits the requested size. + + :param selectedFormFitsP: + Returns True if the selected form accomodates the requested size + without clipping. May be NULL. + + 2. FindBestFitForm(self: MSPyMstnPlatform.IPlotter, requestWidthDots: float, requestHeightDots: float, requestUnits: MSPyMstnPlatform.Print.PlotUnits, bestFitFormIndexP: MSPyBentleyGeom.Int32Array, selectedFormFitsP: list) -> None + Gets the form that best fits the specified width and height. :param requestWidthDots: @@ -14233,6 +15147,7 @@ class IPlotter: """ ... + @staticmethod def GetEngineLineWidth(*args, **kwargs): """ Overloaded function. @@ -14273,7 +15188,7 @@ class IPlotter: def GetFileSpecCP(self: MSPyMstnPlatform.IPlotter, tag: MSPyMstnPlatform.PlotTagFileSpec) -> MSPyMstnPlatform.Print.PlotFileSpec: """ - Gets a const FileSpec value from the Plotter instance. + Gets a FileSpec value from the Plotter instance. """ ... @@ -14315,7 +15230,7 @@ class IPlotter: def GetLineStyle(self: MSPyMstnPlatform.IPlotter, styleIndex: int) -> MSPyMstnPlatform.PlotLineStyleDef: """ Gets the print line style for the specified line style index. param - styleIndex(input) Line style index (range 0-7). + styleIndex(input) -> Line style index (range 0-7). """ ... @@ -14578,8 +15493,8 @@ class IPlotter: s This value is converted into pixels by the print engine at the time of print processing, taking into account the paper size line style scale factor. Should be called prior to starting the print - engine. param styleIndex(input) Line style index (range 0-7). param - lineStyle(input) New line style definition. + engine. param styleIndex(input) -> Line style index (range 0-7). param + lineStyle(input) -> New line style definition. """ ... @@ -14673,7 +15588,13 @@ class IPlotter: def WriteString(self: MSPyMstnPlatform.IPlotter, buffer: str) -> None: ... - def __init__(self: MSPyMstnPlatform.IPlotter) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotterForm: @@ -14914,7 +15835,13 @@ class IPlotterForm: def Units(arg0: MSPyMstnPlatform.IPlotterForm, arg1: MSPyMstnPlatform.Print.PlotUnits) -> None: ... - def __init__(self: MSPyMstnPlatform.IPlotterForm) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPlotterFormList: @@ -14922,6 +15849,9 @@ class IPlotterFormList: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def AppendForm(self: MSPyMstnPlatform.IPlotterFormList) -> MSPyMstnPlatform.IPlotterForm: """ Creates a new form in the list. @@ -15017,7 +15947,13 @@ class IPlotterFormList: """ ... - def __init__(self: MSPyMstnPlatform.IPlotterFormList) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPopupMenuManager: @@ -15043,18 +15979,27 @@ class IPopupMenuManager: Manager: IPopupMenuManager - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IPopupMenuProvider: """ None """ - def __init__(self: MSPyMstnPlatform.IPopupMenuProvider) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPreDynamicViewClipParam: @@ -15074,7 +16019,13 @@ class IPreDynamicViewClipParam: """ ... - def __init__(self: MSPyMstnPlatform.IPreDynamicViewClipParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrePrintDefinitionParam: @@ -15112,7 +16063,13 @@ class IPrePrintDefinitionParam: """ ... - def __init__(self: MSPyMstnPlatform.IPrePrintDefinitionParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrePrintSetDefinitionParam: @@ -15162,7 +16119,13 @@ class IPrePrintSetDefinitionParam: """ ... - def __init__(self: MSPyMstnPlatform.IPrePrintSetDefinitionParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrintDefCollectStateParam: @@ -15170,10 +16133,8 @@ class IPrintDefCollectStateParam: None """ - def CustomProperties(*args, **kwargs): + def CustomProperties(self: MSPyMstnPlatform.IPrintDefCollectStateParam) -> dict[Any, Any]: """ - CustomProperties(self: MSPyMstnPlatform.IPrintDefCollectStateParam) -> bmap,32,BentleyAllocator > > - Gets the collection of custom properties. """ ... @@ -15199,7 +16160,13 @@ class IPrintDefCollectStateParam: """ ... - def __init__(self: MSPyMstnPlatform.IPrintDefCollectStateParam) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrintDefCreateEventHandler: @@ -15224,7 +16191,13 @@ class IPrintDefCreateEventHandler: """ ... - def __init__(self: MSPyMstnPlatform.IPrintDefCreateEventHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrintDefinition: @@ -15232,10 +16205,8 @@ class IPrintDefinition: None """ - def CustomProperties(*args, **kwargs): + def CustomProperties(self: MSPyMstnPlatform.IPrintDefinition) -> dict[Any, Any]: """ - CustomProperties(self: MSPyMstnPlatform.IPrintDefinition) -> bmap,32,BentleyAllocator > > - Gets/Sets custom properties. """ ... @@ -15274,18 +16245,22 @@ class IPrintDefinition: """ ... - def __init__(self: MSPyMstnPlatform.IPrintDefinition) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IPrintDescription: +class IPrintDescription(MSPyMstnPlatform.IPrintDefinition): """ None """ - def CustomProperties(*args, **kwargs): + def CustomProperties(self: MSPyMstnPlatform.IPrintDefinition) -> dict[Any, Any]: """ - CustomProperties(self: MSPyMstnPlatform.IPrintDefinition) -> bmap,32,BentleyAllocator > > - Gets/Sets custom properties. """ ... @@ -15533,7 +16508,15 @@ class IPrintDescription: """ ... - def GetViewDependentFence(self: MSPyMstnPlatform.IPrintDescription, dp2dArray: MSPyBentleyGeom.DPoint2dArray) -> None: + @staticmethod + def GetViewDependentFence(*args, **kwargs): + """ + Overloaded function. + + 1. GetViewDependentFence(self: MSPyMstnPlatform.IPrintDescription, dp2dArray: MSPyBentleyGeom.DPoint2dArray) -> None + + 2. GetViewDependentFence(self: MSPyMstnPlatform.IPrintDescription, dp3dArray: list) -> None + """ ... def GetViewFlags(self: MSPyMstnPlatform.IPrintDescription) -> MSPyDgnPlatform.ViewFlags: @@ -15548,6 +16531,7 @@ class IPrintDescription: """ ... + @staticmethod def GetViewIndependentFence(*args, **kwargs): """ Overloaded function. @@ -15558,7 +16542,15 @@ class IPrintDescription: """ ... - def GetViewIndependentWorkingFence(self: MSPyMstnPlatform.IPrintDescription, dp3dArray: MSPyBentleyGeom.DPoint3dArray) -> None: + @staticmethod + def GetViewIndependentWorkingFence(*args, **kwargs): + """ + Overloaded function. + + 1. GetViewIndependentWorkingFence(self: MSPyMstnPlatform.IPrintDescription, dp3dArray: MSPyBentleyGeom.DPoint3dArray) -> None + + 2. GetViewIndependentWorkingFence(self: MSPyMstnPlatform.IPrintDescription, dp3dArray: list) -> None + """ ... def GetViewIndex(self: MSPyMstnPlatform.IPrintDescription) -> int: @@ -15578,6 +16570,7 @@ class IPrintDescription: """ ... + @staticmethod def InitializeFromTCB(*args, **kwargs): """ Overloaded function. @@ -15723,6 +16716,7 @@ class IPrintDescription: """ ... + @staticmethod def Print(*args, **kwargs): """ Overloaded function. @@ -15735,7 +16729,7 @@ class IPrintDescription: Print to the device. - 3. Print(self: MSPyMstnPlatform.IPrintDescription, outFile: str, printSetProps: Dict[WString, MSPyMstnPlatform.Print.PlotPropValue,WString,32,Tuple[WString const , MSPyMstnPlatform.Print.PlotPropValue] ], printDefProps: Dict[WString, MSPyMstnPlatform.Print.PlotPropValue,WString,32,Tuple[WString const , MSPyMstnPlatform.Print.PlotPropValue] ]) -> int + 3. Print(self: MSPyMstnPlatform.IPrintDescription, outFile: str, printSetProps: dict[Any, Any], printDefProps: dict[Any, Any]) -> int Print to the device. """ @@ -16049,7 +17043,15 @@ class IPrintDescription: """ ... - def SetViewDependentFence(self: MSPyMstnPlatform.IPrintDescription, dp2dArray: MSPyBentleyGeom.DPoint2dArray) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def SetViewDependentFence(*args, **kwargs): + """ + Overloaded function. + + 1. SetViewDependentFence(self: MSPyMstnPlatform.IPrintDescription, dp2dArray: MSPyBentleyGeom.DPoint2dArray) -> MSPyDgnPlatform.BentleyStatus + + 2. SetViewDependentFence(self: MSPyMstnPlatform.IPrintDescription, dp2dArray: list) -> MSPyDgnPlatform.BentleyStatus + """ ... def SetViewFlags(self: MSPyMstnPlatform.IPrintDescription, viewFlags: MSPyDgnPlatform.ViewFlags) -> None: @@ -16058,6 +17060,7 @@ class IPrintDescription: """ ... + @staticmethod def SetViewIndependentFence(*args, **kwargs): """ Overloaded function. @@ -16103,7 +17106,13 @@ class IPrintDescription: """ ... - def __init__(self: MSPyMstnPlatform.IPrintDescription) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrintEngine: @@ -16204,7 +17213,13 @@ class IPrintEngine: """ ... - def __init__(self: MSPyMstnPlatform.IPrintEngine) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrintEngineCapability: @@ -16288,10 +17303,16 @@ class IPrintEngineCapability: """ ... - def __init__(self: MSPyMstnPlatform.IPrintEngineCapability) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IPrintEventHandler: +class IPrintEventHandler(MSPyMstnPlatform.IEventHandlerPrioritized): """ None """ @@ -16302,7 +17323,13 @@ class IPrintEventHandler: def EndPrintPage(self: MSPyMstnPlatform.IPrintEventHandler, param: MSPyMstnPlatform.IEndPrintPageParam) -> None: ... - def __init__(self: MSPyMstnPlatform.IPrintEventHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrintEventHandler2: @@ -16511,7 +17538,13 @@ class IPrintEventHandler2: """ ... - def __init__(self: MSPyMstnPlatform.IPrintEventHandler2) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrintSetEventHandler: @@ -16579,7 +17612,13 @@ class IPrintSetEventHandler: """ ... - def __init__(self: MSPyMstnPlatform.IPrintSetEventHandler) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrinterDriverBase: @@ -16688,10 +17727,16 @@ class IPrinterDriverBase: """ ... - def __init__(self: MSPyMstnPlatform.IPrinterDriverBase) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... -class IPrinterDriverOutputPath: +class IPrinterDriverOutputPath(MSPyMstnPlatform.IPrinterDriverOutputVector): """ None """ @@ -16744,7 +17789,13 @@ class IPrinterDriverOutputPath: """ ... - def __init__(self: MSPyMstnPlatform.IPrinterDriverOutputPath) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrinterDriverOutputRaster: @@ -16758,7 +17809,13 @@ class IPrinterDriverOutputRaster: """ ... - def __init__(self: MSPyMstnPlatform.IPrinterDriverOutputRaster) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPrinterDriverOutputVector: @@ -16766,6 +17823,9 @@ class IPrinterDriverOutputVector: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... def OutputLinestring(self: MSPyMstnPlatform.IPrinterDriverOutputVector, param: MSPyMstnPlatform.IPlotDPoints) -> None: """ Output linestring. @@ -16808,7 +17868,13 @@ class IPrinterDriverOutputVector: """ ... - def __init__(self: MSPyMstnPlatform.IPrinterDriverOutputVector) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class IPyModalDialogEvents: @@ -16822,7 +17888,13 @@ class IPyModalDialogEvents: def OnDialogOpened(self: MSPyMstnPlatform.IPyModalDialogEvents, arg0: str) -> int: ... - def __init__(self: MSPyMstnPlatform.IPyModalDialogEvents) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class ISessionMgr: @@ -16953,12 +18025,12 @@ class ISessionMgr: Returns (Tuple, 0): - A pointer to the newly opened file if successful, or NULL if the - file could not be found or opened. See *status.* - - Returns (Tuple, 1): status. SUCCESS if the file was opened + + Returns (Tuple, 1): + A pointer to the newly opened file if successful, or NULL if the + file could not be found or opened. See *status.* """ ... @@ -17003,10 +18075,8 @@ class ISessionMgr: """ ... - def GetUIItemMenuMarkState(*args, **kwargs): + def GetUIItemMenuMarkState(self: MSPyMstnPlatform.ISessionMgr, key: str, defaultIfKeyNotFound: MSPyMstnPlatform.MenuMarkType = MenuMarkType.eMARK_NONE) -> MSPyMstnPlatform.MenuMarkType: """ - GetUIItemMenuMarkState(self: MSPyMstnPlatform.ISessionMgr, key: str, defaultIfKeyNotFound: MSPyMstnPlatform.MenuMarkType = ) -> MSPyMstnPlatform.MenuMarkType - Get the MenuMarkType defined by key. :param key: @@ -17154,12 +18224,12 @@ class ISessionMgr: Returns (Tuple, 0): - NULL, if the user hit Cancel; else, a pointer to a document object - that stores the path to the file that was chosen. - - Returns (Tuple, 1) : status. SUCCESS if a file was chosen; otherwise, the error status returned by the document manager. + + Returns (Tuple, 1) : + NULL, if the user hit Cancel; else, a pointer to a document object + that stores the path to the file that was chosen. """ ... @@ -17186,10 +18256,8 @@ class ISessionMgr: def SetAutoLockActiveModel(value: bool) -> None: ... - def SetUIItemMenuMarkState(*args, **kwargs): + def SetUIItemMenuMarkState(self: MSPyMstnPlatform.ISessionMgr, key: str, value: MSPyMstnPlatform.MenuMarkType = MenuMarkType.eMARK_NONE, sendimmediateMessage: bool = False) -> None: """ - SetUIItemMenuMarkState(self: MSPyMstnPlatform.ISessionMgr, key: str, value: MSPyMstnPlatform.MenuMarkType = , sendimmediateMessage: bool = False) -> None - Set the menu mark value for a menu item. This will trigger a SystemEvent.ApplicationSyncUIItem event. @@ -17297,12 +18365,15 @@ class ISessionMgr: def WriteableFiles(arg0: MSPyMstnPlatform.ISessionMgr) -> MSPyDgnPlatform.DgnFilePtrArray: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + mdlErrno: int class IURLServer: @@ -17352,12 +18423,15 @@ class IURLServer: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class IconStyle: """ Members: @@ -17373,7 +18447,13 @@ class IconStyle: eICON_STYLE_HIGHLIGHT """ - def __init__(self: MSPyMstnPlatform.IconStyle, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eICON_STYLE_DGREY: IconStyle @@ -17515,17 +18595,30 @@ class ImportFeatureSpecification: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ImportFeatureSpecificationPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -17558,6 +18651,7 @@ class ImportFeatureSpecificationPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -17578,6 +18672,7 @@ class ImportFeatureSpecificationPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -17668,12 +18763,15 @@ class ImportManager: Manager: ImportManager - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class InputCallback: """ None @@ -17699,12 +18797,15 @@ class InputCallback: def SetPreprocessKeyinFunction(newFunc: Callable[[MSPyBentley.WString], MSPyMstnPlatform.InputFilterReturnValue], funcID: str) -> Callable[[MSPyBentley.WString], MSPyMstnPlatform.InputFilterReturnValue]: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class InputFilterReturnValue: """ Members: @@ -17714,7 +18815,13 @@ class InputFilterReturnValue: eINPUT_REJECT """ - def __init__(self: MSPyMstnPlatform.InputFilterReturnValue, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eINPUT_ACCEPT: InputFilterReturnValue @@ -17740,7 +18847,13 @@ class InputMonitorFilter: eMONITOR_ALL """ - def __init__(self: MSPyMstnPlatform.InputMonitorFilter, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMONITOR_ALL: InputMonitorFilter @@ -17800,7 +18913,13 @@ class InputQueueSourceEnum: eFROM_OPER_SYSTEM """ - def __init__(self: MSPyMstnPlatform.InputQueueSourceEnum, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCONTROL_STRIP_MENU: InputQueueSourceEnum @@ -17854,12 +18973,15 @@ class Inputq_3DInputEvent: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def m_rotDirection(arg0: MSPyMstnPlatform.Inputq_3DInputEvent) -> MSPyBentleyGeom.DVec3d: ... @@ -17881,12 +19003,15 @@ class Inputq_command: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def button(arg0: MSPyMstnPlatform.Inputq_command) -> MSPyMstnPlatform.Inputq_rawButton: ... @@ -17916,12 +19041,15 @@ class Inputq_contents: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def contents(arg0: MSPyMstnPlatform.Inputq_contents) -> MSPyMstnPlatform.MentryContents: ... @@ -17935,12 +19063,15 @@ class Inputq_cookedKey: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def keyStroke(arg0: MSPyMstnPlatform.Inputq_cookedKey) -> int: ... @@ -17962,12 +19093,15 @@ class Inputq_datapnt: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def pnt(arg0: MSPyMstnPlatform.Inputq_datapnt) -> MSPyMstnPlatform.Inputq_pnt: ... @@ -17985,12 +19119,15 @@ class Inputq_element: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def hdr(arg0: MSPyMstnPlatform.Inputq_element) -> MSPyMstnPlatform.Inputq_header: ... @@ -18080,12 +19217,15 @@ class Inputq_header: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def bytes(arg0: MSPyMstnPlatform.Inputq_header) -> int: ... @@ -18115,12 +19255,15 @@ class Inputq_keyin: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def keyin(arg0: MSPyMstnPlatform.Inputq_keyin) -> str: ... @@ -18138,12 +19281,15 @@ class Inputq_menumsg: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def message(arg0: MSPyMstnPlatform.Inputq_menumsg) -> str: ... @@ -18153,12 +19299,15 @@ class Inputq_menuwait: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def prompt(arg0: MSPyMstnPlatform.Inputq_menuwait) -> int: ... @@ -18172,12 +19321,15 @@ class Inputq_null: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def breaknow(arg0: MSPyMstnPlatform.Inputq_null) -> int: ... @@ -18187,12 +19339,15 @@ class Inputq_nullcmd: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def nullcmd(arg0: MSPyMstnPlatform.Inputq_nullcmd) -> int: ... @@ -18202,12 +19357,15 @@ class Inputq_partial: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def keyin(arg0: MSPyMstnPlatform.Inputq_partial) -> str: ... @@ -18221,12 +19379,15 @@ class Inputq_pnt: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def buttonTrans(arg0: MSPyMstnPlatform.Inputq_pnt) -> int: ... @@ -18268,12 +19429,15 @@ class Inputq_queuedAction: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def m_action(arg0: MSPyMstnPlatform.Inputq_queuedAction) -> MSPyMstnPlatform.QueuedAction: ... @@ -18283,12 +19447,15 @@ class Inputq_rawButton: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def buttonNumber(arg0: MSPyMstnPlatform.Inputq_rawButton) -> int: ... @@ -18330,12 +19497,15 @@ class Inputq_rawIconEvent: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def callBackID_data(arg0: MSPyMstnPlatform.Inputq_rawIconEvent) -> int: ... @@ -18353,12 +19523,15 @@ class Inputq_rawKeyStroke: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def keyStroke(arg0: MSPyMstnPlatform.Inputq_rawKeyStroke) -> int: ... @@ -18376,12 +19549,15 @@ class Inputq_reset: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def reset(arg0: MSPyMstnPlatform.Inputq_reset) -> int: ... @@ -18391,12 +19567,15 @@ class Inputq_submenu: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def subname(arg0: MSPyMstnPlatform.Inputq_submenu) -> str: ... @@ -18406,12 +19585,15 @@ class Inputq_tentpnt: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def pnt(arg0: MSPyMstnPlatform.Inputq_tentpnt) -> MSPyMstnPlatform.Inputq_pnt: ... @@ -18421,12 +19603,15 @@ class Inputq_unassignedcb: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def cursbutn(arg0: MSPyMstnPlatform.Inputq_unassignedcb) -> int: ... @@ -18440,12 +19625,15 @@ class Inputq_virtualEOQ: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def process(arg0: MSPyMstnPlatform.Inputq_virtualEOQ) -> int: ... @@ -18491,7 +19679,13 @@ class ItemColorType: eDITEM_COLORTYPE_NCOLORS """ - def __init__(self: MSPyMstnPlatform.ItemColorType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDITEM_COLORTYPE_AUXLABEL: ItemColorType @@ -18579,17 +19773,30 @@ class ItemTypeSpecification: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ItemTypeSpecificationPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -18622,6 +19829,7 @@ class ItemTypeSpecificationPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -18642,6 +19850,7 @@ class ItemTypeSpecificationPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -18749,8 +19958,7 @@ class Level: def CopyLevel(destModelRef: MSPyDgnPlatform.DgnModelRef, sourceModelRef: MSPyDgnPlatform.DgnModelRef, sourceLevelId: int, newLevelNameIn: str, setExternal: bool) -> tuple: """ @Description Copy a level from source model into destination model. - Creates a new level in the destination model with the same level-name - & level-code as the source level. + Creates a new level in the destination model with the same level-namelevel-code as the source level. :param levelIdOut: id of new level in pDestModelRefIn @@ -18799,7 +20007,7 @@ class Level: def CopyLevelData(destModelRef: MSPyDgnPlatform.DgnModelRef, destLevelId: int, sourceModelRef: MSPyDgnPlatform.DgnModelRef, sourceLevelId: int) -> int: """ @Description Copy all level related data from source level into - destination level. This function does not copy the level-name & level- + destination level. This function does not copy the level-namelevel- code. :param destModelRefIn: @@ -18844,7 +20052,7 @@ class Level: """ @Description Copy level related data as specified by the level- attributes mask from source level into destination level. This - function does not copy the level-name & level-code. + function does not copy the level-namelevel-code. :param destModelRefIn: destination model @@ -19078,7 +20286,7 @@ class Level: ... @staticmethod - def Draw(viewDraw: List[bool[8]], incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRef: MSPyDgnPlatform.DgnModelRef, levelId: int, startEndMsg: bool, drawShared: bool) -> int: + def Draw(viewDraw: list[bool], incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRef: MSPyDgnPlatform.DgnModelRef, levelId: int, startEndMsg: bool, drawShared: bool) -> int: """ @Description Draw all elements on specified level @@ -19806,8 +21014,7 @@ class Level: s Level.CreateLevel does not apply the attributes of the seed level. Level.CreateLevel will only create a newly allocated level. The attributes of the seed level can then be - applied using Level.CopyLevelData. To create a level & - apply the seed in one step, call the function + applied using Level.CopyLevelData. To create a levelapply the seed in one step, call the function Level.CreateFromSeed :param modelRefIn: @@ -19906,7 +21113,7 @@ class Level: @Description Get level display transparency :param transparencyOut: - level display transparency (value between 0.0 & 1.0) + level display transparency (value between 0.01.0) :param modelRefIn: model-ref of level-table @@ -20753,7 +21960,7 @@ class Level: """ @Description Set the level's element access mode. This can take one of 4 values - LevelElementAccess.All, LevelElementAccess.Locked, - LevelElementAccess.ReadOnly & LevelElementAccess.ViewOnly. The mode + LevelElementAccess.ReadOnlyLevelElementAccess.ViewOnly. The mode applies to elements on the level. The meaning attached to each of the modes is: @@ -21005,7 +22212,7 @@ class Level: def SetElementSymbology(modelRef: MSPyDgnPlatform.DgnModelRef, levelId: int, color: int, style: int, styleParams: MSPyDgnPlatform.LineStyleParams, weight: int) -> int: """ @Description Set element symbology. This functions allows setting the - one or more of the element color, style, weight & fill color + one or more of the element color, style, weightfill color simultaneously. :param modelRefIn: @@ -21502,7 +22709,7 @@ class Level: level id :param transparencyIn: - level transparency (value between 0.0 & 1.0) + level transparency (value between 0.01.0) :returns: SUCCESS if the level transparency is successfully set. @@ -21583,12 +22790,15 @@ class Level: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LevelAttribute: """ None @@ -21611,12 +22821,15 @@ class LevelAttribute: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LevelChangeType: """ Members: @@ -21660,7 +22873,13 @@ class LevelChangeType: eLEVEL_REWRITE """ - def __init__(self: MSPyMstnPlatform.LevelChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLEVEL_CHANGE_ACTIVE: LevelChangeType @@ -21722,7 +22941,13 @@ class LevelCountType: eLEVEL_COUNT_TYPE_HIDDEN """ - def __init__(self: MSPyMstnPlatform.LevelCountType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLEVEL_COUNT_TYPE_ALL: LevelCountType @@ -21752,7 +22977,13 @@ class LevelFrozenType: eLEVEL_FROZEN_TYPE_EFFECTIVE """ - def __init__(self: MSPyMstnPlatform.LevelFrozenType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLEVEL_FROZEN_TYPE_EFFECTIVE: LevelFrozenType @@ -21780,7 +23011,13 @@ class LevelIterateType: eLEVEL_ITERATE_TYPE_UNUSED_LEVELS """ - def __init__(self: MSPyMstnPlatform.LevelIterateType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLEVEL_ITERATE_TYPE_ALL_LEVELS: LevelIterateType @@ -21808,7 +23045,13 @@ class LevelLibraryCountType: eLEVEL_LIBRARY_COUNT_TYPE_AUTO_ATTACHED """ - def __init__(self: MSPyMstnPlatform.LevelLibraryCountType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLEVEL_LIBRARY_COUNT_TYPE_ALL: LevelLibraryCountType @@ -21842,7 +23085,13 @@ class LevelLibraryFormat: eLEVEL_LIBRARY_FORMAT_DWG """ - def __init__(self: MSPyMstnPlatform.LevelLibraryFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLEVEL_LIBRARY_FORMAT_ANY: LevelLibraryFormat @@ -21876,7 +23125,13 @@ class LevelLibraryImportMethod: eLEVEL_LIBRARY_IMPORT_BY_CODE """ - def __init__(self: MSPyMstnPlatform.LevelLibraryImportMethod, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLEVEL_LIBRARY_IMPORT_BY_ANY: LevelLibraryImportMethod @@ -21904,7 +23159,13 @@ class LevelMaskOperation: eToggle """ - def __init__(self: MSPyMstnPlatform.LevelMaskOperation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eOff: LevelMaskOperation @@ -21945,12 +23206,15 @@ class LevelName: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LevelOverrideInfo: """ None @@ -21977,17 +23241,30 @@ class LevelOverrideInfo: def LevelNameRegex(self: MSPyMstnPlatform.LevelOverrideInfo, arg0: MSPyBentley.WString) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LevelOverrideInfoArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -22014,6 +23291,7 @@ class LevelOverrideInfoArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -22034,6 +23312,7 @@ class LevelOverrideInfoArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -22077,17 +23356,30 @@ class LevelSpecification: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LevelSpecificationPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -22120,6 +23412,7 @@ class LevelSpecificationPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -22140,6 +23433,7 @@ class LevelSpecificationPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -22166,7 +23460,7 @@ class LevelTable: """ @staticmethod - def DrawLevels(viewDraw: List[bool[8]], incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRef: MSPyDgnPlatform.DgnModelRef, levelBitMask: MSPyDgnPlatform.BitMask, startEndMsg: bool, startShared: bool) -> int: + def DrawLevels(viewDraw: list[bool], incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRef: MSPyDgnPlatform.DgnModelRef, levelBitMask: MSPyDgnPlatform.BitMask, startEndMsg: bool, startShared: bool) -> int: """ @Description Draw all elements on a list of specified levels @@ -22210,13 +23504,13 @@ class LevelTable: @Description Get the effective combined display + frozen mask for level-table. Returns in a bit-mask form a represention of whether is level is displayed or not frozen (each bit is represented as:display- - bit & inverse frozen-bit). + bitinverse frozen-bit). @Remarks The bit-mask is 1 based. For example to get the display- frozen flag for a level with the function BitMask.TestBit, your call should look like:BitMask.TestBit(pDisplayFrozenBitMask, - levelid -1) @Remarks Note the " const "ness of the returned bit-mask. It - is important not to cast into a non-const bit-mask. This bit-mask + levelid -1) @Remarks Note the " "ness of the returned bit-mask. It + is important not to cast into a non-bit-mask. This bit-mask should not be changed. :param modelRefIn: @@ -22243,8 +23537,8 @@ class LevelTable: @Remarks The bit-mask is 1 based. For example to get the display flag for a level with the function BitMask.TestBit, your call should look like:BitMask.TestBit(pDisplayBitMask, levelid -1) @Remarks - Note the " const "ness of the returned bit-mask. It is important not to - cast into a non-const bit-mask. This bit-mask should not be changed. + Note the " "ness of the returned bit-mask. It is important not to + cast into a non-bit-mask. This bit-mask should not be changed. :param modelRefIn: model-ref of level-table @@ -22272,8 +23566,8 @@ class LevelTable: @Remarks The bit-mask is 1 based. For example to get the external flag for a level with the function BitMask.TestBit, your call should look like:BitMask.TestBit(pExternalBitMask, levelid -1) @Remarks - Note the " const "ness of the returned bit-mask. It is important not to - cast into a non-const bit-mask. This bit-mask should not be changed. + Note the " "ness of the returned bit-mask. It is important not to + cast into a non-bit-mask. This bit-mask should not be changed. :param modelRefIn: model-ref of level-table @@ -22299,8 +23593,8 @@ class LevelTable: @Remarks The bit-mask is 1 based. For example to get the frozen flag for a level with the function BitMask.TestBit, your call should look like:BitMask.TestBit(pFrozenBitMask, levelid -1) @Remarks - Note the " const "ness of the returned bit-mask. It is important not to - cast into a non-const bit-mask. This bit-mask should not be changed. + Note the " "ness of the returned bit-mask. It is important not to + cast into a non-bit-mask. This bit-mask should not be changed. :param modelRefIn: model-ref of level-table @@ -22331,8 +23625,8 @@ class LevelTable: @Remarks The bit-mask is 1 based. For example to get the hidden flag for a level with the function BitMask.TestBit, your call should look like:BitMask.TestBit(pHiddenBitMask, levelid -1) @Remarks - Note the " const "ness of the returned bit-mask. It is important not to - cast into a non-const bit-mask. This bit-mask should not be changed. + Note the " "ness of the returned bit-mask. It is important not to + cast into a non-bit-mask. This bit-mask should not be changed. :param modelRefIn: model-ref of level-table @@ -22403,9 +23697,7 @@ class LevelTable: model-ref of level-table :param levelCountTypeIn: - one of LEVEL_COUNT_TYPE_... (defined in leveltable.h) - - Remark: + one of LEVEL_COUNT_TYPE_... (defined in leveltable.h) -> Remark: s The return value of levelCountOut will depend on value of levelCountTypeIn as follows:
Access Mode Meaning
@@ -22436,8 +23728,8 @@ class LevelTable: @Remarks The bit-mask is 1 based. For example to get the plot flag for a level with the function BitMask.TestBit, your call should look like:BitMask.TestBit(pPlotBitMask, levelid -1) @Remarks Note the - " const "ness of the returned bit-mask. It is important not to cast into - a non-const bit-mask. This bit-mask should not be changed. + " "ness of the returned bit-mask. It is important not to cast into + a non-bit-mask. This bit-mask should not be changed. :param modelRefIn: model-ref of level-table @@ -22485,8 +23777,8 @@ class LevelTable: @Remarks The bit-mask is 1 based. For example to get the read-only flag for a level with the function BitMask.TestBit, your call should look like:BitMask.TestBit(pReadOnlyBitMask, levelid -1) - @Remarks Note the " const "ness of the returned bit-mask. It is - important not to cast into a non-const bit-mask. This bit-mask should + @Remarks Note the " "ness of the returned bit-mask. It is + important not to cast into a non-bit-mask. This bit-mask should not be changed. :param modelRefIn: @@ -22513,8 +23805,8 @@ class LevelTable: @Remarks The bit-mask is 1 based. For example to get the used flag for a level with the function BitMask.TestBit, your call should look like:BitMask.TestBit(pUsedBitMask, levelid -1) @Remarks Note the - " const "ness of the returned bit-mask. It is important not to cast into - a non-const bit-mask. This bit-mask should not be changed. + " "ness of the returned bit-mask. It is important not to cast into + a non-bit-mask. This bit-mask should not be changed. :param modelRefIn: model-ref of level-table @@ -22673,12 +23965,15 @@ class LevelTable: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LocateCallback: """ None @@ -22834,12 +24129,15 @@ class LocateCallback: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class LockChanged_Events: """ Members: @@ -22887,7 +24185,13 @@ class LockChanged_Events: eLOCKCHANGED_SharedCells """ - def __init__(self: MSPyMstnPlatform.LockChanged_Events, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLOCKCHANGED_ACSContext: LockChanged_Events @@ -23067,7 +24371,7 @@ class MSBitMask: @staticmethod def Free(bitMask: MSPyDgnPlatform.BitMask) -> int: """ - @Description Free specified bit-mask & all its internal memory + @Description Free specified bit-maskall its internal memory :param ppBitMaskIn: (input) bit-mask structure to free @@ -23292,8 +24596,7 @@ class MSBitMask: @staticmethod def SetBitAtPositions(bitMask: MSPyDgnPlatform.BitMask, arrayPosition: int, bitPosition: int, bitFlag: bool) -> int: """ - @Description Set bit at specified array-position (bitIndexIn / 16) & - bit-position in array (bitIndexIn % 16) + @Description Set bit at specified array-position (bitIndexIn / 16)bit-position in array (bitIndexIn % 16) :param pBitMaskIn: (input) bit mask array @@ -23412,7 +24715,7 @@ class MSBitMask: implied in the specified string is larger than the bit-mask size, then the bit-mask will expand to fit-in the largest bit-position. " maxIndexIn " is used if you have/want a bitmask of a predetermined - size & do not want its size to exceed the specified value. + sizedo not want its size to exceed the specified value. " maxIndexIn " can be set to -1, in which case the argument is ignored. :param pBitMaskOut: @@ -23471,18 +24774,27 @@ class MSBitMask: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MSDisplayDescr: """ None """ - def __init__(self: MSPyMstnPlatform.MSDisplayDescr) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... @property @@ -23573,7 +24885,7 @@ class MSDisplayDescr: def yResolution(self: MSPyMstnPlatform.MSDisplayDescr, arg0: int) -> None: ... -class MSDocumentManager: +class MSDocumentManager(MSPyMstnPlatform.DgnDocumentManager): """ None """ @@ -23631,18 +24943,16 @@ class MSDocumentManager: Sepcifies what to do if the document already exists * Returns(Tuple, 0): - An DgnDocument that represents the file. On failure, NULL is - Returned. + status. this gives an indication of why. Returns (Tuple, 1): - status. this gives an indication of why. + An DgnDocument that represents the file. On failure, NULL is + Returned. """ ... - def DeleteDocument(*args, **kwargs): + def DeleteDocument(self: MSPyMstnPlatform.DgnDocumentManager, doc: MSPyDgnPlatform.DgnDocument, options: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions = DeleteOptions.eDefault) -> int: """ - DeleteDocument(self: MSPyMstnPlatform.DgnDocumentManager, doc: MSPyDgnPlatform.DgnDocument, options: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions = ) -> int - @name Methods to manage documents in the DMS repository Remove the document from the DMS. @@ -23652,10 +24962,8 @@ class MSDocumentManager: """ ... - def DeleteFolder(*args, **kwargs): + def DeleteFolder(self: MSPyMstnPlatform.DgnDocumentManager, folderMoniker: MSPyDgnPlatform.DgnFolderMoniker, options: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions = DeleteOptions.eDefault) -> int: """ - DeleteFolder(self: MSPyMstnPlatform.DgnDocumentManager, folderMoniker: MSPyDgnPlatform.DgnFolderMoniker, options: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions = ) -> int - Remove the folder from the DMS. """ ... @@ -23671,7 +24979,13 @@ class MSDocumentManager: eIncludeSubItems """ - def __init__(self: MSPyMstnPlatform.DgnDocumentManager.DeleteOptions, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAllowRestore: DeleteOptions @@ -23699,7 +25013,13 @@ class MSDocumentManager: eNoIntegrationLoaded """ - def __init__(self: MSPyMstnPlatform.DgnDocumentManager.DgnBrowserStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCancel: DgnBrowserStatus @@ -23747,11 +25067,11 @@ class MSDocumentManager: if not integrated.. * Returns (Tuple, 0): - An DgnDocument that represents the file. If the file cannot be - found or cannot be accessed, NULL is returned. + status. this gives an indication of why. Returns (Tuple, 1): - status. this gives an indication of why. + An DgnDocument that represents the file. If the file cannot be + found or cannot be accessed, NULL is returned. """ ... @@ -23767,13 +25087,14 @@ class MSDocumentManager: MicroStation file list attribues (FILELISTATTR flagword) * Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. """ ... + @staticmethod def PortableNameFromFullPath(portableName: MSPyBentley.WString, fullPath: str, basePath: str, dirCfgVar: str, relative: MSPyDgnPlatform.RelativePathPreference) -> None: """ Creates a portable file name given the data that is returned from the @@ -23807,6 +25128,7 @@ class MSDocumentManager: """ ... + @staticmethod def PortableNameFromUserEnteredFileName(portableName: MSPyBentley.WString, userEnteredPath: str, fullPath: str, basePath: str, relativePref: MSPyDgnPlatform.RelativePathPreference) -> None: """ Creates a portable file name given the data that is keyed in by a @@ -23853,12 +25175,15 @@ class MSDocumentManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eAllowRestore: DeleteOptions eCancel: DgnBrowserStatus @@ -23880,7 +25205,13 @@ class MSInputQueuePos: eINPUTQ_EOQ """ - def __init__(self: MSPyMstnPlatform.MSInputQueuePos, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eINPUTQ_EOQ: MSInputQueuePos @@ -23895,7 +25226,7 @@ class MSInputQueuePos: def value(arg0: MSPyMstnPlatform.MSInputQueuePos) -> int: ... -class MSWindow: +class MSWindow(MSPyMstnPlatform.BaseWindow): """ None """ @@ -24177,12 +25508,15 @@ class MSWindow: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @staticmethod def contentRectGetGlobal(contentRectP: MSPyDgnPlatform.BSIRect, windowP: MSPyMstnPlatform.MSWindow) -> int: ... @@ -24288,7 +25622,13 @@ class MdlApplicationClass: eRibbonProvider """ - def __init__(self: MSPyMstnPlatform.MdlApplicationClass, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAutoDGN: MdlApplicationClass @@ -25032,7 +26372,13 @@ class MdlErrorValues: eMDLERR_DOCMGR_CREATE_FAILED """ - def __init__(self: MSPyMstnPlatform.MdlErrorValues, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMDLERR_2D3D_MISMATCH: MdlErrorValues @@ -25752,12 +27098,15 @@ class MentryContents: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def data_interpcmd(arg0: MSPyMstnPlatform.MentryContents) -> int: ... @@ -25803,7 +27152,13 @@ class MenuMarkType: eMARK_RIGHT_ARROW """ - def __init__(self: MSPyMstnPlatform.MenuMarkType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMARK_NONE: MenuMarkType @@ -25867,12 +27222,15 @@ class Mesh: def SubdivideSmoothly(mesh: MSPyBentleyGeom.PolyfaceHeader, subdivisionLevel: int, model: MSPyDgnPlatform.DgnModelRef) -> tuple: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MessageCenter: """ None @@ -25906,12 +27264,15 @@ class MessageCenter: def StatusWarning(arg0: object, arg1: str) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MessageDestination: """ Members: @@ -25923,7 +27284,13 @@ class MessageDestination: eMESSAGE_DEST_WarningDialog """ - def __init__(self: MSPyMstnPlatform.MessageDestination, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMESSAGE_DEST_MessageCenter: MessageDestination @@ -25969,7 +27336,13 @@ class MlineStyleMsgType: eMLINESTYLE_PreActivateByName """ - def __init__(self: MSPyMstnPlatform.MlineStyleMsgType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMLINESTYLE_PostActivate: MlineStyleMsgType @@ -26051,7 +27424,13 @@ class ModelChangeType: eMODEL_CHANGE_UndoProperties """ - def __init__(self: MSPyMstnPlatform.ModelChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eMODEL_CHANGE_Active: ModelChangeType @@ -26247,9 +27626,9 @@ class ModelRef: can be performed even if the cache is not filled. @Param loadRefs (input) true if the caches for the model's attached references should also be loaded. The fillCache argument must be true for this to work. @Param - includeUndisplayedRefs (input) If true, load the caches for references that + includeUndisplayedRefs (input) -> If true, load the caches for references that are not displayed. The fillCache and loadRefs arguments must be true - for this to work. @Param sectionsToFill (input) Specific cache sections to + for this to work. @Param sectionsToFill (input) -> Specific cache sections to fill. @Return SUCCESS if the modelRef is returned and filled as requested. """ @@ -26701,17 +28080,23 @@ class ModelRef: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ModelRefList: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... @staticmethod def Add(modelRefList: MSPyDgnPlatform.DgnModelRefList, entry: MSPyDgnPlatform.DgnModelRef) -> int: """ @@ -26818,17 +28203,27 @@ class ModelRefList: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MsPyBool: """ None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -26851,6 +28246,13 @@ class MsPyDouble: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -26873,6 +28275,13 @@ class MsPyInt: None """ + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -27541,7 +28950,13 @@ class MstnCapabilityValues: eMAX_CAPABILITIES """ - def __init__(self: MSPyMstnPlatform.MstnCapabilityValues, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCAPABILITY_ACTIVATE_REFERENCE_EXTERNAL: MstnCapabilityValues @@ -28198,6 +29613,173 @@ class MstnCapabilityValues: def value(arg0: MSPyMstnPlatform.MstnCapabilityValues) -> int: ... +class MstnDgnFile: + """ + None + """ + + @staticmethod + def CheckRights(dgnFileObj: MSPyDgnPlatform.DgnFile, rights: int, displayError: MSPyMstnPlatform.MessageDestination) -> int: + """ + @Description Check if the specified rights are granted to the current + user for the specified file. + + Remark: + s The rights parameter can be one or more of the following values + OR'd together: + + * MSPyDgnPlatform.DGNFILE_RIGHT_Print -- Print, print preview, e-plot, + etc. + + * MSPyDgnPlatform.DGNFILE_RIGHT_Export -- SaveAs, Export, Copy to + clipboard, File Fence, etc. + + * MSPyDgnPlatform.DGNFILE_RIGHT_Edit -- Modify file contents (implies not + read-only) + + * MSPyDgnPlatform.DGNFILE_RIGHT_Unlimited -- All rights, present and + future + + :param DgnFile: + the DgnFile of interest. @Param(input) rights the rights to query + @Param(input) displayError display error message in message center if + rights not granted? Else return ERROR silently @Return SUCCESS if + all of the rights are granted. + + Remark: + """ + ... + + @staticmethod + def CreateModel(dgnFileObj: MSPyDgnPlatform.DgnFile, seedModelRef: MSPyDgnPlatform.DgnModelRef, modelName: str, modelDescr: str, FromSeedForModelAndIs3d: bool, modelType: MSPyDgnPlatform.DgnModelType, Is3d: bool) -> tuple: + ... + + @staticmethod + def FindElemByID(dgnFile: MSPyDgnPlatform.DgnFile, elemId: int, dictionaryOnly: bool) -> MSPyDgnPlatform.ElementRefBase: + ... + + @staticmethod + def FindModelIDByName(dgnFileObj: MSPyDgnPlatform.DgnFile, name: str) -> tuple: + ... + + @staticmethod + def GetMasterFile() -> MSPyDgnPlatform.DgnFile: + """ + @Description Get the DgnFile for the current master file. @Return + The DgnFileP for the current master file. + + Remark: + """ + ... + + @staticmethod + def GetModelCount(dgnFileObj: MSPyDgnPlatform.DgnFile) -> int: + """ + Remark: + """ + ... + + @staticmethod + def GetModelItemById(dgnFileObj: MSPyDgnPlatform.DgnFile, modelId: int) -> MSPyDgnPlatform.ModelIndexItem: + """ + Retrieve the model index item using a model ID. + + :param pDgnFile: + The file containing the model. + + :param modelID: + The ID of the model to retreive. + + :returns: + NULL if the indicated model does not exist in the file, otherwise + a pointer to the model index item. @Group " DgnFile Functions " + @See ModelItem.GetData ModelItem.GetName + ModelItem.GetDescription + + Remark: + """ + ... + + @staticmethod + def GetModelItemByName(dgnFileObj: MSPyDgnPlatform.DgnFile, modelName: str) -> MSPyDgnPlatform.ModelIndexItem: + """ + Retrieve the model index item using a model name. + + :param pDgnFile: + The file containing the model. + + :param modelName: + The name of the model to retreive. + + :returns: + NULL if the indicated model does not exist in the file, otherwise + a pointer to the model index item. @Group " DgnFile Functions " + @See ModelItem.GetData ModelItem.GetName + ModelItem.GetDescription + + Remark: + """ + ... + + @staticmethod + def GetModelRefList(dgnFileObj: MSPyDgnPlatform.DgnFile) -> MSPyDgnPlatform.DgnModelRefList: + """ + Create a DgnModelRefList containing an entry for each of the loaded + models in the specified design file. Note, any DgnModelRefList created + with this function must be freed by calling ModelRefList.Free. + + :param DgnFile: + Is a reference to the design file containing the models to add to + the list. @Remarks The returned model ref must be freed by the + caller. + + :returns: + A pointer to the DgnModelRefList that has an entry for each model + in the design file. @Group " DgnFile Functions " + + Remark: + """ + ... + + @staticmethod + def GetVersion(dgnFilebj: MSPyDgnPlatform.DgnFile) -> tuple: + ... + + @staticmethod + def HasPendingChanges(DgnFile: MSPyDgnPlatform.DgnFile) -> bool: + """ + @Description Determines if a design file has pending chages. + @Param(input) -> DgnFile is a reference to the design file of interest + @Return true if the design file has changes that have not been saved; + false otherwise. + + Remark: + """ + ... + + @staticmethod + def IsProtected(dgnFileObj: MSPyDgnPlatform.DgnFile) -> bool: + """ + @Description Check if the specified file is encrypted (e.g., for + digital rights management) + + :param file: + the DgnFile of interest. @Return true if file is encrypted + + Remark: + """ + ... + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + class MstnEventManager: """ None @@ -28273,12 +29855,15 @@ class MstnEventManager: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MstnImage: """ None @@ -28302,12 +29887,12 @@ class MstnImage: Returns: A tuple object containing 2 elements: - tuple[0] int: + tuple int: eSUCCESS if the operation is completed successfully.
eMDLERR_INSFMEMORY if there is not enough memory available to perform the operation. - tuple[1] bytearray: + tuple bytearray: bytearray object to receive the image in BGRBGRBGR or BGRABGRABGRA format """ ... @@ -28352,13 +29937,13 @@ class MstnImage: Returns: A tuple object containing 2 elements: - tuple[0] int: + tuple int: eSUCCESS if the operation is completed successfully.
eMDLERR_INSFMEMORY if there is not enough memory available to perform the operation. @Remarks If the input image is RGBA, the alph channel is discarded. - tuple[1] bytearray: + tuple bytearray: bytearray object to receive the RRRGGGBBB format image data """ ... @@ -28386,12 +29971,15 @@ class MstnImage: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @staticmethod def applyGamma(rgb: bytearray, sizeR: MSPyBentleyGeom.Point2d, gamma: float) -> None: """ @@ -28479,10 +30067,10 @@ class MstnImage: Returns: A tuple object containing 2 elements: - tuple[0] int: + tuple int: eSUCCESS if the operation is completed successfully. - tuple[1] bytearray: + tuple bytearray: bytearray object to receive the subimage """ ... @@ -28514,10 +30102,10 @@ class MstnImage: Returns: A tuple object containing 2 elements: - tuple[0] int: + tuple int: eSUCCESS if the string is found. . - tuple[1] str: + tuple str: Name of Export format. """ ... @@ -28535,26 +30123,26 @@ class MstnImage: Returns: A tuple object containing 7 elements: - tuple[0] int: + tuple int: eSUCCESS if the file type is supported; eMDLERR_BADARG if it is not. - tuple[1] ImageColorMode. + tuple ImageColorMode. default color mode. - tuple[2] bool: + tuple bool: support for 24 bit RGB. - tuple[3] bool: + tuple bool: support for 256 color palette. - tuple[4] bool: + tuple bool: support for 16 color palette. - tuple[5] bool: + tuple bool: support for grey scale. - tuple[6] bool: + tuple bool: support for monochrome. """ ... @@ -28571,11 +30159,11 @@ class MstnImage: Returns: A tuple object containing 2 elements: - tuple[0] int: + tuple int: eSUCCESS if the file type is found; eMDLERR_BADARG if it is not. - tuple[1] str: + tuple str: default file extension (MAXEXTENSIONLENGTH characters). """ ... @@ -28592,10 +30180,10 @@ class MstnImage: Returns: A tuple object containing 2 elements: - tuple[0] int: + tuple int: eSUCCESS if the string is found. . - tuple[1] str: + tuple str: Name of Import format. """ ... @@ -28680,21 +30268,21 @@ class MstnImage: Returns: A tuple object containing 4 elements: - tuple[0] int: + tuple int: SUCCESS if the information is successfully extracted from the image file.
MDLERR_BADFILETYPE if filetype is not supported for import.
MDLERR_CANNOTOPENFILE if the file cannot be opened. - tuple[1] Point2d: + tuple Point2d: size of the image in X and Y pixels. If the pointer is NULL, this value is not returned. - tuple[2] ImageColorMode: + tuple ImageColorMode: color mode of the image. If the pointer is NULL, this value is not returned. - tuple[3] int: + tuple int: orientation of the image. If the pointer is NULL, this value is not returned. """ @@ -28728,16 +30316,16 @@ class MstnImage: Returns: A tuple object containing 3 elements: - tuple[0] int: + tuple int: SUCCESS if the file is read successfully.
MDLERR_BADFILETYPE: if filetype is not supported.
MDLERR_CANNOTOPENFILE: if the file cannot be created.
MDLERR_INSFMEMORY if there is not enough memory available to perform the operation. - tuple[1] bytearray: + tuple bytearray: bytearray object to receive the RGB pixels. - tuple[2] Point2d: + tuple Point2d: size of the image in X and Y pixels. """ ... @@ -28756,20 +30344,18 @@ class MstnImage: IN output size Parameter ``inputImageR``: - IN input image (RGB) - - Parameter ``inputsize``: + IN input image (RGB) -> Parameter ``inputsize``: IN input size Returns: A tuple object containing 2 elements: - tuple[0] int: + tuple int: eSUCCESS if the image is resized successfully.
eMDLERR_INSFMEMORY if there is not enough memory available to perform the operation. - tuple[1] bytearray: + tuple bytearray: resized output image (RGB) """ ... @@ -28798,16 +30384,16 @@ class MstnImage: Returns: A tuple object containing 3 elements: - tuple[0] int: + tuple int: eSUCCESS if the operation is completed successfully.
eMDLERR_INSFMEMORY if there is not enough memory available to perform the operation.
eMDLERR_BADARG if an invalid image format is detected. - tuple[1] bytearray: + tuple bytearray: bytearray object to receive the image. - tuple[2] Point2d: + tuple Point2d: Size of the output image in X and Y pixels. """ ... @@ -28869,12 +30455,12 @@ class MstnImage: Returns: A tuple object containing 2 elements: - tuple[0] int: + tuple int: eSUCCESS: if the view is rendered successfully.
eMDLERR_BADVIEWNUMBER: if the view number is invalid.
eMDLERR_INSFMEMORY: if a memory error occurs.
eMDLERR_CANNOTOPENFILE: if the file cannot be created. - tuple[1] bytearray: + tuple bytearray: bytearray object to receive the RGB image data """ ... @@ -28903,12 +30489,12 @@ class MstnImage: Returns: A tuple object containing 2 elements: - tuple[0] int: + tuple int: eSUCCESS: if the view is rendered successfully.
eMDLERR_BADVIEWNUMBER: if the view number is invalid.
eMDLERR_INSFMEMORY: if a memory error occurs.
eMDLERR_CANNOTOPENFILE: if the file cannot be created. - tuple[1] bytearray: + tuple bytearray: bytearray object to receive the RGBA image data. """ ... @@ -29088,23 +30674,29 @@ class MstnPlot: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class MstnView: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @staticmethod def attachNamed(inName: str, inNameSpace: str, viewNumber: int) -> int: """ @@ -29210,8 +30802,35 @@ class MstnView: ... @staticmethod - def changeLevelDisplayMaskMulti(modelRef: MSPyDgnPlatform.DgnModelRef, viewList: MSPyBentleyGeom.BoolArray, levelMask: MSPyDgnPlatform.BitMask, operation: MSPyMstnPlatform.LevelMaskOperation, doUpdate: bool) -> int: + def changeLevelDisplayMaskMulti(*args, **kwargs): """ + Overloaded function. + + 1. changeLevelDisplayMaskMulti(modelRef: MSPyDgnPlatform.DgnModelRef, viewList: MSPyBentleyGeom.BoolArray, levelMask: MSPyDgnPlatform.BitMask, operation: MSPyMstnPlatform.LevelMaskOperation, doUpdate: bool) -> int + + @Description Change the display flag. This functions similar to + mdlView_changeLevelDisplayMask, except that it applies the operation + to the levels of the list of specified views. + + @Param[in] modelRef model @Param[in] viewList is an array of + MSPyDgnPlatform.MAX_VIEWS bool each representing a view. A non-zero value + indicates that view is to be updated from the BitMask given by + "pLevelMask". @Param[in] levelMask bit-mask of levels whose display + mode is to be changed as per operation @Param[in] operation indicates + whether levels specifed in levelMask are to be turned on, off, or + toggled. @Param[in] doUpdate if ON, then redraw the view. @Return + SUCCESS + + See also: + MstnView.setLevelDisplayMask MstnView.getLevelDisplayMask + MstnView.getLevelDisplay MstnView.setLevelDisplay + MstnView.changeLevelDisplay MstnView.setLevelDisplayMaskMulti + + Bentley Systems +---------------+---------------+---------------+----- + ----------+---------------+------ + + 2. changeLevelDisplayMaskMulti(modelRef: MSPyDgnPlatform.DgnModelRef, viewList: list, levelMask: MSPyDgnPlatform.BitMask, operation: MSPyMstnPlatform.LevelMaskOperation, doUpdate: bool) -> int + @Description Change the display flag. This functions similar to mdlView_changeLevelDisplayMask, except that it applies the operation to the levels of the list of specified views. @@ -29367,8 +30986,23 @@ class MstnView: ... @staticmethod - def fitToFence(fencePts: MSPyBentleyGeom.DPoint2d, viewIndex: int, numPoints: int) -> int: + def fitToFence(*args, **kwargs): """ + Overloaded function. + + 1. fitToFence(fencePts: MSPyBentleyGeom.DPoint2dArray, viewIndex: int) -> int + + @Description Fit the contents of the current fence in the specified + view. @Param[in] fencePtsP the array of points that are vertices of + the fence @Param[in] viewIndex the view in which the fence contents + are fit @Param[in] numPoints the number of points in the fence @Return + SUCCESS if the operation is completed successfully + + Bentley Systems +---------------+---------------+---------------+----- + ----------+---------------+------ + + 2. fitToFence(fencePts: list, viewIndex: int) -> int + @Description Fit the contents of the current fence in the specified view. @Param[in] fencePtsP the array of points that are vertices of the fence @Param[in] viewIndex the view in which the fence contents @@ -29666,9 +31300,7 @@ class MstnView: level-mask is returned in the form of a bit-mask. It represents if a level is ON/OFF in the specified view. @Param[in] modelRef model @Param[in] iViewNum view number @Param[in] levelDisplayType one of - VIEW_LEVEL_DISPLAY_TYPE_... (defined in msdefs.h) - - Returns: + VIEW_LEVEL_DISPLAY_TYPE_... (defined in msdefs.h) -> Returns: The display mask as a BitMask. Returns NULL if pModelRef or view number is invalid. @Remarks The value of "levelDisplayType" can be one of ViewLevelDisplayType.Normal or @@ -29689,7 +31321,7 @@ class MstnView: function mdlBitMask_testBit, your call should look like: mdlBitMask_testBit(pLevelDisplayBitMask, levelid -1) @Remarks Note the "const"ness of the returned bit-mask. It is important not to - cast into a non-const bit-mask. This bit-mask should not be + cast into a non-bit-mask. This bit-mask should not be changed. See also: @@ -29710,9 +31342,9 @@ class MstnView: @Description Get information about the levels that are on for the master design file for a view. @Param[out] v7LevelMask An array of short integers with one bit for each level and dimensioned to 4. The - lowest bit of v7LevelMask[0] is set to 1 if level 1 is on in the given - view and to 0 if level 1 is off. Similarly, bit 1 of v7LevelMask[0] is - set to the state of level 2. The highest bit (15) of v7LevelMask[3] + lowest bit of v7LevelMask is set to 1 if level 1 is on in the given + view and to 0 if level 1 is off. Similarly, bit 1 of v7LevelMask is + set to the state of level 2. The highest bit (15) of v7LevelMask represents the state of the special level reserved for cell headers. This bit is always on. @Param[in] iViewNumIn view to get information from @Return SUCCESS if the level information for the specified view @@ -30560,9 +32192,7 @@ class MstnView: @Remarks The bit-mask is 1 based. For example to set the display flag for a level with the function mdlBitMask_setBit, your call should look - like: mdlBitMask_setBit(pLevelDisplayBitMask, levelid -1) - - See also: + like: mdlBitMask_setBit(pLevelDisplayBitMask, levelid -1) -> See also: MstnView.getLevelDisplayMask MstnView.getLevelDisplay MstnView.setLevelDisplay MstnView.changeLevelDisplay MstnView.setLevelDisplayMaskMulti @@ -30574,8 +32204,33 @@ class MstnView: ... @staticmethod - def setLevelDisplayMaskMulti(modelRef: MSPyDgnPlatform.DgnModelRef, viewList: MSPyBentleyGeom.BoolArray, viewLevelMask: MSPyDgnPlatform.BitMask, doUpdate: bool) -> int: + def setLevelDisplayMaskMulti(*args, **kwargs): """ + Overloaded function. + + 1. setLevelDisplayMaskMulti(modelRef: MSPyDgnPlatform.DgnModelRef, viewList: MSPyBentleyGeom.BoolArray, viewLevelMask: MSPyDgnPlatform.BitMask, doUpdate: bool) -> int + + @Description Set the level mask for multiple views from the given + level mask. This function works similar to + mdlView_setLevelDisplayMask, except that it applies the specified + level-mask to the list of specified views. @Param[in] modelRef model + @Param[in] viewList an array of MSPyDgnPlatform.MAX_VIEWS bool, each + representing a view. A non-zero value indicates that view is to be + updated from the BitMask given by pViewLevelMask. @Param[in] + viewLevelMask view level bit-mask to set. @Param[in] doUpdate IF ON, + then redraw the views. @Return SUCCESS if the operation is completed + successfully, otherwise ERROR. + + See also: + MstnView.setLevelDisplayMask MstnView.getLevelDisplayMask + MstnView.getLevelDisplay MstnView.setLevelDisplay + MstnView.changeLevelDisplay MstnView.changeLevelDisplayMaskMulti + + Bentley Systems +---------------+---------------+---------------+----- + ----------+---------------+------ + + 2. setLevelDisplayMaskMulti(modelRef: MSPyDgnPlatform.DgnModelRef, viewList: list, viewLevelMask: MSPyDgnPlatform.BitMask, doUpdate: bool) -> int + @Description Set the level mask for multiple views from the given level mask. This function works similar to mdlView_setLevelDisplayMask, except that it applies the specified @@ -30659,9 +32314,7 @@ class MstnView: @Description Set initial values for viewport info options. @Param[in] applyOptsP the ApplyViewOptions structure in which the value is set @Param[in] type the type of the value to set (see view.h for - VIEW_APPLY_OPTS_* constants that can be used in this function) - - Bentley Systems +---------------+---------------+---------------+----- + VIEW_APPLY_OPTS_* constants that can be used in this function) -> Bentley Systems +---------------+---------------+---------------+----- ----------+---------------+------ """ ... @@ -30748,8 +32401,32 @@ class MstnView: ... @staticmethod - def updateMulti(viewDraw: MSPyBentleyGeom.BoolArray, incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRefList: MSPyDgnPlatform.DgnModelRefList, startEndMsg: bool) -> None: + def updateMulti(*args, **kwargs): """ + Overloaded function. + + 1. updateMulti(viewDraw: MSPyBentleyGeom.BoolArray, incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRefList: MSPyDgnPlatform.DgnModelRefList, startEndMsg: bool) -> None + + @Description Update one or more views. @Param[in] viewDraw views to + update. Should be dimensioned to MSPyDgnPlatform.MAX_VIEWS, and + viewDraw[i] controls whether view i is drawn. @Param[in] incremental + incremental update (meaning, don't erase before drawing). @Param[in] + drawMode possible values are DRAW_MODE_Normal, ERASE and HILITE. These + values draw the elements normally, erase elements from the screen, and + highlight elements, respectively. @Param[in] modelRefList a list of + the models to include in the view(s). If modelRefList is NULL, the + master and all references are included. @Param[in] startEndMsg if + true, MicroStation displays the "Update in progress" and "Display + complete" messages before and after the update. + + This function returns only after the entire view displays. + + + Bentley Systems +---------------+---------------+---------------+----- + ----------+---------------+------ + + 2. updateMulti(viewDraw: list, incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRefList: MSPyDgnPlatform.DgnModelRefList, startEndMsg: bool) -> None + @Description Update one or more views. @Param[in] viewDraw views to update. Should be dimensioned to MSPyDgnPlatform.MAX_VIEWS, and viewDraw[i] controls whether view i is drawn. @Param[in] incremental @@ -30771,8 +32448,33 @@ class MstnView: ... @staticmethod - def updateMultiEx(viewDraw: MSPyBentleyGeom.BoolArray, incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRefList: MSPyDgnPlatform.DgnModelRefList, startEndMsg: bool, updateViewTitle: bool) -> None: + def updateMultiEx(*args, **kwargs): """ + Overloaded function. + + 1. updateMultiEx(viewDraw: MSPyBentleyGeom.BoolArray, incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRefList: MSPyDgnPlatform.DgnModelRefList, startEndMsg: bool, updateViewTitle: bool) -> None + + @Description Update one or more views. @Param[in] viewDraw views to + update. Should be dimensioned to MSPyDgnPlatform.MAX_VIEWS, and + viewDraw[i] controls whether view i is drawn. @Param[in] incremental + incremental update (meaning, don't erase before drawing). @Param[in] + drawMode possible values are DRAW_MODE_Normal, ERASE and HILITE. These + values draw the elements normally, erase elements from the screen, and + highlight elements, respectively. @Param[in] modelRefList a list of + the models to include in the view(s). If modelRefList is NULL, the + master and all references are included. @Param[in] startEndMsg if + true, MicroStation displays the "Update in progress" and "Display + complete" messages before and after the update. @Param[in] updateTitle + if true, will update window title + + This function returns only after the entire view displays. + + + Bentley Systems +---------------+---------------+---------------+----- + ----------+---------------+------ + + 2. updateMultiEx(viewDraw: list, incremental: bool, drawMode: MSPyDgnPlatform.DgnDrawMode, modelRefList: MSPyDgnPlatform.DgnModelRefList, startEndMsg: bool, updateViewTitle: bool) -> None + @Description Update one or more views. @Param[in] viewDraw views to update. Should be dimensioned to MSPyDgnPlatform.MAX_VIEWS, and viewDraw[i] controls whether view i is drawn. @Param[in] incremental @@ -30874,12 +32576,15 @@ class MstnViewPortInfo: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class NewDesignFileReason: """ Members: @@ -30889,7 +32594,13 @@ class NewDesignFileReason: eSYSTEM_NEWFILE_COMPLETE """ - def __init__(self: MSPyMstnPlatform.NewDesignFileReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSYSTEM_NEWFILE_CLOSE: NewDesignFileReason @@ -30915,7 +32626,13 @@ class PlotAreaMode: eSheet """ - def __init__(self: MSPyMstnPlatform.PlotAreaMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFence: PlotAreaMode @@ -30943,7 +32660,13 @@ class PlotAutoAlignMode: eYAxis """ - def __init__(self: MSPyMstnPlatform.PlotAutoAlignMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eNone: PlotAutoAlignMode @@ -30973,7 +32696,13 @@ class PlotColorMode: eTrueColor """ - def __init__(self: MSPyMstnPlatform.PlotColorMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eGrayscale: PlotColorMode @@ -31003,16 +32732,18 @@ class PlotDestination: eToPlotFile eToMetaFile - - eToIpserver """ - def __init__(self: MSPyMstnPlatform.PlotDestination, value: int) -> None: + class __class__(type): + """ + None + """ ... - eToDevice: PlotDestination + def __init__(self, *args, **kwargs): + ... - eToIpserver: PlotDestination + eToDevice: PlotDestination eToMetaFile: PlotDestination @@ -31053,7 +32784,13 @@ class PlotDriver: eTIFF """ - def __init__(self: MSPyMstnPlatform.PlotDriver, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCALS: PlotDriver @@ -31097,7 +32834,13 @@ class PlotEdpFillDisplay: eBlanking """ - def __init__(self: MSPyMstnPlatform.PlotEdpFillDisplay, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlways: PlotEdpFillDisplay @@ -31131,7 +32874,13 @@ class PlotEdpLineCap: eTriangle """ - def __init__(self: MSPyMstnPlatform.PlotEdpLineCap, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlat: PlotEdpLineCap @@ -31165,7 +32914,13 @@ class PlotEdpLineJoin: eRound """ - def __init__(self: MSPyMstnPlatform.PlotEdpLineJoin, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBevel: PlotEdpLineJoin @@ -31213,7 +32968,13 @@ class PlotError: eTimeout """ - def __init__(self: MSPyMstnPlatform.PlotError, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCreateFile: PlotError @@ -31462,6 +33223,7 @@ class PlotFileSpec: """ ... + @staticmethod def SetEmbeddedSuffix(*args, **kwargs): """ Overloaded function. @@ -31531,6 +33293,7 @@ class PlotFileSpec: """ ... + @staticmethod def SetMoniker(*args, **kwargs): """ Overloaded function. @@ -31588,6 +33351,13 @@ class PlotFileSpec: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -31650,7 +33420,13 @@ class PlotFilterLodMode: eShowNothing """ - def __init__(self: MSPyMstnPlatform.PlotFilterLodMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eOff: PlotFilterLodMode @@ -31672,12 +33448,15 @@ class PlotFlags: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def applyColorModeToRaster(arg0: MSPyMstnPlatform.PlotFlags) -> int: ... @@ -31742,7 +33521,13 @@ class PlotHwTextMode: ePDFEditable """ - def __init__(self: MSPyMstnPlatform.PlotHwTextMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAlways: PlotHwTextMode @@ -31778,7 +33563,13 @@ class PlotLineCap: eRound """ - def __init__(self: MSPyMstnPlatform.PlotLineCap, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlat: PlotLineCap @@ -31818,7 +33609,13 @@ class PlotLineJoin: eButt """ - def __init__(self: MSPyMstnPlatform.PlotLineJoin, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBevel: PlotLineJoin @@ -31848,12 +33645,15 @@ class PlotLineStyleDef: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def noHardware(arg0: MSPyMstnPlatform.PlotLineStyleDef) -> int: ... @@ -31898,7 +33698,13 @@ class PlotMoveMode: eRelative """ - def __init__(self: MSPyMstnPlatform.PlotMoveMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAbsolute: PlotMoveMode @@ -31924,7 +33730,13 @@ class PlotOrientation: eLandscape """ - def __init__(self: MSPyMstnPlatform.PlotOrientation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLandscape: PlotOrientation @@ -31946,12 +33758,15 @@ class PlotPaperSizeInfo: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def name(self: MSPyMstnPlatform.PlotPaperSizeInfo) -> MSPyBentley.WString: ... @@ -31992,6 +33807,16 @@ class PlotPaperSizeInfoArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -32018,6 +33843,7 @@ class PlotPaperSizeInfoArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -32038,6 +33864,7 @@ class PlotPaperSizeInfoArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -32065,7 +33892,13 @@ class PlotPathOperator: eBezierTo """ - def __init__(self: MSPyMstnPlatform.PlotPathOperator, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBezierTo: PlotPathOperator @@ -32089,12 +33922,15 @@ class PlotPenSetup: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def color(self: MSPyMstnPlatform.PlotPenSetup) -> MSPyDgnPlatform.RgbaColorDef: ... @@ -32170,6 +34006,7 @@ class PlotPropValue: None """ + @staticmethod def Assign(*args, **kwargs): """ Overloaded function. @@ -32246,6 +34083,13 @@ class PlotPropValue: """ ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -32288,7 +34132,13 @@ class PlotPropValueType: eString """ - def __init__(self: MSPyMstnPlatform.PlotPropValueType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDouble: PlotPropValueType @@ -32312,12 +34162,15 @@ class PlotRasterCompr: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def format(self: MSPyMstnPlatform.PlotRasterCompr) -> int: ... @@ -32345,7 +34198,13 @@ class PlotRasterFormat: eRGBA """ - def __init__(self: MSPyMstnPlatform.PlotRasterFormat, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBitMap: PlotRasterFormat @@ -32369,12 +34228,15 @@ class PlotRasterOptions: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def brightness(self: MSPyMstnPlatform.PlotRasterOptions) -> float: ... @@ -32414,7 +34276,13 @@ class PlotRasterTransparency: eMask """ - def __init__(self: MSPyMstnPlatform.PlotRasterTransparency, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eColor: PlotRasterTransparency @@ -32442,7 +34310,13 @@ class PlotReqOrientation: eLandscape """ - def __init__(self: MSPyMstnPlatform.PlotReqOrientation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLandscape: PlotReqOrientation @@ -32472,7 +34346,13 @@ class PlotRotateDir: eRot180 """ - def __init__(self: MSPyMstnPlatform.PlotRotateDir, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCCW: PlotRotateDir @@ -32506,7 +34386,13 @@ class PlotStartStopCmd: eBeep """ - def __init__(self: MSPyMstnPlatform.PlotStartStopCmd, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBeep: PlotStartStopCmd @@ -32638,7 +34524,13 @@ class PlotTagBool: eSupportsNoneForm """ - def __init__(self: MSPyMstnPlatform.PlotTagBool, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAcceptsNonTransparentBitmaps: PlotTagBool @@ -32780,7 +34672,13 @@ class PlotTagDPoint2d: eEffectivePlotScale """ - def __init__(self: MSPyMstnPlatform.PlotTagDPoint2d, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eApparentResolution: PlotTagDPoint2d @@ -32820,7 +34718,13 @@ class PlotTagDPoint3d: eViewDeltaUors """ - def __init__(self: MSPyMstnPlatform.PlotTagDPoint3d, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eViewDeltaUors: PlotTagDPoint3d @@ -32858,7 +34762,13 @@ class PlotTagDbl: eMinimumLevelOfDetail """ - def __init__(self: MSPyMstnPlatform.PlotTagDbl, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBorderTextHeightCM: PlotTagDbl @@ -32900,7 +34810,13 @@ class PlotTagFileSpec: eRenderingAttributesFile """ - def __init__(self: MSPyMstnPlatform.PlotTagFileSpec, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePrefixFile: PlotTagFileSpec @@ -32978,7 +34894,13 @@ class PlotTagInt: eVisible """ - def __init__(self: MSPyMstnPlatform.PlotTagInt, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBorderPen: PlotTagInt @@ -33054,7 +34976,13 @@ class PlotTagIsDefinedInPltcfg: eDefaultTray """ - def __init__(self: MSPyMstnPlatform.PlotTagIsDefinedInPltcfg, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDefaultForm: PlotTagIsDefinedInPltcfg @@ -33080,7 +35008,13 @@ class PlotTagPtr: eCurrentRenditionData """ - def __init__(self: MSPyMstnPlatform.PlotTagPtr, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eCurrentRenditionData: PlotTagPtr @@ -33126,7 +35060,13 @@ class PlotTagStr: eDriverDisplayName """ - def __init__(self: MSPyMstnPlatform.PlotTagStr, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eBorderComment: PlotTagStr @@ -33178,7 +35118,13 @@ class PlotTagTransform: eViewToPlot """ - def __init__(self: MSPyMstnPlatform.PlotTagTransform, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eLocalToPlot: PlotTagTransform @@ -33206,7 +35152,13 @@ class PlotTagTriState: eReplTransMaskWithTransColor """ - def __init__(self: MSPyMstnPlatform.PlotTagTriState, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eReplTransMaskWithTransColor: PlotTagTriState @@ -33230,7 +35182,13 @@ class PlotTriState: eUndefined """ - def __init__(self: MSPyMstnPlatform.PlotTriState, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFalse: PlotTriState @@ -33272,7 +35230,13 @@ class PlotUnits: etenthsmm """ - def __init__(self: MSPyMstnPlatform.PlotUnits, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDefault: PlotUnits @@ -33316,7 +35280,13 @@ class PlotterModel: eSysprinterMetafile """ - def __init__(self: MSPyMstnPlatform.PlotterModel, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eHPLJET3: PlotterModel @@ -33359,7 +35329,13 @@ class PlotterRef: def GetP(self: MSPyMstnPlatform.PlotterRef) -> MSPyMstnPlatform.IPlotter: ... - def __init__(self: MSPyMstnPlatform.PlotterRef) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class PrintDescriptionRef: @@ -33389,7 +35365,13 @@ class PrintDescriptionRef: def GetP(self: MSPyMstnPlatform.PrintDescriptionRef) -> MSPyMstnPlatform.IPrintDescription: ... - def __init__(self: MSPyMstnPlatform.PrintDescriptionRef) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... class PrintStyleName: @@ -33397,12 +35379,15 @@ class PrintStyleName: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def name(self: MSPyMstnPlatform.PrintStyleName) -> MSPyBentley.WString: ... @@ -33422,6 +35407,16 @@ class PrintStyleNameArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -33448,6 +35443,7 @@ class PrintStyleNameArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -33468,6 +35464,7 @@ class PrintStyleNameArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -33493,7 +35490,13 @@ class PropPubMethod: ePropFilterFile """ - def __init__(self: MSPyMstnPlatform.PropPubMethod, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAll: PropPubMethod @@ -33528,6 +35531,13 @@ class PyCExprValue: def Type(arg0: MSPyMstnPlatform.PyCExprValue) -> MSPyMstnPlatform.PyCExprValueType: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -33555,7 +35565,13 @@ class PyCExprValueType: ePy_CEXPR_TYPE_LONG64 """ - def __init__(self: MSPyMstnPlatform.PyCExprValueType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePy_CEXPR_TYPE_DOUBLE: PyCExprValueType @@ -33589,12 +35605,15 @@ class PyCExpression: def SetCExpressionValue(expression: str, value: MSPyMstnPlatform.PyCExprValue, taskId: str) -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PyCadInputMessage: """ None @@ -33621,12 +35640,15 @@ class PyCadInputMessage: def GetView(self: MSPyMstnPlatform.PyCadInputMessage) -> MSPyDgnPlatform.ViewInfo: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PyCadInputQueue: """ None @@ -33713,12 +35735,15 @@ class PyCadInputQueue: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PyCommandState: """ None @@ -33728,12 +35753,15 @@ class PyCommandState: def StartDefaultCommand() -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PyDocumentOpenDialogParams: """ None @@ -34029,12 +36057,15 @@ class PyDocumentOpenDialogParams: def WorkSpaceName(arg0: MSPyMstnPlatform.PyDocumentOpenDialogParams, arg1: MSPyBentley.WString) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PyEventsHandler: """ None @@ -34048,12 +36079,15 @@ class PyEventsHandler: def RemoveModalDialogEventsHandler(eventHandler: MSPyMstnPlatform.IPyModalDialogEvents) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class PyMsdDialogBoxResult: """ Members: @@ -34081,7 +36115,13 @@ class PyMsdDialogBoxResult: ePyMsdDialogBoxResultYesToAll """ - def __init__(self: MSPyMstnPlatform.PyMsdDialogBoxResult, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... ePyMsdDialogBoxResultApply: PyMsdDialogBoxResult @@ -34126,12 +36166,15 @@ class PythonKeyinManager: def LoadCommandTableFromXml(self: MSPyMstnPlatform.PythonKeyinManager, pythonFilePath: MSPyBentley.WString, keyInXmlFileName: MSPyBentley.WString) -> MSPyMstnPlatform.CommandTableStatus: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class QueryFeaturesAreaMode: """ Members: @@ -34141,7 +36184,13 @@ class QueryFeaturesAreaMode: eQueryFeaturesAreaMode_Fence """ - def __init__(self: MSPyMstnPlatform.QueryFeaturesAreaMode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eQueryFeaturesAreaMode_All: QueryFeaturesAreaMode @@ -34175,17 +36224,30 @@ class ReferenceOverrideInfo: def IsOn(self: MSPyMstnPlatform.ReferenceOverrideInfo, arg0: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ReferenceOverrideInfoArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -34212,6 +36274,7 @@ class ReferenceOverrideInfoArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -34232,6 +36295,7 @@ class ReferenceOverrideInfoArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -34246,7 +36310,7 @@ class ReferenceOverrideInfoArray: """ ... -class RegionPlaneId: +class RegionPlaneId(MSPyMstnPlatform.GeometryId): """ None """ @@ -34281,7 +36345,13 @@ class RegionPlaneId: eDCM3_DIMENSION_TO_APEX """ - def __init__(self: MSPyMstnPlatform.GeometryId.DimensionToComponent, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eDCM3_DIMENSION_TO_APEX: DimensionToComponent @@ -34335,7 +36405,13 @@ class RegionPlaneId: eFlagMask_EntityIndex """ - def __init__(self: MSPyMstnPlatform.GeometryId.FlagMasks, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eFlagMask_EntityIndex: FlagMasks @@ -34361,6 +36437,7 @@ class RegionPlaneId: def GetEntityIndex(self: MSPyMstnPlatform.GeometryId) -> int: ... + @staticmethod def GetParameter(*args, **kwargs): """ Overloaded function. @@ -34396,6 +36473,7 @@ class RegionPlaneId: def SetEntityIndex(self: MSPyMstnPlatform.GeometryId, entityIndex: int) -> None: ... + @staticmethod def SetParameter(*args, **kwargs): """ Overloaded function. @@ -34423,12 +36501,15 @@ class RegionPlaneId: def Type(arg0: MSPyMstnPlatform.GeometryId) -> MSPyMstnPlatform.GeometryId.Type: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + eBCurve: Type eBRepVertex: Type @@ -34521,6 +36602,13 @@ class RevolveSettings: def Validate(self: MSPyMstnPlatform.RevolveSettings) -> bool: ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -34575,7 +36663,7 @@ class RevolveSettings: def thicknessMode(arg0: MSPyMstnPlatform.RevolveSettings, arg1: int) -> None: ... -class SHPExportSpecification: +class SHPExportSpecification(MSPyMstnPlatform.ExportSpecification): """ None """ @@ -34924,12 +37012,15 @@ class SHPExportSpecification: def UseFenceOverlap(arg0: MSPyMstnPlatform.ExportSpecification, arg1: bool) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SHPImportSpecification: """ None @@ -35034,12 +37125,15 @@ class SHPImportSpecification: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SectorAngleType: """ Members: @@ -35053,7 +37147,13 @@ class SectorAngleType: eAntiParallel_Clockwise """ - def __init__(self: MSPyMstnPlatform.SectorAngleType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAntiParallel_AntiClockwise: SectorAngleType @@ -35177,17 +37277,30 @@ class ServerConnection: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ServerConnectionPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -35273,17 +37386,30 @@ class ServerFeatureSpecification: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ServerFeatureSpecificationPtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -35316,6 +37442,7 @@ class ServerFeatureSpecificationPtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -35336,6 +37463,7 @@ class ServerFeatureSpecificationPtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -35361,7 +37489,80 @@ class SessionMonitor: None """ - def __init__(self: MSPyMstnPlatform.SessionMonitor) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + +class SizeFilterSettings: + """ + None + """ + + def Scale(self: MSPyMstnPlatform.SizeFilterSettings, scale: float) -> None: + ... + + class __class__(type): + """ + None + """ + ... + + @staticmethod + def __init__(*args, **kwargs): + """ + Overloaded function. + + 1. __init__(self: MSPyMstnPlatform.SizeFilterSettings) -> None + + 2. __init__(self: MSPyMstnPlatform.SizeFilterSettings, dgnModel: MSPyDgnPlatform.DgnModel) -> None + """ + ... + + @property + def blendRadius(self: MSPyMstnPlatform.SizeFilterSettings) -> float: + ... + @blendRadius.setter + def blendRadius(self: MSPyMstnPlatform.SizeFilterSettings, arg0: float) -> None: + ... + + @property + def doBlendRadius(arg0: MSPyMstnPlatform.SizeFilterSettings) -> bool: + ... + @doBlendRadius.setter + def doBlendRadius(arg0: MSPyMstnPlatform.SizeFilterSettings, arg1: bool) -> None: + ... + + @property + def doFaceSize(arg0: MSPyMstnPlatform.SizeFilterSettings) -> bool: + ... + @doFaceSize.setter + def doFaceSize(arg0: MSPyMstnPlatform.SizeFilterSettings, arg1: bool) -> None: + ... + + @property + def doHoleDiameter(arg0: MSPyMstnPlatform.SizeFilterSettings) -> bool: + ... + @doHoleDiameter.setter + def doHoleDiameter(arg0: MSPyMstnPlatform.SizeFilterSettings, arg1: bool) -> None: + ... + + @property + def faceSize(self: MSPyMstnPlatform.SizeFilterSettings) -> float: + ... + @faceSize.setter + def faceSize(self: MSPyMstnPlatform.SizeFilterSettings, arg0: float) -> None: + ... + + @property + def holeDiameter(self: MSPyMstnPlatform.SizeFilterSettings) -> float: + ... + @holeDiameter.setter + def holeDiameter(self: MSPyMstnPlatform.SizeFilterSettings, arg0: float) -> None: ... class SmartFeatureElement: @@ -35706,12 +37907,15 @@ class SmartFeatureElement: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SmartFeatureHandlerId: """ Members: @@ -35797,7 +38001,13 @@ class SmartFeatureHandlerId: eAssociativeElementSymbology """ - def __init__(self: MSPyMstnPlatform.SmartFeatureHandlerId, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eArrayAlongPath: SmartFeatureHandlerId @@ -36182,17 +38392,30 @@ class SmartFeatureNode: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SmartFeatureNodePtrArray: """ None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -36225,6 +38448,7 @@ class SmartFeatureNodePtrArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -36245,6 +38469,7 @@ class SmartFeatureNodePtrArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -36328,12 +38553,15 @@ class SmartFeatureUtil: def InitSmartFeature() -> int: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SolidUtil: """ None @@ -36414,17 +38642,17 @@ class SolidUtil: None """ - @staticmethod - def BodyToElement(eeh: MSPyDgnPlatform.EditElementHandle, entity: MSPyDgnPlatform.ISolidKernelEntity, templateEh: MSPyDgnPlatform.ElementHandle, modelRef: MSPyDgnPlatform.DgnModelRef) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def BodyToElement(eeh: MSPyDgnPlatform.EditElementHandle, entity: MSPyDgnPlatform.ISolidKernelEntity, templateEh: MSPyDgnPlatform.ElementHandle, modelRef: MSPyDgnPlatform.DgnModelRef) -> MSPyDgnPlatform.BentleyStatus: ... - @staticmethod - def ElementToBodies(out: MSPyDgnPlatform.ISolidKernelEntityPtrArray, eh: MSPyDgnPlatform.ElementHandle, getSolids: bool = True, getSheets: bool = True, getWires: bool = True) -> tuple: + @staticmethod + def ElementToBodies(out_: MSPyDgnPlatform.ISolidKernelEntityPtrArray, eh: MSPyDgnPlatform.ElementHandle, getSolids: bool = True, getSheets: bool = True, getWires: bool = True) -> tuple: """ Create bodies from an element that represents one or more wire, sheet, or solid bodies. - :param out: + :param out_: The collection of new bodies. :param hasMissingGeom: @@ -36448,13 +38676,13 @@ class SolidUtil: """ ... - @staticmethod - def ElementToBody(eh: MSPyDgnPlatform.ElementHandle, getSolid: bool = True, getSheet: bool = True, getWire: bool = True) -> tuple: + @staticmethod + def ElementToBody(eh: MSPyDgnPlatform.ElementHandle, getSolid: bool = True, getSheet: bool = True, getWire: bool = True) -> tuple: """ Create a body from an element that can represent a single wire, sheet, or solid body. - :param out: + :param out_: The new body. :param eh: @@ -36474,8 +38702,8 @@ class SolidUtil: """ ... - @staticmethod - def SubEntityToCurveVector(subEntity: MSPyDgnPlatform.ISubEntity) -> tuple: + @staticmethod + def SubEntityToCurveVector(subEntity: MSPyDgnPlatform.ISubEntity) -> tuple: """ Create a simplified CurveVector representation of the given sub- entity. @@ -36494,8 +38722,8 @@ class SolidUtil: """ ... - @staticmethod - def SubEntityToGeometry(subEntity: MSPyDgnPlatform.ISubEntity, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: + @staticmethod + def SubEntityToGeometry(subEntity: MSPyDgnPlatform.ISubEntity, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: """ Create a simplified IGeometryPtr representation of the given sub- entity (non-BRep geometry). @@ -36517,23 +38745,24 @@ class SolidUtil: """ ... - def __init__(*args, **kwargs): - """ - Initialize self. See help(type(self)) for accurate signature. - """ - ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... @staticmethod - def CopyEntity(*args, **kwargs): + def CopyEntity(in_: MSPyDgnPlatform.ISolidKernelEntity) -> tuple: """ - CopyEntity(in: MSPyDgnPlatform.ISolidKernelEntity) -> tuple - Create a new ISolidKernelEntityPtr by copying the input body. - :param out: + :param out_: The new body. - :param in: + :param in_: The body to copy. :returns: @@ -36546,12 +38775,12 @@ class SolidUtil: None """ - @staticmethod - def BodyFromBSurface(surface: MSPyBentleyGeom.MSBsplineSurface, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: + @staticmethod + def BodyFromBSurface(surface: MSPyBentleyGeom.MSBsplineSurface, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: """ Create a new sheet body from a MSBsplineSurface. - :param out: + :param out_: The new body. :param surface: @@ -36565,14 +38794,13 @@ class SolidUtil: """ ... - @staticmethod - def BodyFromCurveVector(curve: MSPyBentleyGeom.CurveVector, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: + @staticmethod + def BodyFromCurveVector(curve: MSPyBentleyGeom.CurveVector, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: """ Create a new wire or planar sheet body from a CurveVector that - represents an open path, closed path, region with holes, or union - region. + represents an open path, closed path, region with holes, or region. - :param out: + :param out_: The new body. :param curve: @@ -36589,12 +38817,12 @@ class SolidUtil: """ ... - @staticmethod - def BodyFromExtrusionToBody(extrudeTo: MSPyDgnPlatform.ISolidKernelEntity, profile: MSPyDgnPlatform.ISolidKernelEntity, reverseDirection: bool) -> tuple: + @staticmethod + def BodyFromExtrusionToBody(extrudeTo: MSPyDgnPlatform.ISolidKernelEntity, profile: MSPyDgnPlatform.ISolidKernelEntity, reverseDirection: bool) -> tuple: """ Create a new body by extruding a planar sheet body up to another body. - :param out: + :param out_: The new body. :param extrudeTo: @@ -36612,13 +38840,13 @@ class SolidUtil: """ ... - @staticmethod - def BodyFromLoft(profiles: MSPyBentleyGeom.CurveVectorPtrArray, guides: MSPyBentleyGeom.CurveVectorPtrArray, modelRef: MSPyDgnPlatform.DgnModelRef, periodic: bool = False, segment: bool = False) -> tuple: + @staticmethod + def BodyFromLoft(profiles: MSPyBentleyGeom.CurveVectorPtrArray, guides: MSPyBentleyGeom.CurveVectorPtrArray, modelRef: MSPyDgnPlatform.DgnModelRef, periodic: bool = False, segment: bool = False) -> tuple: """ Create a new sheet or solid body from surfaces created by lofting through a set of cross section profiles. - :param out: + :param out_: The new body. :param profiles: @@ -36649,12 +38877,12 @@ class SolidUtil: """ ... - @staticmethod - def BodyFromPolyface(meshData: MSPyBentleyGeom.PolyfaceQuery, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: + @staticmethod + def BodyFromPolyface(meshData: MSPyBentleyGeom.PolyfaceQuery, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: """ Create a new sheet or solid body from a Polyface. - :param out: + :param out_: The new body. :param meshData: @@ -36668,12 +38896,12 @@ class SolidUtil: """ ... - @staticmethod - def BodyFromSolidPrimitive(primitive: MSPyBentleyGeom.ISolidPrimitive, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: + @staticmethod + def BodyFromSolidPrimitive(primitive: MSPyBentleyGeom.ISolidPrimitive, modelRef: MSPyDgnPlatform.DgnModelRef) -> tuple: """ Create a new sheet or solid body from an ISolidPrimitive. - :param out: + :param out_: The new body. :param primitive: @@ -36687,13 +38915,13 @@ class SolidUtil: """ ... - @staticmethod - def BodyFromSweep(profile: MSPyBentleyGeom.CurveVector, path: MSPyBentleyGeom.CurveVector, modelRef: MSPyDgnPlatform.DgnModelRef, alignParallel: bool, selfRepair: bool, createSheet: bool, lockDirection: MSPyBentleyGeom.DVec3d = None, twistAngle: Optional[float] = None, scale: Optional[float] = None, scalePoint: MSPyBentleyGeom.DPoint3d = None) -> tuple: + @staticmethod + def BodyFromSweep(profile: MSPyBentleyGeom.CurveVector, path: MSPyBentleyGeom.CurveVector, modelRef: MSPyDgnPlatform.DgnModelRef, alignParallel: bool, selfRepair: bool, createSheet: bool, lockDirection: MSPyBentleyGeom.DVec3d = None, twistAngle: Optional[float] = None, scale: Optional[float] = None, scalePoint: MSPyBentleyGeom.DPoint3d = None) -> tuple: """ Create a new sheet or solid body by sweeping a cross section profile along a path. - :param out: + :param out_: The new body. :param profile: @@ -36736,42 +38964,46 @@ class SolidUtil: """ ... - def __init__(*args, **kwargs): - """ - Initialize self. See help(type(self)) for accurate signature. - """ - ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... class Debug: """ None """ - @staticmethod - def DumpEntity(entity: MSPyDgnPlatform.ISolidKernelEntity, label: str) -> None: + @staticmethod + def DumpEntity(entity: MSPyDgnPlatform.ISolidKernelEntity, label: str) -> None: ... - @staticmethod - def DumpSubEntity(subEntity: MSPyDgnPlatform.ISubEntity, label: str) -> None: + @staticmethod + def DumpSubEntity(subEntity: MSPyDgnPlatform.ISubEntity, label: str) -> None: ... - def __init__(*args, **kwargs): - """ - Initialize self. See help(type(self)) for accurate signature. - """ - ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... @staticmethod - def DisjoinBody(*args, **kwargs): + def DisjoinBody(out_: MSPyDgnPlatform.ISolidKernelEntityPtrArray, in_: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: """ - DisjoinBody(out: MSPyDgnPlatform.ISolidKernelEntityPtrArray, in: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus - Create separate bodies from a single multi-region body. - :param out: + :param out_: The collection of new bodies. - :param in: + :param in_: The body to separate. :returns: @@ -36864,17 +39096,15 @@ class SolidUtil: ... @staticmethod - def GetBodyEdges(*args, **kwargs): + def GetBodyEdges(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in_: MSPyDgnPlatform.ISolidKernelEntity) -> int: """ - GetBodyEdges(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in: MSPyDgnPlatform.ISolidKernelEntity) -> int - Query the set of edges of the input body. :param subEntities: An optional vector to hold the sub-entities of type SubEntityType_Edge, pass NULL if just interested in count. - :param in: + :param in_: The entity to query. :returns: @@ -36883,17 +39113,15 @@ class SolidUtil: ... @staticmethod - def GetBodyFaces(*args, **kwargs): + def GetBodyFaces(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in_: MSPyDgnPlatform.ISolidKernelEntity) -> int: """ - GetBodyFaces(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in: MSPyDgnPlatform.ISolidKernelEntity) -> int - Query the set of faces of the input body. :param subEntities: An optional vector to hold the sub-entities of type SubEntityType_Face, pass NULL if just interested in count. - :param in: + :param in_: The entity to query. :returns: @@ -36902,17 +39130,15 @@ class SolidUtil: ... @staticmethod - def GetBodyVertices(*args, **kwargs): + def GetBodyVertices(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in_: MSPyDgnPlatform.ISolidKernelEntity) -> int: """ - GetBodyVertices(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in: MSPyDgnPlatform.ISolidKernelEntity) -> int - Query the set of vertices of the input body. :param subEntities: An optional vector to hold the sub-entities of type SubEntityType_Vertex, pass NULL if just interested in count. - :param in: + :param in_: The entity to query. :returns: @@ -36921,10 +39147,8 @@ class SolidUtil: ... @staticmethod - def GetEdgeFaces(*args, **kwargs): + def GetEdgeFaces(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in_: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus: """ - GetEdgeFaces(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus - Query the set of faces for the input edge sub-entity. :param subEntities: @@ -36956,10 +39180,8 @@ class SolidUtil: ... @staticmethod - def GetEdgeVertices(*args, **kwargs): + def GetEdgeVertices(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in_: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus: """ - GetEdgeVertices(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus - Query the set of vertices for the input edge sub-entity. :param subEntities: @@ -36991,10 +39213,8 @@ class SolidUtil: ... @staticmethod - def GetFaceEdges(*args, **kwargs): + def GetFaceEdges(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in_: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus: """ - GetFaceEdges(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus - Query the set of edges for the input face sub-entity. :param subEntities: @@ -37029,10 +39249,8 @@ class SolidUtil: ... @staticmethod - def GetFaceVertices(*args, **kwargs): + def GetFaceVertices(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in_: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus: """ - GetFaceVertices(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus - Query the set of vertices for the input face sub-entity. :param subEntities: @@ -37126,10 +39344,8 @@ class SolidUtil: ... @staticmethod - def GetVertexEdges(*args, **kwargs): + def GetVertexEdges(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in_: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus: """ - GetVertexEdges(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus - Query the set of edges for the input vertex sub-entity. :param subEntities: @@ -37145,10 +39361,8 @@ class SolidUtil: ... @staticmethod - def GetVertexFaces(*args, **kwargs): + def GetVertexFaces(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in_: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus: """ - GetVertexFaces(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, in: MSPyDgnPlatform.ISubEntity) -> MSPyDgnPlatform.BentleyStatus - Query the set of faces for the input vertex sub-entity. :param subEntities: @@ -37230,9 +39444,13 @@ class SolidUtil: None """ - @staticmethod - def BlendEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: MSPyDgnPlatform.ISubEntityPtrArray, radii: MSPyBentleyGeom.DoubleArray, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def BlendEdges(*args, **kwargs): """ + Overloaded function. + + 1. BlendEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: MSPyDgnPlatform.ISubEntityPtrArray, radii: MSPyBentleyGeom.DoubleArray, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus + Modify the specified edges of the given body by changing them into faces having the requested blending surface geometry. @@ -37254,229 +39472,94 @@ class SolidUtil: :returns: SUCCESS if blends could be created. - """ - ... - - @staticmethod - def BooleanCut(*args, **kwargs): - """ - Overloaded function. - 1. BooleanCut(target: MSPyDgnPlatform.ISolidKernelEntity, planarTool: MSPyBentleyGeom.CurveVector, directionMode: MSPyMstnPlatform.SolidUtil.Modify.CutDirectionMode, depthMode: MSPyMstnPlatform.SolidUtil.Modify.CutDepthMode, distance: float, invert: bool, defaultNormal: MSPyBentleyGeom.DVec3d, nodeId: int) -> MSPyDgnPlatform.BentleyStatus + 2. BlendEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: MSPyDgnPlatform.ISubEntityPtrArray, radii: list, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus - Modify the target body by subtracting a cut body produced from - sweeping the sheet tool body according to the specified cut direction - and depth. + Modify the specified edges of the given body by changing them into + faces having the requested blending surface geometry. :param target: - The target body to modify. - - :param planarTool: - The planar sheet body for the cut profile. - - :param directionMode: - The sweep direction relative to the sheet body normal of the cut - profile. - - :param depthMode: - To specify if the cut should extended through the entire body or - only create a pocket of fixed depth. + The target body to blend. - :param distance: - To specify the cut depth for CutDepthMode.Blind. + :param edges: + The array of edge sub-entities to attach blends to. - :param invert: - Set true to reverse the sense of the tool (outside rather than - inside if closed). + :param radii: + The array of blend radius values for each edge. - :param defaultNormal: - If not NULL, uused to to determine the cut direction only if the - tool is a line segment. + :param nEdges: + Count of edge sub-entities. - :param nodeId: - The node id of the entity. + :param propagateSmooth: + Whether to automatically continue blend along connected and + tangent edges that aren't explicitly specified in edges array. :returns: - SUCCESS if cut operation was completed. - - 2. BooleanCut(target: MSPyDgnPlatform.ISolidKernelEntity, planarTool: MSPyBentleyGeom.CurveVector, directionMode: MSPyMstnPlatform.SolidUtil.Modify.CutDirectionMode, depthMode: MSPyMstnPlatform.SolidUtil.Modify.CutDepthMode, distance: float, invert: bool, defaultNormal: MSPyBentleyGeom.DVec3d, nodeId: int, cutDirection: MSPyBentleyGeom.DVec3d) -> MSPyDgnPlatform.BentleyStatus - - Modify the target body by subtracting a cut body produced from - sweeping the sheet tool body according to the specified cut direction - and depth. - - :param target: - The target body to modify. - - :param planarTool: - The planar sheet body for the cut profile. - - :param directionMode: - The sweep direction relative to the sheet body normal of the cut - profile. - - :param depthMode: - To specify if the cut should extended through the entire body or - only create a pocket of fixed depth. - - :param distance: - To specify the cut depth for CutDepthMode.Blind. - - :param invert: - Set true to reverse the sense of the tool (outside rather than - inside if closed). - - :param defaultNormal: - If not NULL, uused to to determine the cut direction only if the - tool is a line segment. + SUCCESS if blends could be created. - :param nodeId: - The node id of the entity. + 3. BlendEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: list, radii: MSPyBentleyGeom.DoubleArray, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus - :returns: - SUCCESS if cut operation was completed. - """ - ... - - @staticmethod - def BooleanIntersect(target: MSPyDgnPlatform.ISolidKernelEntity, tools: MSPyDgnPlatform.ISolidKernelEntityPtrArray) -> MSPyDgnPlatform.BentleyStatus: - """ - Modify the target body by intersecting with one or more tool bodies. + Modify the specified edges of the given body by changing them into + faces having the requested blending surface geometry. :param target: - The target body to modify. - - :param tools: - A list of one or more tool bodies (consumed in boolean). - - :param nTools: - Count of tool bodies. + The target body to blend. - :returns: - SUCCESS if boolean operation was completed. - """ - ... - - @staticmethod - def BooleanSubtract(target: MSPyDgnPlatform.ISolidKernelEntity, tools: MSPyDgnPlatform.ISolidKernelEntityPtrArray) -> MSPyDgnPlatform.BentleyStatus: - """ - Modify the target body by subtracting one or more tool bodies. + :param edges: + The array of edge sub-entities to attach blends to. - :param target: - The target body to modify. + :param radii: + The array of blend radius values for each edge. - :param tools: - Array of one or more tool bodies (consumed in boolean). + :param nEdges: + Count of edge sub-entities. - :param nTools: - Count of tool bodies. + :param propagateSmooth: + Whether to automatically continue blend along connected and + tangent edges that aren't explicitly specified in edges array. :returns: - SUCCESS if boolean operation was completed. - """ - ... - - @staticmethod - def BooleanUnion(target: MSPyDgnPlatform.ISolidKernelEntity, tools: MSPyDgnPlatform.ISolidKernelEntityPtrArray) -> MSPyDgnPlatform.BentleyStatus: - """ - Modify the target body by uniting with one or more tool bodies. - - :param target: - The target body to modify. - - :param tools: - Array of one or more tool bodies (consumed in boolean). + SUCCESS if blends could be created. - :param nTools: - Count of tool bodies. + 4. BlendEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: list, radii: list, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus - :returns: - SUCCESS if boolean operation was completed. - """ - ... - - @staticmethod - def ChamferEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: MSPyDgnPlatform.ISubEntityPtrArray, values1: MSPyBentleyGeom.DoubleArray, values2: MSPyBentleyGeom.DoubleArray, mode: MSPyMstnPlatform.SolidUtil.Modify.ChamferMode, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus: - """ Modify the specified edges of the given body by changing them into - faces having the requested chamfer surface geometry. + faces having the requested blending surface geometry. :param target: - The target body to chamfer. + The target body to blend. :param edges: - The array of edge sub-entities to attach chamfers to. - - :param values1: - The array of chamfer values for each edge, value meaning varies by - ChamferMode. + The array of edge sub-entities to attach blends to. - :param values2: - The array of chamfer values for each edge, value meaning varies by - ChamferMode. (Unused for ChamferMode.Length) + :param radii: + The array of blend radius values for each edge. :param nEdges: Count of edge sub-entities. - :param mode: - Specifies chamfer type and determines how values1 and values2 are - interpreted and used. - :param propagateSmooth: - Whether to automatically continue chamfer along connected and + Whether to automatically continue blend along connected and tangent edges that aren't explicitly specified in edges array. :returns: - SUCCESS if chamfers could be created. + SUCCESS if blends could be created. """ ... - class ChamferMode: - """ - Members: - - eRanges - - eLength - - eDistances - - eDistanceAngle - - eAngleDistance - """ - - def __init__(self: MSPyMstnPlatform.SolidUtil.Modify.ChamferMode, value: int) -> None: - ... - - eAngleDistance: ChamferMode - - eDistanceAngle: ChamferMode - - eDistances: ChamferMode - - eLength: ChamferMode - - eRanges: ChamferMode - - @property - def name(self: handle) -> str: - ... - - @property - def value(arg0: MSPyMstnPlatform.SolidUtil.Modify.ChamferMode) -> int: - ... - - @staticmethod - def ClashDetectionBetweenTargetAndTool(target: MSPyDgnPlatform.ISolidKernelEntity, planarTool: MSPyBentleyGeom.CurveVector, directionMode: MSPyMstnPlatform.SolidUtil.Modify.CutDirectionMode, depthMode: MSPyMstnPlatform.SolidUtil.Modify.CutDepthMode, distance: float, defaultNormal: MSPyBentleyGeom.DVec3d, cutDirection: MSPyBentleyGeom.DVec3d) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def BooleanCut(*args, **kwargs): """ - Get clash result between target and tool from the list of targets + Overloaded function. - :param clashTool: - List of target tool causing clashes with the target + 1. BooleanCut(target: MSPyDgnPlatform.ISolidKernelEntity, planarTool: MSPyBentleyGeom.CurveVector, directionMode: MSPyMstnPlatform.SolidUtil.Modify.CutDirectionMode, depthMode: MSPyMstnPlatform.SolidUtil.Modify.CutDepthMode, distance: float, invert: bool, defaultNormal: MSPyBentleyGeom.DVec3d, nodeId: int) -> MSPyDgnPlatform.BentleyStatus + + Modify the target body by subtracting a cut body produced from + sweeping the sheet tool body according to the specified cut direction + and depth. :param target: - The target body + The target body to modify. :param planarTool: The planar sheet body for the cut profile. @@ -37500,68 +39583,396 @@ class SolidUtil: If not NULL, uused to to determine the cut direction only if the tool is a line segment. - :param cutDirection: - Cut direction + :param nodeId: + The node id of the entity. :returns: - SUCCESS if there occur clash between given vector and target + SUCCESS if cut operation was completed. + + 2. BooleanCut(target: MSPyDgnPlatform.ISolidKernelEntity, planarTool: MSPyBentleyGeom.CurveVector, directionMode: MSPyMstnPlatform.SolidUtil.Modify.CutDirectionMode, depthMode: MSPyMstnPlatform.SolidUtil.Modify.CutDepthMode, distance: float, invert: bool, defaultNormal: MSPyBentleyGeom.DVec3d, nodeId: int, cutDirection: MSPyBentleyGeom.DVec3d) -> MSPyDgnPlatform.BentleyStatus + + Modify the target body by subtracting a cut body produced from + sweeping the sheet tool body according to the specified cut direction + and depth. + + :param target: + The target body to modify. + + :param planarTool: + The planar sheet body for the cut profile. + + :param directionMode: + The sweep direction relative to the sheet body normal of the cut + profile. + + :param depthMode: + To specify if the cut should extended through the entire body or + only create a pocket of fixed depth. + + :param distance: + To specify the cut depth for CutDepthMode.Blind. + + :param invert: + Set true to reverse the sense of the tool (outside rather than + inside if closed). + + :param defaultNormal: + If not NULL, uused to to determine the cut direction only if the + tool is a line segment. + + :param nodeId: + The node id of the entity. + + :returns: + SUCCESS if cut operation was completed. """ ... - class CutDepthMode: - """ - Members: - - eAll - - eBlind - """ - - def __init__(self: MSPyMstnPlatform.SolidUtil.Modify.CutDepthMode, value: int) -> None: + @staticmethod + def BooleanIntersect(target: MSPyDgnPlatform.ISolidKernelEntity, tools: MSPyDgnPlatform.ISolidKernelEntityPtrArray) -> MSPyDgnPlatform.BentleyStatus: + """ + Modify the target body by intersecting with one or more tool bodies. + + :param target: + The target body to modify. + + :param tools: + A list of one or more tool bodies (consumed in boolean). + + :param nTools: + Count of tool bodies. + + :returns: + SUCCESS if boolean operation was completed. + """ ... - eAll: CutDepthMode - - eBlind: CutDepthMode - - @property - def name(self: handle) -> str: + @staticmethod + def BooleanSubtract(target: MSPyDgnPlatform.ISolidKernelEntity, tools: MSPyDgnPlatform.ISolidKernelEntityPtrArray) -> MSPyDgnPlatform.BentleyStatus: + """ + Modify the target body by subtracting one or more tool bodies. + + :param target: + The target body to modify. + + :param tools: + Array of one or more tool bodies (consumed in boolean). + + :param nTools: + Count of tool bodies. + + :returns: + SUCCESS if boolean operation was completed. + """ ... - @property - def value(arg0: MSPyMstnPlatform.SolidUtil.Modify.CutDepthMode) -> int: + @staticmethod + def BooleanUnion(target: MSPyDgnPlatform.ISolidKernelEntity, tools: MSPyDgnPlatform.ISolidKernelEntityPtrArray) -> MSPyDgnPlatform.BentleyStatus: + """ + Modify the target body by uniting with one or more tool bodies. + + :param target: + The target body to modify. + + :param tools: + Array of one or more tool bodies (consumed in boolean). + + :param nTools: + Count of tool bodies. + + :returns: + SUCCESS if boolean operation was completed. + """ ... - class CutDirectionMode: - """ - Members: - - eForward - - eBackward - - eBoth - """ - - def __init__(self: MSPyMstnPlatform.SolidUtil.Modify.CutDirectionMode, value: int) -> None: + @staticmethod + def ChamferEdges(*args, **kwargs): + """ + Overloaded function. + + 1. ChamferEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: MSPyDgnPlatform.ISubEntityPtrArray, values1: MSPyBentleyGeom.DoubleArray, values2: MSPyBentleyGeom.DoubleArray, mode: MSPyMstnPlatform.SolidUtil.Modify.ChamferMode, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus + + Modify the specified edges of the given body by changing them into + faces having the requested chamfer surface geometry. + + :param target: + The target body to chamfer. + + :param edges: + The array of edge sub-entities to attach chamfers to. + + :param values1: + The array of chamfer values for each edge, value meaning varies by + ChamferMode. + + :param values2: + The array of chamfer values for each edge, value meaning varies by + ChamferMode. (Unused for ChamferMode.Length) + + :param nEdges: + Count of edge sub-entities. + + :param mode: + Specifies chamfer type and determines how values1 and values2 are + interpreted and used. + + :param propagateSmooth: + Whether to automatically continue chamfer along connected and + tangent edges that aren't explicitly specified in edges array. + + :returns: + SUCCESS if chamfers could be created. + + 2. ChamferEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: MSPyDgnPlatform.ISubEntityPtrArray, values1: list, values2: MSPyBentleyGeom.DoubleArray, mode: MSPyMstnPlatform.SolidUtil.Modify.ChamferMode, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus + + Modify the specified edges of the given body by changing them into + faces having the requested chamfer surface geometry. + + :param target: + The target body to chamfer. + + :param edges: + The array of edge sub-entities to attach chamfers to. + + :param values1: + The array of chamfer values for each edge, value meaning varies by + ChamferMode. + + :param values2: + The array of chamfer values for each edge, value meaning varies by + ChamferMode. (Unused for ChamferMode.Length) + + :param nEdges: + Count of edge sub-entities. + + :param mode: + Specifies chamfer type and determines how values1 and values2 are + interpreted and used. + + :param propagateSmooth: + Whether to automatically continue chamfer along connected and + tangent edges that aren't explicitly specified in edges array. + + :returns: + SUCCESS if chamfers could be created. + + 3. ChamferEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: MSPyDgnPlatform.ISubEntityPtrArray, values1: MSPyBentleyGeom.DoubleArray, values2: list, mode: MSPyMstnPlatform.SolidUtil.Modify.ChamferMode, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus + + Modify the specified edges of the given body by changing them into + faces having the requested chamfer surface geometry. + + :param target: + The target body to chamfer. + + :param edges: + The array of edge sub-entities to attach chamfers to. + + :param values1: + The array of chamfer values for each edge, value meaning varies by + ChamferMode. + + :param values2: + The array of chamfer values for each edge, value meaning varies by + ChamferMode. (Unused for ChamferMode.Length) + + :param nEdges: + Count of edge sub-entities. + + :param mode: + Specifies chamfer type and determines how values1 and values2 are + interpreted and used. + + :param propagateSmooth: + Whether to automatically continue chamfer along connected and + tangent edges that aren't explicitly specified in edges array. + + :returns: + SUCCESS if chamfers could be created. + + 4. ChamferEdges(target: MSPyDgnPlatform.ISolidKernelEntity, edges: MSPyDgnPlatform.ISubEntityPtrArray, values1: list, values2: list, mode: MSPyMstnPlatform.SolidUtil.Modify.ChamferMode, propagateSmooth: bool = True) -> MSPyDgnPlatform.BentleyStatus + + Modify the specified edges of the given body by changing them into + faces having the requested chamfer surface geometry. + + :param target: + The target body to chamfer. + + :param edges: + The array of edge sub-entities to attach chamfers to. + + :param values1: + The array of chamfer values for each edge, value meaning varies by + ChamferMode. + + :param values2: + The array of chamfer values for each edge, value meaning varies by + ChamferMode. (Unused for ChamferMode.Length) + + :param nEdges: + Count of edge sub-entities. + + :param mode: + Specifies chamfer type and determines how values1 and values2 are + interpreted and used. + + :param propagateSmooth: + Whether to automatically continue chamfer along connected and + tangent edges that aren't explicitly specified in edges array. + + :returns: + SUCCESS if chamfers could be created. + """ ... - eBackward: CutDirectionMode - - eBoth: CutDirectionMode - - eForward: CutDirectionMode + class ChamferMode: + """ + Members: + + eRanges + + eLength + + eDistances + + eDistanceAngle + + eAngleDistance + """ - @property - def name(self: handle) -> str: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + + eAngleDistance: ChamferMode + + eDistanceAngle: ChamferMode + + eDistances: ChamferMode + + eLength: ChamferMode + + eRanges: ChamferMode + + @property + def name(self: handle) -> str: + ... + + @property + def value(arg0: MSPyMstnPlatform.SolidUtil.Modify.ChamferMode) -> int: + ... + + @staticmethod + def ClashDetectionBetweenTargetAndTool(target: MSPyDgnPlatform.ISolidKernelEntity, planarTool: MSPyBentleyGeom.CurveVector, directionMode: MSPyMstnPlatform.SolidUtil.Modify.CutDirectionMode, depthMode: MSPyMstnPlatform.SolidUtil.Modify.CutDepthMode, distance: float, defaultNormal: MSPyBentleyGeom.DVec3d, cutDirection: MSPyBentleyGeom.DVec3d) -> MSPyDgnPlatform.BentleyStatus: + """ + Get clash result between target and tool from the list of targets + + :param clashTool: + List of target tool causing clashes with the target + + :param target: + The target body + + :param planarTool: + The planar sheet body for the cut profile. + + :param directionMode: + The sweep direction relative to the sheet body normal of the cut + profile. + + :param depthMode: + To specify if the cut should extended through the entire body or + only create a pocket of fixed depth. + + :param distance: + To specify the cut depth for CutDepthMode.Blind. + + :param invert: + Set true to reverse the sense of the tool (outside rather than + inside if closed). + + :param defaultNormal: + If not NULL, uused to to determine the cut direction only if the + tool is a line segment. + + :param cutDirection: + Cut direction + + :returns: + SUCCESS if there occur clash between given vector and target + """ ... - @property - def value(arg0: MSPyMstnPlatform.SolidUtil.Modify.CutDirectionMode) -> int: - ... + class CutDepthMode: + """ + Members: + + eAll + + eBlind + """ - @staticmethod - def DeleteFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray) -> MSPyDgnPlatform.BentleyStatus: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + + eAll: CutDepthMode + + eBlind: CutDepthMode + + @property + def name(self: handle) -> str: + ... + + @property + def value(arg0: MSPyMstnPlatform.SolidUtil.Modify.CutDepthMode) -> int: + ... + + class CutDirectionMode: + """ + Members: + + eForward + + eBackward + + eBoth + """ + + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + + eBackward: CutDirectionMode + + eBoth: CutDirectionMode + + eForward: CutDirectionMode + + @property + def name(self: handle) -> str: + ... + + @property + def value(arg0: MSPyMstnPlatform.SolidUtil.Modify.CutDirectionMode) -> int: + ... + + @staticmethod + def DeleteFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray) -> MSPyDgnPlatform.BentleyStatus: """ Modify the target solid or sheet body by removing selected faces and healing. @@ -37580,8 +39991,8 @@ class SolidUtil: """ ... - @staticmethod - def DeleteRedundantTopology(target: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def DeleteRedundantTopology(target: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: """ Modify the target body by removing redundant topology. An example of redundant topololgy would be an edge where the faces on either side @@ -37595,8 +40006,8 @@ class SolidUtil: """ ... - @staticmethod - def Emboss(target: MSPyDgnPlatform.ISolidKernelEntity, tool: MSPyDgnPlatform.ISolidKernelEntity, reverseDirection: bool) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def Emboss(target: MSPyDgnPlatform.ISolidKernelEntity, tool: MSPyDgnPlatform.ISolidKernelEntity, reverseDirection: bool) -> MSPyDgnPlatform.BentleyStatus: """ Modify the target body by adding a protrusion constructed from the sheet tool body and its imprint on the target body. @@ -37616,10 +40027,43 @@ class SolidUtil: """ ... - @staticmethod - def HollowFaces(*args, **kwargs): + @staticmethod + def HollowFaces(*args, **kwargs): """ - HollowFaces(target: MSPyDgnPlatform.ISolidKernelEntity, defaultDistance: float, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: MSPyBentleyGeom.DoubleArray, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption = ) -> MSPyDgnPlatform.BentleyStatus + Overloaded function. + + 1. HollowFaces(target: MSPyDgnPlatform.ISolidKernelEntity, defaultDistance: float, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: MSPyBentleyGeom.DoubleArray, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption = StepFacesOption.eADD_STEP_NonCoincident) -> MSPyDgnPlatform.BentleyStatus + + Modify the target solid body by hollowing using specified face + offsets. + + :param target: + The target body to hollow. + + :param defaultDistance: + The offset distance to apply to any face not specifically included + in the faces array. + + :param faces: + The array of faces to be offset by other than the default offset + distance. + + :param distances: + The array of offsets for each face. + + :param nFaces: + Count of face sub-entities. + + :param addStep: + The option for how to handle the creation of step faces. @note A + positive offset goes outwards (in the direction of the surface + normal), a negative offset is inwards, and a face with zero offset + will be pierced/removed. + + :returns: + SUCCESS if hollow could be created. + + 2. HollowFaces(target: MSPyDgnPlatform.ISolidKernelEntity, defaultDistance: float, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: list, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption = StepFacesOption.eADD_STEP_NonCoincident) -> MSPyDgnPlatform.BentleyStatus Modify the target solid body by hollowing using specified face offsets. @@ -37652,8 +40096,8 @@ class SolidUtil: """ ... - @staticmethod - def ImprintCurveVectorOnBody(target: MSPyDgnPlatform.ISolidKernelEntity, curveVector: MSPyBentleyGeom.CurveVector, direction: MSPyBentleyGeom.DVec3d, extendOpenCurvesToEdge: bool = True) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def ImprintCurveVectorOnBody(target: MSPyDgnPlatform.ISolidKernelEntity, curveVector: MSPyBentleyGeom.CurveVector, direction: MSPyBentleyGeom.DVec3d, extendOpenCurvesToEdge: bool = True) -> MSPyDgnPlatform.BentleyStatus: """ Modify the target body by imprinting new edges from the specified curve vector. @@ -37676,8 +40120,8 @@ class SolidUtil: """ ... - @staticmethod - def ImprintWiresOnFace(face: MSPyDgnPlatform.ISubEntity, wires: MSPyDgnPlatform.ISolidKernelEntityPtrArray, extendToEdge: bool) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def ImprintWiresOnFace(face: MSPyDgnPlatform.ISubEntity, wires: MSPyDgnPlatform.ISolidKernelEntityPtrArray, extendToEdge: bool) -> MSPyDgnPlatform.BentleyStatus: """ Modify a face of a body by imprinting the specified wire bodies. @@ -37696,10 +40140,34 @@ class SolidUtil: """ ... - @staticmethod - def OffsetFaces(*args, **kwargs): + @staticmethod + def OffsetFaces(*args, **kwargs): """ - OffsetFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: MSPyBentleyGeom.DoubleArray, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption = ) -> MSPyDgnPlatform.BentleyStatus + Overloaded function. + + 1. OffsetFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: MSPyBentleyGeom.DoubleArray, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption = StepFacesOption.eADD_STEP_NonCoincident) -> MSPyDgnPlatform.BentleyStatus + + Modify the target solid or sheet body by offsetting selected faces. + + :param target: + The target body to modify. + + :param faces: + The array of faces to be offset. + + :param distances: + The array of offsets for each face. + + :param nFaces: + Count of face sub-entities. + + :param addStep: + The option for how to handle the creation of step faces. + + :returns: + SUCCESS if faces could be offset. + + 2. OffsetFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: list, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption = StepFacesOption.eADD_STEP_NonCoincident) -> MSPyDgnPlatform.BentleyStatus Modify the target solid or sheet body by offsetting selected faces. @@ -37723,16 +40191,44 @@ class SolidUtil: """ ... - @staticmethod - def OffsetFacesWithStatus(*args, **kwargs): + @staticmethod + def OffsetFacesWithStatus(*args, **kwargs): """ - OffsetFacesWithStatus(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: MSPyBentleyGeom.DoubleArray, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption, offsetStatus: int = ) -> tuple + Overloaded function. + + 1. OffsetFacesWithStatus(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: MSPyBentleyGeom.DoubleArray, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption, offsetStatus: int = StepFacesOption.eADD_STEP_NonCoincident) -> tuple + + 2. OffsetFacesWithStatus(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: list, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption, offsetStatus: int = StepFacesOption.eADD_STEP_NonCoincident) -> tuple """ ... - @staticmethod - def OffsetThroughHole(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: MSPyBentleyGeom.DoubleArray) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def OffsetThroughHole(*args, **kwargs): """ + Overloaded function. + + 1. OffsetThroughHole(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: MSPyBentleyGeom.DoubleArray) -> MSPyDgnPlatform.BentleyStatus + + Modify the target solid by offsetting face through body. It will punch + hole . + + :param target: + The target body to modify. + + :param faces: + The array of faces to be offset. + + :param distances: + The array of offsets for each face. + + :param nFaces: + Count of face sub-entities. + + :returns: + SUCCESS if hole cutting is successfull. + + 2. OffsetThroughHole(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, distances: list) -> MSPyDgnPlatform.BentleyStatus + Modify the target solid by offsetting face through body. It will punch hole . @@ -37753,8 +40249,8 @@ class SolidUtil: """ ... - @staticmethod - def SewBodies(sewn: MSPyDgnPlatform.ISolidKernelEntityPtrArray, unsewn: MSPyDgnPlatform.ISolidKernelEntityPtrArray, tools: MSPyDgnPlatform.ISolidKernelEntityPtrArray, gapWidthBound: float, nIterations: int = 1) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def SewBodies(sewn: MSPyDgnPlatform.ISolidKernelEntityPtrArray, unsewn: MSPyDgnPlatform.ISolidKernelEntityPtrArray, tools: MSPyDgnPlatform.ISolidKernelEntityPtrArray, gapWidthBound: float, nIterations: int = 1) -> MSPyDgnPlatform.BentleyStatus: """ Sew the given set of sheet bodies together by joining those that share edges in common. @@ -37784,8 +40280,8 @@ class SolidUtil: """ ... - @staticmethod - def SpinBody(target: MSPyDgnPlatform.ISolidKernelEntity, axis: MSPyBentleyGeom.DRay3d, angle: float) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def SpinBody(target: MSPyDgnPlatform.ISolidKernelEntity, axis: MSPyBentleyGeom.DRay3d, angle: float) -> MSPyDgnPlatform.BentleyStatus: """ Modify the target body by spinning along an arc specified by a revolve axis and sweep angle. @@ -37805,8 +40301,8 @@ class SolidUtil: """ ... - @staticmethod - def SpinFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, axis: MSPyBentleyGeom.DRay3d, angle: float) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def SpinFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, axis: MSPyBentleyGeom.DRay3d, angle: float) -> MSPyDgnPlatform.BentleyStatus: """ Modify the target solid or sheet body by spinning selected faces along an arc specified by a revolve axis and sweep angle. @@ -37831,40 +40327,46 @@ class SolidUtil: """ ... - class StepFacesOption: - """ - Members: - - eADD_STEP_No - - eADD_STEP_Smooth - - eADD_STEP_NonCoincident - - eADD_STEP_All - """ - - def __init__(self: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption, value: int) -> None: - ... - - eADD_STEP_All: StepFacesOption - - eADD_STEP_No: StepFacesOption - - eADD_STEP_NonCoincident: StepFacesOption - - eADD_STEP_Smooth: StepFacesOption - - @property - def name(self: handle) -> str: - ... - - @property - def value(arg0: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption) -> int: - ... + class StepFacesOption: + """ + Members: + + eADD_STEP_No + + eADD_STEP_Smooth + + eADD_STEP_NonCoincident + + eADD_STEP_All + """ - @staticmethod - def SweepBody(target: MSPyDgnPlatform.ISolidKernelEntity, path: MSPyBentleyGeom.DVec3d) -> MSPyDgnPlatform.BentleyStatus: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... + + eADD_STEP_All: StepFacesOption + + eADD_STEP_No: StepFacesOption + + eADD_STEP_NonCoincident: StepFacesOption + + eADD_STEP_Smooth: StepFacesOption + + @property + def name(self: handle) -> str: + ... + + @property + def value(arg0: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption) -> int: + ... + + @staticmethod + def SweepBody(target: MSPyDgnPlatform.ISolidKernelEntity, path: MSPyBentleyGeom.DVec3d) -> MSPyDgnPlatform.BentleyStatus: """ Modify the target body by sweeping along a path vector. @@ -37880,8 +40382,8 @@ class SolidUtil: """ ... - @staticmethod - def SweepFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, path: MSPyBentleyGeom.DVec3d) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def SweepFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, path: MSPyBentleyGeom.DVec3d) -> MSPyDgnPlatform.BentleyStatus: """ Modify the target solid or sheet body by sweeping selected faces along a path vector. @@ -37903,8 +40405,8 @@ class SolidUtil: """ ... - @staticmethod - def ThickenSheet(target: MSPyDgnPlatform.ISolidKernelEntity, frontDistance: float, backDistance: float) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def ThickenSheet(target: MSPyDgnPlatform.ISolidKernelEntity, frontDistance: float, backDistance: float) -> MSPyDgnPlatform.BentleyStatus: """ Modify the target sheet body by thickening to create a solid body. @@ -37924,12 +40426,12 @@ class SolidUtil: """ ... - @staticmethod - def ThickenSheetWithStatus(target: MSPyDgnPlatform.ISolidKernelEntity, frontDistance: float, backDistance: float, status: int) -> tuple: + @staticmethod + def ThickenSheetWithStatus(target: MSPyDgnPlatform.ISolidKernelEntity, frontDistance: float, backDistance: float, status: int) -> tuple: ... - @staticmethod - def TransformBody(entity: MSPyDgnPlatform.ISolidKernelEntity, transform: MSPyBentleyGeom.Transform) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def TransformBody(entity: MSPyDgnPlatform.ISolidKernelEntity, transform: MSPyBentleyGeom.Transform) -> MSPyDgnPlatform.BentleyStatus: """ Modify the entity transform for the given body by pre-multiplying the current entity transform with the input transform. @@ -37949,11 +40451,9 @@ class SolidUtil: """ ... - @staticmethod - def TransformFaces(*args, **kwargs): + @staticmethod + def TransformFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, translations: MSPyBentleyGeom.TransformArray, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption = StepFacesOption.eADD_STEP_NonCoincident) -> MSPyDgnPlatform.BentleyStatus: """ - TransformFaces(target: MSPyDgnPlatform.ISolidKernelEntity, faces: MSPyDgnPlatform.ISubEntityPtrArray, translations: MSPyBentleyGeom.TransformArray, addStep: MSPyMstnPlatform.SolidUtil.Modify.StepFacesOption = ) -> MSPyDgnPlatform.BentleyStatus - Modify the target solid or sheet body by transforming selected faces. :param target: @@ -37976,11 +40476,14 @@ class SolidUtil: """ ... - def __init__(*args, **kwargs): - """ - Initialize self. See help(type(self)) for accurate signature. - """ - ... + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): + ... eADD_STEP_All: StepFacesOption @@ -38037,24 +40540,24 @@ class SolidUtil: None """ - @staticmethod - def AddNodeIdAttributes(entity: MSPyDgnPlatform.ISolidKernelEntity, nodeId: int, overrideExisting: bool) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def AddNodeIdAttributes(entity: MSPyDgnPlatform.ISolidKernelEntity, nodeId: int, overrideExisting: bool) -> MSPyDgnPlatform.BentleyStatus: ... - @staticmethod - def DeleteNodeIdAttributes(entity: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def DeleteNodeIdAttributes(entity: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: ... - @staticmethod - def EdgesFromId(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, edgeId: MSPyBentleyGeom.EdgeId, entity: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def EdgesFromId(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, edgeId: MSPyBentleyGeom.EdgeId, entity: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: ... - @staticmethod - def FacesFromId(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, faceId: MSPyBentleyGeom.FaceId, entity: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def FacesFromId(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, faceId: MSPyBentleyGeom.FaceId, entity: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: ... - @staticmethod - def FindNodeIdRange(entity: MSPyDgnPlatform.ISolidKernelEntity) -> tuple: + @staticmethod + def FindNodeIdRange(entity: MSPyDgnPlatform.ISolidKernelEntity) -> tuple: """ Find the highest and lowest nodeId values from the topology ids currently assigned to the faces of the given body. Used to avoid @@ -38074,8 +40577,8 @@ class SolidUtil: """ ... - @staticmethod - def IdFromEdge(subEntity: MSPyDgnPlatform.ISubEntity, useHighestId: bool) -> tuple: + @staticmethod + def IdFromEdge(subEntity: MSPyDgnPlatform.ISubEntity, useHighestId: bool) -> tuple: """ Get the EdgeId currently assigned to a given edge sub-entity. @@ -38094,8 +40597,8 @@ class SolidUtil: """ ... - @staticmethod - def IdFromFace(subEntity: MSPyDgnPlatform.ISubEntity, useHighestId: bool) -> tuple: + @staticmethod + def IdFromFace(subEntity: MSPyDgnPlatform.ISubEntity, useHighestId: bool) -> tuple: """ Get the FaceId currently assigned to a given face sub-entity. @@ -38114,8 +40617,8 @@ class SolidUtil: """ ... - @staticmethod - def IdFromVertex(subEntity: MSPyDgnPlatform.ISubEntity, useHighestId: bool) -> tuple: + @staticmethod + def IdFromVertex(subEntity: MSPyDgnPlatform.ISubEntity, useHighestId: bool) -> tuple: """ Get the VertexId currently assigned to a given vertex sub-entity. @@ -38134,37 +40637,46 @@ class SolidUtil: """ ... - @staticmethod - def IncrementNodeIdAttributes(entity: MSPyDgnPlatform.ISolidKernelEntity, increment: int) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def IncrementNodeIdAttributes(entity: MSPyDgnPlatform.ISolidKernelEntity, increment: int) -> MSPyDgnPlatform.BentleyStatus: ... - @staticmethod - def VerticesFromId(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, vertexId: MSPyBentleyGeom.VertexId, entity: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: + @staticmethod + def VerticesFromId(subEntities: MSPyDgnPlatform.ISubEntityPtrArray, vertexId: MSPyBentleyGeom.VertexId, entity: MSPyDgnPlatform.ISolidKernelEntity) -> MSPyDgnPlatform.BentleyStatus: ... - def __init__(*args, **kwargs): - """ - Initialize self. See help(type(self)) for accurate signature. - """ - ... + class __class__(type): + """ + None + """ + ... - def __init__(*args, **kwargs): + def __init__(self, *args, **kwargs): + ... + + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SolverGeometry: """ None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StateCallback: """ None @@ -38202,12 +40714,15 @@ class StateCallback: def SetResetFunction(newFunc: Callable[[str], None], funcID: str) -> Callable[[str], None]: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class StringUtility: """ None @@ -38229,12 +40744,15 @@ class StringUtility: def ToUors(arg0: MSPyBentley.WString) -> float: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SubstituteElemStatus: """ Members: @@ -38244,7 +40762,13 @@ class SubstituteElemStatus: eSUBSTELEM_STATUS_Block """ - def __init__(self: MSPyMstnPlatform.SubstituteElemStatus, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSUBSTELEM_STATUS_Block: SubstituteElemStatus @@ -38270,7 +40794,13 @@ class SurfaceOrientation: eAntiAligned """ - def __init__(self: MSPyMstnPlatform.SurfaceOrientation, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eAligned: SurfaceOrientation @@ -38410,7 +40940,13 @@ class SysColor: eSYSCOLOR_NCOLORS """ - def __init__(self: MSPyMstnPlatform.SysColor, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSYSCOLOR_BACKGROUND_PALEYELLOW: SysColor @@ -38975,12 +41511,15 @@ class SystemCallback: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class SystemRefAttachQueueState: """ Members: @@ -38990,7 +41529,13 @@ class SystemRefAttachQueueState: eSYSTEM_REFATTACHQUEUE_Done """ - def __init__(self: MSPyMstnPlatform.SystemRefAttachQueueState, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSYSTEM_REFATTACHQUEUE_Done: SystemRefAttachQueueState @@ -39024,7 +41569,13 @@ class TextStyleChangeType: eTEXTSTYLE_CHANGE_BEFORE_MODIFY """ - def __init__(self: MSPyMstnPlatform.TextStyleChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eTEXTSTYLE_CHANGE_ADD: TextStyleChangeType @@ -39062,7 +41613,13 @@ class UIItemStateType: eChecked """ - def __init__(self: MSPyMstnPlatform.UIItemStateType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eChecked: UIItemStateType @@ -39106,7 +41663,13 @@ class UnloadProgramReason: eSYSTEM_TERMINATED_EXCEPTION """ - def __init__(self: MSPyMstnPlatform.UnloadProgramReason, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eSYSTEM_TERMINATED_BY_APP: UnloadProgramReason @@ -39170,7 +41733,13 @@ class VertexType: ePlanarFace """ - def __init__(self: MSPyMstnPlatform.VertexType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eArcPoint: VertexType @@ -39214,6 +41783,16 @@ class VertexTypeArray: None """ + def __getitem__(self, index: int) -> Any: + """Get item by index.""" + ... + class __class__(type): + """ + None + """ + ... + + @staticmethod def __init__(*args, **kwargs): """ Overloaded function. @@ -39246,6 +41825,7 @@ class VertexTypeArray: """ ... + @staticmethod def extend(*args, **kwargs): """ Overloaded function. @@ -39266,6 +41846,7 @@ class VertexTypeArray: """ ... + @staticmethod def pop(*args, **kwargs): """ Overloaded function. @@ -39339,8 +41920,10 @@ class ViewCallback: ... @staticmethod - def SetUpdatePostFunction(newFunc: Callable[[bool, MSPyDgnPlatform.DgnDrawMode, MSPyDgnPlatform.DgnModelRefList, List[MSPyMstnPlatform.Asynch_update_view], MSPyDgnPlatform.ViewContext, List[int], List[msDisplayDescr]], int], funcID: str) -> Callable[[bool, MSPyDgnPlatform.DgnDrawMode, MSPyDgnPlatform.DgnModelRefList, List[MSPyMstnPlatform.Asynch_update_view], MSPyDgnPlatform.ViewContext, List[int], List[msDisplayDescr]], int]: + def SetUpdatePostFunction(*args, **kwargs): """ + SetUpdatePostFunction(newFunc: Callable[[bool, MSPyDgnPlatform.DgnDrawMode, MSPyDgnPlatform.DgnModelRefList, List[MSPyMstnPlatform.Asynch_update_view], MSPyDgnPlatform.ViewContext, List[int], List[msDisplayDescr]], int], funcID: str) -> Callable[[bool, MSPyDgnPlatform.DgnDrawMode, MSPyDgnPlatform.DgnModelRefList, List[MSPyMstnPlatform.Asynch_update_view], MSPyDgnPlatform.ViewContext, List[int], List[msDisplayDescr]], int] + @Description An MDL application can use this to set a function to be called after a view updates. @Param[in] newFunc The new function to call, or NULL. @Return The return value is the previous function that @@ -39354,8 +41937,10 @@ class ViewCallback: ... @staticmethod - def SetUpdatePreFunction(newFunc: Callable[[bool, MSPyDgnPlatform.DgnDrawMode, MSPyDgnPlatform.DgnModelRefList, List[MSPyMstnPlatform.Asynch_update_view], MSPyDgnPlatform.ViewContext, List[int], List[msDisplayDescr]], int], funcID: str) -> Callable[[bool, MSPyDgnPlatform.DgnDrawMode, MSPyDgnPlatform.DgnModelRefList, List[MSPyMstnPlatform.Asynch_update_view], MSPyDgnPlatform.ViewContext, List[int], List[msDisplayDescr]], int]: + def SetUpdatePreFunction(*args, **kwargs): """ + SetUpdatePreFunction(newFunc: Callable[[bool, MSPyDgnPlatform.DgnDrawMode, MSPyDgnPlatform.DgnModelRefList, List[MSPyMstnPlatform.Asynch_update_view], MSPyDgnPlatform.ViewContext, List[int], List[msDisplayDescr]], int], funcID: str) -> Callable[[bool, MSPyDgnPlatform.DgnDrawMode, MSPyDgnPlatform.DgnModelRefList, List[MSPyMstnPlatform.Asynch_update_view], MSPyDgnPlatform.ViewContext, List[int], List[msDisplayDescr]], int] + @Description An MDL application can use this to set a function to be called before a view updates. @Param[in] newFunc The new function to call, or NULL. @Return The return value is the previous function that @@ -39367,12 +41952,15 @@ class ViewCallback: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class ViewGroupChangeType: """ Members: @@ -39388,7 +41976,13 @@ class ViewGroupChangeType: eVIEWGROUP_CACHE_CHANGE_REDIRECT """ - def __init__(self: MSPyMstnPlatform.ViewGroupChangeType, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eVIEWGROUP_CACHE_CHANGE_ACTIVATE: ViewGroupChangeType @@ -39439,12 +42033,15 @@ class WindowInfo: """ ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + class Workmode: """ Members: @@ -39456,7 +42053,13 @@ class Workmode: eWORKMODE_V7 """ - def __init__(self: MSPyMstnPlatform.Workmode, value: int) -> None: + class __class__(type): + """ + None + """ + ... + + def __init__(self, *args, **kwargs): ... eWORKMODE_DGN: Workmode @@ -43047,8 +45650,6 @@ eTimeout: ButtonTrans eToDevice: PlotDestination -eToIpserver: PlotDestination - eToMetaFile: PlotDestination eToPlotFile: PlotDestination @@ -43180,12 +45781,15 @@ class fitViewOptions: None """ - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + @property def disableCenterCamera(arg0: MSPyMstnPlatform.fitViewOptions) -> int: ... @@ -44301,9 +46905,12 @@ class mdlElmdscrFunc: def Validate(p: MSPyDgnPlatform.MSElementDescr, modelRef: MSPyDgnPlatform.DgnModelRef) -> None: ... - def __init__(*args, **kwargs): + class __class__(type): """ - Initialize self. See help(type(self)) for accurate signature. + None """ ... + def __init__(self, *args, **kwargs): + ... + diff --git a/MSPythonSamples/ItemType/Attach/ItemTypeAttachDetach.py b/MSPythonSamples/ItemType/Attach/ItemTypeAttachDetach.py index 0b99859..f4c7d52 100644 --- a/MSPythonSamples/ItemType/Attach/ItemTypeAttachDetach.py +++ b/MSPythonSamples/ItemType/Attach/ItemTypeAttachDetach.py @@ -112,7 +112,7 @@ def CreateLine (dgnmodel, x1, y1, x2, y2): return True # Return True to indicate that the creation was successful -def AttachItemType(): +def AttachItemType(unparse: str = ""): """ Attach an item type to an element. @@ -161,7 +161,7 @@ def AttachItemType(): print ('END: Attached successfully \n') # Print a message indicating the end of the function -def DetachItemType(): +def DetachItemType(unparse: str = ""): """ Detach an item type from an element. diff --git a/MSPythonSamples/ItemType/CRUD/ItemTypeCRUD.py b/MSPythonSamples/ItemType/CRUD/ItemTypeCRUD.py index 6f67494..a2c27ce 100644 --- a/MSPythonSamples/ItemType/CRUD/ItemTypeCRUD.py +++ b/MSPythonSamples/ItemType/CRUD/ItemTypeCRUD.py @@ -22,7 +22,7 @@ ''' Function to create item type library, item type and property ''' -def CreateItemTypeLibraryItemTypeAndProperty () : +def CreateItemTypeLibraryItemTypeAndProperty (unparse: str = "") : """ Create an item type library, item type, and property. @@ -66,7 +66,7 @@ def CreateItemTypeLibraryItemTypeAndProperty () : print ('END: Created Successfully \n') # Print a message indicating that the creation was successful -def ReadItemTypePropertyDefaultValue () : +def ReadItemTypePropertyDefaultValue (unparse: str = "") : """ Read the default value of an item type property. @@ -104,7 +104,7 @@ def ReadItemTypePropertyDefaultValue () : print ('END: Read successfully! ' + 'Value of the property is: ' + ecval.String + '\n') # Print a message indicating that the read operation was successful -def UpdateTypePropertyDefaultValue () : +def UpdateTypePropertyDefaultValue (unparse: str = "") : """ Update the default value of an item type property. @@ -146,7 +146,7 @@ def UpdateTypePropertyDefaultValue () : print ('END: Updated successfully! ' + 'New Value of the property is:' + newECVal.String + '\n') # Print a message indicating that the update was successful -def DeleteItemTypeLibraryItemAndProperty(): +def DeleteItemTypeLibraryItemAndProperty(unparse: str = ""): """ Delete the item type library, item type, and property. diff --git a/MSPythonSamples/ItemType/Custom/ItemTypeCustomProperty.py b/MSPythonSamples/ItemType/Custom/ItemTypeCustomProperty.py index 38b3b11..ee794a2 100644 --- a/MSPythonSamples/ItemType/Custom/ItemTypeCustomProperty.py +++ b/MSPythonSamples/ItemType/Custom/ItemTypeCustomProperty.py @@ -20,7 +20,7 @@ g_myItemTypeName = str('MyItemType') -def CreateLibWithArrayStructAndArrayofStruct (): +def CreateLibWithArrayStructAndArrayofStruct (unparse: str = ""): """ Create an Item type library, item type, and custom property type. @@ -115,7 +115,7 @@ def CreateLine (dgnmodel, x1, y1, x2, y2): return True -def ReadAndUpdateProperty (): +def ReadAndUpdateProperty (unparse: str = ""): """ Read the entries set on an element and update it. diff --git a/MSPythonSamples/ParametricModeling/PSampUtility.py b/MSPythonSamples/ParametricModeling/PSampUtility.py index 352b9ac..c543490 100644 --- a/MSPythonSamples/ParametricModeling/PSampUtility.py +++ b/MSPythonSamples/ParametricModeling/PSampUtility.py @@ -34,7 +34,7 @@ def GetOrCreateModel(modelName, parametricForNewModal): dgnFile = ISessionMgr.GetActiveDgnFile() # Load root model with the model name - model, status = dgnFile.LoadRootModelById(dgnFile.FindModelIdByName(modelName), True, False, True) + status, model = dgnFile.LoadRootModelById(dgnFile.FindModelIdByName(modelName), True, False, True) # Create new model with given name if not exist if (model is None): diff --git a/MSPythonSamples/ParametricModeling/ParametricCell.py b/MSPythonSamples/ParametricModeling/ParametricCell.py index 814da97..2321a11 100644 --- a/MSPythonSamples/ParametricModeling/ParametricCell.py +++ b/MSPythonSamples/ParametricModeling/ParametricCell.py @@ -77,7 +77,7 @@ def getCellModelFromAttachedLib(libName, cellName): dgnFile.FillDictionaryModel() # Load cell model by cell name - cellModel, status = dgnFile.LoadRootModelById(dgnFile.FindModelIdByName(cellName), True, False, True) + status, cellModel = dgnFile.LoadRootModelById(dgnFile.FindModelIdByName(cellName), True, False, True) if (cellModel is None): return None diff --git a/MSPythonSamples/ParametricModeling/VariableAndVariation.py b/MSPythonSamples/ParametricModeling/VariableAndVariation.py index de71f17..3348754 100644 --- a/MSPythonSamples/ParametricModeling/VariableAndVariation.py +++ b/MSPythonSamples/ParametricModeling/VariableAndVariation.py @@ -185,7 +185,7 @@ def ExportVariables(dgnModel, csvPath): return False # Open csv file for writing - csvFile, status = BeTextFile.Open(csvPath, TextFileOpenType.eWrite, TextFileOptions.eNone_, TextFileEncoding.eCurrentLocale) + status, csvFile = BeTextFile.Open(csvPath, TextFileOpenType.eWrite, TextFileOptions.eNone_, TextFileEncoding.eCurrentLocale) if (csvFile is None): return False diff --git a/MSPythonSamples/ReportSample/ReportExample.commands.xml b/MSPythonSamples/ReportSample/ReportExample.commands.xml new file mode 100644 index 0000000..bdde3a3 --- /dev/null +++ b/MSPythonSamples/ReportSample/ReportExample.commands.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MSPythonSamples/ReportSample/report_Example.py b/MSPythonSamples/ReportSample/report_Example.py new file mode 100644 index 0000000..8e42df1 --- /dev/null +++ b/MSPythonSamples/ReportSample/report_Example.py @@ -0,0 +1,64 @@ +""" +Reports Example +Demonstrates creating item types, attaching them to elements, and generating reports. + +key-ins available: + REPORTSEXAMPLE CREATE ITEMTYPES - Creates item type libraries and item types + REPORTSEXAMPLE ATTACH ITEMTYPES - Starts tool to attach item types to elements + REPORTSEXAMPLE GENERATE REPORT - Generates the report definition +""" + +from __future__ import annotations +import os +from MSPyBentley import * +from MSPyECObjects import * +from MSPyBentleyGeom import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + +# Import modules +from report_example_common import ( + get_default_config, + ItemTypesValues +) +from report_example_create_itemtypes import ( + create_item_types, + item_types_exist, + reportsexample_create_itemtypes +) +from report_example_attach_itemtypes import reportsexample_attach_itemtypes +from report_example_generate_report import ( + generate_report, + report_definition_exists, + reportsexample_generate_report +) + +def _load_keyin_commands(): + """Load key-in commands from XML file.""" + try: + keyinXml = os.path.dirname(__file__) + '/ReportExample.commands.xml' + PythonKeyinManager.GetManager().LoadCommandTableFromXml(WString(__file__), WString(keyinXml)) + + MessageCenter.ShowInfoMessage(f"Loaded key-in commands. /n REPORTSEXAMPLE CREATE ITEMTYPES /nREPORTSEXAMPLE ATTACH ITEMTYPES /n REPORTSEXAMPLE GENERATE REPORT", "", False) + return True + + except Exception as e: + import traceback + MessageCenter.ShowErrorMessage( + f"Failed to load key-in commands: {str(e)}", + "", + False + ) + print(f"Error loading key-in commands:\n{traceback.format_exc()}") + return False + + +if __name__ == "__main__": + try: + # Load key-in commands from XML + _load_keyin_commands() + + except Exception as e: + import traceback + print(f"Fatal error:\n{traceback.format_exc()}") \ No newline at end of file diff --git a/MSPythonSamples/ReportSample/report_example_attach_itemtypes.py b/MSPythonSamples/ReportSample/report_example_attach_itemtypes.py new file mode 100644 index 0000000..d0e780d --- /dev/null +++ b/MSPythonSamples/ReportSample/report_example_attach_itemtypes.py @@ -0,0 +1,162 @@ +""" +Item Type attachment for Reports Example. +""" + +from __future__ import annotations +from MSPyBentley import * +from MSPyECObjects import * +from MSPyBentleyGeom import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + +from report_example_common import * +from report_example_create_itemtypes import item_types_exist + +itemData = get_default_config() +class AttachItemTypesTool(DgnElementSetTool): + def __init__(self, toolId): + DgnElementSetTool.__init__(self, toolId) + self.m_self = self # Keep self referenced + self.m_elements_processed = 0 # Track number of elements processed + + def _DoGroups(self): + return False + + def _AllowSelection(self): + return DgnElementSetTool.eUSES_SS_None # Don't support selection sets + + def _SetupForModify(self, ev, isDynamics): + return True + + def _OnElementModify(self, eeh): + """ + Called when an element is selected for modification. + Attaches item types to the selected element. + """ + try: + if not eeh or not eeh.IsValid(): + MessageCenter.ShowErrorMessage("Invalid element handle.", "", False) + return BentleyStatus.eERROR + + attachItemTypes.attach_item_types(eeh) + + self.m_elements_processed += 1 + MessageCenter.ShowInfoMessage(f"Item types attached to element ({self.m_elements_processed} total).", "", False) + return BentleyStatus.eSUCCESS + + except Exception as e: + import traceback + error_details = traceback.format_exc() + MessageCenter.ShowErrorMessage(f"Error attaching item types: {str(e)}", "", False) + print(f"Element modify error:\n{error_details}") + return BentleyStatus.eERROR + + def _OnCleanup(self): + """ + Called when tool is being cleaned up (exited). + Automatically place the report if any elements were processed. + """ + if hasattr(self, '_cleanup_called') and self._cleanup_called: + return + self._cleanup_called = True + + if self.m_elements_processed > 0: + MessageCenter.ShowInfoMessage(f"Processed {self.m_elements_processed} elements.", "", False) + else: + MessageCenter.ShowInfoMessage("No elements processed. Exiting.", "", False) + + def _OnRestartTool(self): + AttachItemTypesTool.install_new_instance(self.GetToolId()) + + @staticmethod + def install_new_instance(toolId): + tool = AttachItemTypesTool(toolId) + tool.InstallTool() + +class attachItemTypes: + @staticmethod + def attach_item_type(eeh, library_name, item_type_name): + try: + dgnFile = ISessionMgr.GetActiveDgnFile() + + library = ItemTypeLibrary.FindByName(library_name, dgnFile) + if not library: + return None + + item_type = library.GetItemTypeByName(item_type_name) + if not item_type: + return None + + item_host = CustomItemHost(eeh, False) + instance = item_host.ApplyCustomItem(item_type) + + return instance + + except Exception as e: + print(f"Error attaching item type: {str(e)}") + return None + + @staticmethod + def attach_item_type_vendor(eeh, values): + instance = attachItemTypes.attach_item_type(eeh, itemData.vendor_item_library, itemData.item_type_vendor) + + if instance: + instance.SetValue(itemData.property_vendor_name, ECValue(values.vendor_name)) + instance.SetValue(itemData.property_address, ECValue(values.vendor_address)) + instance.WriteChanges() + + @staticmethod + def attach_item_type_item(eeh, values): + instance = attachItemTypes.attach_item_type(eeh, itemData.vendor_item_library, itemData.item_type_item) + + if instance: + instance.SetValue(itemData.property_model, ECValue(values.item_model)) + instance.SetValue(itemData.property_out_of_stock, ECValue(values.out_of_stock)) + instance.SetValue(itemData.property_price, ECValue(values.price)) + instance.WriteChanges() + + @staticmethod + def attach_item_type_detail(eeh, values): + instance = attachItemTypes.attach_item_type(eeh, itemData.item_details_library, itemData.item_type_info) + + if instance: + instance.SetValue(itemData.property_size, ECValue(values.size)) + instance.SetValue(itemData.property_desc, ECValue(values.description)) + instance.WriteChanges() + + @staticmethod + def attach_item_types(eeh): + values = ItemTypesValues.get_next_values() + attachItemTypes.attach_item_type_vendor(eeh, values) + attachItemTypes.attach_item_type_item(eeh, values) + attachItemTypes.attach_item_type_detail(eeh, values) + +def reportsexample_attach_itemtypes(unparsed=None): + try: + if not item_types_exist(): + MessageCenter.ShowErrorMessage( + "Item types do not exist.Please create them first using: REPORTSEXAMPLE CREATE ITEMTYPES", + "", + False + ) + return + + AttachItemTypesTool.install_new_instance(1) + MessageCenter.ShowInfoMessage( + "\n Attach Item Types Tool Started!\n" + + " • Click on elements to attach item types\n" + + " • Right-click when done\n", + "", + False + ) + + except Exception as e: + import traceback + MessageCenter.ShowErrorMessage( + f"Error in reportsexample_attach_itemtypes: {str(e)}", + "", + False + ) + print(f"Error traceback:\n{traceback.format_exc()}") + \ No newline at end of file diff --git a/MSPythonSamples/ReportSample/report_example_common.py b/MSPythonSamples/ReportSample/report_example_common.py new file mode 100644 index 0000000..6250db4 --- /dev/null +++ b/MSPythonSamples/ReportSample/report_example_common.py @@ -0,0 +1,184 @@ +""" +Common utilities and configuration for Reports Example. +""" + +from __future__ import annotations +from dataclasses import dataclass +from MSPyBentley import * +from MSPyECObjects import * +from MSPyBentleyGeom import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + + +@dataclass(frozen=True) +class ReportsExampleConfig: + """Configuration for item types, libraries, and report.""" + + # Item Type libraries (user visible names) + vendor_item_library: str + item_details_library: str + + # Item Types (names within their libraries) + item_type_vendor: str + item_type_item: str + item_type_info: str + + # Report + report_category_name: str + report_name: str + + # Column display names + column_vendor_name: str + column_address: str + column_model: str + column_out_of_stock: str + column_price: str + column_size: str + column_desc: str + + # Access strings (property accessors) + property_vendor_name: str + property_address: str + property_model: str + property_out_of_stock: str + property_price: str + property_size: str + property_desc: str + + +class ReportsExampleError(RuntimeError): + """Raised when required MicroStation model prerequisites are missing.""" + pass + + +def get_default_config() -> ReportsExampleConfig: + """Get the default configuration for Reports Example.""" + return ReportsExampleConfig( + vendor_item_library="VendorItemLibrary", + item_details_library="ItemDetailsLibrary", + item_type_vendor="Vendor", + item_type_item="Item", + item_type_info="Info", + report_category_name="ReportsExample", + report_name="Vendor_Report", + column_vendor_name="Vendor_Name", + column_address="Address", + column_model="Model", + column_out_of_stock="OutofStock", + column_price="Price", + column_size="Size", + column_desc="Descr", + property_vendor_name="VendorName", + property_address="Address", + property_model="Model", + property_out_of_stock="OutofStock", + property_price="Price", + property_size="Size", + property_desc="Description", + ) + + +def get_active_dgn_file(): + """Get the active DGN file or raise error if none.""" + dgn_file = ISessionMgr.GetActiveDgnFile() + if dgn_file is None: + raise ReportsExampleError("No active DGN file. Open a DGN and try again.") + return dgn_file + + +def find_item_type_library(dgn_file, name: str): + """Find an item type library by name.""" + lib = ItemTypeLibrary.FindByName(name, dgn_file) + if not lib: + raise ReportsExampleError(f'Item Type Library not found: "{name}"') + return lib + + +def get_item_type(library, name: str): + """Get an item type from a library by name.""" + item_type = library.GetItemTypeByName(name) + if not item_type: + raise ReportsExampleError( + f'Item Type not found: "{name}" in library "{library.GetName()}"' + ) + return item_type + +def item_types_exist(config: ReportsExampleConfig = None) -> bool: + """ + Check if item type libraries exist. + """ + if config is None: + config = get_default_config() + + try: + dgn_file = get_active_dgn_file() + + vendor_lib = ItemTypeLibrary.FindByName(config.vendor_item_library, dgn_file) + details_lib = ItemTypeLibrary.FindByName(config.item_details_library, dgn_file) + + exists = vendor_lib is not None and details_lib is not None + + return exists + + except Exception as e: + import traceback + MessageCenter.ShowErrorMessage(f"Error checking item types: {str(e)}", "", False) + print(f"Error traceback:\n{traceback.format_exc()}") + return False + +class ItemTypesValues: + """ + Data class for storing item type property values. + Generates sequential test data for demonstration purposes. + """ + + # Class variables for generating sequential data + _next_index = 0 + _next_item = 1 + _vendor_names = ["Apple", "Samsung"] + _vendor_addresses = ["California, United States", "Seoul, South Korea"] + _item_models = ["iPhone", "Samsung Galaxy"] + _base_price = 1000.0 + + def __init__(self): + """Initialize instance variables.""" + self.vendor_name = "" + self.vendor_address = "" + self.item_model = "" + self.out_of_stock = False + self.price = 0.0 + self.size = 0.0 + self.description = "" + + @classmethod + def reset(cls): + """Reset the sequential counters - call this at start of workflow.""" + cls._next_index = 0 + cls._next_item = 1 + + @classmethod + def get_next_values(cls): + """Generate the next set of values for item types.""" + next_values = ItemTypesValues() + + vendor_index = cls._next_index + item_num = cls._next_item + + next_values.vendor_name = cls._vendor_names[vendor_index] + next_values.vendor_address = cls._vendor_addresses[vendor_index] + + next_values.item_model = f"{cls._item_models[vendor_index]} {item_num}" + next_values.out_of_stock = (item_num >= 4) + next_values.price = cls._base_price * item_num + next_values.size = float(item_num) + next_values.description = f"{next_values.item_model}, {next_values.vendor_name}, {next_values.vendor_address}" + + # Update class variables for next call + cls._next_index = 0 if cls._next_index == 1 else 1 + cls._next_item = cls._next_item + 1 + if cls._next_item > 6: + cls._next_item = 1 + + return next_values \ No newline at end of file diff --git a/MSPythonSamples/ReportSample/report_example_create_itemtypes.py b/MSPythonSamples/ReportSample/report_example_create_itemtypes.py new file mode 100644 index 0000000..86dabd2 --- /dev/null +++ b/MSPythonSamples/ReportSample/report_example_create_itemtypes.py @@ -0,0 +1,112 @@ +""" +Item Type creation for Reports Example. +""" + +from __future__ import annotations +from MSPyBentley import * +from MSPyECObjects import * +from MSPyBentleyGeom import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + +from report_example_common import ( + ReportsExampleConfig, + get_active_dgn_file, + get_default_config, + item_types_exist +) + + +def create_item_types(config: ReportsExampleConfig = None) -> bool: + if config is None: + config = get_default_config() + + try: + MessageCenter.ShowInfoMessage("Creating item types...", "", False) + + dgn_file = get_active_dgn_file() + + # Define library and item type configurations + library_configs = [ + { + 'library_name': config.vendor_item_library, + 'item_types': [ + { + 'name': config.item_type_vendor, + 'properties': [ + {'name': config.property_vendor_name, 'type': CustomProperty.Type1.eString}, + {'name': config.property_address, 'type': CustomProperty.Type1.eString}, + ] + }, + { + 'name': config.item_type_item, + 'properties': [ + {'name': config.property_model, 'type': CustomProperty.Type1.eString}, + {'name': config.property_out_of_stock, 'type': CustomProperty.Type1.eBoolean}, + {'name': config.property_price, 'type': CustomProperty.Type1.eDouble}, + ] + } + ] + }, + { + 'library_name': config.item_details_library, + 'item_types': [ + { + 'name': config.item_type_info, + 'properties': [ + {'name': config.property_size, 'type': CustomProperty.Type1.eDouble}, + {'name': config.property_desc, 'type': CustomProperty.Type1.eString}, + ] + } + ] + } + ] + + for lib_config in library_configs: + library_name = lib_config['library_name'] + + library = ItemTypeLibrary(library_name, dgn_file, False) + + for item_type_config in lib_config['item_types']: + item_type_name = item_type_config['name'] + + item_type = library.AddItemType(item_type_name, False) + + for prop_config in item_type_config['properties']: + prop_name = prop_config['name'] + prop_type = prop_config['type'] + + type_name = { + CustomProperty.Type1.eString: "String", + CustomProperty.Type1.eBoolean: "Boolean", + CustomProperty.Type1.eDouble: "Double" + }.get(prop_type, "Unknown") + + + prop = item_type.AddProperty(prop_name, False) + prop.SetType(prop_type) + + library.Write() + + MessageCenter.ShowInfoMessage("All item types created successfully!", "", False) + return True + + except Exception as e: + import traceback + MessageCenter.ShowErrorMessage(f"Error creating item types: {str(e)}", "", False) + print(f"Error traceback:\n{traceback.format_exc()}") + return False + +def reportsexample_create_itemtypes(unparsed=None): + try: + if item_types_exist(): + MessageCenter.ShowInfoMessage("Item types already exist.", "", False) + return + + create_item_types() + + except Exception as e: + import traceback + MessageCenter.ShowErrorMessage(f"Error: {str(e)}", "", False) + print(f"Error:\n{traceback.format_exc()}") \ No newline at end of file diff --git a/MSPythonSamples/ReportSample/report_example_generate_report.py b/MSPythonSamples/ReportSample/report_example_generate_report.py new file mode 100644 index 0000000..c0cdd2f --- /dev/null +++ b/MSPythonSamples/ReportSample/report_example_generate_report.py @@ -0,0 +1,204 @@ +""" +Report generation for Reports Example. +""" + +from __future__ import annotations +from MSPyBentley import * +from MSPyECObjects import * +from MSPyBentleyGeom import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + +from report_example_common import * +from report_example_create_itemtypes import item_types_exist + +def _set_host_specifications( + report_node, + library1_internal: str, + item_type1_name: str, + item_type2_name: str, + library2_internal: str, + item_type3_name: str, +) -> None: + """Set host specifications for the report.""" + + host_spec = DgnECHostSpecification() + + # Define host specification classes + host_classes = [ + (library1_internal, item_type1_name), + (library1_internal, item_type2_name), + (library2_internal, item_type3_name), + ] + + classes = SchemaNameClassNamePairArray() + + # Loop through and add each class + for schema_name, class_name in host_classes: + classes.append(SchemaNameClassNamePair(schema_name, class_name)) + + host_spec.SetPrimaryClasses(classes) + + host_specs = DgnECHostSpecificationArray() + host_specs.append(host_spec) + report_node.SetHostSpecifications(host_specs) + +def _add_column(group_node, schema_name: str, class_name: str, column_name: str, access_string: str) -> None: + """Add a column to the report.""" + colNode = group_node.CreateColumnDefinition(column_name, -1) + column_node = ColumnDefinitionNode(colNode) + + accessor = ReportColumnAccessor( + QualifiedECAccessor(schema_name, class_name, access_string) + ) + + accessors = ReportColumnAccessorArray() + accessors.append(accessor) + + column_node.SetAccessors(accessors) + column_node.Write() + +def generate_report(config: ReportsExampleConfig = None) -> bool: + if config is None: + config = get_default_config() + + try: + dgn_file = get_active_dgn_file() + + library1 = find_item_type_library(dgn_file, config.vendor_item_library) + library2 = find_item_type_library(dgn_file, config.item_details_library) + + schema1 = library1.GetInternalName() + schema2 = library2.GetInternalName() + + # Item types + item_type1 = get_item_type(library1, config.item_type_vendor) + item_type2 = get_item_type(library1, config.item_type_item) + item_type3 = get_item_type(library2, config.item_type_info) + + # Category + report definition + category_node = ReportCategoryNode(config.report_category_name, -1, dgn_file) + if not category_node: + raise ReportsExampleError("Failed to create ReportCategoryNode") + + rNode = category_node.CreateReportDefinition(config.report_name, -1) + report_node = ReportDefinitionNode(rNode) + + if not report_node: + try: + report_path = f"{config.report_category_name}\\{config.report_name}" + report_node = ReportDefinitionNode.FindByPath(report_path, dgn_file) + except: + report_node = None + + if not report_node: + raise ReportsExampleError("Failed to create/find ReportDefinitionNode") + + # Scope + report_node.SetScope(ReportScope()) + + # Set host specifications + _set_host_specifications( + report_node, + schema1, + item_type1.GetName(), + item_type2.GetName(), + schema2, + item_type3.GetName(), + ) + + # Get column group + groupNode = report_node.GetColumnGroupNode(True) + group_node = ColumnGroupNode(groupNode) + + # Define column configurations + column_configs = [ + # Vendor columns + {'category': 'Vendor', 'schema': schema1, 'class': item_type1.GetName(), + 'columns': [ + (config.column_vendor_name, config.property_vendor_name), + (config.column_address, config.property_address), + ]}, + # Item columns + {'category': 'Item', 'schema': schema1, 'class': item_type2.GetName(), + 'columns': [ + (config.column_model, config.property_model), + (config.column_out_of_stock, config.property_out_of_stock), + (config.column_price, config.property_price), + ]}, + # Info columns + {'category': 'Info', 'schema': schema2, 'class': item_type3.GetName(), + 'columns': [ + (config.column_size, config.property_size), + (config.column_desc, config.property_desc), + ]}, + ] + + for column_config in column_configs: + for column_name, property_name in column_config['columns']: + _add_column( + group_node, + column_config['schema'], + column_config['class'], + column_name, + property_name + ) + + # Sorting + sortGroupNode = report_node.GetSortingGroupNode(True) + sort_group_node = SortingGroupNode(sortGroupNode) + sort_rule = sort_group_node.CreateSortingRule(config.column_price, -1) + sort_rule.Write() + + # Write + report_node.Write() + category_node.Write() + + return True + + except Exception as e: + import traceback + MessageCenter.ShowErrorMessage(f"\nError generating report: {str(e)}", "", False) + print(f"Error traceback:\n{traceback.format_exc()}") + return False + +def report_definition_exists(config: ReportsExampleConfig = None) -> bool: + if config is None: + config = get_default_config() + + try: + dgn_file = get_active_dgn_file() + report_path = f"{config.report_category_name}\\{config.report_name}" + report_node = ReportDefinitionNode.FindByPath(report_path, dgn_file) + + exists = report_node is not None + + return exists + + except Exception as e: + MessageCenter.ShowInfoMessage(f"Error checking report: {str(e)}", "", False) + return False + +def reportsexample_generate_report(unparsed=None): + try: + if not item_types_exist(): + MessageCenter.ShowErrorMessage( + "Item types do not exist.\nPlease create them first using: REPORTSEXAMPLE CREATE ITEMTYPES", + "", + False + ) + return + + # Generate the report + if generate_report(): + MessageCenter.ShowInfoMessage("Reports created successfully!", "", False) + else: + MessageCenter.ShowErrorMessage("Failed to generate report.", "", False) + + except Exception as e: + import traceback + MessageCenter.ShowErrorMessage(f"Error: {str(e)}", "", False) + print(f"Error:\n{traceback.format_exc()}") + + \ No newline at end of file diff --git a/MSPythonSamples/SystemCallbacks/ChangeTrackCallbacks.py b/MSPythonSamples/SystemCallbacks/ChangeTrackCallbacks.py index 3e34f28..fdf0758 100644 --- a/MSPythonSamples/SystemCallbacks/ChangeTrackCallbacks.py +++ b/MSPythonSamples/SystemCallbacks/ChangeTrackCallbacks.py @@ -126,7 +126,7 @@ def TransientChanged(newDescr, oldDescr, info, cantBeUndoneFlag): """ print('TransientChanged') -def AddFunctions(): +def AddFunctions(unparse: str = ""): """ Registers various callback functions for change tracking. @@ -154,7 +154,7 @@ def AddFunctions(): ChangeTrackCallback.AddMarkFunction(Mark, file + '.Mark') ChangeTrackCallback.AddTransientChangedFunction(TransientChanged, file + '.TransientChanged') -def RemoveFunctions(): +def RemoveFunctions(unparse: str = ""): """ Removes various change tracking callback functions. diff --git a/MSPythonSamples/data/TagsExamplePlaceTagFromText.dgn b/MSPythonSamples/data/TagsExamplePlaceTagFromText.dgn new file mode 100644 index 0000000..fd075cb Binary files /dev/null and b/MSPythonSamples/data/TagsExamplePlaceTagFromText.dgn differ diff --git a/MSPythonTests/MstnPlatformTests/Tests/AddURLLink_Test.py b/MSPythonTests/MstnPlatformTests/Tests/AddURLLink_Test.py index 660a24e..ffe4a21 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/AddURLLink_Test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/AddURLLink_Test.py @@ -33,7 +33,7 @@ def CreateLinksOnElements(modelRef): print("No graphic elements.") return 0 - linkLeaf, status = DgnLinkManager.CreateLink (DGNLINK_TYPEKEY_URLLink) + status, linkLeaf = DgnLinkManager.CreateLink (DGNLINK_TYPEKEY_URLLink) if linkLeaf is None: print(f"Failed to create new leaf") return 0 diff --git a/MSPythonTests/MstnPlatformTests/Tests/ArgSupport_Test.py b/MSPythonTests/MstnPlatformTests/Tests/ArgSupport_Test.py new file mode 100644 index 0000000..34fa57d --- /dev/null +++ b/MSPythonTests/MstnPlatformTests/Tests/ArgSupport_Test.py @@ -0,0 +1,64 @@ +# $Copyright: (c) 2025 Bentley Systems, Incorporated. All rights reserved. $ + +import argparse + +# import debugpy + +# debugpy.listen(('0.0.0.0',5678), in_process_debug_adapter=True) +# print("Waiting for debugger attach") +# debugpy.wait_for_client() +# debugpy.breakpoint() +# print('break on this line') + + +''' +Test for running python with arguments using argparse module. + +This script demonstrates how to use argparse to accept named parameters +and perform basic arithmetic operations. + +One sample test keyin command : python load path\argSupportTest.py --num1 3.14 --num2 2.71 --result-message "The result is:" +''' + +def main(): + """Main function to handle argument parsing and addition operation.""" + + # Create argument parser with description + parser = argparse.ArgumentParser( + description='Perform addition of two numbers and customize the result message', + epilog='Example: python addition.py --num1 5 --num2 3 --result-message "The sum is"' + ) + + # Define the three named arguments + parser.add_argument( + '--num1', + type=float, + required=True, + help='First number to add (required)' + ) + + parser.add_argument( + '--num2', + type=float, + required=True, + help='Second number to add (required)' + ) + + parser.add_argument( + '--result-message', + type=str, + default='The result of addition is:', + help='Custom message to display before the result (default: "The result of addition is:")' + ) + + # Parse arguments from command line + args = parser.parse_args() + + # Perform addition + result = args.num1 + args.num2 + + # Display the result with custom message + print(f"{args.result_message} {result}") + +if __name__ == "__main__": + main() diff --git a/MSPythonTests/MstnPlatformTests/Tests/ChangeTrackCallback_Test.py b/MSPythonTests/MstnPlatformTests/Tests/ChangeTrackCallback_Test.py index 36c4aa5..02196b1 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/ChangeTrackCallback_Test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/ChangeTrackCallback_Test.py @@ -124,8 +124,8 @@ def test_XAttributeChanged_UndoRedo(): fileLocation = 'MSPython\\MSPythonTests\\PlatformTests\\data\\' dataDir = getRoot(fileLocation) - doc = DgnDocument.CreateFromFileName ('ChangeTrack.dgn', dataDir, -101, DgnDocument.FetchMode.eWrite)[0] - ISessionMgr.GetManager().SwitchToNewFile(doc, '', GraphicsFileType.eGRAPHICSFILE_WildCard, True, True) + doc = DgnDocument.CreateFromFileName ('ChangeTrack.dgn', dataDir, -101, DgnDocument.FetchMode.eWrite)[1] + ISessionMgr.GetManager().SwitchToNewFile(doc[1], '', GraphicsFileType.eGRAPHICSFILE_WildCard, True, True) ChangeTrackCallback.AddChangedFunction(Changed, file + '.Changed') ChangeTrackCallback.AddUndoRedoFunction(UndoRedo, file + '.UndoRedo') diff --git a/MSPythonTests/MstnPlatformTests/Tests/DgnFile_Test.py b/MSPythonTests/MstnPlatformTests/Tests/DgnFile_Test.py index fce1ea9..c329d57 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/DgnFile_Test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/DgnFile_Test.py @@ -48,7 +48,7 @@ def test_FindModelIDByName (): faulthandler.disable () fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -72,7 +72,7 @@ def test_FindElemByID (): faulthandler.disable () fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -96,7 +96,7 @@ def test_FindElemByID (): def test_HasPendingChanges (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) + status, doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -117,7 +117,7 @@ def test_HasPendingChanges (): def test_GetVersion (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) + status, doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -145,7 +145,7 @@ def test_GetVersion (): def test_IsProtected (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) + status, doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -166,7 +166,7 @@ def test_IsProtected (): def test_GetModelCount (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -188,7 +188,7 @@ def test_GetModelCount (): def test_GetModelItemById (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -212,7 +212,7 @@ def test_GetModelItemById (): def test_GetModelItemByName (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -237,7 +237,7 @@ def test_GetModelItemByName (): def test_GetModelRefList (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -263,12 +263,12 @@ def test_CreateModel (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) + status, doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) newFile = emptyDir + WString ("\\CreateModel.dgn") shutil.copyfile (str (doc.GetFileName ()), str (newFile)) - doc, status = getFileFromDirectory ('CreateModel.dgn', str (emptyDir)) + status, doc = getFileFromDirectory ('CreateModel.dgn', str (emptyDir)) modalEvents = MyModalEventHandler () @@ -290,7 +290,7 @@ def test_CreateModel (): def test_CheckRights (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) + status, doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False diff --git a/MSPythonTests/MstnPlatformTests/Tests/DocumentManager_Test.py b/MSPythonTests/MstnPlatformTests/Tests/DocumentManager_Test.py index f88f08a..e421079 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/DocumentManager_Test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/DocumentManager_Test.py @@ -124,7 +124,7 @@ def test_OpenDocumentDialog (): PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) - if (ret[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (ret[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -154,7 +154,7 @@ def test_CreateNewDocumentDialog (): PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) - if (ret[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (ret[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False diff --git a/MSPythonTests/MstnPlatformTests/Tests/ICurvePrimitive_test.py b/MSPythonTests/MstnPlatformTests/Tests/ICurvePrimitive_test.py new file mode 100644 index 0000000..26d44d4 --- /dev/null +++ b/MSPythonTests/MstnPlatformTests/Tests/ICurvePrimitive_test.py @@ -0,0 +1,546 @@ +from MSPyBentley import * +from MSPyBentleyGeom import * +from MSPyECObjects import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * +from MSPyBentleyGeom import * +import math +import sys + +class TestResult: + """Simple test result tracker""" + def __init__(self): + self.total = 0 + self.passed = 0 + self.failed = 0 + self.failures = [] + + def record_test(self, test_name, passed, message=None): + self.total += 1 + if passed: + self.passed += 1 + print(f"✓ PASSED: {test_name}") + return True + else: + self.failed += 1 + failure_msg = f"✗ FAILED: {test_name}" + if message: + failure_msg += f" - {message}" + print(failure_msg) + self.failures.append(failure_msg) + return False + + def print_summary(self): + print("\n=== TEST SUMMARY ===") + print(f"Total tests: {self.total}") + print(f"Passed: {self.passed}") + print(f"Failed: {self.failed}") + + if self.failed > 0: + print("\nFailures:") + for failure in self.failures: + print(f" {failure}") + +def test_curve_primitive_types_enum(result): + """Test that all curve primitive type enums are available and distinct""" + try: + # Get all the enum values + type_ids = [ + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_AkimaCurve, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Arc, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_BsplineCurve, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_CurveVector, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_InterpolationCurve, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Invalid, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Line, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_LineString, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_NotClassified, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_PartialCurve, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_PointString, + ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Spiral + ] + + # Verify all enum values are unique (set should have same length as original list) + unique_count = len(set([id(t) for t in type_ids])) + result.record_test("Curve primitive type enums are distinct", + unique_count == len(type_ids), + f"Found {unique_count} unique types out of {len(type_ids)}") + + return True + except Exception as e: + result.record_test("Curve primitive type enums", False, str(e)) + return False + +def test_create_line_primitive(result): + """Test creating a line primitive and verify its type""" + try: + segment = DSegment3d(DPoint3d(0, 0, 0), DPoint3d(10, 0, 0)) + line = ICurvePrimitive.CreateLine(segment) + + # Test creation + result.record_test("Create line primitive", line is not None) + + # Test type identification + correct_type = (line.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Line) + result.record_test("Line primitive has correct type", correct_type) + + # Test getting line data + test_segment = DSegment3d() + got_data = line.TryGetLine(test_segment) + data_correct = (test_segment.point[0].x == 0.0 and test_segment.point[1].x == 10.0) + result.record_test("Get line data", got_data and data_correct) + + return True + except Exception as e: + result.record_test("Line primitive tests", False, str(e)) + return False + +def test_create_arc_primitive(result): + """Test creating an arc primitive and verify its type""" + try: + # Create an elliptical arc + ellipse = DEllipse3d.FromCenterNormalRadius(DPoint3d(0, 0, 0), DVec3d(0, 0, 1), 10.0) + arc = ICurvePrimitive.CreateArc(ellipse) + + # Test creation + result.record_test("Create arc primitive", arc is not None) + + # Test type identification + correct_type = (arc.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Arc) + result.record_test("Arc primitive has correct type", correct_type) + + # Test getting arc data + test_ellipse = DEllipse3d() + got_data = arc.TryGetArc(test_ellipse) + data_correct = (abs(test_ellipse.vector0.Magnitude() - 10.0) < 0.001) + result.record_test("Get arc data", got_data and data_correct) + + return True + except Exception as e: + result.record_test("Arc primitive tests", False, str(e)) + return False + +def test_create_linestring_primitive(result): + """Test creating a linestring primitive and verify its type""" + try: + points = [ + DPoint3d(0, 0, 0), + DPoint3d(5, 5, 0), + DPoint3d(10, 0, 0) + ] + linestring = ICurvePrimitive.CreateLineString(points) + + # Test creation + result.record_test("Create linestring primitive", linestring is not None) + + # Test type identification + correct_type = (linestring.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_LineString) + result.record_test("LineString primitive has correct type", correct_type) + + # Test getting points + points_from_curve = linestring.GetLineString() + points_count_correct = (len(points_from_curve) == 3) + coordinates_correct = (points_from_curve[1].x == 5.0 and points_from_curve[1].y == 5.0) + result.record_test("Get linestring data", points_count_correct and coordinates_correct) + + # Test getting segment in linestring + segment = DSegment3d() + has_segment = linestring.TryGetSegmentInLineString(segment, 0) + segment_correct = (segment.point[0].x == 0.0 and segment.point[1].x == 5.0) + result.record_test("Get segment in linestring", has_segment and segment_correct) + + # Test adding a point to linestring + new_point = DPoint3d(15, -5, 0) + added = linestring.TryAddLineStringPoint(new_point) + points_after_add = linestring.GetLineString() + add_correct = (len(points_after_add) == 4 and + abs(points_after_add[3].x - 15.0) < 0.001) + result.record_test("Add point to linestring", added and add_correct) + + return True + except Exception as e: + result.record_test("LineString primitive tests", False, str(e)) + return False + +def test_create_pointstring_primitive(result): + """Test creating a point string primitive and verify its type""" + try: + points = [ + DPoint3d(0, 0, 0), + DPoint3d(5, 5, 0), + DPoint3d(10, 0, 0) + ] + pointstring = ICurvePrimitive.CreatePointString(points) + + # Test creation + result.record_test("Create pointstring primitive", pointstring is not None) + + # Test type identification + correct_type = (pointstring.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_PointString) + result.record_test("PointString primitive has correct type", correct_type) + + # Test getting points + points_from_curve = pointstring.GetPointString() + points_count_correct = (len(points_from_curve) == 3) + coordinates_correct = (points_from_curve[1].x == 5.0 and points_from_curve[1].y == 5.0) + result.record_test("Get pointstring data", points_count_correct and coordinates_correct) + + return True + except Exception as e: + result.record_test("PointString primitive tests", False, str(e)) + return False + +def test_create_bspline_primitive(result): + """Test creating a bspline primitive and verify its type""" + try: + # Create a basic bspline curve + poles = [DPoint3d(0, 0, 0), DPoint3d(5, 5, 0), DPoint3d(10, 0, 0)] + bspline_source = MSBsplineCurve.CreateFromPolesAndOrder(poles, None, None, 3, False, True) + bspline = ICurvePrimitive.CreateBsplineCurve(bspline_source) + + # Test creation + result.record_test("Create bspline primitive", bspline is not None) + + # Test type identification + correct_type = (bspline.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_BsplineCurve) + result.record_test("BsplineCurve primitive has correct type", correct_type) + + # Test getting bspline data + bspline_data = bspline.GetBsplineCurve() + order_correct = (bspline_data.GetOrder() == 3) + result.record_test("Get bspline data", bspline_data is not None and order_correct) + + return True + except Exception as e: + result.record_test("BsplineCurve primitive tests", False, str(e)) + return False + +def test_create_curvevector_primitive(result): + """Test creating a curve vector primitive and verify its type""" + try: + # Create a curve vector + curve_vector = CurveVector(CurveVector.eBOUNDARY_TYPE_Open) + segment = DSegment3d(DPoint3d(0, 0, 0), DPoint3d(10, 0, 0)) + curve_vector.Add(ICurvePrimitive.CreateLine(segment)) + + # Create curve vector primitive + cv_primitive = ICurvePrimitive.CreateChildCurveVector(curve_vector) + + # Test creation + result.record_test("Create curve vector primitive", cv_primitive is not None) + + # Test type identification + correct_type = (cv_primitive.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_CurveVector) + result.record_test("CurveVector primitive has correct type", correct_type) + + # Test getting data + cv_data = cv_primitive.GetChildCurveVector() + boundary_correct = (cv_data.GetBoundaryType() == CurveVector.eBOUNDARY_TYPE_Open) + count_correct = (cv_data.CountPrimitivesOfType(ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Line) == 1) + result.record_test("Get curve vector data", + cv_data is not None and boundary_correct and count_correct) + + return True + except Exception as e: + result.record_test("CurveVector primitive tests", False, str(e)) + return False + +def test_create_partial_curve(result): + """Test creating a partial curve and verify its type""" + try: + # Create a parent curve (a line) to use + segment = DSegment3d(DPoint3d(0, 0, 0), DPoint3d(10, 0, 0)) + line = ICurvePrimitive.CreateLine(segment) + + # Create a partial curve for the middle portion + partial = ICurvePrimitive.CreatePartialCurve(line, 0.25, 0.75) + + # Test creation + result.record_test("Create partial curve primitive", partial is not None) + + # Test type identification + correct_type = (partial.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_PartialCurve) + result.record_test("PartialCurve primitive has correct type", correct_type) + + # Test data and behavior + point = DPoint3d() + partial.FractionToPoint(0.0, point) # Start of partial curve should be at 25% of original + start_correct = (abs(point.x - 2.5) < 0.001) + + partial.FractionToPoint(1.0, point) # End of partial curve should be at 75% of original + end_correct = (abs(point.x - 7.5) < 0.001) + + result.record_test("Partial curve evaluates correctly", start_correct and end_correct) + + # Try getting parent details + start_fraction, end_fraction, parent_curve, index = partial.TryGetPartialCurveData() + parent_correct = (parent_curve.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Line) + fractions_correct = (abs(start_fraction - 0.25) < 0.001 and abs(end_fraction - 0.75) < 0.001) + + result.record_test("Get partial curve data", + parent_curve is not None and parent_correct and fractions_correct) + + return True + except Exception as e: + result.record_test("PartialCurve primitive tests", False, str(e)) + return False + +def test_create_spiral(result): + """Test creating a spiral curve primitive and verify its type""" + try: + # Create a spiral using the bearing-radius-length-radius approach + + startPoint = DPoint3d(10,0,0) + placement = Transform.From (startPoint) + rA = 1000 + rB = 500 + + bearing0 = Angle.DegreesToRadians (45) + bearing1 = Angle.DegreesToRadians (65) + spiral = ICurvePrimitive.CreateSpiralBearingRadiusBearingRadius \ + ( + DSpiral2dBase.TransitionType_Clothoid, + bearing0, rA, bearing1, rB, + placement, 0,1 + ) + + # Test creation + result.record_test("Create spiral primitive", spiral is not None) + + # Test type identification + correct_type = (spiral.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Spiral) + result.record_test("Spiral primitive has correct type", correct_type) + + # Test evaluating points on the spiral + point_start = DPoint3d() + point_end = DPoint3d() + tangent_start = DVec3d() + tangent_end = DVec3d() + + spiral.FractionToPoint(0.0, point_start, tangent_start) + spiral.FractionToPoint(1.0, point_end, tangent_end) + + # Spiral should start at origin + start_pos_correct = (abs(point_start.x) < 0.001 and abs(point_start.y) < 0.001) + + # End should be away from origin + end_away_from_origin = (point_end.x > 1.0) + + # Start tangent should be along x-axis + start_tangent_correct = (abs(tangent_start.x - 1.0) < 0.001 and abs(tangent_start.y) < 0.001) + + # End tangent should have rotated + end_tangent_rotated = (abs(tangent_end.y) > 0.1) + + result.record_test("Spiral evaluates correctly", + start_pos_correct and end_away_from_origin and + start_tangent_correct and end_tangent_rotated) + + return True + except Exception as e: + result.record_test("Spiral primitive tests", False, str(e)) + return False + +def test_curve_operations(result): + """Test general ICurvePrimitive operations like Clone and TransformInPlace""" + try: + # Create a test primitive (line) + segment = DSegment3d(DPoint3d(0, 0, 0), DPoint3d(10, 0, 0)) + line = ICurvePrimitive.CreateLine(segment) + + # Test Clone + clone = line.Clone() + clone_is_line = (clone.GetCurvePrimitiveType() == ICurvePrimitive.eCURVE_PRIMITIVE_TYPE_Line) + + # Test data is properly cloned + cloned_segment = DSegment3d() + clone.TryGetLine(cloned_segment) + data_correct = (cloned_segment.point[0].x == 0.0 and cloned_segment.point[1].x == 10.0) + + result.record_test("Clone operation", + clone is not None and clone_is_line and data_correct) + + # Test TransformInPlace + rotation = RotMatrix.FromAxisAndRotationAngle(2, math.pi / 2) # 90 degrees around Z + transform = Transform.From(rotation) + + clone.TransformInPlace(transform) + + # Line should now be along Y axis + transformed_segment = DSegment3d() + clone.TryGetLine(transformed_segment) + transform_correct = (abs(transformed_segment.point[1].x) < 0.001 and + abs(transformed_segment.point[1].y - 10.0) < 0.001) + + result.record_test("TransformInPlace operation", transform_correct) + + # Test range calculation + range_box = DRange3d() + original_range_success = line.GetRange(range_box) + original_range_correct = ( + abs(range_box.low.x) < 0.001 and + abs(range_box.high.x - 10.0) < 0.001 + ) + + result.record_test("GetRange operation", + original_range_success and original_range_correct) + + # Test start/end points + start_point = DPoint3d() + end_point = DPoint3d() + got_endpoints = line.GetStartEnd(start_point, end_point) + endpoints_correct = ( + abs(start_point.x) < 0.001 and + abs(end_point.x - 10.0) < 0.001 + ) + result.record_test("GetStartEnd operation", + got_endpoints and endpoints_correct) + + return True + except Exception as e: + result.record_test("General curve operations", False, str(e)) + return False + +def test_advanced_curve_operations(result): + """Test advanced ICurvePrimitive operations like CloneBetweenFractions""" + try: + # Create a test primitive (linestring with 3 points) + points = [ + DPoint3d(0, 0, 0), + DPoint3d(5, 5, 0), + DPoint3d(10, 0, 0) + ] + linestring = ICurvePrimitive.CreateLineString(points) + + # Test CloneBetweenFractions - middle part of curve + partial = linestring.CloneBetweenFractions(0.25, 0.75, False) + point_start = DPoint3d() + point_end = DPoint3d() + + partial.FractionToPoint(0.0, point_start) + partial.FractionToPoint(1.0, point_end) + + # Should be between the start and end + partial_correct = ( + point_start.x > 1.0 and point_start.x < 9.0 and + point_end.x > 1.0 and point_end.x < 9.0 + ) + + result.record_test("CloneBetweenFractions operation", + partial is not None and partial_correct) + + # Test length calculation + success, length = linestring.Length() + expected_length = 10.0 + 2.0 * math.sqrt(25.0) # First leg: 5√2, second leg: 5√2 + length_correct = abs(length - expected_length) < 0.01 + + result.record_test("Length operation", + success and length_correct) + + # Test FastLength as well + success, fast_length = linestring.FastLength() + fast_length_correct = abs(fast_length - expected_length) < 0.01 + + result.record_test("FastLength operation", + success and fast_length_correct) + + # Test tag operations + linestring.SetIntTag(42) + tag = linestring.GetIntTag() + result.record_test("Tag operations", tag == 42) + + return True + except Exception as e: + result.record_test("Advanced curve operations", False, str(e)) + return False + +def test_fractional_evaluation(result): + """Test curve evaluation at fractional positions""" + try: + # Create a test primitive (circular arc) + center = DPoint3d(0, 0, 0) + radius = 10 + ellipse = DEllipse3d.FromCenterRadiusXY(center, radius) + arc = ICurvePrimitive.CreateArc(ellipse) + + # Evaluate points along the curve + point_start = DPoint3d() + point_mid = DPoint3d() + point_end = DPoint3d() + + tangent_start = DVec3d() + tangent_mid = DVec3d() + tangent_end = DVec3d() + + arc.FractionToPoint(0.0, point_start, tangent_start) + arc.FractionToPoint(0.5, point_mid, tangent_mid) + arc.FractionToPoint(1.0, point_end, tangent_end) + + # For circle, start should be at (10,0,0) + start_correct = (abs(point_start.x - 10.0) < 0.001 and abs(point_start.y) < 0.001) + + # Mid should be at (0,10,0) for CCW rotation (might need adjustment if the arc has different start/sweep) + mid_correct = (abs(point_mid.x) < 0.001 and abs(point_mid.y - 10.0) < 0.001) + + # End should return to start for full circle or go to (-10,0,0) for half circle + # Assuming full circle here + end_correct = (abs(point_end.x - 10.0) < 0.001 and abs(point_end.y) < 0.001) + + result.record_test("Curve evaluation at fractions", + start_correct and mid_correct and end_correct) + + # Test Frenet Frame evaluation + frame = Transform() + success = arc.FractionToFrenetFrame(0.0, frame) + v1 = DVec3d() + v2 = DVec3d() + v3 = DVec3d() + frame.GetMatrixColumn(v1, 0) # X axis + frame.GetMatrixColumn(v2, 1) # Y axis + frame.GetMatrixColumn(v3, 2) # Z axis + + # Check the orientation of the frame + frame_correct = ( + abs(v1.y - 1.0) < 0.001 and # X axis is tangent to curve + abs(v2.x - 1.0) < 0.001 and # Y axis is normal to curve + abs(v3.z - 1.0) < 0.001 # Z axis is up + ) + + + result.record_test("Frenet frame evaluation", + success and frame_correct) + + return True + except Exception as e: + result.record_test("Fractional evaluation tests", False, str(e)) + return False + +def run_tests(): + """Run all tests and return overall success""" + result = TestResult() + + print("\n=== RUNNING CURVE PRIMITIVE TESTS ===\n") + + # Run all the test functions + test_curve_primitive_types_enum(result) + test_create_line_primitive(result) + test_create_arc_primitive(result) + test_create_linestring_primitive(result) + test_create_pointstring_primitive(result) + test_create_bspline_primitive(result) + test_create_curvevector_primitive(result) + test_create_partial_curve(result) + test_create_spiral(result) + test_curve_operations(result) + test_advanced_curve_operations(result) + test_fractional_evaluation(result) + + # Print summary + result.print_summary() + + return result.passed == result.total + +if __name__ == "__main__": + success = run_tests() + sys.exit(0 if success else 1) \ No newline at end of file diff --git a/MSPythonTests/MstnPlatformTests/Tests/KeyInManager_Test.py b/MSPythonTests/MstnPlatformTests/Tests/KeyInManager_Test.py index 6dec643..ffb0e1c 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/KeyInManager_Test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/KeyInManager_Test.py @@ -20,19 +20,19 @@ def printGlobals (context : str): for k,v in list (globals().items()): print(f" key {str(k)} \t {str(v)}") -def callbacka (): +def callbacka (unparse: str = ""): global g_executedTestA g_executedTestA = True assert 'KEYINMANAGER_TEST.PY' == globals()["__mdlDescr__"] -def callbackb (): +def callbackb (unparse: str = ""): assert len(sys.argv) == 2 assert sys.argv[0] == 'cmdArg1' assert sys.argv[1] == 'cmdArg2' assert 'KEYINMANAGER_TEST.PY' == globals()["__mdlDescr__"] # cannot test g_executedTestA in main below, as you cant send synchronized keyins to python as python ->c++->python is not allowed so test it in another keyin -def callbackc (): +def callbackc (unparse: str = ""): global g_executedTestA assert 'KEYINMANAGER_TEST.PY' == globals()["__mdlDescr__"] assert g_executedTestA == True @@ -105,13 +105,13 @@ def _OnWriteLocked (self, dgnFile): g_sessionMon = MyGlobalSessionMonitor(g_Str) -def globalSessionMonitorAdd (): +def globalSessionMonitorAdd (unparse: str = ""): global g_sessionMon assert 'KEYINMANAGER_TEST.PY' == globals()["__mdlDescr__"] ISessionMgr.AddSessionMonitor (g_sessionMon) -def globalSessionMonitorDrop (): +def globalSessionMonitorDrop (unparse: str = ""): global g_sessionMon assert 'KEYINMANAGER_TEST.PY' == globals()["__mdlDescr__"] ISessionMgr.DropSessionMonitor (g_sessionMon) diff --git a/MSPythonTests/MstnPlatformTests/Tests/Level_Test.py b/MSPythonTests/MstnPlatformTests/Tests/Level_Test.py index cc67cdc..30ce417 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/Level_Test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/Level_Test.py @@ -43,14 +43,14 @@ def test_GetLevelCount (): fileDir = getRoot(fileLocation) doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - if (doc[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (doc[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False modalEvents = MyModalEventHandler () PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) @@ -76,7 +76,7 @@ def test_OneLevel (): doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) newFile = emptyDir + WString ("\\OneLevel.dgn") - shutil.copyfile (str (doc[0].GetFileName ()), str (newFile)) + shutil.copyfile (str (doc[1].GetFileName ()), str (newFile)) doc = getFileFromDirectory ('OneLevel.dgn', str (emptyDir)) @@ -84,7 +84,7 @@ def test_OneLevel (): PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) @@ -220,7 +220,7 @@ def test_CopyLevel (): doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) newFile = emptyDir + WString ("\\CopyLevel.dgn") - shutil.copyfile (str (doc[0].GetFileName ()), str (newFile)) + shutil.copyfile (str (doc[1].GetFileName ()), str (newFile)) doc = getFileFromDirectory ('CopyLevel.dgn', str (emptyDir)) @@ -228,7 +228,7 @@ def test_CopyLevel (): PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) @@ -258,14 +258,14 @@ def test_SelectLevel (): fileDir = getRoot(fileLocation) doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - if (doc[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (doc[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False modalEvents = MyModalEventHandler () PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) @@ -287,14 +287,14 @@ def test_DrawLevel (): fileDir = getRoot(fileLocation) doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - if (doc[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (doc[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False modalEvents = MyModalEventHandler () PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) @@ -316,7 +316,7 @@ def test_DeleteElement (): doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) newFile = emptyDir + WString ("\\DeleteElement.dgn") - shutil.copyfile (str (doc[0].GetFileName ()), str (newFile)) + shutil.copyfile (str (doc[1].GetFileName ()), str (newFile)) doc = getFileFromDirectory ('DeleteElement.dgn', str (emptyDir)) @@ -324,7 +324,7 @@ def test_DeleteElement (): PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) @@ -350,7 +350,7 @@ def test_MoveElementLevel (): doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) newFile = emptyDir + WString ("\\MoveElementLevel.dgn") - shutil.copyfile (str (doc[0].GetFileName ()), str (newFile)) + shutil.copyfile (str (doc[1].GetFileName ()), str (newFile)) doc = getFileFromDirectory ('MoveElementLevel.dgn', str (emptyDir)) @@ -358,7 +358,7 @@ def test_MoveElementLevel (): PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) @@ -389,7 +389,7 @@ def test_CopyElement (): doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) newFile = emptyDir + WString ("\\CopyElement.dgn") - shutil.copyfile (str (doc[0].GetFileName ()), str (newFile)) + shutil.copyfile (str (doc[1].GetFileName ()), str (newFile)) doc = getFileFromDirectory ('CopyElement.dgn', str (emptyDir)) @@ -397,7 +397,7 @@ def test_CopyElement (): PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) diff --git a/MSPythonTests/MstnPlatformTests/Tests/MSImage_test.py b/MSPythonTests/MstnPlatformTests/Tests/MSImage_test.py index ff45f5d..bed39d3 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/MSImage_test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/MSImage_test.py @@ -41,7 +41,7 @@ def OnDialogClosed (delf, dialogBoxName, result): def test_saveViewToRGB (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -67,7 +67,7 @@ def test_saveViewToRGB (): def test_saveViewToRGBA (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -96,7 +96,7 @@ def test_saveViewToFileWireFrame (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -128,7 +128,7 @@ def test_saveViewToFileHiddenLine (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -160,7 +160,7 @@ def test_saveViewToFileConstant (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -192,7 +192,7 @@ def test_saveViewToFileSmooth (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -225,7 +225,7 @@ def test_saveViewToFileVueRayTrace (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -258,7 +258,7 @@ def test_saveViewToFileVuePathTrace (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -296,7 +296,7 @@ def test_saveViewToFileVuePathTrace (): def test_resizeImage (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -344,7 +344,7 @@ def test_readImageFile (): def test_extCreateFileFromRGB () : fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) if (status != DgnFileStatus.eDGNFILE_STATUS_Success): assert False @@ -423,11 +423,35 @@ def test_typeFromExtension (): def test_applyGamma (): emptyDir = WString () - ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - newFile = emptyDir + WString ("\\Test3.jpg") - status, imageMap, imageSize = MstnImage.readFileToRGB (str(newFile), ImageFileFormat.eIMAGEFILE_JPEG, None) + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc, "", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 256 + size.y = 256 + + # Create an RGB image from the view + status, imageMap = MstnImage.saveViewToRGB (size, 1, False, False, 0) assert (status == BentleyStatus.eSUCCESS) + assert (len(imageMap) > 0) + + imageSize = Point2d() + imageSize.x = size.x + imageSize.y = size.y status = MstnImage.RGBSeparateToRGBInPlace (imageMap, imageSize, ImageColorMode.eRGB) assert (status == BentleyStatus.eSUCCESS) @@ -436,7 +460,8 @@ def test_applyGamma (): status = MstnImage.RGBToRGBSeparateInPlace (imageMap, imageSize, ImageColorMode.eRGB) assert (status == BentleyStatus.eSUCCESS) - newFile2 = emptyDir + WString ("\\Test7.jpg") + + newFile2 = emptyDir + WString ("\\Test_Gamma.jpg") if (os.path.exists (str (newFile2))) : os.remove (str (newFile2)) transparency = bytearray () @@ -445,11 +470,35 @@ def test_applyGamma (): def test_negate (): emptyDir = WString () - ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - newFile = emptyDir + WString ("\\Test3.jpg") - status, imageMap, imageSize = MstnImage.readFileToRGB (str(newFile), ImageFileFormat.eIMAGEFILE_JPEG, None) + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc, "", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 256 + size.y = 256 + + # Create an RGB image from the view + status, imageMap = MstnImage.saveViewToRGB (size, 1, False, False, 0) assert (status == BentleyStatus.eSUCCESS) + assert (len(imageMap) > 0) + + imageSize = Point2d() + imageSize.x = size.x + imageSize.y = size.y status = MstnImage.RGBSeparateToRGBInPlace (imageMap, imageSize, ImageColorMode.eRGB) assert (status == BentleyStatus.eSUCCESS) @@ -458,7 +507,8 @@ def test_negate (): status = MstnImage.RGBToRGBSeparateInPlace (imageMap, imageSize, ImageColorMode.eRGB) assert (status == BentleyStatus.eSUCCESS) - newFile2 = emptyDir + WString ("\\Test8.jpg") + + newFile2 = emptyDir + WString ("\\Test_Negate.jpg") if (os.path.exists (str (newFile2))) : os.remove (str (newFile2)) transparency = bytearray () @@ -468,26 +518,50 @@ def test_negate (): def test_extractSubImage (): emptyDir = WString () - ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - newFile = emptyDir + WString ("\\Test3.jpg") - status, imageMap, imageSize = MstnImage.readFileToRGB (str(newFile), ImageFileFormat.eIMAGEFILE_JPEG, None) + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc, "", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 512 + size.y = 512 + + # Create an RGB image from the view + status, imageMap = MstnImage.saveViewToRGB (size, 1, False, False, 0) assert (status == BentleyStatus.eSUCCESS) + assert (len(imageMap) > 0) + + imageSize = Point2d() + imageSize.x = size.x + imageSize.y = size.y outSize = Point2d () outSize.x = 200 outSize.y = 200 section = BSIRect () - section.origin.x = 400 - section.origin.y = 300 - section.corner.x = section.origin.x + outSize.x -1 - section.corner.y = section.origin.y + outSize.y -1 + section.origin.x = 100 + section.origin.y = 100 + section.corner.x = section.origin.x + outSize.x - 1 + section.corner.y = section.origin.y + outSize.y - 1 status, out = MstnImage.extractSubImage (outSize, imageMap, imageSize, section, ImageFormat.eIMAGEFORMAT_RGBSeparate) assert (status == BentleyStatus.eSUCCESS) - newFile2 = emptyDir + WString ("\\Test9.jpg") + newFile2 = emptyDir + WString ("\\Test_Extract.jpg") if (os.path.exists (str (newFile2))) : os.remove (str (newFile2)) transparency = bytearray () @@ -496,11 +570,35 @@ def test_extractSubImage (): def test_rotate (): emptyDir = WString () - ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - newFile = emptyDir + WString ("\\Test3.jpg") - status, imageMap, imageSize = MstnImage.readFileToRGB (str(newFile), ImageFileFormat.eIMAGEFILE_JPEG, None) + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc, "", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 256 + size.y = 256 + + # Create an RGB image from the view + status, imageMap = MstnImage.saveViewToRGB (size, 1, False, False, 0) assert (status == BentleyStatus.eSUCCESS) + assert (len(imageMap) > 0) + + imageSize = Point2d() + imageSize.x = size.x + imageSize.y = size.y status = MstnImage.RGBSeparateToRGBInPlace (imageMap, imageSize, ImageColorMode.eRGB) assert (status == BentleyStatus.eSUCCESS) @@ -511,7 +609,8 @@ def test_rotate (): status = MstnImage.RGBToRGBSeparateInPlace (out, outSize, ImageColorMode.eRGB) assert (status == BentleyStatus.eSUCCESS) - newFile2 = emptyDir + WString ("\\Test10.jpg") + + newFile2 = emptyDir + WString ("\\Test_Rotate.jpg") if (os.path.exists (str (newFile2))) : os.remove (str (newFile2)) transparency = bytearray () @@ -520,73 +619,453 @@ def test_rotate (): def test_mirror (): emptyDir = WString () - ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - newFile = emptyDir + WString ("\\Test3.jpg") - status, imageMap, imageSize = MstnImage.readFileToRGB (str(newFile), ImageFileFormat.eIMAGEFILE_JPEG, None) + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc, "", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 256 + size.y = 256 + + # Create an RGB image from the view + status, imageMap = MstnImage.saveViewToRGB (size, 1, False, False, 0) assert (status == BentleyStatus.eSUCCESS) + assert (len(imageMap) > 0) + + imageSize = Point2d() + imageSize.x = size.x + imageSize.y = size.y status = MstnImage.RGBSeparateToRGBInPlace (imageMap, imageSize, ImageColorMode.eRGB) assert (status == BentleyStatus.eSUCCESS) + # Mirror the image horizontally status = MstnImage.mirror (imageMap, imageSize, ImageFormat.eIMAGEFORMAT_RGB, True) assert (status == BentleyStatus.eSUCCESS) status = MstnImage.RGBToRGBSeparateInPlace (imageMap, imageSize, ImageColorMode.eRGB) assert (status == BentleyStatus.eSUCCESS) - newFile2 = emptyDir + WString ("\\Test11.jpg") + + newFile2 = emptyDir + WString ("\\Test_Mirror.jpg") if (os.path.exists (str (newFile2))) : os.remove (str (newFile2)) transparency = bytearray () status = MstnImage.extCreateFileFromRGB (str (newFile2), ImageFileFormat.eIMAGEFILE_JPEG, ImageColorMode.eRGB, imageSize, imageMap, CompressionType.eCOMPRESSTYPE_DEFAULT, CompressionRatio.eCOMPRESSIONRATIO_DEFAULT, transparency) assert (status == BentleyStatus.eSUCCESS) - - def test_typeFromFile (): emptyDir = WString () - ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - newFile = emptyDir + WString ("\\Test3.jpg") + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc, "", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 256 + size.y = 256 + + # Create a test JPEG file + newFile = emptyDir + WString ("\\Test_typeFromFile.jpg") + if (os.path.exists (str (newFile))) : + os.remove (str (newFile)) + status = MstnImage.saveView (str (newFile), size, 1, ImageFileFormat.eIMAGEFILE_JPEG, False, False, 0) + assert (status == BentleyStatus.eSUCCESS) + assert (os.path.exists (str (newFile))) + + # Test typeFromFile - determines type from file header imgType = MstnImage.typeFromFile (str(newFile)) assert (imgType == ImageFileFormat.eIMAGEFILE_JPEG) def test_fileType (): emptyDir = WString () ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) - newFile = emptyDir + WString ("\\Test3.jpg") + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc, "", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 256 + size.y = 256 + + # Create a test JPEG file + newFile = emptyDir + WString ("\\Test_fileType.jpg") + if (os.path.exists (str (newFile))) : + os.remove (str (newFile)) + status = MstnImage.saveView (str (newFile), size, 1, ImageFileFormat.eIMAGEFILE_JPEG, False, False, 0) + assert (status == BentleyStatus.eSUCCESS) + assert (os.path.exists (str (newFile))) + + # Test fileType with UNKNOWN to auto-detect imgType = MstnImage.fileType (ImageFileFormat.eIMAGEFILE_UNKNOWN, str(newFile)) assert (imgType == ImageFileFormat.eIMAGEFILE_JPEG) + + # Test fileType with specific type to verify + imgType = MstnImage.fileType (ImageFileFormat.eIMAGEFILE_JPEG, str(newFile)) + assert (imgType == ImageFileFormat.eIMAGEFILE_JPEG) + +def test_tintImage (): + emptyDir = WString () + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + + size = Point2d () + size.x = 256 + size.y = 256 + + status, imageMap = MstnImage.saveViewToRGB (size, 1, False, False, 0) + assert (status == BentleyStatus.eSUCCESS) + assert (len(imageMap) > 0) + + imageSize = Point2d() + imageSize.x = size.x + imageSize.y = size.y + + tintColor = RgbColorDef() + tintColor.red = 255 # Full red + tintColor.green = 100 + tintColor.blue = 100 + + # Apply tint to the image + MstnImage.tintImage (imageMap, imageSize, tintColor) + + # Save the tinted image to verify the operation worked + newFile2 = emptyDir + WString ("\\Test_Tinted.jpg") + if (os.path.exists (str (newFile2))) : + os.remove (str (newFile2)) + transparency = bytearray () + status = MstnImage.extCreateFileFromRGB (str (newFile2), ImageFileFormat.eIMAGEFILE_JPEG, ImageColorMode.eRGB, imageSize, imageMap, CompressionType.eCOMPRESSTYPE_DEFAULT, CompressionRatio.eCOMPRESSIONRATIO_DEFAULT, transparency) + assert (status == BentleyStatus.eSUCCESS) + assert (os.path.exists (str (newFile2))) + +def test_tintImage_grayscale (): + emptyDir = WString () + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc,"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 1024 + size.y = 768 + + status, imageMap = MstnImage.saveViewToRGB (size, 1, False, False, 0) + + assert (status == BentleyStatus.eSUCCESS) + assert (len (imageMap) ==1024*768*3) + + imageSize = Point2d() + imageSize.x = size.x + imageSize.y = size.y + + # Create a grayscale tint (50% intensity) + tintColor = RgbColorDef() + tintColor.red = 128 + tintColor.green = 128 + tintColor.blue = 128 + + # Apply tint to the image + MstnImage.tintImage (imageMap, imageSize, tintColor) + + # Save the tinted image + newFile2 = emptyDir + WString ("\\Test_Tinted_Gray.jpg") + if (os.path.exists (str (newFile2))) : + os.remove (str (newFile2)) + transparency = bytearray () + status = MstnImage.extCreateFileFromRGB (str (newFile2), ImageFileFormat.eIMAGEFILE_JPEG, ImageColorMode.eRGB, imageSize, imageMap, CompressionType.eCOMPRESSTYPE_DEFAULT, CompressionRatio.eCOMPRESSIONRATIO_DEFAULT, transparency) + assert (status == BentleyStatus.eSUCCESS) + assert (os.path.exists (str (newFile2))) + +def test_tintImage_blue (): + emptyDir = WString () + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc,"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 1024 + size.y = 768 + + status, imageMap = MstnImage.saveViewToRGB (size, 1, False, False, 0) + + assert (status == BentleyStatus.eSUCCESS) + assert (len (imageMap) ==1024*768*3) + + imageSize = Point2d() + imageSize.x = size.x + imageSize.y = size.y + + # Create a blue tint + tintColor = RgbColorDef() + tintColor.red = 100 + tintColor.green = 150 + tintColor.blue = 255 # Full blue + + # Apply tint to the image + MstnImage.tintImage (imageMap, imageSize, tintColor) + + # Save the tinted image + newFile2 = emptyDir + WString ("\\Test_Tinted_Blue.jpg") + if (os.path.exists (str (newFile2))) : + os.remove (str (newFile2)) + transparency = bytearray () + status = MstnImage.extCreateFileFromRGB (str (newFile2), ImageFileFormat.eIMAGEFILE_JPEG, ImageColorMode.eRGB, imageSize, imageMap, CompressionType.eCOMPRESSTYPE_DEFAULT, CompressionRatio.eCOMPRESSIONRATIO_DEFAULT, transparency) + assert (status == BentleyStatus.eSUCCESS) + assert (os.path.exists (str (newFile2))) +def test_memorySize_RGB (): + size = Point2d () + size.x = 1024 + size.y = 768 + + # RGB format requires 3 bytes per pixel (R, G, B) + memSize = MstnImage.memorySize (size, ImageFormat.eIMAGEFORMAT_RGB) + + expectedSize = 1024 * 768 * 3 + assert (memSize == expectedSize) +def test_memorySize_GreyScale (): + size = Point2d () + size.x = 1280 + size.y = 720 + + # GreyScale format requires 1 byte per pixel + memSize = MstnImage.memorySize (size, ImageFormat.eIMAGEFORMAT_GreyScale) + + expectedSize = 1280 * 720 + assert (memSize == expectedSize) + +def test_memorySize_variousSizes (): + testSizes = [ + (100, 100), + (256, 256), + (1920, 1080), + (3840, 2160), # 4K + ] + + for width, height in testSizes: + size = Point2d () + size.x = width + size.y = height + + # Test RGB format + memSize = MstnImage.memorySize (size, ImageFormat.eIMAGEFORMAT_RGB) + expectedSize = width * height * 3 + assert (memSize == expectedSize), f"Failed for size {width}x{height}" + + # Test RGBA format + memSize = MstnImage.memorySize (size, ImageFormat.eIMAGEFORMAT_RGBA) + expectedSize = width * height * 4 + assert (memSize == expectedSize), f"Failed for RGBA size {width}x{height}" -#if __name__ == "__main__": - #debugpy.listen(('0.0.0.0',5678), in_process_debug_adapter=True) - #print("Waiting for debugger attach") - #debugpy.wait_for_client() - #debugpy.breakpoint() - #test_saveViewToRGB () - #test_saveViewToRGBA () - #test_saveViewToFileWireFrame () - #test_saveViewToFileHiddenLine () - #test_saveViewToFileConstant () - #test_saveViewToFileSmooth () - #test_saveViewToFileVueRayTrace () - #test_saveViewToFileVuePathTrace () - #test_resizeImage () - #test_readImageFile () - #test_extCreateFileFromRGB () - #test_getExtension () - #test_getExportSupport () - #test_getImportFormatString () - #test_getExportFormatString () - #test_typeFromExtension () - #test_applyGamma () - #test_negate () - #test_extractSubImage () - #test_rotate () - #test_mirror () - #test_typeFromFile () - #test_fileType () \ No newline at end of file +def test_RGBSeparateToBGR_RGB (): + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc,"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 512 + size.y = 512 + + # Get RGB image from view (in RGB separate format) + status, rgbSeparate = MstnImage.saveViewToRGB (size, 1, False, False, 0) + assert (status == BentleyStatus.eSUCCESS) + assert (len (rgbSeparate) == 512 * 512 * 3) + + # Convert RGB separate to BGR interlaced + status, bgrImage = MstnImage.RGBSeparateToBGR (rgbSeparate, size, ImageColorMode.eRGB) + assert (status == BentleyStatus.eSUCCESS) + assert (len (bgrImage) == 512 * 512 * 3) + + # Verify the image data is different (BGR vs RGB) + assert (bgrImage != rgbSeparate) + + # Save the BGR image (convert back to RGB for saving) + emptyDir = WString () + ConfigurationManager.GetLocalTempDirectory (emptyDir,"") + newFile = emptyDir + WString ("\\Test_BGR.jpg") + if (os.path.exists (str (newFile))) : + os.remove (str (newFile)) + + transparency = bytearray () + status = MstnImage.extCreateFileFromRGB (str (newFile), ImageFileFormat.eIMAGEFILE_JPEG, ImageColorMode.eRGB, size, rgbSeparate, CompressionType.eCOMPRESSTYPE_DEFAULT, CompressionRatio.eCOMPRESSIONRATIO_DEFAULT, transparency) + assert (status == BentleyStatus.eSUCCESS) + +def test_RGBSeparateToBGR_RGBA (): + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc,"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 512 + size.y = 512 + + # Get RGBA image from view (in RGBA separate format) + status, rgbaSeparate = MstnImage.saveViewToRGBA (size, 1, False, False, 0) + assert (status == BentleyStatus.eSUCCESS) + assert (len (rgbaSeparate) == 512 * 512 * 4) + + # Convert RGBA separate to BGRA interlaced + status, bgraImage = MstnImage.RGBSeparateToBGR (rgbaSeparate, size, ImageColorMode.eRGBA) + assert (status == BentleyStatus.eSUCCESS) + assert (len (bgraImage) == 512 * 512 * 4) + + # Verify the image data is different (BGRA vs RGBA) + assert (bgraImage != rgbaSeparate) + +def test_RGBSeparateToBGR_pixelVerification (): + fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" + fileDir = getRoot(fileLocation) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + + if (status != DgnFileStatus.eDGNFILE_STATUS_Success): + assert False + + modalEvents = MyModalEventHandler () + PyEventsHandler.AddModalDialogEventsHandler (modalEvents) + + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc,"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + assert False + + PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) + + size = Point2d () + size.x = 256 + size.y = 256 + + status, rgbSeparate = MstnImage.saveViewToRGB (size, 1, False, False, 0) + assert (status == BentleyStatus.eSUCCESS) + + # Convert to BGR + status, bgrImage = MstnImage.RGBSeparateToBGR (rgbSeparate, size, ImageColorMode.eRGB) + assert (status == BentleyStatus.eSUCCESS) + + expectedSize = 256 * 256 * 3 + assert (len (bgrImage) == expectedSize) + + # Verify that the BGR format has pixels in interlaced format (BGRBGRBGR...) + # The first 3 bytes should be B, G, R for the first pixel + assert (len (bgrImage) >= 3) + + +if __name__ == "__main__": + # debugpy.listen(('0.0.0.0',5678), in_process_debug_adapter=True) + # print("Waiting for debugger attach") + # debugpy.wait_for_client() + # debugpy.breakpoint() + test_saveViewToRGB () + test_saveViewToRGBA () + test_saveViewToFileWireFrame () + test_saveViewToFileHiddenLine () + test_saveViewToFileConstant () + test_saveViewToFileSmooth () + test_saveViewToFileVueRayTrace () + test_saveViewToFileVuePathTrace () + test_resizeImage () + test_readImageFile () + test_extCreateFileFromRGB () + test_getExtension () + test_getExportSupport () + test_getImportFormatString () + test_getExportFormatString () + test_typeFromExtension () + test_applyGamma () + test_negate () + test_extractSubImage () + test_rotate () + test_mirror () + test_typeFromFile () + test_fileType () + test_tintImage () + test_tintImage_grayscale () + test_tintImage_blue () + test_memorySize_RGB () + test_memorySize_GreyScale () + test_memorySize_variousSizes () + test_RGBSeparateToBGR_RGB () + test_RGBSeparateToBGR_RGBA () + test_RGBSeparateToBGR_pixelVerification () + print("All tests passed.") \ No newline at end of file diff --git a/MSPythonTests/MstnPlatformTests/Tests/Mesh_Test.py b/MSPythonTests/MstnPlatformTests/Tests/Mesh_Test.py index a9d9bf7..053f769 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/Mesh_Test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/Mesh_Test.py @@ -159,12 +159,12 @@ def test_healHoles (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', fileDir) newFile = emptyDir + WString ("\\TerrainVolumeWithHoles.dgn") shutil.copyfile (str (doc.GetFileName ()), str (newFile)) - doc, status = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', str (emptyDir)) + status, doc = getFileFromDirectory ('TerrainVolumeWithHoles.dgn', str (emptyDir)) modalEvents = MyModalEventHandler () @@ -187,12 +187,12 @@ def test_boolEmpty (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) + status, doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) newFile = emptyDir + WString ("\\BoolEmpty.dgn") shutil.copyfile (str (doc.GetFileName ()), str (newFile)) - doc, status = getFileFromDirectory ('BoolEmpty.dgn', str (emptyDir)) + status, doc = getFileFromDirectory ('BoolEmpty.dgn', str (emptyDir)) modalEvents = MyModalEventHandler () @@ -218,12 +218,12 @@ def test_boolUnion (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) + status, doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) newFile = emptyDir + WString ("\\BoolUnion.dgn") shutil.copyfile (str (doc.GetFileName ()), str (newFile)) - doc, status = getFileFromDirectory ('BoolUnion.dgn', str (emptyDir)) + status, doc = getFileFromDirectory ('BoolUnion.dgn', str (emptyDir)) modalEvents = MyModalEventHandler () @@ -258,12 +258,12 @@ def test_boolIntersection (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) + status, doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) newFile = emptyDir + WString ("\\BoolIntersection.dgn") shutil.copyfile (str (doc.GetFileName ()), str (newFile)) - doc, status = getFileFromDirectory ('BoolIntersection.dgn', str (emptyDir)) + status, doc = getFileFromDirectory ('BoolIntersection.dgn', str (emptyDir)) modalEvents = MyModalEventHandler () @@ -299,12 +299,12 @@ def test_boolDifference (): fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) - doc, status = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) + status, doc = getFileFromDirectory ('3dMetricGeneral.dgn', fileDir) newFile = emptyDir + WString ("\\BoolDifference.dgn") shutil.copyfile (str (doc.GetFileName ()), str (newFile)) - doc, status = getFileFromDirectory ('BoolDifference.dgn', str (emptyDir)) + status, doc = getFileFromDirectory ('BoolDifference.dgn', str (emptyDir)) modalEvents = MyModalEventHandler () diff --git a/MSPythonTests/MstnPlatformTests/Tests/PylistTests/Fenceparams_Pylist_test.py b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/Fenceparams_Pylist_test.py new file mode 100644 index 0000000..535365e --- /dev/null +++ b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/Fenceparams_Pylist_test.py @@ -0,0 +1,127 @@ +import pytest +from MSPyBentley import * +from MSPyBentleyGeom import * +from MSPyECObjects import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + +def test_ClippingPointsFromRootPoints(modelRef): + dgnModel = modelRef.GetDgnModel() + fenceParams = FenceParams(dgnModel) + assert fenceParams is not None, "Failed to create FenceParams object." + + input_points_3d = DPoint3dArray([DPoint3d(100, 100, 0), DPoint3d(200, 200, 0), DPoint3d(300, 300, 0)]) + output_points_2d = DPoint2dArray([DPoint2d() for _ in range(len(input_points_3d))]) + + vp = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + points = [DPoint2d(100, 100), DPoint2d(200, 20), DPoint2d(300, 300)] + assert fenceParams.StoreClippingPoints(True, points) ==0 , "Failed to store clipping points." + fenceParams.ClippingPointsFromRootPoints(output_points_2d, input_points_3d, vp) + + assert isinstance(input_points_3d, DPoint3dArray) + assert isinstance(output_points_2d, DPoint2dArray) + assert output_points_2d == DPoint2dArray([DPoint2d(3218607.5125055313, 434469.42929412425), DPoint2d(3218607.5125055313, 434551.0789522156), DPoint2d(3218607.512505535, 434632.7286103107)]) + +def test_ClippingPointsFromRootPoints_3dArray_2dlist(modelRef): + dgnModel = modelRef.GetDgnModel() + fenceParams = FenceParams(dgnModel) + assert fenceParams is not None, "Failed to create FenceParams object." + + input_points_3d = DPoint3dArray([DPoint3d(100, 100, 0), DPoint3d(200, 200, 0), DPoint3d(300, 300, 0)]) + output_points_2d = ([DPoint2d() for _ in range(len(input_points_3d))]) + + vp = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + fenceParams.ClippingPointsFromRootPoints(output_points_2d, input_points_3d, vp) + + assert isinstance(input_points_3d, DPoint3dArray) + assert isinstance(output_points_2d, list) + print(f"Transformed points: {output_points_2d[0]}, {output_points_2d[1]}, {output_points_2d[2]}") + assert output_points_2d == [DPoint2d(3218607.5125055313, 434469.42929412425), DPoint2d(3218607.5125055313, 434551.0789522156), DPoint2d(3218607.512505535, 434632.7286103107)] + +def test_ClippingPointsFromRootPoints_3dlist_2dArray(modelRef): + dgnModel = modelRef.GetDgnModel() + fenceParams = FenceParams(dgnModel) + assert fenceParams is not None, "Failed to create FenceParams object." + + input_points_3d = ([DPoint3d(100, 100, 0), DPoint3d(200, 200, 0), DPoint3d(300, 300, 0)]) + output_points_2d = DPoint2dArray([DPoint2d() for _ in range(len(input_points_3d))]) + + vp = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + fenceParams.ClippingPointsFromRootPoints(output_points_2d, input_points_3d, vp) + + assert isinstance(input_points_3d, list) + assert isinstance(output_points_2d, DPoint2dArray) + print(f"Transformed points: {output_points_2d[0]}, {output_points_2d[1]}, {output_points_2d[2]}") + assert output_points_2d == DPoint2dArray([DPoint2d(3218607.5125055313, 434469.42929412425), DPoint2d(3218607.5125055313, 434551.0789522156), DPoint2d(3218607.512505535, 434632.7286103107)]) + +def test_ClippingPointsFromRootPoints_3dlist_2dlist(modelRef): + dgnModel = modelRef.GetDgnModel() + fenceParams = FenceParams(dgnModel) + assert fenceParams is not None, "Failed to create FenceParams object." + + input_points_3d = ([DPoint3d(100, 100, 0), DPoint3d(200, 200, 0), DPoint3d(300, 300, 0)]) + output_points_2d = ([DPoint2d() for _ in range(len(input_points_3d))]) + + vp = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + fenceParams.ClippingPointsFromRootPoints(output_points_2d, input_points_3d, vp) + + assert isinstance(input_points_3d, list) + assert isinstance(output_points_2d, list) + print(f"Transformed points: {output_points_2d[0]}, {output_points_2d[1]}, {output_points_2d[2]}") + assert output_points_2d == [DPoint2d(3218607.5125055313, 434469.42929412425), DPoint2d(3218607.5125055313, 434551.0789522156), DPoint2d(3218607.512505535, 434632.7286103107)] + +def test_ClippingPointsFromRootPoints_empty_list(modelRef): + dgnModel = modelRef.GetDgnModel() + fenceParams = FenceParams(dgnModel) + assert fenceParams is not None, "Failed to create FenceParams object." + + input_points_3d = [] + output_points_2d = [] + + vp = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + fenceParams.ClippingPointsFromRootPoints(output_points_2d, input_points_3d, vp) + + assert isinstance(input_points_3d, list) + assert isinstance(output_points_2d, list) + assert len(output_points_2d) == 0 + +def test_storeClippingPoints(modelRef): + dgnModel = modelRef.GetDgnModel() + fenceParams = FenceParams(dgnModel) + assert fenceParams is not None, "Failed to create FenceParams object." + + points = [DPoint2d(100, 100), DPoint2d(200, 20), DPoint2d(300, 300)] + result = fenceParams.StoreClippingPoints(True, points) + + assert result == 0, "Failed to store clipping points. Expected result is 0 (SUCCESS)." + +def test_storeClippingPoints_empty(modelRef): + dgnModel = modelRef.GetDgnModel() + fenceParams = FenceParams(dgnModel) + assert fenceParams is not None, "Failed to create FenceParams object." + + points = [] + result = fenceParams.StoreClippingPoints(True, points) + + assert result != 0 , "Expected non-zero result for empty points list" + +if __name__ == "__main__": + print("Test start...") + # Get the active model reference + modelRef = ISessionMgr.ActiveDgnModelRef + + test_ClippingPointsFromRootPoints(modelRef) + test_ClippingPointsFromRootPoints_3dArray_2dlist(modelRef) + test_ClippingPointsFromRootPoints_3dlist_2dArray(modelRef) + test_ClippingPointsFromRootPoints_3dlist_2dlist(modelRef) + test_ClippingPointsFromRootPoints_empty_list(modelRef) + test_storeClippingPoints(modelRef) + test_storeClippingPoints_empty(modelRef) + + print("Test end...") \ No newline at end of file diff --git a/MSPythonTests/MstnPlatformTests/Tests/PylistTests/IPlotter_Pylist_Test.py b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/IPlotter_Pylist_Test.py new file mode 100644 index 0000000..13bdf30 --- /dev/null +++ b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/IPlotter_Pylist_Test.py @@ -0,0 +1,42 @@ +import pytest +from MSPyBentley import * +from MSPyBentleyGeom import * +from MSPyECObjects import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + +def test_find_best_fit_form(): + plotter = IPlotter() + + request_width_dots = 1000.0 + request_height_dots = 800.0 + request_units = PlotUnits.emm + + best_fit_form_index = Int32Array([0]) + selected_form_fits = [False] + + plotter.FindBestFitForm(request_width_dots, request_height_dots, request_units, best_fit_form_index, selected_form_fits) + + assert best_fit_form_index[0] >= 0, "No valid form index was found." + assert isinstance(selected_form_fits[0], bool), "Selected form fits should be a boolean value." + +def test_find_best_fit_form_emptyList(): + plotter = IPlotter() + + request_width_dots = 1000.0 + request_height_dots = 800.0 + request_units = PlotUnits.emm + + best_fit_form_index = Int32Array([0]) + selected_form_fits = [] + + plotter.FindBestFitForm(request_width_dots, request_height_dots, request_units, best_fit_form_index, selected_form_fits) + + assert isinstance(selected_form_fits, list) + +if __name__ == "__main__": + print("Running test for FindBestFitForm...") + test_find_best_fit_form() + test_find_best_fit_form_emptyList() + print("Test completed successfully.") \ No newline at end of file diff --git a/MSPythonTests/MstnPlatformTests/Tests/PylistTests/IPrintDescription_Pylist_Test.py b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/IPrintDescription_Pylist_Test.py index 4e235a2..086c627 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/PylistTests/IPrintDescription_Pylist_Test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/IPrintDescription_Pylist_Test.py @@ -50,10 +50,36 @@ def test_get_view_dependent_fence_empty_list(): assert isinstance(input_points, list) ,"Input points should be a list." assert len(input_points) == 0 +def test_get_view_independent_working_fence(): + obj = IPrintDescription() + assert obj is not None, "Failed to create IPrintDescription object." + + input_points = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.5, 5.5, 6.5)] + + obj.GetViewIndependentWorkingFence(input_points) + + assert isinstance(input_points, list), "Input points should be a list." + assert len(input_points) > 0, "Input points list should not be empty after the function call." + for point in input_points: + assert isinstance(point, DPoint3d), "Each point in the list should be of type DPoint3d." + +def test_get_view_independent_working_fence_empty_list(): + obj = IPrintDescription() + assert obj is not None, "Failed to create IPrintDescription object." + + input_points = [] + + obj.GetViewIndependentWorkingFence(input_points) + + assert isinstance(input_points, list), "Input points should be a list." + assert len(input_points) == 0, "Input points list should remain empty after the function call if it was initially empty." + if __name__ == "__main__": print("Script start...") test_get_view_independent_fence() test_get_view_independent_fence_empty_list() test_get_view_dependent_fence() test_get_view_dependent_fence_empty_list() + test_get_view_independent_working_fence() + test_get_view_independent_working_fence_empty_list() print("Script end...") diff --git a/MSPythonTests/MstnPlatformTests/Tests/PylistTests/Msview_Pylist_test.py b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/Msview_Pylist_test.py new file mode 100644 index 0000000..bb23dc4 --- /dev/null +++ b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/Msview_Pylist_test.py @@ -0,0 +1,142 @@ +import pytest +from MSPyBentley import * +from MSPyBentleyGeom import * +from MSPyECObjects import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + +def test_update_multi(): + modelrefList = DgnFile.GetModelRefList (DgnFile.GetMasterFile ()) + view_draw = [True, False, True, False, True] + incremental = True + draw_mode = DgnDrawMode.eDRAW_MODE_Normal + model_ref_list = modelrefList + start_end_msg = True + + result = MstnView.updateMulti(view_draw, incremental, draw_mode, model_ref_list, start_end_msg) + assert result == None + +def test_update_multi_emptyList(): + modelrefList = DgnFile.GetModelRefList (DgnFile.GetMasterFile ()) + view_draw = [] + incremental = True + draw_mode = DgnDrawMode.eDRAW_MODE_Normal + model_ref_list = modelrefList + start_end_msg = True + + result = MstnView.updateMulti(view_draw, incremental, draw_mode, model_ref_list, start_end_msg) + assert result == None + +def test_update_multi_ex(): + modelrefList = DgnFile.GetModelRefList (DgnFile.GetMasterFile ()) + view_draw = [True, False, True, False, True] # Example view draw list + incremental = True + draw_mode = DgnDrawMode.eDRAW_MODE_Normal + start_end_msg = True + update_view_title = True + + result = MstnView.updateMultiEx(view_draw, incremental, draw_mode,modelrefList, start_end_msg, update_view_title) + + assert result is None, "updateMultiEx did not return None as expected." + +def test_update_multi_ex_emptyList(): + modelrefList = DgnFile.GetModelRefList (DgnFile.GetMasterFile ()) + view_draw = [] # empty view draw list + incremental = True + draw_mode = DgnDrawMode.eDRAW_MODE_Normal + start_end_msg = True + update_view_title = True + + result = MstnView.updateMultiEx(view_draw, incremental, draw_mode,modelrefList, start_end_msg, update_view_title) + + assert result is None, "updateMultiEx did not return None as expected." + +def test_set_level_display_mask_multi(): + active_model_ref = ISessionMgr.GetActiveDgnModelRef() + assert active_model_ref is not None, "No active model reference found." + + view_list = [True, False, True, False, True] + view_level_mask = BitMask.Create(True) + view_level_mask.SetBit(1, True) + view_level_mask.SetBit(3, True) + do_update = True + result = MstnView.setLevelDisplayMaskMulti(active_model_ref, view_list, view_level_mask, do_update) + + assert result == 0, "setLevelDisplayMaskMulti did not return SUCCESS as expected." + +def test_set_level_display_mask_multi_emptyList(): + active_model_ref = ISessionMgr.GetActiveDgnModelRef() + assert active_model_ref is not None, "No active model reference found." + + view_list = [] + view_level_mask = BitMask.Create(True) + view_level_mask.SetBit(1, True) + view_level_mask.SetBit(3, True) + do_update = True + result = MstnView.setLevelDisplayMaskMulti(active_model_ref, view_list, view_level_mask, do_update) + + assert result == 0, "setLevelDisplayMaskMulti did not return SUCCESS as expected." + +def test_change_level_display_mask_multi(): + active_model_ref = ISessionMgr.GetActiveDgnModelRef() + assert active_model_ref is not None, "No active model reference found." + + view_list = [True, False, True, False, True] # Example view list + level_mask = BitMask.Create(True) + level_mask.SetBit(1, True) + level_mask.SetBit(3, True) + operation = LevelMaskOperation.eOn + do_update = True + + result = MstnView.changeLevelDisplayMaskMulti(active_model_ref, view_list, level_mask, operation, do_update) + + assert result == 0, "changeLevelDisplayMaskMulti did not return SUCCESS as expected." + +def test_change_level_display_mask_multi_emptyList(): + active_model_ref = ISessionMgr.GetActiveDgnModelRef() + assert active_model_ref is not None, "No active model reference found." + + view_list = [] + level_mask = BitMask.Create(True) + level_mask.SetBit(1, True) + level_mask.SetBit(3, True) + operation = LevelMaskOperation.eOff + do_update = True + + result = MstnView.changeLevelDisplayMaskMulti(active_model_ref, view_list, level_mask, operation, do_update) + + assert result == 0, "changeLevelDisplayMaskMulti did not return SUCCESS as expected." + +def test_fit_to_fence(): + fence_pts = [ + DPoint2d(0.0, 0.0), + DPoint2d(10.0, 0.0), + DPoint2d(10.0, 10.0), + DPoint2d(0.0, 10.0) + ] + view_index = 1 + + result = MstnView.fitToFence(fence_pts, view_index) + assert result == 0, "fitToFence did not return SUCCESS as expected." + +def test_fit_to_fence_emptyList(): + fence_pts = [] + view_index = 1 + + result = MstnView.fitToFence(fence_pts, view_index) + assert result != 0, "fitToFence did not return SUCCESS as expected." + +if __name__ == "__main__": + print("Script start...") + test_update_multi() + test_update_multi_emptyList() + test_update_multi_ex() + test_update_multi_ex_emptyList() + test_set_level_display_mask_multi() + test_set_level_display_mask_multi_emptyList() + test_change_level_display_mask_multi() + test_change_level_display_mask_multi_emptyList() + test_fit_to_fence() + test_fit_to_fence_emptyList() + print("Script end...") diff --git a/MSPythonTests/MstnPlatformTests/Tests/PylistTests/Psolidcoreapi_Pylist_Test.py b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/Psolidcoreapi_Pylist_Test.py new file mode 100644 index 0000000..358c466 --- /dev/null +++ b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/Psolidcoreapi_Pylist_Test.py @@ -0,0 +1,98 @@ +import pytest +from MSPyBentley import * +from MSPyBentleyGeom import * +from MSPyECObjects import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + +def test_blend_edges_with_edges_and_pylist_radii(): + edges = ISubEntityPtrArray() + radii = [1.0, 2.0] + result = SolidUtil.Modify.BlendEdges(None, edges, radii, propagateSmooth=True) + assert isinstance(result, BentleyStatus), "BlendEdges with pylist edges and radii failed." + +def test_blend_edges_with_edges_and_double_array_radii(): + edges = ISubEntityPtrArray() + radii = DoubleArray([1.0, 2.0]) + result = SolidUtil.Modify.BlendEdges(None, edges, radii, propagateSmooth=True) + assert isinstance(result, BentleyStatus), "BlendEdges with pylist edges and DoubleArray radii failed." + +def test_blend_edges_with_empty_edges_and_radii(): + edges = [] # Empty list for edges + radii = [] # Empty list for radii + result = SolidUtil.Modify.BlendEdges(None, edges, radii, propagateSmooth=True) + assert isinstance(result, BentleyStatus), "BlendEdges with empty edges and radii failed." + +def test_blend_edges_with_empty_edges_and_non_empty_radii(): + edges = [] # Empty list for edges + radii = [1.0, 2.0] # Non-empty list for radii + result = SolidUtil.Modify.BlendEdges(None, edges, radii, propagateSmooth=True) + assert isinstance(result, BentleyStatus), "BlendEdges with empty edges and non-empty radii failed." + +def test_blend_edges_with_non_empty_edges_and_empty_radii(): + edges = ISubEntityPtrArray() # Non-empty list for edges + radii = [] # Empty list for radii + result = SolidUtil.Modify.BlendEdges(None, edges, radii, propagateSmooth=True) + assert isinstance(result, BentleyStatus), "BlendEdges with non-empty edges and empty radii failed." + +def test_ChamferEdges(value1, value2): + edges = ISubEntityPtrArray() + mode = SolidUtil.Modify.ChamferMode.eAngleDistance + result = SolidUtil.Modify.ChamferEdges(None, edges, value1, value2, mode, propagateSmooth=True) + assert isinstance(result, BentleyStatus), "ChamferEdges with provided values failed." + +def test_HollowFaces(distances): + defaultDistance = 1.0 + faces = ISubEntityPtrArray() + addStep = SolidUtil.Modify.StepFacesOption.eADD_STEP_Smooth + result = SolidUtil.Modify.HollowFaces(None, defaultDistance, faces, distances, addStep) + + assert isinstance(result, BentleyStatus) + +def test_OffsetFaces(distances): + faces = ISubEntityPtrArray() + addStep = SolidUtil.Modify.StepFacesOption.eADD_STEP_Smooth + result = SolidUtil.Modify.OffsetFaces(None, faces, distances, addStep) + + assert isinstance(result, BentleyStatus) + +def test_OffsetThroughHole(distances): + faces = ISubEntityPtrArray() + result = SolidUtil.Modify.OffsetThroughHole(None, faces, distances) + + assert isinstance(result, BentleyStatus) + +def test_OffsetFacesWithStatus(distances): + faces = ISubEntityPtrArray() + addStep = SolidUtil.Modify.StepFacesOption.eADD_STEP_Smooth + result, updatedStatus = SolidUtil.Modify.OffsetFacesWithStatus(None, faces, distances, addStep, 1) + + assert isinstance(result, BentleyStatus) + assert isinstance(updatedStatus, int), "Offset status should be an integer" + +if __name__ == "__main__": + print("Running tests...") + test_blend_edges_with_edges_and_pylist_radii() + test_blend_edges_with_edges_and_double_array_radii() + test_blend_edges_with_empty_edges_and_radii() + test_blend_edges_with_empty_edges_and_non_empty_radii() + test_blend_edges_with_non_empty_edges_and_empty_radii() + test_ChamferEdges(DoubleArray([1.0, 2.0]), DoubleArray([3.0, 4.0])) + test_ChamferEdges(DoubleArray([1.0, 2.0]), [3.0, 4.0]) + test_ChamferEdges([1.0, 2.0], DoubleArray([3.0, 4.0])) + test_ChamferEdges([1.0, 2.0], [3.0, 4.0]) + test_ChamferEdges([], []) + test_HollowFaces([1.0, 2.0]) + test_HollowFaces(DoubleArray([1.0, 2.0])) + test_HollowFaces([]) # Empty list for distances + test_OffsetFaces([1.0, 2.0]) + test_OffsetFaces(DoubleArray([1.0, 2.0])) + test_OffsetFaces([]) # Empty list for distances + test_OffsetThroughHole([1.0, 2.0]) + test_OffsetThroughHole(DoubleArray([1.0, 2.0])) + test_OffsetThroughHole([]) # Empty list for distances + test_OffsetFacesWithStatus([1.0, 2.0]) + test_OffsetFacesWithStatus(DoubleArray([1.0, 2.0])) + test_OffsetFacesWithStatus([]) # Empty list for distances + print("All tests passed successfully.") \ No newline at end of file diff --git a/MSPythonTests/MstnPlatformTests/Tests/PylistTests/dgnViewPort_Pylist_test.py b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/dgnViewPort_Pylist_test.py new file mode 100644 index 0000000..bd4968c --- /dev/null +++ b/MSPythonTests/MstnPlatformTests/Tests/PylistTests/dgnViewPort_Pylist_test.py @@ -0,0 +1,307 @@ +import pytest +from MSPyBentley import * +from MSPyBentleyGeom import * +from MSPyECObjects import * +from MSPyDgnPlatform import * +from MSPyDgnView import * +from MSPyMstnPlatform import * + +@pytest.mark.parametrize(("Npc_type", "View_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_NpcToView(Npc_type, View_type): + #Test len(IndexedViewSet) + assert len(IViewManager.GetManager().GetActiveViewSet()) > 0 + + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + npcPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if Npc_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + viewPts = [DPoint3d() for _ in range(len(npcPts))] if View_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(npcPts))]) + + viewport.NpcToView(viewPts, npcPts) + + assert len(viewPts) == len(npcPts) + if View_type == "array": + assert isinstance(viewPts, DPoint3dArray) + else: + assert isinstance(viewPts, list) + +@pytest.mark.parametrize(("Npc_type", "View_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_ViewToNpc(Npc_type, View_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + + viewPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if View_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + npcPts = [DPoint3d() for _ in range(len(viewPts))] if Npc_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(viewPts))]) + + viewport.ViewToNpc(npcPts, viewPts) + + assert len(viewPts) == len(npcPts) + if Npc_type == "array": + assert isinstance(npcPts, DPoint3dArray) + else: + assert isinstance(npcPts, list) + +@pytest.mark.parametrize(("Npc_type", "Root_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_NpcToRoot(Npc_type, Root_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + + npcPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if Npc_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + rootPts = [DPoint3d() for _ in range(len(npcPts))] if Root_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(npcPts))]) + + viewport.NpcToRoot(rootPts, npcPts) + + assert len(rootPts) == len(npcPts) + if Root_type == "array": + assert isinstance(rootPts, DPoint3dArray) + else: + assert isinstance(rootPts, list) + +@pytest.mark.parametrize(("Root_type", "Npc_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_RootToNpc(Root_type, Npc_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + rootPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if Root_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + npcPts = [DPoint3d() for _ in range(len(rootPts))] if Npc_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(rootPts))]) + + viewport.RootToNpc(npcPts, rootPts) + + assert len(rootPts) == len(npcPts) + if Npc_type == "array": + assert isinstance(npcPts, DPoint3dArray) + else: + assert isinstance(npcPts, list) + +@pytest.mark.parametrize(("Root_type", "View_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_RootToView(Root_type, View_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + rootPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if Root_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + viewPts = [DPoint3d() for _ in range(len(rootPts))] if View_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(rootPts))]) + + viewport.RootToView(viewPts, rootPts) + + assert len(rootPts) == len(viewPts) + if View_type == "array": + assert isinstance(viewPts, DPoint3dArray) + else: + assert isinstance(viewPts, list) + +@pytest.mark.parametrize(("View_type", "Root_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_ViewToRoot(Root_type, View_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + viewPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if View_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + rootPts = [DPoint3d() for _ in range(len(viewPts))] if Root_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(viewPts))]) + + viewport.ViewToRoot(rootPts, viewPts) + + assert len(rootPts) == len(viewPts) + if Root_type == "array": + assert isinstance(rootPts, DPoint3dArray) + else: + assert isinstance(rootPts, list) + +@pytest.mark.parametrize(("Active_type", "View_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_ActiveToView(Active_type, View_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + activePts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if Active_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + viewPts = [DPoint3d() for _ in range(len(activePts))] if View_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(activePts))]) + + viewport.ActiveToView(viewPts, activePts) + + assert len(activePts) == len(viewPts) + if View_type == "array": + assert isinstance(viewPts, DPoint3dArray) + else: + assert isinstance(viewPts, list) + +@pytest.mark.parametrize(("Active_type", "View_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_ViewToActive(Active_type, View_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + viewPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if View_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + activePts = [DPoint3d() for _ in range(len(viewPts))] if Active_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(viewPts))]) + + viewport.ViewToActive(activePts, viewPts) + + assert len(activePts) == len(viewPts) + if Active_type == "array": + assert isinstance(activePts, DPoint3dArray) + else: + assert isinstance(activePts, list) + +@pytest.mark.parametrize(("Active_type", "Root_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_ActiveToRoot(Active_type, Root_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + activePts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if Active_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + rootPts = [DPoint3d() for _ in range(len(activePts))] if Root_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(activePts))]) + + viewport.ActiveToRoot(rootPts, activePts) + + assert len(activePts) == len(rootPts) + if Root_type == "array": + assert isinstance(rootPts, DPoint3dArray) + else: + assert isinstance(rootPts, list) + +@pytest.mark.parametrize(("Root_type", "Active_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_RootToActive(Root_type, Active_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + rootPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if Root_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + activePts = [DPoint3d() for _ in range(len(rootPts))] if Active_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(rootPts))]) + + viewport.RootToActive(rootPts, activePts) + + assert len(activePts) == len(rootPts) + if Active_type == "array": + assert isinstance(activePts, DPoint3dArray) + else: + assert isinstance(activePts, list) + +@pytest.mark.parametrize(("View_type", "Screen_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_ViewToScreen(View_type, Screen_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + viewPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if View_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + screenPts = [DPoint3d() for _ in range(len(viewPts))] if View_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(viewPts))]) + + viewport.ViewToScreen(screenPts, viewPts) + + assert len(screenPts) == len(viewPts) + if Screen_type == "array": + assert isinstance(screenPts, DPoint3dArray) + else: + assert isinstance(screenPts, list) + +@pytest.mark.parametrize(("View_type", "Screen_type"), [ + ("list", "list"), + ("list", "array"), + ("array", "list"), + ("array", "array") +]) +def test_ScreenToView(View_type, Screen_type): + viewport = IViewManager.GetManager().GetActiveViewSet().GetViewport(1) + + screenPts = [DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)] if Screen_type == "list" else DPoint3dArray([DPoint3d(1.0, 2.0, 3.0), DPoint3d(4.0, 5.0, 6.0)]) + viewPts= [DPoint3d() for _ in range(len(screenPts))] if View_type == "list" else DPoint3dArray([DPoint3d() for _ in range(len(screenPts))]) + + viewport.ScreenToView(viewPts, screenPts) + + assert len(screenPts) == len(viewPts) + if View_type == "array": + assert isinstance(viewPts, DPoint3dArray) + else: + assert isinstance(viewPts, list) + +if __name__ == "__main__": + print("Test start...") + # Get the active model reference + ISessionMgr.ActiveDgnModelRef + test_NpcToView("list", "list") + test_NpcToView("list", "array") + test_NpcToView("array", "list") + test_NpcToView("array", "array") + test_ViewToNpc("list", "list") + test_ViewToNpc("list", "array") + test_ViewToNpc("array", "list") + test_ViewToNpc("array", "array") + test_NpcToRoot("list", "list") + test_NpcToRoot("list", "array") + test_NpcToRoot("array", "list") + test_NpcToRoot("array", "array") + test_RootToNpc("list", "list") + test_RootToNpc("list", "array") + test_RootToNpc("array", "list") + test_RootToNpc("array", "array") + test_RootToView("list", "list") + test_RootToView("list", "array") + test_RootToView("array", "list") + test_RootToView("array", "array") + test_ViewToRoot("list", "list") + test_ViewToRoot("list", "array") + test_ViewToRoot("array", "list") + test_ViewToRoot("array", "array") + test_ActiveToView("list", "list") + test_ActiveToView("list", "array") + test_ActiveToView("array", "list") + test_ActiveToView("array", "array") + test_ViewToActive("list", "list") + test_ViewToActive("list", "array") + test_ViewToActive("array", "list") + test_ViewToActive("array", "array") + test_ActiveToRoot("list", "list") + test_ActiveToRoot("list", "array") + test_ActiveToRoot("array", "list") + test_ActiveToRoot("array", "array") + test_RootToActive("list", "list") + test_RootToActive("list", "array") + test_RootToActive("array", "list") + test_RootToActive("array", "array") + test_ViewToScreen("list", "list") + test_ViewToScreen("list", "array") + test_ViewToScreen("array", "list") + test_ViewToScreen("array", "array") + test_ScreenToView("list", "list") + test_ScreenToView("list", "array") + test_ScreenToView("array", "list") + test_ScreenToView("array", "array") + + print("Test end...") \ No newline at end of file diff --git a/MSPythonTests/MstnPlatformTests/Tests/SessionMgr_Test.py b/MSPythonTests/MstnPlatformTests/Tests/SessionMgr_Test.py index 36d2e5a..d5a6427 100644 --- a/MSPythonTests/MstnPlatformTests/Tests/SessionMgr_Test.py +++ b/MSPythonTests/MstnPlatformTests/Tests/SessionMgr_Test.py @@ -68,21 +68,21 @@ def test_SwitchToFile (): fileDir = getRoot(fileLocation) doc = getFileFromDirectory ('Blank.dgn', fileDir) - if (doc[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (doc[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False modalEvents = MyIgnoreAllModalEventHandler () PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) dgnFile = ISessionMgr.GetMasterDgnFile () - assert repr(doc[0].GetFileName ()) == repr(dgnFile.GetFileName ()) + assert repr(doc[1].GetFileName ()) == repr(dgnFile.GetFileName ()) ''' Session Monitor Class ''' class MySessionMonitor(SessionMonitor): @@ -94,12 +94,12 @@ def __init__(self, fileName, oldFileName): ''' Callback called after opening a dgnFile ''' def _OnMasterFileStart (self, dgnFile): - assert 'SESSIONMGR_TEST.PY' == globals()["__mdlDescr__"] + assert 'SessionMgr_Test.py' == globals()["__mdlDescr__"] assert repr(self.fileName) == repr(dgnFile.GetFileName ()) ''' Callback called before closing a dgnFile ''' def _OnMasterFileStop (self, dgnFile, changingFiles): - assert 'SESSIONMGR_TEST.PY' == globals()["__mdlDescr__"] + assert 'SessionMgr_Test.py' == globals()["__mdlDescr__"] assert repr(self.oldFileName) == repr(dgnFile.GetFileName ()) ''' Callback called before a modelref is activated ''' @@ -112,7 +112,7 @@ def _OnModelRefActivate (self, newModelRef, oldModelRef): ''' Callback called after activating a model to make it active ''' def _OnModelRefActivated (self, newModelRef, oldModelRef): - assert 'SESSIONMGR_TEST.PY' == globals()["__mdlDescr__"] + assert 'SessionMgr_Test.py' == globals()["__mdlDescr__"] assert False == ISessionMgr.GetManager ().IsDesignFileInitialized () def _OnReleaseWriteLock (self, dgnFileVector): @@ -126,26 +126,26 @@ def _OnWriteLocked (self, dgnFile): ''' Switch Microstation to a new dgn file ''' -@pytest.mark.parametrize('testFileName', ['SESSIONMGR_TEST.PY']) #ensure the process/mdl descriptor for the test is initialized and switched into -def test_SessionMonitor (initProcessDescrForTest): - globals()["__mdlDescr__"] = 'SESSIONMGR_TEST.PY' # Pytest must be setting/clearing globals() before the test, this has to be done here with a test which needs to run with a process descriptor +#@pytest.mark.parametrize('testFileName', ['SessionMgr_Test.py']) #ensure the process/mdl descriptor for the test is initialized and switched into +def test_SessionMonitor (): + globals()["__mdlDescr__"] = 'SessionMgr_Test.py' # Pytest must be setting/clearing globals() before the test, this has to be done here with a test which needs to run with a process descriptor # print(f"__mdlDescr__ {globals()["__mdlDescr__"]}") fileLocation = "MSPython\\MSPythonTests\\PlatformTests\\data\\" fileDir = getRoot(fileLocation) doc = getFileFromDirectory ('Blank.dgn', fileDir) - if (doc[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (doc[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False modalEvents = MyIgnoreAllModalEventHandler () PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - mon = MySessionMonitor (doc[0].GetFileName (), ISessionMgr.GetMasterDgnFile ().GetFileName ()) + mon = MySessionMonitor (doc[1].GetFileName (), ISessionMgr.GetMasterDgnFile ().GetFileName ()) ISessionMgr.AddSessionMonitor (mon) - if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[0],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): + if (BentleyStatus.eSUCCESS != ISessionMgr.GetManager ().SwitchToNewFile (doc[1],"", GraphicsFileType.eGRAPHICSFILE_WildCard, True, True)): assert False ISessionMgr.DropSessionMonitor (mon) @@ -172,16 +172,16 @@ def test_FindDesignFile (): fileDir = getRoot(fileLocation) doc = getFileFromDirectory ('2dMetricGeneral.dgn', fileDir) - if (doc[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (doc[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False modalEvents = MyIgnoreAllModalEventHandler () PyEventsHandler.AddModalDialogEventsHandler (modalEvents) - ret = ISessionMgr.GetManager().FindDesignFile (repr (doc[0].GetFileName ()), "", GraphicsFileType.eGRAPHICSFILE_WildCard, True) + ret = ISessionMgr.GetManager().FindDesignFile (repr (doc[1].GetFileName ()), "", GraphicsFileType.eGRAPHICSFILE_WildCard, True) PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) - if (ret[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (ret[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False - assert repr(doc[0].GetFileName ()) == repr(ret[0].GetFileName ()) + assert repr(doc[1].GetFileName ()) == repr(ret[1].GetFileName ()) ''' Class to capture events to a Microstation modal dialog ''' class MyModalEventHandler(IPyModalDialogEvents): @@ -236,16 +236,16 @@ def test_OpenFileDialog (): fileDir = getRoot(fileLocation) doc = getFileFromDirectory ('2dMetricGeneral.dgn', fileDir) - if (doc[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (doc[0] != DgnFileStatus.eDGNFILE_STATUS_Success): assert False - modalEvents = MyModalEventHandler (repr (fileDir), repr(doc[0].GetFileName ())) + modalEvents = MyModalEventHandler (repr (fileDir), repr(doc[1].GetFileName ())) PyEventsHandler.AddModalDialogEventsHandler (modalEvents) ret = ISessionMgr.GetManager().OpenDgnFileDialog () - if (ret[1] != DgnFileStatus.eDGNFILE_STATUS_Success): + if (ret[0] != DgnFileStatus.eDGNFILE_STATUS_Success): PyEventsHandler.RemoveModalDialogEventsHandler (modalEvents) assert False, " test_openFileDialog : couldn't Open File" diff --git a/MSPythonWrapper/PyBentley/PyBentley.mke.sourcemap.json b/MSPythonWrapper/PyBentley/PyBentley.mke.sourcemap.json new file mode 100644 index 0000000..558661e --- /dev/null +++ b/MSPythonWrapper/PyBentley/PyBentley.mke.sourcemap.json @@ -0,0 +1,172 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../../InternalAPI/MSPyBindTemplates.h", + "../../InternalAPI/MSPyCommon.h", + "../../InternalAPI/MSPythonEngine.h", + "../../InternalAPI/OpqueTypes_Bentley.h", + "../../InternalAPI/OpqueTypes_DgnPlatform.h", + "../../InternalAPI/OpqueTypes_ECObject.h", + "../../InternalAPI/OpqueTypes_Geom.h", + "../../InternalAPI/Pybind11/attr.h", + "../../InternalAPI/Pybind11/buffer_info.h", + "../../InternalAPI/Pybind11/cast.h", + "../../InternalAPI/Pybind11/detail/class.h", + "../../InternalAPI/Pybind11/detail/common.h", + "../../InternalAPI/Pybind11/detail/descr.h", + "../../InternalAPI/Pybind11/detail/init.h", + "../../InternalAPI/Pybind11/detail/internals.h", + "../../InternalAPI/Pybind11/detail/type_caster_base.h", + "../../InternalAPI/Pybind11/detail/typeid.h", + "../../InternalAPI/Pybind11/embed.h", + "../../InternalAPI/Pybind11/eval.h", + "../../InternalAPI/Pybind11/gil.h", + "../../InternalAPI/Pybind11/operators.h", + "../../InternalAPI/Pybind11/options.h", + "../../InternalAPI/Pybind11/pybind11.h", + "../../InternalAPI/Pybind11/pytypes.h", + "../../InternalAPI/Pybind11/stl.h", + "../../InternalAPI/Pybind11/stl_bind.h", + "../../MSPythonPCH.cpp", + "../../MSPythonPCH.h", + "../../PublicAPI/MSPythonCore/MSPython.h", + "../../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "PyBentley.mke", + "source/PyBentley.cpp", + "source/base64utilities.cpp", + "source/befile.cpp", + "source/befilelistiterator.cpp", + "source/befilename.cpp", + "source/bestringutilities.cpp", + "source/codepages.cpp", + "source/datetime.cpp", + "source/heapzone.cpp", + "source/namespacemanager.cpp", + "source/valueformat.r.cpp", + "source/wstring.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonWrapper/PyBentley/source/ParentTypes/betextfile.cpp b/MSPythonWrapper/PyBentley/source/ParentTypes/betextfile.cpp index fcb840d..76a8052 100644 --- a/MSPythonWrapper/PyBentley/source/ParentTypes/betextfile.cpp +++ b/MSPythonWrapper/PyBentley/source/ParentTypes/betextfile.cpp @@ -115,10 +115,11 @@ static const char * __doc_Bentley_BeTextFile_Open = R"doc(Opens a text file for s When opened for write, the *encoding* argument indicates how the output is to be written. If there is an existing file with the same name, that file is replaced by a new file. - -:returns: - A pointer to the file. If status is not BeFileStatus::Success then - the pointer will fail the IsValid() check.)doc"; + +returns: + A Tuple: + - (Tuple, 0): BeFileStatus::Success on success or the file open error. + - (Tuple, 1): A pointer to the file. If the status is not BeFileStatus::Success, this will be None.)doc"; @@ -175,7 +176,7 @@ void def_BeTextFile(py::module_& m) { BeFileStatus status = BeFileStatus::UnknownError; auto retVal = BeTextFile::Open(status, fullFileSpec, openType, options, encoding); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "fullFileSpec"_a, "openType"_a, "options"_a, "encoding"_a = TextFileEncoding::CurrentLocale, DOC(Bentley, BeTextFile, Open)); c1.def("Close", &BeTextFile::Close, DOC(Bentley, BeTextFile, Close)); diff --git a/MSPythonWrapper/PyBentley/source/bestringutilities.cpp b/MSPythonWrapper/PyBentley/source/bestringutilities.cpp index 52928ee..659f58f 100644 --- a/MSPythonWrapper/PyBentley/source/bestringutilities.cpp +++ b/MSPythonWrapper/PyBentley/source/bestringutilities.cpp @@ -27,6 +27,11 @@ static const char * __doc_Bentley_BeStringUtilities_ParseUInt64 = R"doc(Parses a :param string: A string representation of a decimal value. +:returns: + A Tuple: + - (Tuple, 0): The status of the operation (e.g., Success or an error code). + - (Tuple, 1): The resulting integer number. + Remark: s ``string`` must not contain any extra characters or whitespace. This function does not skip leading whitespace or stop at trailing @@ -200,7 +205,7 @@ void def_BeStringUtilities(py::module_& m) c1.def_static("ParseUInt64", [](uint64_t& value, WStringCR string) { BentleyStatus status = BeStringUtilities::ParseUInt64(value, string.GetWCharCP()); - return py::make_tuple(value, status); + return py::make_tuple(status, value); }, "value"_a, "string"_a, DOC(Bentley, BeStringUtilities, ParseUInt64), DOC(Bentley, BeStringUtilities, ParseUInt64)); c1.def_static("LexicographicCompare", [](WStringCR value0, WStringCR value1) diff --git a/MSPythonWrapper/PyBentleyGeom/PyBentleyGeom.mke.sourcemap.json b/MSPythonWrapper/PyBentleyGeom/PyBentleyGeom.mke.sourcemap.json new file mode 100644 index 0000000..f97ba98 --- /dev/null +++ b/MSPythonWrapper/PyBentleyGeom/PyBentleyGeom.mke.sourcemap.json @@ -0,0 +1,209 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../../InternalAPI/MSPyBindTemplates.h", + "../../InternalAPI/MSPyCommon.h", + "../../InternalAPI/MSPythonEngine.h", + "../../InternalAPI/OpqueTypes_Bentley.h", + "../../InternalAPI/OpqueTypes_DgnPlatform.h", + "../../InternalAPI/OpqueTypes_ECObject.h", + "../../InternalAPI/OpqueTypes_Geom.h", + "../../InternalAPI/Pybind11/attr.h", + "../../InternalAPI/Pybind11/buffer_info.h", + "../../InternalAPI/Pybind11/cast.h", + "../../InternalAPI/Pybind11/complex.h", + "../../InternalAPI/Pybind11/detail/class.h", + "../../InternalAPI/Pybind11/detail/common.h", + "../../InternalAPI/Pybind11/detail/descr.h", + "../../InternalAPI/Pybind11/detail/init.h", + "../../InternalAPI/Pybind11/detail/internals.h", + "../../InternalAPI/Pybind11/detail/type_caster_base.h", + "../../InternalAPI/Pybind11/detail/typeid.h", + "../../InternalAPI/Pybind11/embed.h", + "../../InternalAPI/Pybind11/eval.h", + "../../InternalAPI/Pybind11/gil.h", + "../../InternalAPI/Pybind11/numpy.h", + "../../InternalAPI/Pybind11/operators.h", + "../../InternalAPI/Pybind11/options.h", + "../../InternalAPI/Pybind11/pybind11.h", + "../../InternalAPI/Pybind11/pytypes.h", + "../../InternalAPI/Pybind11/stl.h", + "../../InternalAPI/Pybind11/stl_bind.h", + "../../MSPythonPCH.cpp", + "../../MSPythonPCH.h", + "../../PublicAPI/MSPythonCore/MSPython.h", + "../../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "../PyBentley/source/ParentTypes/basetypebvector.cpp", + "PyBentleyGeom.mke", + "source/BeXmlCGStreamReader.cpp", + "source/DPoint3dOps.cpp", + "source/PolylineOps.cpp", + "source/PyBentleyGeom.cpp", + "source/angle.cpp", + "source/bsiquadrature.cpp", + "source/bsplinestructs.cpp", + "source/clipplane.cpp", + "source/clipplaneset.cpp", + "source/compounddrawstate.cpp", + "source/curvedetails.cpp", + "source/curveprimitive.cpp", + "source/curveprimitiveId.cpp", + "source/curvetopologyId.cpp", + "source/curvevector.cpp", + "source/dbilinearpatch3d.cpp", + "source/dellipse3d.cpp", + "source/dmap4d.cpp", + "source/dmatrix4d.cpp", + "source/dplane3d.cpp", + "source/dpoint2d.cpp", + "source/dpoint3d.cpp", + "source/dpoint4d.cpp", + "source/drange1d.cpp", + "source/drange2d.cpp", + "source/drange3d.cpp", + "source/dray3d.cpp", + "source/dsegment1d.cpp", + "source/dsegment3d.cpp", + "source/dspiral2dbase.cpp", + "source/dtriangle3d.cpp", + "source/dvec2d.cpp", + "source/dvec3d.cpp", + "source/facetoptions.cpp", + "source/geomapi.cpp", + "source/geomapi.r.cpp", + "source/geopoint.cpp", + "source/graphicspoint.cpp", + "source/msbsplinecurve.cpp", + "source/msbsplinesurface.cpp", + "source/msinterpolationcurve.cpp", + "source/point.cpp", + "source/polyface.cpp", + "source/rotmatrix.cpp", + "source/solidprimitive.cpp", + "source/transform.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonWrapper/PyBentleyGeom/source/curveprimitive.cpp b/MSPythonWrapper/PyBentleyGeom/source/curveprimitive.cpp index cdc80ea..4756a8b 100644 --- a/MSPythonWrapper/PyBentleyGeom/source/curveprimitive.cpp +++ b/MSPythonWrapper/PyBentleyGeom/source/curveprimitive.cpp @@ -516,7 +516,10 @@ static const char * __doc_Bentley_Geom_ICurvePrimitive_CreateSpiral =R"doc(Alloc fractionA start fraction for active portion of curve :param (input): - fractionB end fraction for active portion of curve)doc"; + fractionB end fraction for active portion of curve + +:param (input) : + maxStrokeLength maximum stroke length.Recommended 100000 UORs(corresponds to 10 meters, typically).)doc"; static const char * __doc_Bentley_Geom_ICurvePrimitive_CreateRectangle =R"doc(Create a rectangle from xy corners. @@ -760,7 +763,10 @@ void def_CurvePrimitive(py::module_& m) return ICurvePrimitive:: CreatePointString(cpppoints); }, "points"_a, DOC(Bentley, Geom, ICurvePrimitive, CreatePointString)); c1.def_static("CreateRectangle", &ICurvePrimitive::CreateRectangle, "x0"_a, "y0"_a, "x1"_a, "y1"_a, "z"_a, "areaSignPreference"_a = 0, DOC(Bentley, Geom, ICurvePrimitive, CreateRectangle)); - c1.def_static("CreateSpiral", &ICurvePrimitive::CreateSpiral, "spiral"_a, "frame"_a, "fractionA"_a, "fractionB"_a, DOC(Bentley, Geom, ICurvePrimitive, CreateSpiral)); + + c1.def_static("CreateSpiral", py::overload_cast(&ICurvePrimitive::CreateSpiral),"spiral"_a, "frame"_a, "fractionA"_a, "fractionB"_a, DOC(Bentley, Geom, ICurvePrimitive, CreateSpiral)); + c1.def_static("CreateSpiral", py::overload_cast(&ICurvePrimitive::CreateSpiral), "spiral"_a, "frame"_a, "fractionA"_a, "fractionB"_a, "maxStrokeLength"_a, DOC(Bentley, Geom, ICurvePrimitive, CreateSpiral)); + c1.def_static("CreateXYCatenaryVertexCoefficientSignedDistanceLimits", &ICurvePrimitive::CreateXYCatenaryVertexCoefficientSignedDistanceLimits, "a"_a, "basis"_a, "s0"_a, "s1"_a); c1.def_static("CreateSpiralBearingCurvatureBearingCurvature", &ICurvePrimitive::CreateSpiralBearingCurvatureBearingCurvature, diff --git a/MSPythonWrapper/PyBentleyGeom/source/rotmatrix.cpp b/MSPythonWrapper/PyBentleyGeom/source/rotmatrix.cpp index 0a07d1e..e0f1e6a 100644 --- a/MSPythonWrapper/PyBentleyGeom/source/rotmatrix.cpp +++ b/MSPythonWrapper/PyBentleyGeom/source/rotmatrix.cpp @@ -1476,7 +1476,7 @@ void def_RotMatrix(py::module_& m) c1.def("IsEqual", py::overload_cast(&RotMatrix::IsEqual, py::const_), "maxtrix2"_a, "tolerance"_a, DOC(Bentley, Geom, RotMatrix, IsEqual)); c1.def("FactorRotateScaleRotate", &RotMatrix::FactorRotateScaleRotate, "rotation1"_a, "scalePoint"_a, "rotation2"_a, DOC(Bentley, Geom, RotMatrix, FactorRotateScaleRotate)); - c1.def("RotateAndSkewFactors", &RotMatrix::RotateAndSkewFactors, "rotation"_a, "skewFactor"_a = 0, "primiaryAxis"_a, "secondaryAxis"_a, DOC(Bentley, Geom, RotMatrix, RotateAndSkewFactors)); + c1.def("RotateAndSkewFactors", &RotMatrix::RotateAndSkewFactors, "rotation"_a, "skewFactor"_a, "primiaryAxis"_a, "secondaryAxis"_a, DOC(Bentley, Geom, RotMatrix, RotateAndSkewFactors)); c1.def("FactorOrthogonalColumns", &RotMatrix::FactorOrthogonalColumns, "matrixB"_a, "maxtrixV"_a, DOC(Bentley, Geom, RotMatrix, FactorOrthogonalColumns)); c1.def("InitTransposedFromQuaternionWXYZ", &RotMatrix::InitTransposedFromQuaternionWXYZ, "wxyzQuat"_a, DOC(Bentley, Geom, RotMatrix, InitTransposedFromQuaternionWXYZ)); diff --git a/MSPythonWrapper/PyBentleyGeom/testUtilities/PyGeomTest.mke.sourcemap.json b/MSPythonWrapper/PyBentleyGeom/testUtilities/PyGeomTest.mke.sourcemap.json new file mode 100644 index 0000000..ec0a683 --- /dev/null +++ b/MSPythonWrapper/PyBentleyGeom/testUtilities/PyGeomTest.mke.sourcemap.json @@ -0,0 +1,165 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../../../InternalAPI/MSPyBindTemplates.h", + "../../../InternalAPI/MSPyCommon.h", + "../../../InternalAPI/MSPythonEngine.h", + "../../../InternalAPI/OpqueTypes_Bentley.h", + "../../../InternalAPI/OpqueTypes_DgnPlatform.h", + "../../../InternalAPI/OpqueTypes_ECObject.h", + "../../../InternalAPI/OpqueTypes_Geom.h", + "../../../InternalAPI/Pybind11/attr.h", + "../../../InternalAPI/Pybind11/buffer_info.h", + "../../../InternalAPI/Pybind11/cast.h", + "../../../InternalAPI/Pybind11/detail/class.h", + "../../../InternalAPI/Pybind11/detail/common.h", + "../../../InternalAPI/Pybind11/detail/descr.h", + "../../../InternalAPI/Pybind11/detail/init.h", + "../../../InternalAPI/Pybind11/detail/internals.h", + "../../../InternalAPI/Pybind11/detail/type_caster_base.h", + "../../../InternalAPI/Pybind11/detail/typeid.h", + "../../../InternalAPI/Pybind11/embed.h", + "../../../InternalAPI/Pybind11/eval.h", + "../../../InternalAPI/Pybind11/gil.h", + "../../../InternalAPI/Pybind11/operators.h", + "../../../InternalAPI/Pybind11/options.h", + "../../../InternalAPI/Pybind11/pybind11.h", + "../../../InternalAPI/Pybind11/pytypes.h", + "../../../InternalAPI/Pybind11/stl.h", + "../../../InternalAPI/Pybind11/stl_bind.h", + "../../../MSPythonPCH.cpp", + "../../../MSPythonPCH.h", + "../../../PublicAPI/MSPythonCore/MSPython.h", + "../../../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../../../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "DoubleOps.cpp", + "PyGeomTest.mke", + "checkers.cpp", + "checkers.h", + "pycheckers.cpp", + "pygeomtest.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/PyDgnPlatform.mke.sourcemap.json b/MSPythonWrapper/PyDgnPlatform/PyDgnPlatform.mke.sourcemap.json new file mode 100644 index 0000000..60f2b34 --- /dev/null +++ b/MSPythonWrapper/PyDgnPlatform/PyDgnPlatform.mke.sourcemap.json @@ -0,0 +1,363 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../../InternalAPI/MSPyBindTemplates.h", + "../../InternalAPI/MSPyCommon.h", + "../../InternalAPI/MSPythonEngine.h", + "../../InternalAPI/OpqueTypes_Bentley.h", + "../../InternalAPI/OpqueTypes_DgnPlatform.h", + "../../InternalAPI/OpqueTypes_ECObject.h", + "../../InternalAPI/OpqueTypes_Geom.h", + "../../InternalAPI/Pybind11/attr.h", + "../../InternalAPI/Pybind11/buffer_info.h", + "../../InternalAPI/Pybind11/cast.h", + "../../InternalAPI/Pybind11/complex.h", + "../../InternalAPI/Pybind11/detail/class.h", + "../../InternalAPI/Pybind11/detail/common.h", + "../../InternalAPI/Pybind11/detail/descr.h", + "../../InternalAPI/Pybind11/detail/init.h", + "../../InternalAPI/Pybind11/detail/internals.h", + "../../InternalAPI/Pybind11/detail/type_caster_base.h", + "../../InternalAPI/Pybind11/detail/typeid.h", + "../../InternalAPI/Pybind11/embed.h", + "../../InternalAPI/Pybind11/eval.h", + "../../InternalAPI/Pybind11/gil.h", + "../../InternalAPI/Pybind11/numpy.h", + "../../InternalAPI/Pybind11/operators.h", + "../../InternalAPI/Pybind11/options.h", + "../../InternalAPI/Pybind11/pybind11.h", + "../../InternalAPI/Pybind11/pytypes.h", + "../../InternalAPI/Pybind11/stl.h", + "../../InternalAPI/Pybind11/stl_bind.h", + "../../InternalAPI/pybind11/functional.h", + "../../MSPythonPCH.cpp", + "../../MSPythonPCH.h", + "../../PublicAPI/MSPythonCore/MSPython.h", + "../../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "../PyBentley/source/ParentTypes/betextfile.cpp", + "../PyBentley/source/ParentTypes/doublevalueformat.cpp", + "../PyBentley/source/ParentTypes/dsig.cpp", + "../PyDgnView/source/ParentTypes/iviewmanager.cpp", + "PyDgnPlatform.mke", + "source/Locate.cpp", + "source/PyDgnPlatform.cpp", + "source/PyDgnPlatform.h", + "source/ScanCriteria.cpp", + "source/archandlers.cpp", + "source/areapattern.cpp", + "source/associativepoint.cpp", + "source/assoregionhandler.cpp", + "source/basegeocoord.cpp", + "source/bentleydgn.cpp", + "source/bitmask.cpp", + "source/brepcellhandler.cpp", + "source/bsplinecurvehandler.cpp", + "source/bsplinesurfacehandler.cpp", + "source/caret.cpp", + "source/cellheaderhandler.cpp", + "source/chainheaderhandlers.cpp", + "source/charstream.cpp", + "source/clipprimitive.cpp", + "source/clipvector.cpp", + "source/colorbook.cpp", + "source/complexheaderhandler.cpp", + "source/conehandler.cpp", + "source/configurationmanager.cpp", + "source/csvfile.cpp", + "source/curvehandler.cpp", + "source/customitemtype.cpp", + "source/dependencymanager.cpp", + "source/dependencymanagerlinkage.cpp", + "source/designhistory.cpp", + "source/dgnappdata.cpp", + "source/dgnattachment.cpp", + "source/dgncolormap.cpp", + "source/dgncomponenthandlers.cpp", + "source/dgncore.cpp", + "source/dgndocumentmanager.cpp", + "source/dgnecchangemanager.cpp", + "source/dgnecfinders.cpp", + "source/dgnecmanager.cpp", + "source/dgnelements.cpp", + "source/dgnfile.cpp", + "source/dgnfontmanager.cpp", + "source/dgngeocoord.cpp", + "source/dgnhistory.cpp", + "source/dgnhost.cpp", + "source/dgnitemindex.cpp", + "source/dgnlinkhandler.cpp", + "source/dgnlinkmanager.cpp", + "source/dgnlinks.cpp", + "source/dgnlinktree.cpp", + "source/dgnmodel.cpp", + "source/dgnmodelref.cpp", + "source/dgnmodelrefcollections.cpp", + "source/dgnplatform.cpp", + "source/dgnplatform.r.cpp", + "source/dgnplatformbasetype.r.cpp", + "source/dgnplatformerrors.r.cpp", + "source/dgnplatformlib.cpp", + "source/dgnraster.cpp", + "source/dgnstorehandlers.cpp", + "source/dgntextsnippet.cpp", + "source/dgntextstyle.cpp", + "source/dgntextstyleproperties.r.cpp", + "source/dgnviewport.cpp", + "source/digitalsignaturecellheaderhandler.cpp", + "source/dimensionhandler.cpp", + "source/dimensionstyle.cpp", + "source/dimensionstyleprops.r.cpp", + "source/displayfilter.cpp", + "source/displayfiltermanager.cpp", + "source/displayhandler.cpp", + "source/displaypath.cpp", + "source/displayruleactions.cpp", + "source/displayrules.cpp", + "source/displayrulesmanager.cpp", + "source/displaystylemanager.cpp", + "source/dropgraphics.cpp", + "source/ecinstanceholderhandler.cpp", + "source/elementagenda.cpp", + "source/elementcopycontext.cpp", + "source/elementgeometry.cpp", + "source/elementgraphics.cpp", + "source/elementhandle.cpp", + "source/elementproperties.cpp", + "source/elementrefbase.cpp", + "source/elementtemplateparamshelper.cpp", + "source/elementtemplateutils.cpp", + "source/extendedelementhandler.cpp", + "source/fenceparams.cpp", + "source/fraction.cpp", + "source/gparray.cpp", + "source/groupedholehandler.cpp", + "source/handler.cpp", + "source/hitpath.cpp", + "source/httphandler.cpp", + "source/hudmarker.cpp", + "source/iannotationhandler.cpp", + "source/iareafillproperties.cpp", + "source/iauxcoordsys.cpp", + "source/iconelementhandler.cpp", + "source/idgntextstyleapplyable.cpp", + "source/image.cpp", + "source/imaterialproperties.cpp", + "source/inamedviewelementhandler.cpp", + "source/indentation.cpp", + "source/ipointcloud.cpp", + "source/irasterattachment.cpp", + "source/irastersourcefilequery.cpp", + "source/isettings.cpp", + "source/isprite.cpp", + "source/itextedit.cpp", + "source/itransactionhandler.cpp", + "source/itxnmanager.cpp", + "source/iviewdraw.cpp", + "source/iviewoutput.cpp", + "source/iviewtransients.cpp", + "source/ixdatanodehandler.cpp", + "source/levelcache.cpp", + "source/leveltypes.cpp", + "source/light.cpp", + "source/linearhandlers.cpp", + "source/linestyle.cpp", + "source/linestylemanager.cpp", + "source/lstyle.cpp", + "source/material.cpp", + "source/materialsettings.cpp", + "source/meshheaderhandler.cpp", + "source/modelaccess.cpp", + "source/modelinfo.cpp", + "source/mselementdescr.cpp", + "source/multilinehandler.cpp", + "source/multilinestyle.cpp", + "source/namedboundary.cpp", + "source/namedgroup.cpp", + "source/namedview.cpp", + "source/notehandler.cpp", + "source/notificationmanager.cpp", + "source/olecellheaderhandler.cpp", + "source/paragraph.cpp", + "source/parametriccellhandlers.cpp", + "source/parametricmodeling.cpp", + "source/persistentelementpath.cpp", + "source/persistentsnappath.cpp", + "source/picklist.cpp", + "source/pointcloudcliphandler.cpp", + "source/pointcloudedit.cpp", + "source/pointcloudhandler.cpp", + "source/propertycontext.cpp", + "source/qvviewport.cpp", + "source/rasterattachmentoverride.cpp", + "source/rastercollection.cpp", + "source/rasterhandlers.cpp", + "source/regionlinkprocessor.cpp", + "source/regionutil.cpp", + "source/registeredapp.cpp", + "source/run.cpp", + "source/runproperties.cpp", + "source/runpropertiesbase.cpp", + "source/scaledefinition.cpp", + "source/sectionclip.cpp", + "source/sharedcellhandler.cpp", + "source/sheetdef.cpp", + "source/sheetsizedefinition.cpp", + "source/solidkernel.cpp", + "source/storedexpression.cpp", + "source/surfaceandsolidhandlers.cpp", + "source/symbologyreporter.cpp", + "source/tagelementdata.cpp", + "source/tagelementhandler.cpp", + "source/templaterefhandler.cpp", + "source/templatesymbologyremapper.cpp", + "source/textapicommon.cpp", + "source/textblock.cpp", + "source/textblockiterators.cpp", + "source/textblockserialization.cpp", + "source/textfield.cpp", + "source/texthandlers.cpp", + "source/textparam.cpp", + "source/textstring.cpp", + "source/textstringproperties.cpp", + "source/texttablehandler.cpp", + "source/transformclipstack.cpp", + "source/unitdefinition.cpp", + "source/valueformat.cpp", + "source/valueparse.cpp", + "source/viewcontext.cpp", + "source/viewgroup.cpp", + "source/viewinfo.cpp", + "source/whitespace.cpp", + "source/workset.cpp", + "source/xattributechange.cpp", + "source/xattributeiter.cpp", + "source/xdatanodecollection.cpp", + "source/xdatatreemanager.cpp", + "source/xdatatreeowner.cpp", + "source/xmlfragment.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/basegeocoord.cpp b/MSPythonWrapper/PyDgnPlatform/source/basegeocoord.cpp index 031f6ae..7fd6658 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/basegeocoord.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/basegeocoord.cpp @@ -1873,6 +1873,8 @@ ECEFFromCartesian - Converts from source cartesian to the ECEF. 3D conversion is applied. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -1886,6 +1888,7 @@ conversion is applied. present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The converted coordinates in the target GCS. :param outECEF: (output) Receives the output coordinate. @@ -1900,6 +1903,8 @@ CartesianFromECEF - Converts from ECEF to the cartesian of the target. 3D conversion is applied. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -1913,6 +1918,7 @@ CartesianFromECEF - Converts from ECEF to the cartesian of the target. present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The converted coordinates in the target GCS. :param outCartesian: (output) Receives the output coordinate. @@ -1929,6 +1935,8 @@ static const char * __doc_Bentley_DgnPlatform_GeoCoordinates_BaseGCS_CartesianFr a GCS to the cartesian of the target. 3D conversion is applied. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -1942,6 +1950,7 @@ a GCS to the cartesian of the target. 3D conversion is applied. present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The converted Cartesian coordinates in the target GCS. :param outCartesian: (output) Receives the output coordinate. @@ -1959,6 +1968,8 @@ approximates the transformation between this source coordinate system and ECEF. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -1972,6 +1983,9 @@ and ECEF. present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The computed linear transformation. + - (tuple, 2): The maximum error observed over the extent. + - (tuple, 3): The mean error observed over the extent. :param outTransform: (output) the transform effective at the point elementOrigin in source @@ -1998,6 +2012,8 @@ approximates the transformation between ECEF and given target coordinate system. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -2011,6 +2027,9 @@ coordinate system. present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The computed linear transformation. + - (tuple, 2): The maximum error observed over the extent. + - (tuple, 3): The mean error observed over the extent. :param outTransform: (output) the transform effective at the point elementOrigin in source @@ -2037,6 +2056,8 @@ approximates the transformation between source and given target coordinate system. :returns: + A tuple: + - (tuple, 0): The status of the operation. REPROJECT_Success if the process was fully successful. REPROJECT_CSMAPERR_OutOfUsefulRange if at least one conversion used for computing was out of the normal useful domain of either @@ -2050,6 +2071,9 @@ coordinate system. present method but should be reported to the user to fix the configuration issue. Any other error is a hard error depending on the value. + - (tuple, 1): The computed linear transformation. + - (tuple, 2): The maximum error observed over the extent. + - (tuple, 3): The mean error observed over the extent. :param outTransform: (output) the transform effective at the point elementOrigin in source @@ -2138,7 +2162,9 @@ definition of the vertical datum used. static const char * __doc_Bentley_DgnPlatform_GeoCoordinates_BaseGCS_GetWellKnownText =R"doc(Gets the Well Known Text string from a coordinate system definition. :returns: - SUCCESS or a CS_MAP error code. + A tuple: + - (tuple, 0): The status of the operation (e.g., `SUCCESS` or a CS_MAP error code). + - (tuple, 1): The Well-Known Text string specifying the coordinate system. :param wellKnownText: Out The Well Known Text specifying the coordinate system. @@ -2170,7 +2196,10 @@ ranges are from 20000 through 32767 for projected coordinate systems and 4000 through 4199 for geographic (Lat/long) coordinate systems. :returns: - SUCCESS or a CS_MAP error code. + A tuple: + - (tuple, 0): The status of the operation (e.g., `SUCCESS` or a CS_MAP error code). + - (tuple, 1): A warning code, if applicable. + - (tuple, 2): A warning or error message, if applicable. :param warning: (output) if non-NULL, this might reveal a warning even if the return @@ -2203,9 +2232,6 @@ BaseGCS from a " OSGEO XML " string. static const char * __doc_Bentley_DgnPlatform_GeoCoordinates_BaseGCS_InitFromWellKnownText =R"doc(Used in conjunction with the CreateGCS factory method to set the BaseGCS from a " well known text " string. -:returns: - SUCCESS or a CS_MAP error code. - :param warning: (output) if non-NULL, this might reveal a warning even if the return value is SUCCESS. @@ -2218,7 +2244,13 @@ BaseGCS from a " well known text " string. (input) The WKT Flavor. If not known, use wktFlavorUnknown. :param wellKnownText: - (input) The Well Known Text specifying the coordinate system.)doc"; + (input) The Well Known Text specifying the coordinate system. + +:returns: + A tuple: + - (tuple, 0): The status of the operation (e.g., SUCCESS or an error code). + - (tuple, 1): A warning code, if applicable. + - (tuple, 2): A warning or error message, if applicable.)doc"; static const char * __doc_Bentley_DgnPlatform_GeoCoordinates_BaseGCS_InitLatLong =R"doc(Used in conjunction with the no-argument contructor to set the BaseGCS to give cartesian angular values. This is often useful for applying @@ -2486,7 +2518,7 @@ void def_BaseGCS(py::module_& m) { WString errorMsg; StatusInt status = self.InitAzimuthalEqualArea (&errorMsg, datumName, unitName, originLongitude, originLatitude, azimuthAngle, scale, falseEasting, falseNorthing, quadrant); - return py::make_tuple (errorMsg, status); + return py::make_tuple (status, errorMsg); }, "datumName"_a, "unitName"_a, "originLongitude"_a, "originLatitude"_a, "azimuthAngle"_a, "scale"_a, "falseEasting"_a, "falseNorthing"_a, "quadrant"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, InitAzimuthalEqualArea)); c0.def("InitTransverseMercator", [](BaseGCS& self, WCharCP datumName, WCharCP unitName, double originLongitude, double originLatitude, double scale, double falseEasting, double falseNorthing, int quadrant) @@ -2534,7 +2566,7 @@ void def_BaseGCS(py::module_& m) StatusInt warning; WString warningErrorMsg; StatusInt status = self.InitFromWellKnownText (&warning, &warningErrorMsg, wktFlavor, wellKnownText); - return py::make_tuple(warning, warningErrorMsg, status); + return py::make_tuple(status, warning, warningErrorMsg); }, "wktFlavor"_a, "wellKnownText"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, InitFromWellKnownText)); c0.def("InitFromOSGEOXML", &BaseGCS::InitFromOSGEOXML, "osgeoXML"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, InitFromOSGEOXML)); @@ -2544,7 +2576,7 @@ void def_BaseGCS(py::module_& m) StatusInt warning; WString warningErrorMsg; StatusInt status = self.InitFromWellKnownText (&warning, &warningErrorMsg, wellKnownText); - return py::make_tuple(warning, warningErrorMsg, status); + return py::make_tuple(status, warning, warningErrorMsg); }, "wellKnownText"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, InitFromWellKnownText)); c0.def("InitFromEPSGCode", [](BaseGCS& self, int epsgCode) @@ -2552,21 +2584,21 @@ void def_BaseGCS(py::module_& m) StatusInt warning; WString warningErrorMsg; StatusInt status = self.InitFromEPSGCode(&warning, &warningErrorMsg, epsgCode); - return py::make_tuple(warning, warningErrorMsg, status); + return py::make_tuple(status, warning, warningErrorMsg); }, "epsgCode"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, InitFromEPSGCode)); c0.def("GetWellKnownText", [](BaseGCSCR self, BaseGCS::WktFlavor wktFlavor, bool originalIfPresent, bool doNotInsertTOWGS84, bool posVectorRotationSignConvention) { WString wellKnownText; StatusInt status = self.GetWellKnownText(wellKnownText, wktFlavor, originalIfPresent, doNotInsertTOWGS84, posVectorRotationSignConvention); - return py::make_tuple(wellKnownText, status); + return py::make_tuple(status, wellKnownText); }, "wktFlavor"_a, "originalIfPresent"_a = false, "doNotInsertTOWGS84"_a = false, "posVectorRotationSignConvention"_a = false, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, GetWellKnownText)); c0.def("GetCompoundCSWellKnownText", [](BaseGCSCR self, BaseGCS::WktFlavor wktFlavor, bool originalIfPresent, bool doNotInsertTOWGS84, bool posVectorRotationSignConvention) { WString wellKnownText; StatusInt status = self.GetCompoundCSWellKnownText(wellKnownText, wktFlavor, originalIfPresent, doNotInsertTOWGS84, posVectorRotationSignConvention); - return py::make_tuple(wellKnownText, status); + return py::make_tuple(status, wellKnownText); }, "wktFlavor"_a, "originalIfPresent"_a = false, "doNotInsertTOWGS84"_a = false, "posVectorRotationSignConvention"_a = false, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, GetCompoundCSWellKnownText)); //Note : geoTiffKeys is __BENTLEY_INTERNAL_ONLY__, this method is not possible to be called successfully in python before IGeoTiffKeysList published. @@ -2584,7 +2616,7 @@ void def_BaseGCS(py::module_& m) double maxError, meanError; WString wellKnownText; StatusInt status = self.GetLinearTransform(&outTransform, extent, targetGCS, &maxError, &meanError); - return py::make_tuple(outTransform, maxError, meanError, status); + return py::make_tuple(status, outTransform, maxError, meanError); }, "extent"_a, "targetGCS"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, GetLinearTransform)); c0.def("GetLinearTransformECEF", [](BaseGCSCR self, DRange3dCR extentECEF, BaseGCSCR targetGCS) @@ -2593,7 +2625,7 @@ void def_BaseGCS(py::module_& m) double maxError, meanError; WString wellKnownText; StatusInt status = self.GetLinearTransformECEF(&outTransform, extentECEF, targetGCS, &maxError, &meanError); - return py::make_tuple(outTransform, maxError, meanError, status); + return py::make_tuple(status, outTransform, maxError, meanError); }, "extentECEF"_a, "targetGCS"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, GetLinearTransformECEF)); c0.def("GetLinearTransformToECEF", [](BaseGCSCR self, DRange3dCR extent) @@ -2602,35 +2634,35 @@ void def_BaseGCS(py::module_& m) double maxError, meanError; WString wellKnownText; StatusInt status = self.GetLinearTransformToECEF (&outTransform, extent, &maxError, &meanError); - return py::make_tuple(outTransform, maxError, meanError, status); + return py::make_tuple(status, outTransform, maxError, meanError); }, "extent"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, GetLinearTransformToECEF)); c0.def("CartesianFromCartesian", [](BaseGCSCR self, DPoint3dCR inCartesian, BaseGCSCR targetGCS) { DPoint3d outCartesian; ReprojectStatus status = self.CartesianFromCartesian(outCartesian, inCartesian, targetGCS); - return py::make_tuple(outCartesian, status); + return py::make_tuple(status, outCartesian); }, "inCartesian"_a, "targetGCS"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, CartesianFromCartesian)); c0.def("CartesianFromCartesian2D", [](BaseGCSCR self, DPoint2dCR inCartesian, BaseGCSCR targetGCS) { DPoint2d outCartesian; ReprojectStatus status = self.CartesianFromCartesian2D(outCartesian, inCartesian, targetGCS); - return py::make_tuple(outCartesian, status); + return py::make_tuple(status, outCartesian); }, "inCartesian"_a, "targetGCS"_a); c0.def("CartesianFromECEF", [](BaseGCSCR self, DPoint3dCR inECEF, BaseGCSCR targetGCS) { DPoint3d outCartesian; ReprojectStatus status = self.CartesianFromECEF(outCartesian, inECEF, targetGCS); - return py::make_tuple(outCartesian, status); + return py::make_tuple(status, outCartesian); }, "inECEF"_a, "targetGCS"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, CartesianFromECEF)); c0.def("ECEFFromCartesian", [](BaseGCSCR self, DPoint3dCR inCartesian) { DPoint3d outECEF; ReprojectStatus status = self.ECEFFromCartesian(outECEF, inCartesian); - return py::make_tuple(outECEF, status); + return py::make_tuple(status, outECEF); }, "inCartesian"_a, DOC(Bentley, DgnPlatform, GeoCoordinates, BaseGCS, ECEFFromCartesian)); //Note : geoTiffKeys is __BENTLEY_INTERNAL_ONLY__, Below methods are not possible to be called successfully in python before IGeoTiffKeysList published. diff --git a/MSPythonWrapper/PyDgnPlatform/source/dgndocumentmanager.cpp b/MSPythonWrapper/PyDgnPlatform/source/dgndocumentmanager.cpp index fa18f83..19f521f 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/dgndocumentmanager.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/dgndocumentmanager.cpp @@ -226,10 +226,10 @@ document was created. Create Options. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. )doc"; @@ -278,11 +278,11 @@ DgnDocument::OnNewFileCreated after creating the new disk file. must call DgnDocument::OnNewFileCreated. Returns (Tuple, 0): - a DgnDocument that represents the file. On failure, NULL is - Returned. + status. Returns (Tuple, 1): - status. + a DgnDocument that represents the file. On failure, NULL is + Returned. )doc"; @@ -322,11 +322,11 @@ DgnDocumentP openedDoc = CreateFromMoniker (status, *moniker, defFileId, fetchMo file that the caller can open if desired. Returns (Tuple, 0): - a DgnDocument that represents the file. On failure, NULL is - Returned. + status. Returns (Tuple, 1): - status. + a DgnDocument that represents the file. On failure, NULL is + Returned. )doc"; @@ -363,11 +363,11 @@ document from the repository. file that the caller can open if desired. Returns (Tuple, 0): - a DgnDocument that represents the file. On failure, NULL is - Returned. + status. Returns (Tuple, 1): - status. + a DgnDocument that represents the file. On failure, NULL is + Returned. )doc"; @@ -377,10 +377,10 @@ relative, then the same moniker is returned.)doc"; static const char * __doc_Bentley_DgnPlatform_DgnFolderMoniker_ResolveParentFolderMoniker =R"doc(Resolve the parent folder moniker. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1) : - status. + retVal. )doc"; @@ -403,11 +403,11 @@ fully qualified folder path. Searches the file system. Can fail. spend a significant amount of time doing a search. Returns (Tuple, 0): - The full path of the local directory or the empty string if the - directory path could not be resolved. + status. Returns (Tuple, 1): - status. + The full path of the local directory or the empty string if the + directory path could not be resolved. )doc"; @@ -467,10 +467,10 @@ relative, then the same moniker is returned.)doc"; static const char * __doc_Bentley_DgnPlatform_DgnDocumentMoniker_ResolveParentFolderMoniker =R"doc(Resolve the parent folder moniker. This method can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1) : - status. + retVal. )doc"; @@ -496,10 +496,10 @@ path. Searches the file system. Can fail. s If the search path includes network shares, this method may spend a significant amount of time doing a search. Returns (Tuple, 0): - The full path of the local file or the empty string if the file - could not be resolved. - Returns (Tuple, 1): - status. + status. +Returns (Tuple, 1): + The full path of the local file or the empty string if the file + could not be resolved. )doc"; @@ -689,11 +689,11 @@ filesystem.)doc"; static const char * __doc_Bentley_DgnPlatform_DgnBaseMoniker_ResolveURI =R"doc(Retrieves the provenance string (URI). Can fail. Returns (Tuple, 0): - URI of the moniker. It can be empty if the object cannot be - located. + status. Returns (Tuple, 1): - status. + URI of the moniker. It can be empty if the object cannot be + located. )doc"; static const char * __doc_Bentley_DgnPlatform_DgnBaseMoniker_ResolveDisplayName =R"doc(Get a displayable name. Will be fully qualified if possible. May @@ -703,19 +703,19 @@ static const char * __doc_Bentley_DgnPlatform_DgnBaseMoniker_ResolveLocationDisp filesystem. Can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. )doc"; static const char * __doc_Bentley_DgnPlatform_DgnBaseMoniker_ResolveLocation =R"doc(Get a string describing the location. May search the filesystem. Can fail. Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. )doc"; static const char * __doc_Bentley_DgnPlatform_DgnBaseMoniker_Clone =R"doc(Create a new moniker object that is a copy of the given moniker @@ -755,10 +755,10 @@ static const char * __doc_Bentley_DgnPlatform_DgnBaseMoniker_SearchForFile =R"do Search for a folder/directory rather than a file? Returns (Tuple, 0): - retVal. + searchStatus. Returns (Tuple, 1): - searchStatus. + retVal. )doc"; @@ -794,7 +794,7 @@ void def_DgnDocumentManager(py::module_& m) { DgnBaseMoniker::SearchStatus searchStatus = DgnBaseMoniker::SearchStatus::Failed; auto retVal = DgnBaseMoniker::SearchForFile(searchStatus, inFileName, fullPath, searchPath, fullPathFirst, searchAsFolder); - return py::make_tuple(retVal, searchStatus); + return py::make_tuple(searchStatus, retVal); }, "inFileName"_a, "fullPath"_a, "searchPath"_a, "fullPathFirst"_a, "searchAsFolder"_a = false, DOC(Bentley, DgnPlatform, DgnBaseMoniker, SearchForFile)); c1.def("Compare", &DgnBaseMoniker::Compare, "anotherMoniker"_a, DOC(Bentley, DgnPlatform, DgnBaseMoniker, Compare)); @@ -806,14 +806,14 @@ void def_DgnDocumentManager(py::module_& m) { StatusInt status = ERROR; auto retVal = self.ResolveLocation(status); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, DOC(Bentley, DgnPlatform, DgnBaseMoniker, ResolveLocation)); c1.def("ResolveLocationDisplayName", [] (DgnBaseMoniker const& self) { StatusInt status = ERROR; auto retVal = self.ResolveLocationDisplayName(status); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, DOC(Bentley, DgnPlatform, DgnBaseMoniker, ResolveLocationDisplayName)); c1.def("ResolveDisplayName", &DgnBaseMoniker::ResolveDisplayName, DOC(Bentley, DgnPlatform, DgnBaseMoniker, ResolveDisplayName)); @@ -822,7 +822,7 @@ void def_DgnDocumentManager(py::module_& m) { StatusInt status = ERROR; auto retVal = self.ResolveURI(&status); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, DOC(Bentley, DgnPlatform, DgnBaseMoniker, ResolveURI)); c1.def_property_readonly("ShortDisplayName", &DgnBaseMoniker::GetShortDisplayName); @@ -890,7 +890,7 @@ void def_DgnDocumentManager(py::module_& m) { StatusInt status = ERROR; auto retVal = self.ResolveFileName(&status, dontRetryIfFailed); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "dontRetryIfFailed"_a = true, DOC(Bentley, DgnPlatform, DgnDocumentMoniker, ResolveFileName)); c2.def_property_readonly("SavedFileName", &DgnDocumentMoniker::GetSavedFileName); @@ -900,7 +900,7 @@ void def_DgnDocumentManager(py::module_& m) { StatusInt status = ERROR; auto retVal = self.ResolveParentFolderMoniker(&status); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, DOC(Bentley, DgnPlatform, DgnDocumentMoniker, ResolveParentFolderMoniker)); c2.def("TransformTo", &DgnDocumentMoniker::TransformTo, "base"_a, DOC(Bentley, DgnPlatform, DgnDocumentMoniker, TransformTo)); @@ -924,7 +924,7 @@ void def_DgnDocumentManager(py::module_& m) { StatusInt status = ERROR; auto retVal = self.ResolveFolderName(&status, dontRetryIfFailed); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "dontRetryIfFailed"_a = true, DOC(Bentley, DgnPlatform, DgnFolderMoniker, ResolveFolderName)); c3.def_property_readonly("SavedFolderName", &DgnFolderMoniker::GetSavedFolderName); @@ -934,7 +934,7 @@ void def_DgnDocumentManager(py::module_& m) { StatusInt status = ERROR; auto retVal = self.ResolveParentFolderMoniker(&status); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, DOC(Bentley, DgnPlatform, DgnFolderMoniker, ResolveParentFolderMoniker)); c3.def("TransformTo", &DgnFolderMoniker::TransformTo, "base"_a, DOC(Bentley, DgnPlatform, DgnFolderMoniker, TransformTo)); @@ -1033,28 +1033,28 @@ void def_DgnDocumentManager(py::module_& m) { StatusInt status = ERROR; auto retVal = DgnDocument::CreateFromMoniker(status, moniker, defFileId, fetchMode, fetchOptions); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "moniker"_a, "defFileId"_a = (int)DEFDGNFILE_ID, "fetchMode"_a = DgnDocument::FetchMode::Read, "fetchOptions"_a = DgnDocument::FetchOptions::Default, DOC(Bentley, DgnPlatform, DgnDocument, CreateFromMoniker)); c5.def_static("CreateFromFileName", [] (WCharCP fileName, WCharCP searchPath, int defFileId, DgnDocument::FetchMode fetchMode, DgnDocument::FetchOptions fetchOptions) { DgnFileStatus status = DgnFileStatus::DGNFILE_STATUS_UnknownError; auto retVal = DgnDocument::CreateFromFileName(status, fileName, searchPath, defFileId, fetchMode, fetchOptions); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "fileName"_a, "searchPath"_a, "defFileId"_a, "fetchMode"_a, "fetchOptions"_a = DgnDocument::FetchOptions::Default, DOC(Bentley, DgnPlatform, DgnDocument, CreateFromFileName)); c5.def_static("CreateForNewFile", [] (WCharCP documentName, WCharCP searchPath, int defFileId, WCharCP wDefaultFileName, DgnDocument::OverwriteMode overwriteMode, DgnDocument::CreateOptions options) { DgnFileStatus status = DgnFileStatus::DGNFILE_STATUS_UnknownError; auto retVal = DgnDocument::CreateForNewFile(status, documentName, searchPath, defFileId, wDefaultFileName, overwriteMode, options); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "documentName"_a, "searchPath"_a, "defFileId"_a, "defaultFileName"_a, "overwriteMode"_a, "options"_a = DgnDocument::CreateOptions::Default, DOC(Bentley, DgnPlatform, DgnDocument, CreateForNewFile)); c5.def_static("CreateNew", [] (WCharCP documentName, DgnFolderMonikerR parentFolderMoniker, int defFileId, DgnDocument::OverwriteMode overwriteMode, DgnDocument::CreateOptions options) { DgnFileStatus status = DgnFileStatus::DGNFILE_STATUS_UnknownError; auto retVal = DgnDocument::CreateNew(status, documentName, parentFolderMoniker, defFileId, overwriteMode, options); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "documentName"_a, "parentFolderMoniker"_a, "defFileId"_a, "overwriteMode"_a, "options"_a = DgnDocument::CreateOptions::Default, DOC(Bentley, DgnPlatform, DgnDocument, CreateNew)); c5.def_static("CreateForEmbeddedFile", &DgnDocument::CreateForEmbeddedFile, "pseudoFileName"_a, DOC(Bentley, DgnPlatform, DgnDocument, CreateForEmbeddedFile)); diff --git a/MSPythonWrapper/PyDgnPlatform/source/dgnfile.cpp b/MSPythonWrapper/PyDgnPlatform/source/dgnfile.cpp index c9fea5c..ff96017 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/dgnfile.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/dgnfile.cpp @@ -147,6 +147,13 @@ Therefore, readonly files will never return true for this method.)doc"; static const char * __doc_Bentley_DgnPlatform_DgnFile_IsLoaded =R"doc(Determine whether this file is currently " loaded ". This will be true if LoadDgnFile has been successfully called. @See LoadDgnFile)doc"; +static const char * __doc_Bentley_DgnPlatform_DgnFile_LoadDgnFile =R"doc(Load a DGN file into memory, making it ready for use. + +returns: + A tuple: + - (Tuple, 0): retVal (StatusInt)::The status of the load operation. SUCCESS if the file was loaded successfully. ERROR if the file could not be loaded (file not found, corrupt, etc.). + - (Tuple, 1): openForWriteStatus (StatusInt)::Indicates whether the file was opened with write access. SUCCESS if the file was opened for writing. ERROR if the file could not be opened for writing.)doc"; + static const char * __doc_Bentley_DgnPlatform_DgnFile_IsTransactable =R"doc(Determine whether this file is transactable (journalled by the ITxnManager and subject to undo/redo).)doc"; @@ -555,7 +562,7 @@ void def_DgnFile(py::module_& m) // struct LoadedModelsCollection py::class_< DgnFile::LoadedModelsCollection> c8_2(m, "LoadedModelsCollection"); c8_2.def("__iter__", [] (DgnFile::LoadedModelsCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); - + c8_2.def("__len__", [](DgnFile::LoadedModelsCollection& self) { return std::distance (self.begin (), self.end ()); }); //======================================================================================= // struct SignatureCountType @@ -572,7 +579,7 @@ void def_DgnFile(py::module_& m) StatusInt openForWriteStatus = 0; auto retVal = self.LoadDgnFile(&openForWriteStatus); return py::make_tuple(retVal, openForWriteStatus); - }); + }, DOC(Bentley, DgnPlatform, DgnFile, LoadDgnFile)); c8.def("FillSectionsInModel", [](DgnFileR self, DgnModelP model, DgnModelSections sectionsToFill) { @@ -666,7 +673,7 @@ void def_DgnFile(py::module_& m) { DgnFileStatus status; auto retVal = DgnFile::CreateNew(status, document, openMode, seedData, format, threeD); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "document"_a, "openMode"_a, "seedData"_a, "format"_a, "threeD"_a); c8.def("CreateNewModel", [] (DgnFileR self, DgnModelStatusWrapper& error, WCharCP name, DgnModelType type, bool is3D, DgnModelCP seedModel, ModelId modelId) @@ -683,7 +690,7 @@ void def_DgnFile(py::module_& m) { StatusInt error; auto retVal = self.LoadRootModelById(&error, modelID, fillCache, andRefs, processAffected); - return py::make_tuple(retVal, error); + return py::make_tuple(error, retVal); }, "modelID"_a, "fillCache"_a = false, "andRefs"_a = false, "processAffected"_a = false, py::return_value_policy::reference_internal); c8.def_static("CopyModelContents", &DgnFile::CopyModelContents, "destModel"_a, "sourceModel"_a, "dictionaryElements"_a, DOC(Bentley, DgnPlatform, DgnFile, CopyModelContents)); diff --git a/MSPythonWrapper/PyDgnPlatform/source/dgnitemindex.cpp b/MSPythonWrapper/PyDgnPlatform/source/dgnitemindex.cpp index 38b7f83..7f051ad 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/dgnitemindex.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/dgnitemindex.cpp @@ -85,4 +85,5 @@ void def_DgnItemIndex(py::module_& m) c2.def("GetItemByName", &ModelIndex::GetItemByName, "name"_a, py::return_value_policy::reference_internal, DOC(Bentley, DgnPlatform, ModelIndex, GetItemByName)); c2.def("GetItemByID", &ModelIndex::GetItemByID, "id"_a, "getIfDeleted"_a, py::return_value_policy::reference_internal, DOC(Bentley, DgnPlatform, ModelIndex, GetItemByID)); c2.def("CopyItems", &ModelIndex::CopyItems, "outItems"_a, "includeDeletedModels"_a = false, DOC(Bentley, DgnPlatform, ModelIndex, CopyItems)); + c2.def("__len__", [](ModelIndex& self) { return std::distance(self.begin(), self.end()); }); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/dgnlinkmanager.cpp b/MSPythonWrapper/PyDgnPlatform/source/dgnlinkmanager.cpp index 0ceb852..4768352 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/dgnlinkmanager.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/dgnlinkmanager.cpp @@ -125,10 +125,10 @@ object. Otherwise use have call delete to delete this object by which it will create a link set Returns (Tuple, 0): - the link tree branch where this link is attached + status. Returns (Tuple, 1): - status. + the link tree branch where this link is attached )doc"; @@ -138,7 +138,9 @@ static const char * __doc_Bentley_DgnPlatform_DgnLinkManager_CreateLinkSet =R"do by which it will create a link set :returns: - the link tree branch where this linkset is attached)doc"; + A tuple: + - (tuple, 0) : status + - (tuple, 1) : the link tree branch where this linkset is attached)doc"; static const char * __doc_Bentley_DgnPlatform_DgnLinkManager_CreateTreeSpec =R"doc(Create a tree spec from given tree name @@ -459,14 +461,14 @@ void def_DgnLinkManager(py::module_& m) { StatusInt status = ERROR; TempDgnLinkTreeBranchOwner linksetPtr = DgnLinkManager::CreateLinkSet(status, key); - return py::make_tuple(std::move(linksetPtr), status); + return py::make_tuple(status, std::move(linksetPtr)); }, "key"_a, DOC(Bentley, DgnPlatform, DgnLinkManager, CreateLinkSet)); c2.def_static("CreateLink", [] (WCharCP key) { StatusInt status = ERROR; TempDgnLinkTreeLeafOwner linkPtr = DgnLinkManager::CreateLink(status, key); - return py::make_tuple(std::move(linkPtr), status); + return py::make_tuple(status, std::move(linkPtr)); }, "key"_a, DOC(Bentley, DgnPlatform, DgnLinkManager, CreateLink)); c2.def_static("BuildSuggestedName", &DgnLinkManager::BuildSuggestedName, "link"_a, "contextParent"_a, "fullContext"_a, DOC(Bentley, DgnPlatform, DgnLinkManager, BuildSuggestedName)); diff --git a/MSPythonWrapper/PyDgnPlatform/source/dgnlinks.cpp b/MSPythonWrapper/PyDgnPlatform/source/dgnlinks.cpp index 44ab121..c6ce86f 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/dgnlinks.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/dgnlinks.cpp @@ -615,7 +615,7 @@ void def_DgnLinks(py::module_& m) { StatusInt status; auto retVal = self.GetModelType(status); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }); c12.def("SetModelType", &DgnModelLink::SetModelType, "modelType"_a, DOC(Bentley, DgnPlatform, DgnModelLink, SetModelType)); @@ -624,7 +624,7 @@ void def_DgnLinks(py::module_& m) { StatusInt status; auto retVal = self.GetMarkupModel(status); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }); c12.def("SetMarkupModel", &DgnModelLink::SetMarkupModel, "isMarkup"_a, DOC(Bentley, DgnPlatform, DgnModelLink, SetMarkupModel)); diff --git a/MSPythonWrapper/PyDgnPlatform/source/dgnlinktree.cpp b/MSPythonWrapper/PyDgnPlatform/source/dgnlinktree.cpp index ab536bf..f8eeb2d 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/dgnlinktree.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/dgnlinktree.cpp @@ -140,6 +140,7 @@ void def_DgnLinkTree(py::module_& m) c1.def(py::init(), "list"_a); c1.def("__iter__", [] (DgnLinkUserDataList& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c1.def("__len__", [](DgnLinkUserDataList& self) { return std::distance (self.begin(), self.end()); }); //=================================================================================== // struct DgnLinkTreeNode diff --git a/MSPythonWrapper/PyDgnPlatform/source/dgnmodelrefcollections.cpp b/MSPythonWrapper/PyDgnPlatform/source/dgnmodelrefcollections.cpp index 9bf048e..d9e761f 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/dgnmodelrefcollections.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/dgnmodelrefcollections.cpp @@ -66,6 +66,7 @@ void def_DgnModelRefCollections(py::module_& m) c2.def("__bool__", [] (ReachableModelRefCollection& self) { return !self.empty(); }); c2.def("__iter__", [] (ReachableModelRefCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c2.def("__len__", [] (ReachableModelRefCollection& self) { return std::distance (self.begin(), self.end()); }); //=================================================================================== // struct ReachableElementOptions @@ -84,4 +85,5 @@ void def_DgnModelRefCollections(py::module_& m) py::class_< ReachableElementCollection> c4(m, "ReachableElementCollection"); c4.def("__iter__", [] (ReachableElementCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c4.def("__len__", [] (ReachableElementCollection& self) { return std::distance (self.begin(), self.end()); }); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/dgnraster.cpp b/MSPythonWrapper/PyDgnPlatform/source/dgnraster.cpp index 5ab6206..2e36147 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/dgnraster.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/dgnraster.cpp @@ -101,7 +101,7 @@ void def_DgnRaster(py::module_& m) c0.def_static("Create", [](DgnRasterOpenParamsR openParams, DgnModelRefR modelRef) { DgnRasterStatus status; DgnRasterPtr dgnRasterPtr = DgnRaster::Create(status, openParams, modelRef); - return py::make_tuple(dgnRasterPtr, status); + return py::make_tuple(status, dgnRasterPtr); }, "openParams"_a, "modelRef"_a); c0.def_property_readonly("OpenParams", &DgnRaster::GetOpenParams); diff --git a/MSPythonWrapper/PyDgnPlatform/source/digitalsignaturecellheaderhandler.cpp b/MSPythonWrapper/PyDgnPlatform/source/digitalsignaturecellheaderhandler.cpp index 1521a08..33c61ec 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/digitalsignaturecellheaderhandler.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/digitalsignaturecellheaderhandler.cpp @@ -110,4 +110,5 @@ void def_DigitalSignatureCellHeaderHandler(py::module_& m) c4.def(py::init(), "model"_a, py::keep_alive<1, 2>()); c4.def("__iter__", [] (ApplicableSignaturesCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c4.def("__len__", [] (ApplicableSignaturesCollection& self) { return std::distance (self.begin (), self.end ()); }); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/ecinstanceholderhandler.cpp b/MSPythonWrapper/PyDgnPlatform/source/ecinstanceholderhandler.cpp index 9b05b12..f926415 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/ecinstanceholderhandler.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/ecinstanceholderhandler.cpp @@ -19,10 +19,10 @@ static const char * __doc_Bentley_DgnPlatform_ECInstanceHolderHandler_CreateECIn Model to associate this element with. Returns (Tuple,0): - SUCCESS if a valid element is created + eeh Returns (Tuple,1): - eeh. + SUCCESS if a valid element is created )doc"; @@ -38,7 +38,7 @@ void def_ECInstanceHolderHandler(py::module_& m) c1.def_static("CreateECInstanceHolderElement", [](EditElementHandleR eeh, DgnModelRefR modelRef) { BentleyStatus retVal = ECInstanceHolderHandler::CreateECInstanceHolderElement(eeh, modelRef); - return py::make_tuple(eeh, retVal); + return py::make_tuple(retVal, eeh); }, "eeh"_a, "modelRef"_a, DOC(Bentley, DgnPlatform, ECInstanceHolderHandler, CreateECInstanceHolderElement)); } diff --git a/MSPythonWrapper/PyDgnPlatform/source/elementrefbase.cpp b/MSPythonWrapper/PyDgnPlatform/source/elementrefbase.cpp index a6e53ae..9746be4 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/elementrefbase.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/elementrefbase.cpp @@ -255,6 +255,31 @@ void def_ElementRefBase(py::module_& m) c2.def("resize", [] (ElementRefVec& self, size_t n) { self.resize(n); }, "numItems"_a); + c2.def("__iter__", [](ElementRefVec& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + + c2.def("__delitem__", [](ElementRefVec& self, size_t index) + { + if (index >= self.size()) + throw py::index_error(); + + auto it = self.begin(); + self.erase(it + index); + }); + + c2.def("__contains__", [](ElementRefVec& self, ElementRefBaseP newItem) + { + return std::find(self.begin(), self.end(), newItem) != self.end(); + }); + + c2.def("remove", [](ElementRefVec& self, ElementRefBaseP newItem) + { + auto it = std::find(self.begin(), self.end(), newItem); + if (it != self.end()) + self.erase(it); + else + throw py::value_error(); + }); + //=================================================================================== // struct ElementRefBase py::class_< ElementRefBase> c3(m, "ElementRefBase"); diff --git a/MSPythonWrapper/PyDgnPlatform/source/elementtemplateparamshelper.cpp b/MSPythonWrapper/PyDgnPlatform/source/elementtemplateparamshelper.cpp index 19b9447..faee35f 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/elementtemplateparamshelper.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/elementtemplateparamshelper.cpp @@ -325,12 +325,25 @@ static const char* __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_AddCell MicroStation to get and set element symbology. :param cellFixedSize: - (input) the fixed size on screen in inches of the cell to pass to the default instance. + (input) the fixed size on screen of the cell to pass to the default instance. :returns: ETSTATUS_Success if a cell fixed size was successfully added to the etInstance.)doc"; +static const char* __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_AddCellFixedSizeUnit = R"doc(Add the fixed size unit on screen for the cells to the template instance. + +:param etInstance: + (input) the IECInstance that contains the properties used by + MicroStation to get and set element symbology. + +:param cellFixedSizeUnit: + (input) the fixed size unit of the cell to pass to the default instance. + +:returns: + ETSTATUS_Success if a cell fixed size unit was successfully added to the + etInstance.)doc"; + static const char * __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_AddCellName =R"doc(Add the name of the cell name to the template instance. :param etInstance: @@ -940,6 +953,23 @@ instance. :returns: ETSTATUS_Success if a cell fixed size on screen at index is found in etInstance.)doc"; +static const char* __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_SetCellFixedSizeUnit = R"doc(Update the fixed size unit of an existing cell stored within the template +instance. + +:param etInstance: + (input) the IECInstance that contains the properties used by + MicroStation to get and set element symbology. + +:param cellFixedSizeUnit: + (input) the fixed size unit of the cell to pass to the default instance. + +:param index: + (input) the index in the template instance to assign the new cell + scale. + +:returns: + ETSTATUS_Success if a cell fixed size unit at index is found in etInstance.)doc"; + static const char * __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_SetCellName =R"doc(Update the name of an existing cell stored within the template instance. @@ -1689,7 +1719,7 @@ static const char * __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_GetCel static const char* __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_GetCellFixedSize = R"doc(Get the cell fixed size on screen stored within the template instance. :param cellFixedSize: - (output) cell fixed size on screen value in inches retrieved from etInstance. + (output) cell fixed size on screen value retrieved from etInstance. :param etInstance: (input) the IECInstance that contains the properties used by @@ -1698,9 +1728,29 @@ static const char* __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_GetCell :param index: (input) the index of the cell fixed size to retrieve. -:returns: - ETSTATUS_Success if the cell fixed size at index is found in - etInstance.)doc"; +Returns (Tuple, 0): + ETSTATUS_Success if the cell fixed size at index is found in etInstance. + +Returns (Tuple, 1): + cellFixedSize. + +)doc"; + +static const char* __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_GetCellFixedSizeUnit = R"doc(Get the cell fixed size unit stored within the template instance. + +:param etInstance: + (input) the IECInstance that contains the properties used by + MicroStation to get and set element symbology. + +:param index: + (input) the index of the cell fixed size unit to retrieve. + +Returns (Tuple, 0): + ETSTATUS_Success if a cell fixed size unit at index is found in etInstance. + +Returns (Tuple, 1): + cellFixedSizeUnit. +)doc"; static const char * __doc_Bentley_DgnPlatform_ElementTemplateParamsHelper_GetAnyCellName =R"doc(Get any kind of cell name stored within the template instance. @@ -2227,6 +2277,12 @@ void def_ElementTemplateParamsHelper(py::module_& m) c1.def_static("GetAnyCellName", &ElementTemplateParamsHelper::GetAnyCellName, "cellName"_a, "etInstance"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, GetAnyCellName)); c1.def_static("GetCellScale", &ElementTemplateParamsHelper::GetCellScale, "cellScale"_a, "etInstance"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, GetCellScale)); c1.def_static("GetCellFixedSize", &ElementTemplateParamsHelper::GetCellFixedSize, "cellFixedSize"_a, "etInstance"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, GetCellFixedSize)); + c1.def_static("GetCellFixedSizeUnit", [](ECN::IECInstanceCR etInstance, UInt index) + { + FixedSizeUnitType cellFixedSizeUnit; + auto retVal = ElementTemplateParamsHelper::GetCellFixedSizeUnit(cellFixedSizeUnit, etInstance, index); + return py::make_tuple(retVal, cellFixedSizeUnit); + }, "etInstance"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, GetCellFixedSizeUnit)); c1.def_static("GetTerminatorCellName", &ElementTemplateParamsHelper::GetTerminatorCellName, "cellName"_a, "etInstance"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, GetTerminatorCellName)); c1.def_static("GetTerminatorScale", [] (ECN::IECInstanceCR etInstance, UInt index) @@ -2334,6 +2390,7 @@ void def_ElementTemplateParamsHelper(py::module_& m) c1.def_static("SetCellName", &ElementTemplateParamsHelper::SetCellName, "etInstance"_a, "cellName"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, SetCellName)); c1.def_static("SetCellScale", &ElementTemplateParamsHelper::SetCellScale, "etInstance"_a, "cellScale"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, SetCellScale)); c1.def_static("SetCellFixedSize", &ElementTemplateParamsHelper::SetCellFixedSize, "etInstance"_a, "cellFixedSize"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, SetCellFixedSize)); + c1.def_static("SetCellFixedSizeUnit", &ElementTemplateParamsHelper::SetCellFixedSizeUnit, "etInstance"_a, "cellFixedSizeUnit"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, SetCellFixedSizeUnit)); c1.def_static("SetTerminatorCellName", &ElementTemplateParamsHelper::SetTerminatorCellName, "etInstance"_a, "cellName"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, SetTerminatorCellName)); c1.def_static("SetTerminatorScale", &ElementTemplateParamsHelper::SetTerminatorScale, "etInstance"_a, "scale"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, SetTerminatorScale)); c1.def_static("SetActivePointSpecification", &ElementTemplateParamsHelper::SetActivePointSpecification, "etInstance"_a, "pointType"_a, "cellNameOrCharacter"_a, "index"_a = 0, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, SetActivePointSpecification)); @@ -2375,6 +2432,7 @@ void def_ElementTemplateParamsHelper(py::module_& m) c1.def_static("AddCellName", &ElementTemplateParamsHelper::AddCellName, "etInstance"_a, "cellName"_a, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, AddCellName)); c1.def_static("AddCellScale", &ElementTemplateParamsHelper::AddCellScale, "etInstance"_a, "cellScale"_a, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, AddCellScale)); c1.def_static("AddCellFixedSize", &ElementTemplateParamsHelper::AddCellFixedSize, "etInstance"_a, "cellFixedSize"_a, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, AddCellFixedSize)); + c1.def_static("AddCellFixedSizeUnit", &ElementTemplateParamsHelper::AddCellFixedSizeUnit, "etInstance"_a, "cellFixedSizeUnit"_a, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, AddCellFixedSizeUnit)); c1.def_static("AddTerminatorCellName", &ElementTemplateParamsHelper::AddTerminatorCellName, "etInstance"_a, "cellName"_a, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, AddTerminatorCellName)); c1.def_static("AddTerminatorScale", &ElementTemplateParamsHelper::AddTerminatorScale, "etInstance"_a, "cellScale"_a, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, AddTerminatorScale)); c1.def_static("AddActivePointSpecification", &ElementTemplateParamsHelper::AddActivePointSpecification, "etInstance"_a, "pointType"_a, "cellNameOrCharacter"_a, DOC(Bentley, DgnPlatform, ElementTemplateParamsHelper, AddActivePointSpecification)); diff --git a/MSPythonWrapper/PyDgnPlatform/source/itxnmanager.cpp b/MSPythonWrapper/PyDgnPlatform/source/itxnmanager.cpp index 8bc745e..77b3d0c 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/itxnmanager.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/itxnmanager.cpp @@ -305,12 +305,7 @@ is assigned the next available ModelId. This function calls DgnFile::AddRootModel. Returns (Tuple, 0): - A pointer to a new DgnModel for the new model, or NULL if the - model could not be created. See *error* for error details. - - -Returns (Tuple, 1): - err.if not NULL, *error* is set to a non-zero error status if the + err.if not NULL, *error* is set to a non-zero error status if the return value is NULL. Possible values include: DGNMODEL_STATUS_InvalidModelName if name is NULL or cannot be used as a model name DGNMODEL_STATUS_DuplicateModelName if an @@ -318,9 +313,9 @@ Returns (Tuple, 1): DGNMODEL_STATUS_NotFound if *seedModel* is NULL and if no default seed model can be found - - -)doc"; +Returns (Tuple, 1): + A pointer to a new DgnModel for the new model, or NULL if the + model could not be created. See *error* for error details.)doc"; static const char * __doc_Bentley_DgnPlatform_ITxn_ReplaceElement =R"doc(Replace an existing element in a model with a different one. @@ -875,14 +870,14 @@ void def_ITxnManager(py::module_& m) { DgnModelStatus err = DGNMODEL_STATUS_Success; auto retVal = self.CreateNewModel(&err, file, name, type, is3D, seedModel, modelId); - return py::make_tuple(retVal, err); + return py::make_tuple(err, retVal); }, "dgnFile"_a, "modelName"_a, "modelType"_a, "is3D"_a, "seedModel"_a = nullptr, "modelId"_a = INVALID_MODELID, DOC(Bentley, DgnPlatform, ITxn, CreateNewModel)); c8.def("CreateNewModel", [] (ITxn& self, DgnFileR file, ModelInfoCR modelInfo, ModelId modelId) { DgnModelStatus err = DGNMODEL_STATUS_Success; auto retVal = self.CreateNewModel(&err, file, modelInfo, modelId); - return py::make_tuple(retVal, err); + return py::make_tuple(err, retVal); }, "dgnFile"_a, "modelInfo"_a, "modelId"_a = INVALID_MODELID, DOC(Bentley, DgnPlatform, ITxn, CreateNewModel)); c8.def("DeleteModel", &ITxn::DeleteModel, "dgnModel"_a, DOC(Bentley, DgnPlatform, ITxn, DeleteModel)); diff --git a/MSPythonWrapper/PyDgnPlatform/source/light.cpp b/MSPythonWrapper/PyDgnPlatform/source/light.cpp index 9e9a139..0a7577d 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/light.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/light.cpp @@ -1903,6 +1903,7 @@ void def_Light(py::module_& m) c8.def("DeleteMap", &LightMapCollection::DeleteMap, "type"_a, DOC(Bentley, DgnPlatform, LightMapCollection, DeleteMap)); c8.def("AddMap", &LightMapCollection::AddMap, "type"_a, py::return_value_policy::reference_internal, DOC(Bentley, DgnPlatform, LightMapCollection, AddMap)); c8.def("__iter__", [] (LightMapCollectionR self) { return py::make_iterator(self.begin(), self.end()); }); + c8.def("__len__", &LightMapCollection::Size); //=================================================================================== // struct AdvancedLight diff --git a/MSPythonWrapper/PyDgnPlatform/source/linestyle.cpp b/MSPythonWrapper/PyDgnPlatform/source/linestyle.cpp index 3e4b5aa..f8c7435 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/linestyle.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/linestyle.cpp @@ -57,13 +57,13 @@ See also: OpenFile Returns (Tuple, 0): - A LsResourceFileMapPtr. If unable to open the file, - LsResourceFileMapPtr returns NULL and the status parameter - is set to an appropriate LineStyleStatus error status. + status. set to LINESTYLE_STATUS_Success if able to open the file; + otherwise set to an appropriate LineStyleStatus error status. Returns (Tuple, 1): - status. et to LINESTYLE_STATUS_Success if able to open the file; - otherwise set to an appropriate LineStyleStatus error status. + A LsResourceFileMapPtr. If unable to open the file, + LsResourceFileMapPtr returns NULL and the status parameter + is set to an appropriate LineStyleStatus error status. )doc"; @@ -245,6 +245,7 @@ void def_LineStyle(py::module_& m) }, "styleId"_a, DOC(Bentley, DgnPlatform, LsMap, GetLineStyleEntry)); c22.def("__iter__", [] (LsMap& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c22.def("__len__", [](LsMap& self) { return std::distance (self.begin(), self.end()); }); //======================================================================================= // struct LsResourceFileMap @@ -254,7 +255,7 @@ void def_LineStyle(py::module_& m) { LineStyleStatus status; auto retVal = LsResourceFileMap::OpenFile(status, fileName, readonly); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "fileName"_a, "readonly"_a, DOC(Bentley, DgnPlatform, LsResourceFileMap, OpenFile)); c23.def_static("CreateNewFile", &LsResourceFileMap::CreateNewFile, "fileName"_a, DOC(Bentley, DgnPlatform, LsResourceFileMap, CreateNewFile)); diff --git a/MSPythonWrapper/PyDgnPlatform/source/material.cpp b/MSPythonWrapper/PyDgnPlatform/source/material.cpp index 9889a85..3d84048 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/material.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/material.cpp @@ -452,10 +452,10 @@ static const char * __doc_Bentley_DgnPlatform_MaterialManager_FindMaterialsInPal the paletteInfo Returns (Tuple, 0): - SUCCESS if one or more materials were found - + status. Indicates the result of a search. + Returns (Tuple, 1): - status. Indicates the result of a search. + SUCCESS if one or more materials were found )doc"; @@ -480,7 +480,10 @@ they could be stored on sub components of a complex element materials in its associated MaterialTable. Specifying false for this argument improves performance. -:returns: +:returns(tuple, 0): + searchStatus. + +:returns(tuple, 1): The material pointer if the material is found otherwise NULL)doc"; static const char * __doc_Bentley_DgnPlatform_MaterialManager_FindMaterialBySymbology =R"doc(Find a material in the active material table based on its assignment @@ -511,7 +514,13 @@ for level and color :param context: Optional if not NULL will search on the contexts list of cached - assignments for a faster lookup)doc"; + assignments for a faster lookup + +returns (Tuple, 0): + status. Indicates the result of a search. + +returns (Tuple, 1): + A pointer to the material if found, otherwise `None`.)doc"; static const char * __doc_Bentley_DgnPlatform_MaterialManager_FindMaterialByNameFromAnySource =R"doc(Find a material or materials by its name from any material source @@ -534,10 +543,10 @@ static const char * __doc_Bentley_DgnPlatform_MaterialManager_FindMaterialByName this argument improves performance. Returns (Tuple, 0): - SUCCESS if the search found one or more materials + status. Indicates the result of a search. Returns (Tuple, 1): - status. Indicates the result of a search. + SUCCESS if the search found one or more materials )doc"; @@ -569,7 +578,10 @@ as long as renderModelRef's DGN file is still loaded. materials in its associated MaterialTable. Specifying false for this argument improves performance. -:returns: +:returns(tuple, 0): + searchStatus. + +:returns(tuple, 1): The material if found.)doc"; static const char * __doc_Bentley_DgnPlatform_TextureFunctionInfo_SetMaxImageSize =R"doc(Set the maximum size of the texture to be returned by in the results @@ -1579,42 +1591,42 @@ void def_Material(py::module_& m) { MaterialSearchStatus status = MaterialSearchStatus::Success; auto pMat = const_cast(self.FindMaterial(&status, id, source, renderModelRef, loadSourceIfNotCached)); - return py::make_tuple(MaterialPtr(pMat), status); + return py::make_tuple(status, MaterialPtr(pMat)); }, "id"_a, "source"_a, "renderModelRef"_a, "loadSourceIfNotCached"_a, DOC(Bentley, DgnPlatform, MaterialManager, FindMaterial)); c17.def("FindMaterial", [] (MaterialManager& self, MaterialIdCR id, DgnFileR source, DgnModelRefR renderModelRef, bool loadSourceIfNotCached) { MaterialSearchStatus status = MaterialSearchStatus::Success; auto pMat = const_cast(self.FindMaterial(&status, id, source, renderModelRef, loadSourceIfNotCached)); - return py::make_tuple(MaterialPtr(pMat), status); + return py::make_tuple(status, MaterialPtr(pMat)); }, "id"_a, "source"_a, "renderModelRef"_a, "loadSourceIfNotCached"_a, DOC(Bentley, DgnPlatform, MaterialManager, FindMaterial)); c17.def("FindMaterialByNameFromAnySource", [] (MaterialManager& self, MaterialList& materials, WCharCP name, DgnModelRefR renderModelRef, bool loadSourceIfNotCached) { MaterialSearchStatus status = MaterialSearchStatus::Success; auto retVal = self.FindMaterialByNameFromAnySource(&status, materials, name, renderModelRef, loadSourceIfNotCached); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "materials"_a, "name"_a, "renderModelRef"_a, "loadSourceIfNotCached"_a, DOC(Bentley, DgnPlatform, MaterialManager, FindMaterialByNameFromAnySource)); c17.def("FindMaterialBySymbology", [] (MaterialManager& self, LevelId levelID, UInt32 rawColor, DgnModelRefR renderModelRef, bool useSymbologyOverride, bool loadSourceIfNotCached, ViewContextP context) { MaterialSearchStatus status = MaterialSearchStatus::Success; auto pMat = const_cast(self.FindMaterialBySymbology(&status, levelID, rawColor, renderModelRef, useSymbologyOverride, loadSourceIfNotCached, context)); - return py::make_tuple(MaterialPtr(pMat), status); + return py::make_tuple(status, MaterialPtr(pMat)); }, "levelID"_a, "rawColor"_a, "renderModelRef"_a, "useSymbologyOverride"_a, "loadSourceIfNotCached"_a, "context"_a, DOC(Bentley, DgnPlatform, MaterialManager, FindMaterialBySymbology)); c17.def("FindMaterialAttachment", [] (MaterialManager& self, ElementHandleCR eh, DgnModelRefR renderModelRef, bool loadSourceIfNotCached) { MaterialSearchStatus status = MaterialSearchStatus::Success; auto pMat = const_cast(self.FindMaterialAttachment(&status, eh, renderModelRef, loadSourceIfNotCached)); - return py::make_tuple(MaterialPtr(pMat), status); + return py::make_tuple(status, MaterialPtr(pMat)); }, "eh"_a, "renderModelRef"_a, "loadSourceIfNotCached"_a, DOC(Bentley, DgnPlatform, MaterialManager, FindMaterialAttachment)); c17.def("FindMaterialsInPalette", [] (MaterialManager& self, MaterialList& materials, PaletteInfoCR palette, DgnModelRefR renderModelRef, bool includeLibrary) { MaterialSearchStatus status = MaterialSearchStatus::Success; auto retVal = self.FindMaterialsInPalette(&status, materials, palette, renderModelRef, includeLibrary); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "materials"_a, "palette"_a, "renderModelRef"_a, "includeLibrary"_a, DOC(Bentley, DgnPlatform, MaterialManager, FindMaterialsInPalette)); c17.def("FindMaterialInPalette", diff --git a/MSPythonWrapper/PyDgnPlatform/source/picklist.cpp b/MSPythonWrapper/PyDgnPlatform/source/picklist.cpp index 802b755..8dd5e15 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/picklist.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/picklist.cpp @@ -45,8 +45,8 @@ void def_PickList(py::module_& m) c2.def("GetDgnFile", &PickList::GetDgnFile); c2.def("SetDgnFile", &PickList::SetDgnFile, "dgnFile"_a); - c2.def("AddValue", py::overload_cast(&PickList::AddValue), "value"_a); - c2.def("AddValue", py::overload_cast(&PickList::AddValue), "valString"_a); + c2.def("AddValue", py::overload_cast(&PickList::AddValue), "value"_a, py::return_value_policy::reference_internal); + c2.def("AddValue", py::overload_cast(&PickList::AddValue), "valString"_a, py::return_value_policy::reference_internal); c2.def("CanFindValueByString", &PickList::CanFindValueByString, "valString"_a); c2.def("CanFindValueById", &PickList::CanFindValueById, "id"_a); @@ -59,6 +59,7 @@ void def_PickList(py::module_& m) c2.def("GetId", &PickList::GetId); c2.def("GetValueCount", &PickList::GetValueCount); + c2.def("__len__", &PickList::GetValueCount); c2.def("GetPickListValueByValue", &PickList::GetPickListValueByValue, "valString"_a); c2.def("GetPickListValueByID", &PickList::GetPickListValueByID, "id"_a); @@ -72,11 +73,12 @@ void def_PickList(py::module_& m) py::class_ c3(m, "PickListLibrary"); c3.def("__iter__", [](PickListLibrary& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c3.def("__len__", &PickListLibrary::GetPickListCount); c3.def_static("CreatePickListLibrary", &PickListLibrary::CreatePickListLibrary); - c3.def ("AddPickList", py::overload_cast(&PickListLibrary::AddPickList), "pickList"_a); - c3.def ("AddPickList", py::overload_cast(&PickListLibrary::AddPickList), "pickList"_a, "dgnFile"_a); - c3.def ("AddPickList", py::overload_cast(&PickListLibrary::AddPickList), "name"_a, "dgnFile"_a); + c3.def ("AddPickList", py::overload_cast(&PickListLibrary::AddPickList), "pickList"_a, py::return_value_policy::reference_internal); + c3.def ("AddPickList", py::overload_cast(&PickListLibrary::AddPickList), "pickList"_a, "dgnFile"_a, py::return_value_policy::reference_internal); + c3.def ("AddPickList", py::overload_cast(&PickListLibrary::AddPickList), "name"_a, "dgnFile"_a, py::return_value_policy::reference_internal); c3.def("GetPickListByName", &PickListLibrary::GetPickListByName, "name"_a); c3.def("GetPickListById", &PickListLibrary::GetPickListById, "id"_a); c3.def("RemovePickListByName", &PickListLibrary::RemovePickListByName, "name"_a); diff --git a/MSPythonWrapper/PyDgnPlatform/source/rastercollection.cpp b/MSPythonWrapper/PyDgnPlatform/source/rastercollection.cpp index 14ad372..b4a779c 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/rastercollection.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/rastercollection.cpp @@ -64,5 +64,6 @@ void def_RasterCollection(py::module_& m) "iteratorType"_a = (MRITERATE_Root | MRITERATE_PrimaryChildRefs | MRITERATE_IncludeRedundant), "depth"_a = -1, DOC(Bentley,DgnPlatform_Raster,DgnRasterCollection,QueryRastersOrderedList) ); c0.def("Find", &DgnRasterCollection::FindP, "elmRefP"_a); + c0.def("__len__",[](DgnRasterCollection& self) {return std::distance (self.begin (), self.end ());}); } diff --git a/MSPythonWrapper/PyDgnPlatform/source/scaledefinition.cpp b/MSPythonWrapper/PyDgnPlatform/source/scaledefinition.cpp index 57c876a..5990f1d 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/scaledefinition.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/scaledefinition.cpp @@ -125,8 +125,9 @@ void def_ScaleDefinition(py::module_& m) //=================================================================================== // struct ScaleCollection py::class_< ScaleCollection> c3(m, "ScaleCollection"); - + c3.def(py::init(), "options"_a); c3.def("__iter__", [] (ScaleCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); c3.def("FindByName", &ScaleCollection::FindByName, "name"_a, DOC(Bentley, DgnPlatform, ScaleCollection, FindByName)); c3.def("FindByFactor", &ScaleCollection::FindByFactor, "scale"_a, DOC(Bentley, DgnPlatform, ScaleCollection, FindByFactor)); + c3.def ("__len__", [] (ScaleCollection& self) { return std::distance (self.begin (), self.end ());}); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/sheetsizedefinition.cpp b/MSPythonWrapper/PyDgnPlatform/source/sheetsizedefinition.cpp index 9e5caa6..ebb85c8 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/sheetsizedefinition.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/sheetsizedefinition.cpp @@ -124,4 +124,5 @@ void def_SheetSizeDefinition(py::module_& m) c3.def("__iter__", [] (SheetSizeCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); c3.def("FindByName", &SheetSizeCollection::FindByName, "name"_a, DOC(Bentley, DgnPlatform, SheetSizeCollection, FindByName)); c3.def("FindByCustomInfo", &SheetSizeCollection::FindByCustomInfo, "width"_a, "height"_a, "units"_a, DOC(Bentley, DgnPlatform, SheetSizeCollection, FindByCustomInfo)); + c3.def("__len__", [](SheetSizeCollection& self) { return std::distance(self.begin(), self.end()); }); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/textblockiterators.cpp b/MSPythonWrapper/PyDgnPlatform/source/textblockiterators.cpp index 2b4bf4b..1e5f4a5 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/textblockiterators.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/textblockiterators.cpp @@ -91,4 +91,5 @@ void def_TextBlockIterators(py::module_& m) c4.def("GetEndCaret", &RunRange::GetEndCaret, py::return_value_policy::reference_internal, DOC(Bentley, DgnPlatform, RunRange, GetEndCaret)); c4.def("__iter__", [] (RunRange& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c4.def("__len__", [] (RunRange& self) { return std::distance(self.begin(), self.end()); }); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/texttablehandler.cpp b/MSPythonWrapper/PyDgnPlatform/source/texttablehandler.cpp index 027c041..7acdd14 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/texttablehandler.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/texttablehandler.cpp @@ -196,6 +196,12 @@ have a specific orientation set.)doc"; static const char * __doc_Bentley_DgnPlatform_TextTable_GetDefaultCellOrientation =R"doc(Get the default orientation which will be used by cells that don't have a specific orientation set.)doc"; +static const char* __doc_Bentley_DgnPlatform_TextTable_SetDefaultCellOrientationAngle = R"doc(Change the default orientation angle which will be used by cells that +don't have a specific orientation set. The orientation angle is used when the orientation is TableCellOrientation::Angled. Its range is (-90, 90) degrees.)doc"; + +static const char* __doc_Bentley_DgnPlatform_TextTable_GetDefaultCellOrientationAngle = R"doc(Get the default orientation angle which will be used by cells that +don't have a specific orientation set. The orientation angle is used when the orientation is TableCellOrientation::Angled. Its range is (-90, 90) degrees.)doc"; + static const char * __doc_Bentley_DgnPlatform_TextTable_SetDefaultCellAlignment =R"doc(Change the default alignment which will be used by cells that don't have a specific alignment set.)doc"; @@ -457,6 +463,12 @@ the rotation of the contents within the cell.)doc"; static const char * __doc_Bentley_DgnPlatform_TextTableCell_GetOrientation =R"doc(Get the orientation stored in this cell. The orientation controls the rotation of the contents within the cell.)doc"; +static const char* __doc_Bentley_DgnPlatform_TextTableCell_SetOrientationAngle = R"doc(Change the orientation angle stored in this cell. The orientation angle +is used when the orientation is TableCellOrientation::Angled. Its range is (-90, 90) degrees.)doc"; + +static const char* __doc_Bentley_DgnPlatform_TextTableCell_GetOrientationAngle = R"doc(Get the orientation angle stored in this cell. The orientation angle +is used when the orientation is TableCellOrientation::Angled. Its range is (-90, 90) degrees.)doc"; + static const char * __doc_Bentley_DgnPlatform_TextTableCell_SetAlignment =R"doc(Change the alignment stored in this cell. The alignment controls the position of the contents within the cell.)doc"; @@ -752,6 +764,10 @@ void def_TextTableHandler(py::module_& m) c5.def("GetOrientation", &TextTableCell::GetOrientation, DOC(Bentley, DgnPlatform, TextTableCell, GetOrientation)); c5.def("SetOrientation", &TextTableCell::SetOrientation, "orientation"_a, DOC(Bentley, DgnPlatform, TextTableCell, SetOrientation)); + c5.def_property("OrientationAngle", &TextTableCell::GetOrientationAngle, &TextTableCell::SetOrientationAngle); + c5.def("GetOrientationAngle", &TextTableCell::GetOrientationAngle, DOC(Bentley, DgnPlatform, TextTableCell, GetOrientationAngle)); + c5.def("SetOrientationAngle", &TextTableCell::SetOrientationAngle, "orientationAngle"_a, DOC(Bentley, DgnPlatform, TextTableCell, SetOrientationAngle)); + c5.def_property("Margins", &TextTableCell::GetMargins, &TextTableCell::SetMargins); c5.def("GetMargins", &TextTableCell::GetMargins, DOC(Bentley, DgnPlatform, TextTableCell, GetMargins)); c5.def("SetMargins", &TextTableCell::SetMargins, "margin"_a, DOC(Bentley, DgnPlatform, TextTableCell, SetMargins)); @@ -928,6 +944,10 @@ void def_TextTableHandler(py::module_& m) c9.def("GetDefaultCellOrientation", &TextTable::GetDefaultCellOrientation, DOC(Bentley, DgnPlatform, TextTable, GetDefaultCellOrientation)); c9.def("SetDefaultCellOrientation", &TextTable::SetDefaultCellOrientation, "orientation"_a, DOC(Bentley, DgnPlatform, TextTable, SetDefaultCellOrientation)); + c9.def_property("DefaultCellOrientationAngle", &TextTable::GetDefaultCellOrientationAngle, &TextTable::SetDefaultCellOrientationAngle); + c9.def("GetDefaultCellOrientationAngle", &TextTable::GetDefaultCellOrientationAngle, DOC(Bentley, DgnPlatform, TextTable, GetDefaultCellOrientationAngle)); + c9.def("SetDefaultCellOrientationAngle", &TextTable::SetDefaultCellOrientationAngle, "orientationAngle"_a, DOC(Bentley, DgnPlatform, TextTable, SetDefaultCellOrientationAngle)); + c9.def("GetTextStyleId", &TextTable::GetTextStyleId, "region"_a, DOC(Bentley, DgnPlatform, TextTable, GetTextStyleId)); c9.def("GetDefaultFill", &TextTable::GetDefaultFill, "symb"_a, "rows"_a, DOC(Bentley, DgnPlatform, TextTable, GetDefaultFill)); diff --git a/MSPythonWrapper/PyDgnPlatform/source/unitdefinition.cpp b/MSPythonWrapper/PyDgnPlatform/source/unitdefinition.cpp index dc24ac2..70743a2 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/unitdefinition.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/unitdefinition.cpp @@ -336,6 +336,7 @@ void def_UnitDefinition(py::module_& m) c6.def(py::init(), "options"_a); c6.def("__iter__", [] (StandardUnitCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c6.def("__len__", [](StandardUnitCollection& self) { return std::distance(self.begin(), self.end()); }); //=================================================================================== // struct UserUnitCollection @@ -358,4 +359,5 @@ void def_UnitDefinition(py::module_& m) c7.def(py::init(), "options"_a); c7.def("__iter__", [] (UserUnitCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c7.def("__len__", [](UserUnitCollection& self) { return std::distance(self.begin(), self.end()); }); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/workset.cpp b/MSPythonWrapper/PyDgnPlatform/source/workset.cpp index dfdd447..13ab4e2 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/workset.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/workset.cpp @@ -170,6 +170,7 @@ void def_WorkSet(py::module_& m) c1.def("__iter__", [] (WorkSetCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); c1.def("FindByFileName", &WorkSetCollection::FindByFileName, "workSetFileName"_a, "stopHere"_a); c1.def("FindByName", &WorkSetCollection::FindByName, "workSetName"_a, "stopHere"_a); + c1.def("__len__", &WorkSetCollection::size); //=================================================================================== // enum class WorkSetStatus diff --git a/MSPythonWrapper/PyDgnPlatform/source/xattributeiter.cpp b/MSPythonWrapper/PyDgnPlatform/source/xattributeiter.cpp index 63e7996..a532ede 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/xattributeiter.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/xattributeiter.cpp @@ -93,4 +93,5 @@ void def_XAttributeIter(py::module_& m) c2.def(py::init(), "elRef"_a, "handlerId"_a = XAttributeHandlerId(0, 0)); c2.def("__iter__", [] (XAttributeCollection& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c2.def("__len__", [](XAttributeCollection& self) { return std::distance(self.begin(), self.end()); }); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/xdatanodecollection.cpp b/MSPythonWrapper/PyDgnPlatform/source/xdatanodecollection.cpp index 73cc849..d3e38c6 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/xdatanodecollection.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/xdatanodecollection.cpp @@ -29,4 +29,5 @@ void def_XDataNodeCollection(py::module_& m) c1.def("Sort", &XDataNodeCollection::Sort); c1.def("SortByName", &XDataNodeCollection::SortByName); c1.def("IsValid", &XDataNodeCollection::IsValid); + c1.def("__len__", [](XDataNodeCollection& self) { return self.GetNumNodes (); }); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/source/xmlfragment.cpp b/MSPythonWrapper/PyDgnPlatform/source/xmlfragment.cpp index 9475500..398447c 100644 --- a/MSPythonWrapper/PyDgnPlatform/source/xmlfragment.cpp +++ b/MSPythonWrapper/PyDgnPlatform/source/xmlfragment.cpp @@ -113,4 +113,5 @@ void def_XmlFragment(py::module_& m) return XmlFragmentList::ExtractFromElement(ehh, appID.get_ptr(), appType.get_ptr()); }, "eeh"_a, "appID"_a=nullptr, "appType"_a= nullptr); c1.def("AttachToElement", &XmlFragmentList::AttachToElement, "eeh"_a); + c1.def("__len__", &XmlFragmentList::GetCount); } \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnPlatform/testUtilities/PyDgnPlatformTest.mke.sourcemap.json b/MSPythonWrapper/PyDgnPlatform/testUtilities/PyDgnPlatformTest.mke.sourcemap.json new file mode 100644 index 0000000..e582222 --- /dev/null +++ b/MSPythonWrapper/PyDgnPlatform/testUtilities/PyDgnPlatformTest.mke.sourcemap.json @@ -0,0 +1,164 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../../../InternalAPI/MSPyBindTemplates.h", + "../../../InternalAPI/MSPyCommon.h", + "../../../InternalAPI/MSPythonEngine.h", + "../../../InternalAPI/OpqueTypes_Bentley.h", + "../../../InternalAPI/OpqueTypes_DgnPlatform.h", + "../../../InternalAPI/OpqueTypes_ECObject.h", + "../../../InternalAPI/OpqueTypes_Geom.h", + "../../../InternalAPI/Pybind11/attr.h", + "../../../InternalAPI/Pybind11/buffer_info.h", + "../../../InternalAPI/Pybind11/cast.h", + "../../../InternalAPI/Pybind11/detail/class.h", + "../../../InternalAPI/Pybind11/detail/common.h", + "../../../InternalAPI/Pybind11/detail/descr.h", + "../../../InternalAPI/Pybind11/detail/init.h", + "../../../InternalAPI/Pybind11/detail/internals.h", + "../../../InternalAPI/Pybind11/detail/type_caster_base.h", + "../../../InternalAPI/Pybind11/detail/typeid.h", + "../../../InternalAPI/Pybind11/embed.h", + "../../../InternalAPI/Pybind11/eval.h", + "../../../InternalAPI/Pybind11/gil.h", + "../../../InternalAPI/Pybind11/operators.h", + "../../../InternalAPI/Pybind11/options.h", + "../../../InternalAPI/Pybind11/pybind11.h", + "../../../InternalAPI/Pybind11/pytypes.h", + "../../../InternalAPI/Pybind11/stl.h", + "../../../InternalAPI/Pybind11/stl_bind.h", + "../../../MSPythonPCH.cpp", + "../../../MSPythonPCH.h", + "../../../PublicAPI/MSPythonCore/MSPython.h", + "../../../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../../../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "ECTestHelpers.h", + "MSPyDgnPlatformTest.cpp", + "PyDgnPlatformTest.mke", + "pyECTestHelpers.cpp", + "pyViewContextTest.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnView/PyDgnView.mke.sourcemap.json b/MSPythonWrapper/PyDgnView/PyDgnView.mke.sourcemap.json new file mode 100644 index 0000000..54ed1cd --- /dev/null +++ b/MSPythonWrapper/PyDgnView/PyDgnView.mke.sourcemap.json @@ -0,0 +1,171 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../../InternalAPI/MSPyBindTemplates.h", + "../../InternalAPI/MSPyCommon.h", + "../../InternalAPI/MSPythonEngine.h", + "../../InternalAPI/OpqueTypes_Bentley.h", + "../../InternalAPI/OpqueTypes_DgnPlatform.h", + "../../InternalAPI/OpqueTypes_ECObject.h", + "../../InternalAPI/OpqueTypes_Geom.h", + "../../InternalAPI/Pybind11/attr.h", + "../../InternalAPI/Pybind11/buffer_info.h", + "../../InternalAPI/Pybind11/cast.h", + "../../InternalAPI/Pybind11/detail/class.h", + "../../InternalAPI/Pybind11/detail/common.h", + "../../InternalAPI/Pybind11/detail/descr.h", + "../../InternalAPI/Pybind11/detail/init.h", + "../../InternalAPI/Pybind11/detail/internals.h", + "../../InternalAPI/Pybind11/detail/type_caster_base.h", + "../../InternalAPI/Pybind11/detail/typeid.h", + "../../InternalAPI/Pybind11/embed.h", + "../../InternalAPI/Pybind11/eval.h", + "../../InternalAPI/Pybind11/gil.h", + "../../InternalAPI/Pybind11/operators.h", + "../../InternalAPI/Pybind11/options.h", + "../../InternalAPI/Pybind11/pybind11.h", + "../../InternalAPI/Pybind11/pytypes.h", + "../../InternalAPI/Pybind11/stl.h", + "../../InternalAPI/Pybind11/stl_bind.h", + "../../MSPythonPCH.cpp", + "../../MSPythonPCH.h", + "../../PublicAPI/MSPythonCore/MSPython.h", + "../../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "../PyDgnPlatform/source/ParentTypes/imodifyelement.cpp", + "PyDgnView.mke", + "source/PyDgnView.cpp", + "source/accudraw.cpp", + "source/accusnap.cpp", + "source/dgnelementsettool.cpp", + "source/dgnregionelementtool.cpp", + "source/dgntool.cpp", + "source/fencemanager.cpp", + "source/iredraw.cpp", + "source/locatesubentitytool.cpp", + "source/selectionsetmanager.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonWrapper/PyDgnView/source/ParentTypes/iviewmanager.cpp b/MSPythonWrapper/PyDgnView/source/ParentTypes/iviewmanager.cpp index 54a98a7..cf1b72e 100644 --- a/MSPythonWrapper/PyDgnView/source/ParentTypes/iviewmanager.cpp +++ b/MSPythonWrapper/PyDgnView/source/ParentTypes/iviewmanager.cpp @@ -344,6 +344,7 @@ void def_IViewManager(py::module_& m) "vp"_a, "drawMode"_a, "drawPurpose"_a, "info"_a); c6.def("SetSelectedView", &IndexedViewSet::SetSelectedView, "inVp"_a, "setActiveModel"_a, "fromButtonEvent"_a); + c6.def("__len__", [](IndexedViewSet& self) { return std::distance(self.begin(), self.end()); }); //=================================================================================== // struct IViewManager diff --git a/MSPythonWrapper/PyDgnView/testUtilities/PyDgnViewTest.mke.sourcemap.json b/MSPythonWrapper/PyDgnView/testUtilities/PyDgnViewTest.mke.sourcemap.json new file mode 100644 index 0000000..208772e --- /dev/null +++ b/MSPythonWrapper/PyDgnView/testUtilities/PyDgnViewTest.mke.sourcemap.json @@ -0,0 +1,162 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../../../InternalAPI/MSPyBindTemplates.h", + "../../../InternalAPI/MSPyCommon.h", + "../../../InternalAPI/MSPythonEngine.h", + "../../../InternalAPI/OpqueTypes_Bentley.h", + "../../../InternalAPI/OpqueTypes_DgnPlatform.h", + "../../../InternalAPI/OpqueTypes_ECObject.h", + "../../../InternalAPI/OpqueTypes_Geom.h", + "../../../InternalAPI/Pybind11/attr.h", + "../../../InternalAPI/Pybind11/buffer_info.h", + "../../../InternalAPI/Pybind11/cast.h", + "../../../InternalAPI/Pybind11/detail/class.h", + "../../../InternalAPI/Pybind11/detail/common.h", + "../../../InternalAPI/Pybind11/detail/descr.h", + "../../../InternalAPI/Pybind11/detail/init.h", + "../../../InternalAPI/Pybind11/detail/internals.h", + "../../../InternalAPI/Pybind11/detail/type_caster_base.h", + "../../../InternalAPI/Pybind11/detail/typeid.h", + "../../../InternalAPI/Pybind11/embed.h", + "../../../InternalAPI/Pybind11/eval.h", + "../../../InternalAPI/Pybind11/gil.h", + "../../../InternalAPI/Pybind11/operators.h", + "../../../InternalAPI/Pybind11/options.h", + "../../../InternalAPI/Pybind11/pybind11.h", + "../../../InternalAPI/Pybind11/pytypes.h", + "../../../InternalAPI/Pybind11/stl.h", + "../../../InternalAPI/Pybind11/stl_bind.h", + "../../../MSPythonPCH.cpp", + "../../../MSPythonPCH.h", + "../../../PublicAPI/MSPythonCore/MSPython.h", + "../../../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../../../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "PyDgnViewTest.mke", + "pydgnclipboard.cpp", + "pydgnview.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonWrapper/PyECObjects/PyECObjects.mke.sourcemap.json b/MSPythonWrapper/PyECObjects/PyECObjects.mke.sourcemap.json new file mode 100644 index 0000000..b00f3fd --- /dev/null +++ b/MSPythonWrapper/PyECObjects/PyECObjects.mke.sourcemap.json @@ -0,0 +1,189 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../../InternalAPI/MSPyBindTemplates.h", + "../../InternalAPI/MSPyCommon.h", + "../../InternalAPI/MSPythonEngine.h", + "../../InternalAPI/OpqueTypes_Bentley.h", + "../../InternalAPI/OpqueTypes_DgnPlatform.h", + "../../InternalAPI/OpqueTypes_ECObject.h", + "../../InternalAPI/OpqueTypes_Geom.h", + "../../InternalAPI/Pybind11/attr.h", + "../../InternalAPI/Pybind11/buffer_info.h", + "../../InternalAPI/Pybind11/cast.h", + "../../InternalAPI/Pybind11/detail/class.h", + "../../InternalAPI/Pybind11/detail/common.h", + "../../InternalAPI/Pybind11/detail/descr.h", + "../../InternalAPI/Pybind11/detail/init.h", + "../../InternalAPI/Pybind11/detail/internals.h", + "../../InternalAPI/Pybind11/detail/type_caster_base.h", + "../../InternalAPI/Pybind11/detail/typeid.h", + "../../InternalAPI/Pybind11/embed.h", + "../../InternalAPI/Pybind11/eval.h", + "../../InternalAPI/Pybind11/gil.h", + "../../InternalAPI/Pybind11/operators.h", + "../../InternalAPI/Pybind11/options.h", + "../../InternalAPI/Pybind11/pybind11.h", + "../../InternalAPI/Pybind11/pytypes.h", + "../../InternalAPI/Pybind11/stl.h", + "../../InternalAPI/Pybind11/stl_bind.h", + "../../MSPythonPCH.cpp", + "../../MSPythonPCH.h", + "../../PublicAPI/MSPythonCore/MSPython.h", + "../../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "../PyDgnPlatform/source/ParentTypes/dgnecinstance.cpp", + "../PyDgnPlatform/source/ParentTypes/dgnecproviders.cpp", + "../PyDgnPlatform/source/ParentTypes/dgnectypes.cpp", + "../PyDgnPlatform/source/ParentTypes/ecquery.cpp", + "../PyDgnPlatform/source/ParentTypes/ecreportnode.cpp", + "../PyDgnPlatform/source/ParentTypes/elementtemplatenode.cpp", + "../PyDgnPlatform/source/ParentTypes/ieditactionsource.cpp", + "../PyDgnPlatform/source/ParentTypes/userinterfacenode.cpp", + "../PyDgnPlatform/source/ParentTypes/wherecriterion.cpp", + "../PyDgnPlatform/source/ParentTypes/xdatatreenode.cpp", + "PyECObjects.mke", + "source/PyECObjects.cpp", + "source/auiitem.cpp", + "source/auiprovider.cpp", + "source/eccontext.cpp", + "source/ecdbuffer.cpp", + "source/ecenabler.cpp", + "source/ecexpressions.cpp", + "source/ecimagekey.cpp", + "source/ecinstance.cpp", + "source/ecinstanceiterable.cpp", + "source/ecobjects.cpp", + "source/ecprovider.cpp", + "source/ecschema.cpp", + "source/ecvalue.cpp", + "source/presentationmetadatahelper.cpp", + "source/standaloneecinstance.cpp", + "source/standaloneecrelationshipinstance.cpp", + "source/standardcustomattributehelper.cpp", + "source/supplementalschema.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonWrapper/PyECObjects/source/ecschema.cpp b/MSPythonWrapper/PyECObjects/source/ecschema.cpp index 9ac3803..ef4c4df 100644 --- a/MSPythonWrapper/PyECObjects/source/ecschema.cpp +++ b/MSPythonWrapper/PyECObjects/source/ecschema.cpp @@ -648,6 +648,7 @@ void def_ECSchema(py::module_& m) py::class_< ECClassContainer> c20(m, "ECClassContainer"); c20.def("__iter__", [] (ECClassContainer& self) { return py::make_iterator(self.begin(), self.end()); }, py::keep_alive<0, 1>()); + c20.def("__len__", [](ECClassContainer& self) { return std::distance(self.begin(), self.end()); }); //=================================================================================== // struct IStandaloneEnablerLocater diff --git a/MSPythonWrapper/PyMstnPlatform/PyMstnPlatform.mke.sourcemap.json b/MSPythonWrapper/PyMstnPlatform/PyMstnPlatform.mke.sourcemap.json new file mode 100644 index 0000000..6239363 --- /dev/null +++ b/MSPythonWrapper/PyMstnPlatform/PyMstnPlatform.mke.sourcemap.json @@ -0,0 +1,231 @@ +{ + "version": 1, + "automatic": { + "sourceFiles": [ + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/Python.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bltinmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/boolobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/codecs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/abstract.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytearrayobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/bytesobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/cellobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/ceval.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/classobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/code.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/compile.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/complexobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/context.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/funcobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/genobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/initconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longintrepr.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/odictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/picklebufobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyctype.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pydebug.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyfpe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/pytime.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/cpython/weakrefobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/descrobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/dictobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/enumobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/exports.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/fileutils.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/floatobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/frameobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/genericaliasobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/import.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/intrcheck.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/iterobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/listobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/longobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/memoryobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/methodobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/modsupport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/moduleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/object.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/objimpl.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/osmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/patchlevel.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pybuffer.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pycapsule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyerrors.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyframe.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyhash.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pylifecycle.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacconfig.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymacro.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymath.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pymem.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pyport.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystate.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystats.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrcmp.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pystrtod.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythonrun.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pythread.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/pytypedefs.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/rangeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/setobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sliceobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/structseq.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/sysmodule.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/traceback.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tracemalloc.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/tupleobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/typeslots.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/unicodeobject.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/warnings.h", + "../../../adobuildartifact/BentleyCPythonLayoutFull/include/weakrefobject.h", + "../../InternalAPI/CallbackHelper.h", + "../../InternalAPI/MSPyBindTemplates.h", + "../../InternalAPI/MSPyCommon.h", + "../../InternalAPI/MSPythonEngine.h", + "../../InternalAPI/OpqueTypes_Bentley.h", + "../../InternalAPI/OpqueTypes_DgnPlatform.h", + "../../InternalAPI/OpqueTypes_ECObject.h", + "../../InternalAPI/OpqueTypes_Geom.h", + "../../InternalAPI/OpqueTypes_MstnPlatform.h", + "../../InternalAPI/Pybind11/attr.h", + "../../InternalAPI/Pybind11/buffer_info.h", + "../../InternalAPI/Pybind11/cast.h", + "../../InternalAPI/Pybind11/complex.h", + "../../InternalAPI/Pybind11/detail/class.h", + "../../InternalAPI/Pybind11/detail/common.h", + "../../InternalAPI/Pybind11/detail/descr.h", + "../../InternalAPI/Pybind11/detail/init.h", + "../../InternalAPI/Pybind11/detail/internals.h", + "../../InternalAPI/Pybind11/detail/type_caster_base.h", + "../../InternalAPI/Pybind11/detail/typeid.h", + "../../InternalAPI/Pybind11/embed.h", + "../../InternalAPI/Pybind11/eval.h", + "../../InternalAPI/Pybind11/gil.h", + "../../InternalAPI/Pybind11/numpy.h", + "../../InternalAPI/Pybind11/operators.h", + "../../InternalAPI/Pybind11/options.h", + "../../InternalAPI/Pybind11/pybind11.h", + "../../InternalAPI/Pybind11/pytypes.h", + "../../InternalAPI/Pybind11/stl.h", + "../../InternalAPI/Pybind11/stl_bind.h", + "../../InternalAPI/pybind11/functional.h", + "../../MSPythonPCH.cpp", + "../../MSPythonPCH.h", + "../../PublicAPI/MSPythonCore/MSPython.h", + "../../PublicAPI/MSPythonCore/MsPythonConsole.h", + "../../PublicAPI/MSPythonCore/ScriptEngineManager.h", + "PyMstnPlatform.mke", + "source/3dModeling/meshapi.cpp", + "source/Constraint2d/constraint2dcoreapi.cpp", + "source/Constraint2d/constraint2dmanager.cpp", + "source/Constraint3d/constraint3dcoreapi.cpp", + "source/Constraint3d/constraint3delementapi.cpp", + "source/GUI/guiview.cpp", + "source/GeospatialContext/exportServicesApi.cpp", + "source/GeospatialContext/geocontextApi.cpp", + "source/GeospatialContext/importServicesApi.cpp", + "source/ImageLib/ImageLibApi.cpp", + "source/MdlApi/BaseWindow.cpp", + "source/MdlApi/MSWindow.cpp", + "source/MdlApi/auxsystm.r.cpp", + "source/MdlApi/changetrack.cpp", + "source/MdlApi/dgnlib.cpp", + "source/MdlApi/dialog.cpp", + "source/MdlApi/dlogitem.cpp", + "source/MdlApi/expression.cpp", + "source/MdlApi/filtertable.cpp", + "source/MdlApi/global.cpp", + "source/MdlApi/leveltable.cpp", + "source/MdlApi/msacs.cpp", + "source/MdlApi/msassoc.cpp", + "source/MdlApi/msbitmask.cpp", + "source/MdlApi/mscell.cpp", + "source/MdlApi/mscommandstate.cpp", + "source/MdlApi/msdgnmodelref.cpp", + "source/MdlApi/msdgnobj.cpp", + "source/MdlApi/mselmdsc.cpp", + "source/MdlApi/mshistory.cpp", + "source/MdlApi/msinput.cpp", + "source/MdlApi/mslocate.cpp", + "source/MdlApi/msmodel.cpp", + "source/MdlApi/msstate.cpp", + "source/MdlApi/mssystem.cpp", + "source/MdlApi/msview.cpp", + "source/MdlApi/strutil.cpp", + "source/MdlApi/userfnc.cpp", + "source/MdlApi/viewgroup.cpp", + "source/MicroStation.r.cpp", + "source/MstnDefs.cpp", + "source/MstnTypes.cpp", + "source/PSolid/psolidcoreapi.cpp", + "source/Plot/IPlotElemDisplayParams.cpp", + "source/Plot/IPlotHook.cpp", + "source/Plot/IPlotter.cpp", + "source/Plot/IPrintDescription.cpp", + "source/Plot/IPrintEngine.cpp", + "source/Plot/IPrinterDriver.cpp", + "source/Plot/msplot.cpp", + "source/PyMstnPlatform.cpp", + "source/SmartFeature/smartfeature.r.cpp", + "source/SmartFeature/smartfeatureapi.cpp", + "source/dlogbox.r.cpp", + "source/documentmanager.cpp", + "source/elementpropertyutils.cpp", + "source/ieditaction.cpp", + "source/ievent.cpp", + "source/iglobalposition.cpp", + "source/ipopupmenumanager.cpp", + "source/isessionmgr.cpp", + "source/ixcommand.cpp", + "source/messagecenter.cpp", + "source/microstationapierrors.r.cpp", + "source/xcommand.cpp", + "source/xcommandmanager.cpp" + ] + }, + "manual": { + "sourceFiles": [] + }, + "includeAllSubParts": false, + "include": { + "subParts": [] + }, + "exclude": { + "subParts": [] + } +} \ No newline at end of file diff --git a/MSPythonWrapper/PyMstnPlatform/source/ImageLib/ImageLibApi.cpp b/MSPythonWrapper/PyMstnPlatform/source/ImageLib/ImageLibApi.cpp index f3cc87e..dcaab57 100644 --- a/MSPythonWrapper/PyMstnPlatform/source/ImageLib/ImageLibApi.cpp +++ b/MSPythonWrapper/PyMstnPlatform/source/ImageLib/ImageLibApi.cpp @@ -612,7 +612,8 @@ void def_ImageLibAPI(py::module_& m) int orientation; int retVal = mdlImage_readFileInfo(&imageSize, &colorMode, &orientation, fileName, fileType); - + + py::gil_scoped_acquire acquire; return py::make_tuple(retVal, imageSize, colorMode, orientation); }, "fileName"_a, "fileType"_a, py::call_guard(), DOC(mdlImage_readFileInfo)); diff --git a/MSPythonWrapper/PyMstnPlatform/source/MdlApi/msview.cpp b/MSPythonWrapper/PyMstnPlatform/source/MdlApi/msview.cpp index a2c74d0..9955b9d 100644 --- a/MSPythonWrapper/PyMstnPlatform/source/MdlApi/msview.cpp +++ b/MSPythonWrapper/PyMstnPlatform/source/MdlApi/msview.cpp @@ -1742,6 +1742,19 @@ void def_msview(py::module_& m) return mdlView_updateMulti (isdraw, incremental, drawMode, modelRefList, startEndMsg); }, "viewDraw"_a, "incremental"_a, "drawMode"_a, "modelRefList"_a, "startEndMsg"_a, DOC(mdlView, updateMulti)); + c10.def_static("updateMulti", [](py::list viewDraw, bool incremental, DgnPlatform::DgnDrawMode drawMode, + DgnModelRefListP modelRefList, bool startEndMsg) + { + bool isdraw[DgnPlatform::MAX_VIEWS]; + CONVERT_PYLIST_TO_NEW_CPPARRAY(viewDraw, cppViewDraw, BoolArray, bool); + size_t arrlen = cppViewDraw.size() > DgnPlatform::MAX_VIEWS ? DgnPlatform::MAX_VIEWS : cppViewDraw.size(); + for (int i = 0; i < arrlen; i++) + isdraw[i] = cppViewDraw[i]; + + return mdlView_updateMulti (isdraw, incremental, drawMode, modelRefList, startEndMsg); + }, "viewDraw"_a, "incremental"_a, "drawMode"_a, "modelRefList"_a, "startEndMsg"_a, DOC(mdlView, updateMulti)); + + c10.def_static("updateMultiEx", [](BoolArray viewDraw, bool incremental, DgnPlatform::DgnDrawMode drawMode, DgnModelRefListP modelRefList, bool startEndMsg, bool updateViewTitle) { @@ -1753,6 +1766,18 @@ void def_msview(py::module_& m) return mdlView_updateMultiEx(isdraw, incremental, drawMode, modelRefList, startEndMsg, updateViewTitle); }, "viewDraw"_a, "incremental"_a, "drawMode"_a, "modelRefList"_a, "startEndMsg"_a, "updateViewTitle"_a, DOC(mdlView, updateMultiEx)); + c10.def_static("updateMultiEx", [](py::list viewDraw, bool incremental, DgnPlatform::DgnDrawMode drawMode, + DgnModelRefListP modelRefList, bool startEndMsg, bool updateViewTitle) + { + bool isdraw[DgnPlatform::MAX_VIEWS]; + CONVERT_PYLIST_TO_NEW_CPPARRAY(viewDraw, cppViewDraw, BoolArray, bool); + size_t arrlen = cppViewDraw.size() > DgnPlatform::MAX_VIEWS ? DgnPlatform::MAX_VIEWS : cppViewDraw.size(); + for (int i = 0; i < arrlen; i++) + isdraw[i] = cppViewDraw[i]; + + return mdlView_updateMultiEx(isdraw, incremental, drawMode, modelRefList, startEndMsg, updateViewTitle); + }, "viewDraw"_a, "incremental"_a, "drawMode"_a, "modelRefList"_a, "startEndMsg"_a, "updateViewTitle"_a, DOC(mdlView, updateMultiEx)); + c10.def_static("updateSingle", &mdlView_updateSingle, "viewNumber"_a, DOC(mdlView, updateSingle)); c10.def_static("zoom", &mdlView_zoom, "outView"_a, "inView"_a, "centerPoint"_a, "zoomFactor"_a, DOC(mdlView, zoom)); c10.def_static("pointToScreen", [](DPoint3dCP uorPoint, int viewNumber, DgnPlatform::DgnCoordSystem coordinateSystem) @@ -1818,6 +1843,17 @@ void def_msview(py::module_& m) return mdlView_setLevelDisplayMaskMulti(modelRef, isdraw, viewLevelMask, doUpdate); }, "modelRef"_a, "viewList"_a, "viewLevelMask"_a, "doUpdate"_a, DOC(mdlView, setLevelDisplayMaskMulti)); + c10.def_static("setLevelDisplayMaskMulti", [](DgnModelRefP modelRef, py::list viewList, BitMaskCP viewLevelMask, bool doUpdate) + { + bool isdraw[DgnPlatform::MAX_VIEWS]; + CONVERT_PYLIST_TO_NEW_CPPARRAY(viewList, cppViewList, BoolArray, bool); + size_t arrlen = cppViewList.size() > DgnPlatform::MAX_VIEWS ? DgnPlatform::MAX_VIEWS : cppViewList.size(); + for (int i = 0; i < arrlen; i++) + isdraw[i] = cppViewList[i]; + + return mdlView_setLevelDisplayMaskMulti(modelRef, isdraw, viewLevelMask, doUpdate); + }, "modelRef"_a, "viewList"_a, "viewLevelMask"_a, "doUpdate"_a, DOC(mdlView, setLevelDisplayMaskMulti)); + c10.def_static("changeLevelDisplayMaskMulti", [](DgnModelRefP modelRef, BoolArray viewList, BitMaskCP levelMask, LevelMaskOperation operation, bool doUpdate) { bool isdraw[DgnPlatform::MAX_VIEWS]; @@ -1828,6 +1864,17 @@ void def_msview(py::module_& m) return mdlView_changeLevelDisplayMaskMulti(modelRef, isdraw, levelMask, operation, doUpdate); }, "modelRef"_a, "viewList"_a, "levelMask"_a, "operation"_a, "doUpdate"_a, DOC(mdlView, changeLevelDisplayMaskMulti)); + c10.def_static("changeLevelDisplayMaskMulti", [](DgnModelRefP modelRef, py::list viewList, BitMaskCP levelMask, LevelMaskOperation operation, bool doUpdate) + { + bool isdraw[DgnPlatform::MAX_VIEWS]; + CONVERT_PYLIST_TO_NEW_CPPARRAY(viewList, cppViewList, BoolArray, bool); + size_t arrlen = cppViewList.size() > DgnPlatform::MAX_VIEWS ? DgnPlatform::MAX_VIEWS : cppViewList.size(); + for (int i = 0; i < arrlen; i++) + isdraw[i] = cppViewList[i]; + + return mdlView_changeLevelDisplayMaskMulti(modelRef, isdraw, levelMask, operation, doUpdate); + }, "modelRef"_a, "viewList"_a, "levelMask"_a, "operation"_a, "doUpdate"_a, DOC(mdlView, changeLevelDisplayMaskMulti)); + c10.def_static("getLevelDisplay", [](DgnModelRefP modelRef, int iViewNum, DgnPlatform::LevelId iLevelId, DgnPlatform::ViewLevelDisplayType levelDisplayType) { bool viewLevelDisplay; @@ -1881,6 +1928,12 @@ void def_msview(py::module_& m) return mdlView_fitToFence(fencePts.data(), viewIndex, (UInt32)fencePts.size()); }, "fencePts"_a, "viewIndex"_a, DOC(mdlView, fitToFence)); + c10.def_static("fitToFence", [](py::list& fencePts, int viewIndex) + { + CONVERT_PYLIST_TO_NEW_CPPARRAY(fencePts, cppFencePts, DPoint2dArray, DPoint2d); + return mdlView_fitToFence(cppFencePts.data(), viewIndex, (UInt32)cppFencePts.size()); + }, "fencePts"_a, "viewIndex"_a, DOC(mdlView, fitToFence)); + c10.def_static("fitViewToRange", &mdlView_fitViewToRange, "min"_a, "max"_a, "options"_a, "viewIndex"_a, DOC(mdlView, fitViewToRange)); c10.def_static("treatAs3D", &mdlView_treatAs3D, "viewIndex"_a, DOC(mdlView, treatAs3D)); c10.def_static("setClipBoundaryElement", &mdlView_setClipBoundaryElement, "viewIndex"_a, "elementID"_a, DOC(mdlView, setClipBoundaryElement)); diff --git a/MSPythonWrapper/PyMstnPlatform/source/PSolid/psolidcoreapi.cpp b/MSPythonWrapper/PyMstnPlatform/source/PSolid/psolidcoreapi.cpp index bfa45d3..77134ec 100644 --- a/MSPythonWrapper/PyMstnPlatform/source/PSolid/psolidcoreapi.cpp +++ b/MSPythonWrapper/PyMstnPlatform/source/PSolid/psolidcoreapi.cpp @@ -1432,24 +1432,82 @@ void def_PSolidCoreAPI(py::module_& m) return SolidUtil::Modify::BlendEdges(target_, edges.data(), radii.data(), edges.size(), propagateSmooth); }, "target"_a, "edges"_a, "radii"_a, "propagateSmooth"_a = true, DOC(Bentley, DgnPlatform, Modify, BlendEdges)); + c1_3.def_static("BlendEdges", [] (ISolidKernelEntityP target, bvector& edges, py::list& radii, bool propagateSmooth = true) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(radii, cppRadii, DoubleArray, double); + return SolidUtil::Modify::BlendEdges(target_, edges.data(), cppRadii.data(), edges.size(), propagateSmooth); + }, "target"_a, "edges"_a, "radii"_a, "propagateSmooth"_a = true, DOC(Bentley, DgnPlatform, Modify, BlendEdges)); + + c1_3.def_static("BlendEdges", [] (ISolidKernelEntityP target, py::list& edges, DoubleArray& radii, bool propagateSmooth = true) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(edges, cppEdges, bvector, ISubEntityPtr); + return SolidUtil::Modify::BlendEdges(target_, cppEdges.data(), radii.data(), cppEdges.size(), propagateSmooth); + }, "target"_a, "edges"_a, "radii"_a, "propagateSmooth"_a = true, DOC(Bentley, DgnPlatform, Modify, BlendEdges)); + + c1_3.def_static("BlendEdges", [] (ISolidKernelEntityP target, py::list& edges, py::list& radii, bool propagateSmooth = true) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(edges, cppEdges, bvector, ISubEntityPtr); + CONVERT_PYLIST_TO_NEW_CPPARRAY(radii, cppRadii, DoubleArray, double); + return SolidUtil::Modify::BlendEdges(target_, cppEdges.data(), cppRadii.data(), cppEdges.size(), propagateSmooth); + }, "target"_a, "edges"_a, "radii"_a, "propagateSmooth"_a = true, DOC(Bentley, DgnPlatform, Modify, BlendEdges)); + c1_3.def_static("ChamferEdges", [] (ISolidKernelEntityP target, bvector& edges, DoubleArray& values1, DoubleArray &values2, SolidUtil::Modify::ChamferMode mode, bool propagateSmooth) { ISolidKernelEntityPtr target_(target); return SolidUtil::Modify::ChamferEdges(target_, edges.data(), values1.data(), values2.data(), edges.size(), mode, propagateSmooth); }, "target"_a, "edges"_a, "values1"_a, "values2"_a, "mode"_a, "propagateSmooth"_a = true, DOC(Bentley, DgnPlatform, Modify, ChamferEdges)); + c1_3.def_static("ChamferEdges", [] (ISolidKernelEntityP target, bvector& edges, py::list& values1, DoubleArray &values2, SolidUtil::Modify::ChamferMode mode, bool propagateSmooth) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(values1, cppValues1, DoubleArray, double); + return SolidUtil::Modify::ChamferEdges(target_, edges.data(), cppValues1.data(), values2.data(), edges.size(), mode, propagateSmooth); + }, "target"_a, "edges"_a, "values1"_a, "values2"_a, "mode"_a, "propagateSmooth"_a = true, DOC(Bentley, DgnPlatform, Modify, ChamferEdges)); + + c1_3.def_static("ChamferEdges", [] (ISolidKernelEntityP target, bvector& edges, DoubleArray& values1, py::list &values2, SolidUtil::Modify::ChamferMode mode, bool propagateSmooth) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(values2, cppValues2, DoubleArray, double); + return SolidUtil::Modify::ChamferEdges(target_, edges.data(), values1.data(), cppValues2.data(), edges.size(), mode, propagateSmooth); + }, "target"_a, "edges"_a, "values1"_a, "values2"_a, "mode"_a, "propagateSmooth"_a = true, DOC(Bentley, DgnPlatform, Modify, ChamferEdges)); + + c1_3.def_static("ChamferEdges", [] (ISolidKernelEntityP target, bvector& edges, py::list& values1, py::list &values2, SolidUtil::Modify::ChamferMode mode, bool propagateSmooth) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(values1, cppValues1, DoubleArray, double); + CONVERT_PYLIST_TO_NEW_CPPARRAY(values2, cppValues2, DoubleArray, double); + return SolidUtil::Modify::ChamferEdges(target_, edges.data(), cppValues1.data(), cppValues2.data(), edges.size(), mode, propagateSmooth); + }, "target"_a, "edges"_a, "values1"_a, "values2"_a, "mode"_a, "propagateSmooth"_a = true, DOC(Bentley, DgnPlatform, Modify, ChamferEdges)); + c1_3.def_static("HollowFaces", [] (ISolidKernelEntityP target, double defaultDistance, bvector& faces, DoubleArray& distances, SolidUtil::Modify::StepFacesOption addStep) { ISolidKernelEntityPtr target_(target); return SolidUtil::Modify::HollowFaces(target_, defaultDistance, faces.data(), distances.data(), faces.size(), addStep); }, "target"_a, "defaultDistance"_a, "faces"_a, "distances"_a, "addStep"_a = SolidUtil::Modify::StepFacesOption::ADD_STEP_NonCoincident, DOC(Bentley, DgnPlatform, Modify, HollowFaces)); + c1_3.def_static("HollowFaces", [] (ISolidKernelEntityP target, double defaultDistance, bvector& faces, py::list& distances, SolidUtil::Modify::StepFacesOption addStep) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(distances, cppDistances, DoubleArray, double); + return SolidUtil::Modify::HollowFaces(target_, defaultDistance, faces.data(), cppDistances.data(), faces.size(), addStep); + }, "target"_a, "defaultDistance"_a, "faces"_a, "distances"_a, "addStep"_a = SolidUtil::Modify::StepFacesOption::ADD_STEP_NonCoincident, DOC(Bentley, DgnPlatform, Modify, HollowFaces)); + c1_3.def_static("OffsetFaces", [] (ISolidKernelEntityP target, bvector& faces, DoubleArray& distances, SolidUtil::Modify::StepFacesOption addStep) { ISolidKernelEntityPtr target_(target); return SolidUtil::Modify::OffsetFaces(target_, faces.data(), distances.data(), faces.size(), addStep); }, "target"_a, "faces"_a, "distances"_a, "addStep"_a = SolidUtil::Modify::StepFacesOption::ADD_STEP_NonCoincident, DOC(Bentley, DgnPlatform, Modify, OffsetFaces)); + c1_3.def_static("OffsetFaces", [] (ISolidKernelEntityP target, bvector& faces, py::list& distances, SolidUtil::Modify::StepFacesOption addStep) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(distances, cppDistances, DoubleArray, double); + return SolidUtil::Modify::OffsetFaces(target_, faces.data(), cppDistances.data(), faces.size(), addStep); + }, "target"_a, "faces"_a, "distances"_a, "addStep"_a = SolidUtil::Modify::StepFacesOption::ADD_STEP_NonCoincident, DOC(Bentley, DgnPlatform, Modify, OffsetFaces)); + c1_3.def_static("TransformFaces", [] (ISolidKernelEntityP target, bvector& faces, bvector& translations, SolidUtil::Modify::StepFacesOption addStep) { ISolidKernelEntityPtr target_(target); @@ -1498,6 +1556,13 @@ void def_PSolidCoreAPI(py::module_& m) return SolidUtil::Modify::OffsetThroughHole(target_, faces.data(), distances.data(), faces.size()); }, "target"_a, "faces"_a, "distances"_a, DOC(Bentley, DgnPlatform, Modify, OffsetThroughHole)); + c1_3.def_static("OffsetThroughHole", [] (ISolidKernelEntityP target, bvector& faces, py::list& distances) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(distances, cppDistances, DoubleArray, double); + return SolidUtil::Modify::OffsetThroughHole(target_, faces.data(), cppDistances.data(), faces.size()); + }, "target"_a, "faces"_a, "distances"_a, DOC(Bentley, DgnPlatform, Modify, OffsetThroughHole)); + c1_3.def_static("OffsetFacesWithStatus", [] (ISolidKernelEntityPtr& target, bvector& faces, DoubleArray& distances, SolidUtil::Modify::StepFacesOption addStep,int& offsetStatus ) { ISolidKernelEntityPtr target_(target); @@ -1505,6 +1570,14 @@ void def_PSolidCoreAPI(py::module_& m) return py::make_tuple(retVal, offsetStatus); }, "target"_a, "faces"_a, "distances"_a, "addStep"_a,"offsetStatus"_a = SolidUtil::Modify::StepFacesOption::ADD_STEP_NonCoincident); + c1_3.def_static("OffsetFacesWithStatus", [] (ISolidKernelEntityPtr& target, bvector& faces, py::list& distances, SolidUtil::Modify::StepFacesOption addStep,int& offsetStatus ) + { + ISolidKernelEntityPtr target_(target); + CONVERT_PYLIST_TO_NEW_CPPARRAY(distances, cppDistances, DoubleArray, double); + auto retVal = SolidUtil::Modify::OffsetFaces(target_, offsetStatus, faces.data(), cppDistances.data(), faces.size(), addStep); + return py::make_tuple(retVal, offsetStatus); + }, "target"_a, "faces"_a, "distances"_a, "addStep"_a,"offsetStatus"_a = SolidUtil::Modify::StepFacesOption::ADD_STEP_NonCoincident); + c1_3.def_static("ThickenSheetWithStatus", [] (ISolidKernelEntityP target, double frontDistance, double backDistance, int& status ) { ISolidKernelEntityPtr target_(target); diff --git a/MSPythonWrapper/PyMstnPlatform/source/Plot/IPlotter.cpp b/MSPythonWrapper/PyMstnPlatform/source/Plot/IPlotter.cpp index d29223c..52bc1dd 100644 --- a/MSPythonWrapper/PyMstnPlatform/source/Plot/IPlotter.cpp +++ b/MSPythonWrapper/PyMstnPlatform/source/Plot/IPlotter.cpp @@ -2560,6 +2560,16 @@ void def_IPlotter(py::module_& m) Int32Array& bestFitFormIndex, BoolArray& selectedFormFits) {}, "requestWidthDots"_a, "requestHeightDots"_a, "requestUnits"_a, "bestFitFormIndexP"_a, "selectedFormFitsP"_a, DOC(Bentley, MstnPlatform, Print, IPlotter, FindBestFitForm)); + c10.def("FindBestFitForm", [](IPlotter& self, double requestWidthDots, double requestHeightDots, PlotUnits requestUnits, + Int32Array& bestFitFormIndex, py::list& selectedFormFits) + { + if (!bestFitFormIndex.empty() && !selectedFormFits.empty()){ + CONVERT_PYLIST_TO_NEW_CPPARRAY(selectedFormFits, cppSelectedFormFits, BoolArray, bool); + self.FindBestFitForm(requestWidthDots, requestHeightDots, requestUnits, &bestFitFormIndex[0], &cppSelectedFormFits[0]); + CONVERT_CPPARRAY_TO_PYLIST(selectedFormFits, cppSelectedFormFits, BoolArray, bool); + } + }, "requestWidthDots"_a, "requestHeightDots"_a, "requestUnits"_a, "bestFitFormIndexP"_a, "selectedFormFitsP"_a, DOC(Bentley, MstnPlatform, Print, IPlotter, FindBestFitForm)); + c10.def("GetEngineError", &IPlotter::GetEngineError, DOC(Bentley, MstnPlatform, Print, IPlotter, GetEngineError)); c10.def("SetEngineError", &IPlotter::SetEngineError,"value"_a, DOC(Bentley, MstnPlatform, Print, IPlotter, SetEngineError)); c10.def("GetEngineLineWidth", py::overload_cast(&IPlotter::GetEngineLineWidth, py::const_), "weight"_a, DOC(Bentley, MstnPlatform, Print, IPlotter, GetEngineLineWidth)); diff --git a/MSPythonWrapper/PyMstnPlatform/source/Plot/IPrintDescription.cpp b/MSPythonWrapper/PyMstnPlatform/source/Plot/IPrintDescription.cpp index 59972a4..22fdbce 100644 --- a/MSPythonWrapper/PyMstnPlatform/source/Plot/IPrintDescription.cpp +++ b/MSPythonWrapper/PyMstnPlatform/source/Plot/IPrintDescription.cpp @@ -1639,6 +1639,18 @@ void def_IPrintDescription(py::module_& m) c4.def("SetViewIndependentFence", [](IPrintDescription& self, const py::list& dp3dArray) {return ERROR; }, "dp3dArray"_a); c4.def("GetViewIndependentWorkingFence", [](IPrintDescription& self, DPoint3dArray& dp3dArray) {}, "dp3dArray"_a); + c4.def("GetViewIndependentWorkingFence", [](IPrintDescription& self, py::list& dp3dArray) { + if(dp3dArray.empty()){ + return; + } + else{ + CONVERT_PYLIST_TO_NEW_CPPARRAY(dp3dArray, cppDp3dArray, DPoint3dArray, DPoint3d) + int numPoints = static_cast(cppDp3dArray.size()); + self.GetViewIndependentWorkingFence(&numPoints, cppDp3dArray.data()); + CONVERT_CPPARRAY_TO_PYLIST(dp3dArray, cppDp3dArray, DPoint3dArray, DPoint3d); + } + }, "dp3dArray"_a); + c4.def("IsFenceDefined", &IPrintDescription::IsFenceDefined, DOC(Bentley, MstnPlatform, Print, IPrintDescription, IsFenceDefined)); c4.def("IsSheetDefined", &IPrintDescription::IsSheetDefined, DOC(Bentley, MstnPlatform, Print, IPrintDescription, IsSheetDefined)); c4.def("GetUnits", &IPrintDescription::GetUnits, DOC(Bentley, MstnPlatform, Print, IPrintDescription, GetUnits)); @@ -1726,6 +1738,4 @@ void def_IPrintDescription(py::module_& m) c5.def_static("Create", &PrintDescriptionRef::Create, DOC(Bentley, MstnPlatform, Print, PrintDescriptionRef, Create)); c5.def("Copy", &PrintDescriptionRef::Copy, "copyPlotter"_a, DOC(Bentley, MstnPlatform, Print, PrintDescriptionRef, Copy)); c5.def("GetP", &PrintDescriptionRef::GetP, py::return_value_policy::reference_internal); - } - - + } \ No newline at end of file diff --git a/MSPythonWrapper/PyMstnPlatform/source/documentmanager.cpp b/MSPythonWrapper/PyMstnPlatform/source/documentmanager.cpp index 0dd99ca..aa97147 100644 --- a/MSPythonWrapper/PyMstnPlatform/source/documentmanager.cpp +++ b/MSPythonWrapper/PyMstnPlatform/source/documentmanager.cpp @@ -68,10 +68,10 @@ static const char * __doc_Bentley_MstnPlatform_MSDocumentManager_OpenFolderDialo MicroStation file list attribues (FILELISTATTR flagword) * Returns (Tuple, 0): - retVal. + status. Returns (Tuple, 1): - status. + retVal. )doc"; @@ -99,11 +99,11 @@ optionally prompt the user for whether to overwrite the file or not. Sepcifies what to do if the document already exists * Returns(Tuple, 0): - An DgnDocument that represents the file. On failure, NULL is - Returned. + status. this gives an indication of why. Returns (Tuple, 1): - status. this gives an indication of why. + An DgnDocument that represents the file. On failure, NULL is + Returned. )doc"; @@ -125,11 +125,11 @@ is not integrated with a document management system. if not integrated.. * Returns (Tuple, 0): - An DgnDocument that represents the file. If the file cannot be - found or cannot be accessed, NULL is returned. + status. this gives an indication of why. Returns (Tuple, 1): - status. this gives an indication of why. + An DgnDocument that represents the file. If the file cannot be + found or cannot be accessed, NULL is returned. )doc"; static const char* __doc_Bentley_DgnPlatform_DgnDocumentManager_OpenFolderBrowser = R"doc(Browse for a folder in the DMS)doc"; @@ -614,7 +614,7 @@ void def_DocumentManager(py::module_& m) pyParams->toMSDocumentOpenDialogParams (params); DgnFileStatus status = DgnFileStatus::DGNFILE_STATUS_UnknownError; auto retVal = self.OpenDocumentDialog(status, params, attributes, openMode); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "params"_a, "attributes"_a, "openMode"_a, DOC(Bentley, MstnPlatform, MSDocumentManager, OpenDocumentDialog)); c5.def("CreateNewDocumentDialog", [] (MSDocumentManager& self, PyDocumentOpenDialogParamsPtr pyParams, DgnDocument::OverwriteMode overwriteMode) @@ -623,7 +623,7 @@ void def_DocumentManager(py::module_& m) pyParams->toMSDocumentOpenDialogParams (params); DgnFileStatus status = DgnFileStatus::DGNFILE_STATUS_UnknownError; auto retVal = self.CreateNewDocumentDialog(status, params, overwriteMode); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "params"_a, "overwriteMode"_a, DOC(Bentley, MstnPlatform, MSDocumentManager, CreateNewDocumentDialog)); c5.def("CreateMonikerList", &MSDocumentManager::CreateMonikerList, DOC(Bentley, MstnPlatform, MSDocumentManager, CreateMonikerList)); @@ -637,7 +637,7 @@ void def_DocumentManager(py::module_& m) MSDocumentOpenDialogParams params; pyParams->toMSDocumentOpenDialogParams (params); auto retVal = self.OpenFolderDialog(status, params, attributes, basePath, fetchMode); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "params"_a, "attributes"_a, "basePath"_a, "fetchMode"_a, DOC(Bentley, MstnPlatform, MSDocumentManager, OpenFolderDialog)); c5.def("CompareDocumentWorkspaces", [] (MSDocumentManager& self, DgnDocumentMonikerCR document1, DgnDocumentMonikerCR document2, WCharCP generatorArgs) diff --git a/MSPythonWrapper/PyMstnPlatform/source/isessionmgr.cpp b/MSPythonWrapper/PyMstnPlatform/source/isessionmgr.cpp index d77b7d3..64c1776 100644 --- a/MSPythonWrapper/PyMstnPlatform/source/isessionmgr.cpp +++ b/MSPythonWrapper/PyMstnPlatform/source/isessionmgr.cpp @@ -170,12 +170,12 @@ See also: Returns (Tuple, 0): - NULL, if the user hit Cancel; else, a pointer to a document object - that stores the path to the file that was chosen. + status. SUCCESS if a file was chosen; otherwise, the error status returned + by the document manager. Returns (Tuple, 1) : - status. SUCCESS if a file was chosen; otherwise, the error status returned - by the document manager. + NULL, if the user hit Cancel; else, a pointer to a document object + that stores the path to the file that was chosen. )doc"; @@ -224,12 +224,12 @@ See also: Returns (Tuple, 0): - A pointer to the newly opened file if successful, or NULL if the - file could not be found or opened. See *status.* + status. + SUCCESS if the file was opened Returns (Tuple, 1): - status. - SUCCESS if the file was opened + A pointer to the newly opened file if successful, or NULL if the + file could not be found or opened. See *status.* )doc"; static const char * __doc_Bentley_MstnPlatform_ISessionMgr_SwitchToNewFile =R"doc(Makes the specified file the Master DGN, opening it if necessary. @@ -559,14 +559,14 @@ void def_ISessionMgr(py::module_& m) { DgnFileStatus status = DgnFileStatus::DGNFILE_STATUS_UnknownError; auto retVal = self.FindDesignFile(status, inFileName, inModelName, fileType, allowCancel); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, "inFileName"_a, "inModelName"_a, "fileType"_a, "allowCancel"_a, DOC(Bentley, MstnPlatform, ISessionMgr, FindDesignFile)); c2.def("OpenDgnFileDialog", [] (ISessionMgr& self) { DgnFileStatus status = DgnFileStatus::DGNFILE_STATUS_UnknownError; auto retVal = self.OpenDgnFileDialog(status); - return py::make_tuple(retVal, status); + return py::make_tuple(status, retVal); }, DOC(Bentley, MstnPlatform, ISessionMgr, OpenDgnFileDialog)); c2.def("CreateNewDgnFile", &ISessionMgr::CreateNewDgnFile, "newName"_a, "defaultDir"_a, "switchToNewFile"_a, DOC(Bentley, MstnPlatform, ISessionMgr, CreateNewDgnFile)); diff --git a/PublicAPI/MSPythonCore/ScriptEngineManager.h b/PublicAPI/MSPythonCore/ScriptEngineManager.h index 5849097..ab43737 100644 --- a/PublicAPI/MSPythonCore/ScriptEngineManager.h +++ b/PublicAPI/MSPythonCore/ScriptEngineManager.h @@ -19,8 +19,7 @@ #include - -BEGIN_BENTLEY_MSTNPLATFORM_MSPYTHON_NAMESPACE +namespace Bentley { namespace MstnPlatform { namespace MSPython { DEFINE_POINTER_SUFFIX_TYPEDEFS(ScriptValue) DEFINE_POINTER_SUFFIX_TYPEDEFS(ScriptContext) @@ -160,9 +159,9 @@ struct ScriptNotifier : public RefCountedBase public: virtual void OnException(std::exception& ex) {} - virtual void OnError(std::string const& msg) {} + virtual void OnError(std::wstring const& msg) {} - virtual void OnOutput(std::string const& msg) {} + virtual void OnOutput(std::wstring const& msg) {} void SetActive (bool active) { m_active = active;} bool GetActive () { return m_active; } @@ -171,14 +170,18 @@ struct ScriptNotifier : public RefCountedBase //======================================================================================= // @bsiclass 02/23 //======================================================================================= +struct PythonSessionInfo; + struct MSPYTHONDLL_EXPORT ScriptEngineManager { private: static ScriptEngineManager* s_EngineManager; + static PythonSessionInfo* s_sessionInfo; bmap *m_engineList; bvector *m_sinkList; std::exception *m_lastException; bool m_hasException; + bool m_silenceMode; ScriptEngineManager(); ~ScriptEngineManager(); @@ -202,12 +205,26 @@ struct MSPYTHONDLL_EXPORT ScriptEngineManager void DropNotifier(ScriptNotifierP notifier); void InjectException(std::exception& ex); - void InjectError(std::string const& msg); - void InjectOutput(std::string const& msg); + void InjectError(std::wstring const& msg); + void InjectOutput(std::wstring const& msg); std::exception const& GetLastException(); bool HasException(); void ClearException(); + + void InitPySessionInfo(); + + WString GetCurrentPyFilePath() const; + void SetCurrentPyFilePath(WStringCR); + + std::wstring GetErrorResult() const; + void SetErrorResult(std::wstring const&); + + std::wstring GetOkResult() const; + void SetOkResult(std::wstring const&); + + bool GetSilenceMode() const; + void SetSilenceMode(bool); }; //======================================================================================= @@ -219,15 +236,24 @@ struct UstnScriptNotifier : public ScriptNotifier private: UstnScriptNotifier() {} public: - virtual void OnException(std::exception& ex) override { BeConsole::Printf("%s\n", ex.what()); } + virtual void OnException(std::exception& ex) override + { + BeConsole::WPrintf(L"%s\n", ex.what()); + } - virtual void OnError(std::string const& msg) override { BeConsole::Printf("%s\n", msg.c_str()); } + virtual void OnError(std::wstring const& msg) override + { + BeConsole::WPrintf(L"%ls\n", msg.c_str()); + } - virtual void OnOutput(std::string const& msg) override { BeConsole::Printf("%s\n", msg.c_str()); } + virtual void OnOutput(std::wstring const& msg) override + { + BeConsole::WPrintf(L"%ls\n", msg.c_str()); + } static UstnScriptNotifierPtr Create() { return new UstnScriptNotifier(); } }; -END_BENTLEY_MSTNPLATFORM_MSPYTHON_NAMESPACE +} } } // namespace Bentley::MstnPlatform::MSPython
levelCountTypeIn