返回介绍

指南

MxCAD API 文档

MxCAD

发布于 2024-07-31 21:39:57 字数 30326 浏览 0 评论 0 收藏 0

mxcad API 文档 / mxcad

Module: mxcad

mxcad 库所有导出的内容 包换 2d 3d 模块中的所有导出

References

Color

Re-exports Color


ColorIndexType

Re-exports ColorIndexType


ColorMethod

Re-exports ColorMethod


CreateColorArgs

Re-exports CreateColorArgs


FetchAttributes

Re-exports FetchAttributes


McAppType

Re-exports McAppType


McCmColor

Re-exports McCmColor


McCmColorJSON

Re-exports McCmColorJSON


McDb

Re-exports McDb


McDbAlignedDimension

Re-exports McDbAlignedDimension


McDbArc

Re-exports McDbArc


McDbAttribute

Re-exports McDbAttribute


McDbAttributeDefinition

Re-exports McDbAttributeDefinition


McDbBlockReference

Re-exports McDbBlockReference


McDbBlockTable

Re-exports McDbBlockTable


McDbBlockTableRecord

Re-exports McDbBlockTableRecord


McDbCircle

Re-exports McDbCircle


McDbCurve

Re-exports McDbCurve


McDbDatabase

Re-exports McDbDatabase


McDbDimension

Re-exports McDbDimension


McDbEllipse

Re-exports McDbEllipse


McDbEntity

Re-exports McDbEntity


McDbHatch

Re-exports McDbHatch


McDbLayerTable

Re-exports McDbLayerTable


McDbLayerTableRecord

Re-exports McDbLayerTableRecord


McDbLine

Re-exports McDbLine


McDbLinetypeTable

Re-exports McDbLinetypeTable


McDbLinetypeTableRecord

Re-exports McDbLinetypeTableRecord


McDbMText

Re-exports McDbMText


McDbObject

Re-exports McDbObject


McDbObjectArray

Re-exports McDbObjectArray


McDbPoint

Re-exports McDbPoint


McDbPolyline

Re-exports McDbPolyline


McDbProxyEntity

Re-exports McDbProxyEntity


McDbRasterImage

Re-exports McDbRasterImage


McDbRasterImageDef

Re-exports McDbRasterImageDef


McDbRotatedDimension

Re-exports McDbRotatedDimension


McDbText

Re-exports McDbText


McDbTextStyleTable

Re-exports McDbTextStyleTable


McDbTextStyleTableRecord

Re-exports McDbTextStyleTableRecord


McGeLongArray

Re-exports McGeLongArray


McGeMatrix3d

Re-exports McGeMatrix3d


McGePoint3d

Re-exports McGePoint3d


McGePoint3dArray

Re-exports McGePoint3dArray


McGeStringArray

Re-exports McGeStringArray


McGeVector3d

Re-exports McGeVector3d


McObject

Re-exports McObject


McObjectId

Re-exports McObjectId


McObjectIdType

Re-exports McObjectIdType


McRxObject

Re-exports McRxObject


MdGe

Re-exports MdGe


MdGeAngleDim

Re-exports MdGeAngleDim


MdGeArray1OfInteger

Re-exports MdGeArray1OfInteger


MdGeArray1OfPnt

Re-exports MdGeArray1OfPnt


MdGeArray1OfReal

Re-exports MdGeArray1OfReal


MdGeArray2OfPnt

Re-exports MdGeArray2OfPnt


MdGeArray2OfReal

Re-exports MdGeArray2OfReal


MdGeArrowAspect

Re-exports MdGeArrowAspect


MdGeAxis

Re-exports MdGeAxis


MdGeBRep

Re-exports MdGeBRep


MdGeBSplineCurve

Re-exports MdGeBSplineCurve


MdGeBSplineSurface

Re-exports MdGeBSplineSurface


MdGeBezierCurve

Re-exports MdGeBezierCurve


MdGeBezierSurface

Re-exports MdGeBezierSurface


MdGeBox

Re-exports MdGeBox


MdGeCSYS

Re-exports MdGeCSYS


MdGeCSYSR

Re-exports MdGeCSYSR


MdGeChamfer

Re-exports MdGeChamfer


MdGeCircle

Re-exports MdGeCircle


MdGeColor

