def _postCreateVirtual(cls, newNode ): CRObject_Node._postCreateVirtual(newNode) newNode.addAttr(cls._handle, dt='string', h=True) newNode.rename(cls._handle) CRRenderObject_Node.addAttrs(newNode) CRObject_Node.hideShape(newNode)
def _postCreateVirtual(cls, newNode ): CRObject_Node._postCreateVirtual(newNode) newNode.addAttr(cls._handle, dt='string', h=True) trans = newNode.listConnections()[0] shape = trans.getShape() name = newNode.rename(cls._handle) CRSimulation_Node.addAttrs(newNode, trans, shape) CRSimulation_Node.addRManAttrs(newNode, trans, shape)