pushNode#

创建一个cad容器节点#

图块代码

../../_images/pushNode.png

javascript

jih_doc.pushNode(op,"object0",color,value)
jih_doc.popNode()

python

if True:
  jih_doc.pushNode(op,"object0",color,value)
  jih_doc.popNode()

npl

jih_doc:pushNode(op,"object0",color,value)
jih_doc:popNode()

参数#

参数

类型

默认值

说明

op

string

“union”

color

string

“#ffc658”

value

string

“true”

示例#

jih_doc.pushNode("union","object0","#ffc658",true)
jih_doc.popNode()
if True:
  jih_doc.pushNode("union","object0","#ffc658",true)
  jih_doc.popNode()
jih_doc:pushNode("union","object0","#ffc658",true)
jih_doc:popNode()