Re-exports MdGeColor


MdGeCompSolid

Re-exports MdGeCompSolid


MdGeCompound

Re-exports MdGeCompound


MdGeCone

Re-exports MdGeCone


MdGeCylinder

Re-exports MdGeCylinder


MdGeDiameterDim

Re-exports MdGeDiameterDim


MdGeDimAspect

Re-exports MdGeDimAspect


MdGeDir

Re-exports MdGeDir


MdGeDoubleArray

Re-exports MdGeDoubleArray


MdGeEdge

Re-exports MdGeEdge


MdGeEllipse

Re-exports MdGeEllipse


MdGeExplorer

Re-exports MdGeExplorer


MdGeFace

Re-exports MdGeFace


MdGeFillet

Re-exports MdGeFillet


MdGeHGeomPlane

Re-exports MdGeHGeomPlane


MdGeHGeomSurface

Re-exports MdGeHGeomSurface


MdGeHypr

Re-exports MdGeHypr


MdGeInterpolateBSpl

Re-exports MdGeInterpolateBSpl


MdGeLengthDim

Re-exports MdGeLengthDim


MdGeLight

Re-exports MdGeLight


MdGeLine

Re-exports MdGeLine


MdGeLineAspect

Re-exports MdGeLineAspect


MdGeListIteratorOfListOfShape

Re-exports MdGeListIteratorOfListOfShape


MdGeListOfShape

Re-exports MdGeListOfShape


MdGeLoft

Re-exports MdGeLoft


MdGeMakeArcOfCircle

Re-exports MdGeMakeArcOfCircle


MdGeMakeFace

Re-exports MdGeMakeFace


MdGeMakeThickSolid

Re-exports MdGeMakeThickSolid


MdGeMakeWires

Re-exports MdGeMakeWires


MdGeMat

Re-exports MdGeMat


MdGeMaterialAspect

Re-exports MdGeMaterialAspect


MdGeObject

Re-exports MdGeObject


MdGeParab

Re-exports MdGeParab


MdGePipe

Re-exports MdGePipe


MdGePlane

Re-exports MdGePlane


MdGePoint

Re-exports MdGePoint


MdGePointsToBSpl

Re-exports MdGePointsToBSpl


MdGePointsToBSplSurface

Re-exports MdGePointsToBSplSurface


MdGePrism

Re-exports MdGePrism


MdGeRadiusDim

Re-exports MdGeRadiusDim


MdGeRect

Re-exports MdGeRect


MdGeRevol

Re-exports MdGeRevol


MdGeSequenceIteratorOfSequenceOfShape

Re-exports MdGeSequenceIteratorOfSequenceOfShape


MdGeSequenceOfShape

Re-exports MdGeSequenceOfShape


MdGeShape

Re-exports MdGeShape


MdGeShell

Re-exports MdGeShell


MdGeSolid

Re-exports MdGeSolid


MdGeSphere

Re-exports MdGeSphere


MdGeText

Re-exports MdGeText


MdGeTextAspect

Re-exports MdGeTextAspect


MdGeTextLabel

Re-exports MdGeTextLabel


MdGeTopo

Re-exports MdGeTopo


MdGeTorus

Re-exports MdGeTorus


MdGeTransform

Re-exports MdGeTransform


MdGeTrsf

Re-exports MdGeTrsf


MdGeVec

Re-exports MdGeVec


MdGeVertex

Re-exports MdGeVertex


MdGeWedge

Re-exports MdGeWedge


MdGeWire

Re-exports MdGeWire


MdGeXYZ

Re-exports MdGeXYZ


MxCADResbuf

Re-exports MxCADResbuf


MxCADResbufDataType

Re-exports MxCADResbufDataType


MxCADSelectionSet

Re-exports MxCADSelectionSet


MxCADSelectionSetStatus

Re-exports MxCADSelectionSetStatus


MxCADUI

Re-exports MxCADUI


MxCADUiPrAngle

Re-exports MxCADUiPrAngle


MxCADUiPrBase

Re-exports MxCADUiPrBase


MxCADUiPrDist

Re-exports MxCADUiPrDist


MxCADUiPrEntity

Re-exports MxCADUiPrEntity


MxCADUiPrInt

Re-exports MxCADUiPrInt


MxCADUiPrKeyWord

