pushNodeByName#
创建一个cad容器节点#
图块代码

javascript
jih_doc.pushNode(op, name, color, value)
jih_doc.popNode()
python
if True:
jih_doc.pushNode(op, name, color, value)
jih_doc.popNode()
npl
jih_doc:pushNode(op, name, color, value)
jih_doc:popNode()
参数#
参数 |
类型 |
默认值 |
说明 |
---|---|---|---|
op |
string |
“union” |
|
name |
string |
“” |
|
color |
string |
“#ffc658” |
|
value |
string |
“true” |
示例#
jih_doc.pushNode("union", '', "#ffc658", true)
jih_doc.popNode()
if True:
jih_doc.pushNode("union", '', "#ffc658", true)
jih_doc.popNode()
jih_doc:pushNode("union", '', "#ffc658", true)
jih_doc:popNode()