WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
QBlockCommand
Class QBlockCommand
Index
Constructors
constructor
Properties
first
Point
World
first
Point
Ucs
second
Point
World
second
Point
Ucs
selection
Set
previous
Selection
Set
Methods
main
start
P1
P2
DB1
initialize
Block
Attributes
wait
For
User
Input
convert
Texts
To
Attributes
make
Temp
Name
get
Random32
Bit
Hex
Constructors
constructor
new
QBlockCommand
()
:
QBlockCommand
Returns
QBlockCommand
Properties
first
Point
World
firstPointWorld
:
Point2D
first
Point
Ucs
firstPointUcs
:
Point2D
second
Point
World
secondPointWorld
:
Point2D
second
Point
Ucs
secondPointUcs
:
Point2D
selection
Set
selectionSet
:
any
[]
previous
Selection
Set
previousSelectionSet
:
any
[]
Methods
main
main
()
:
Promise
<
void
>
Returns
Promise
<
void
>
start
start
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P1
P1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
P2
P2
()
:
Promise
<
void
>
Returns
Promise
<
void
>
DB1
DB1
()
:
Promise
<
void
>
Returns
Promise
<
void
>
initialize
Block
Attributes
initializeBlockAttributes
(
insertEnt
:
any
,
blockDef
:
any
)
:
void
初始化块属性值 从块定义中的属性定义(ATTDEF)创建默认的属性值
Parameters
insertEnt
:
any
块插入实体
blockDef
:
any
块定义
Returns
void
wait
For
User
Input
waitForUserInput
()
:
Promise
<
string
>
等待用户输入Y/N选择
Returns
Promise
<
string
>
用户输入的字符
convert
Texts
To
Attributes
convertTextsToAttributes
(
textEntities
:
any
[]
)
:
void
将文本实体转换为属性文本
Parameters
textEntities
:
any
[]
文本实体数组
Returns
void
make
Temp
Name
makeTempName
()
:
string
Returns
string
get
Random32
Bit
Hex
getRandom32BitHex
()
:
string
Returns
string
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
first
Point
World
first
Point
Ucs
second
Point
World
second
Point
Ucs
selection
Set
previous
Selection
Set
Methods
main
start
P1
P2
DB1
initialize
Block
Attributes
wait
For
User
Input
convert
Texts
To
Attributes
make
Temp
Name
get
Random32
Bit
Hex
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
初始化块属性值 从块定义中的属性定义(ATTDEF)创建默认的属性值