Re-exports MxCADUiPrKeyWord


MxCADUiPrPoint

Re-exports MxCADUiPrPoint


MxCADUiPrString

Re-exports MxCADUiPrString


MxCADUtility

Re-exports MxCADUtility


MxCADUtilityClass

Re-exports MxCADUtilityClass


MxCadConfig

Re-exports MxCadConfig


MxCheckTheBrowser

Re-exports MxCheckTheBrowser


MxCpp

Re-exports MxCpp


MxCppType

Re-exports MxCppType


MxDraw3d

Re-exports MxDraw3d


MxDraw3dConfig

Re-exports MxDraw3dConfig


MxPropertiesWindowCustom

Re-exports MxPropertiesWindowCustom


MxPropertiesWindowCustomValue

Re-exports MxPropertiesWindowCustomValue


MxPropertiesWindowCustomValueType

Re-exports MxPropertiesWindowCustomValueType


Mx_Erase

Re-exports Mx_Erase


ObjectInheritance

Re-exports ObjectInheritance


THREEColorArgs

Re-exports THREEColorArgs


WasmConfig

Re-exports WasmConfig


createMcCmColor

Re-exports createMcCmColor


createMxCad

Re-exports createMxCad


drawArc

Re-exports drawArc


drawCircle

Re-exports drawCircle


drawEllipticalArc

Re-exports drawEllipticalArc


drawLine

Re-exports drawLine


drawMText

Re-exports drawMText


drawPolyLine

Re-exports drawPolyLine


drawPolygon

Re-exports drawPolygon


drawRectang

Re-exports drawRectang


drawText

Re-exports drawText


getColorUtils

Re-exports getColorUtils


getFilterImp

Re-exports getFilterImp


getIndexColors

Re-exports getIndexColors


getStyle

Re-exports getStyle


loadMxCADassembly

Re-exports loadMxCADassembly


loadMxCADassembly3d

Re-exports loadMxCADassembly3d


setMcCmColor

Re-exports setMcCmColor

Variables

MxTools

Const MxTools : Object

Type declaration

NameType
IsZero( val : number ) => boolean
_ML_String( strId : string , str : string ) => string
b64Decode( str : string ) => string
b64Encode( str : string ) => string
downloadFile( blob : any , filename : string ) => void
downloadFileFromUrl( url : string , filename : string ) => void
getFileFromUrl( url : string ) => Promise< undefined \Response>
getJsonFromUrl( url : string ) => Promise< any >
saveAsFileDialog( __namedParameters : { blob : Blob ; filename? : string ; types? : FileTypes }) => Promise< undefined \FileSystemFileHandle & { createWritable : () => Promise< WritableStreamDefaultWriter< any >> }>

Functions

IsZero

IsZero ( val ): boolean

Parameters

NameType
valnumber

Returns

boolean


_ML_String

_ML_String ( strId , str ): string

Parameters

NameType
strIdstring
strstring

Returns

string


b64Decode

b64Decode ( str ): string

Parameters

NameType
strstring

Returns

string


b64Encode

b64Encode ( str ): string

Parameters

NameType
strstring

Returns

string


downloadFile

downloadFile ( blob , filename ): void

Parameters

NameType
blobany
filenamestring

Returns

void


downloadFileFromUrl

downloadFileFromUrl ( url , filename ): void

Parameters

NameType
urlstring
filenamestring

Returns

void


getFileFromUrl

getFileFromUrl ( url ): Promise< undefined | Response>

Parameters

NameType
urlstring

Returns

Promise< undefined | Response>


getJsonFromUrl

getJsonFromUrl ( url ): Promise< any >

Parameters

NameType
urlstring

Returns

Promise< any >


saveAsFileDialog

saveAsFileDialog ( «destructured» ): Promise< undefined | FileSystemFileHandle & { createWritable : () => Promise< WritableStreamDefaultWriter< any >> }>

文件下载保存(另存为只支持 Chrome86 或 Edge 86 以及 Opera 72)兼容 iE10 等较低版本的浏览器

Parameters

NameType
«destructured»Object
blobBlob
filename?string
types?FileTypes

Returns

Promise< undefined | FileSystemFileHandle & { createWritable : () => Promise< WritableStreamDefaultWriter< any >> }>

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文