Cop network in obj

   490   2   0
User Avatar
Member
1 posts
Joined: 12月 2023
オフライン
Hi,

Looks like I can't add a standalone Copnet in obj network, adding a copnet puts it directly into a sop network. Is there a workaround? Is it normal or is it a bug? I really liked having different copnets for different things in obj.
User Avatar
Member
8377 posts
Joined: 9月 2011
オフライン
I agree, super annoying. The work around is to edit the shelftool script for copnet, and change the code from sop to object.

change


import toolutils
toolutils.genericTool(kwargs, 'copnet', None,
                                     hou.sopNodeTypeCategory())
to
import toolutils
toolutils.genericTool(kwargs, 'copnet', None,
                                     hou.objNodeTypeCategory())
User Avatar
Member
416 posts
Joined: 8月 2018
オフライン
Thomas_Dorone
Looks like I can't add a standalone Copnet in obj network, adding a copnet puts it directly into a sop network.

And file an RFE: https://www.sidefx.com/bugs/submit/ [www.sidefx.com]
Edited by Mike_A - 2026年7月30日 17:30:20
  • Quick Links