Selecting Digital Asset in Viewport

   3301   9   0
User Avatar
Member
169 posts
Joined: April 2014
Offline
I'm following this tutorial where the guy creates a null-control inside of a digital asset and then disables the selectability of it.

He then selects the null-control, while in the viewport, and boom, the digital asset gets selected.

So the null-control is used to enable selectability (in the viewport) of the digital asset node.

However, this doesn't work for me. If I select the null-control, the digital asset is not selected… I stay at the obj level, but if I dive into the asset the null-control is highlighted.

The tutorial is in ver. 9.5. Is there something I'm missing or is there another way of doing this in 13?

Or how do you enable selecting a digital asset in the viewport via a control handle?

Sorry for the babbling…. hope this makes sense.

Thank you!
Winter is coming!
User Avatar
Member
7708 posts
Joined: July 2005
Offline
Try saving it and then do Match Current Definition first.
User Avatar
Member
169 posts
Joined: April 2014
Offline
edward
Try saving it and then do Match Current Definition first.

I did Save Operator Type and Match Current definition then selected. Doesn't work.

I even created a new empty file where I created a DA on the fly with just the null inside, saved and matched but still… I select the null and the DA doesn't get selected. I stay at the obj level, but inside my DA the Null itself is selected even though the select flag is off. See my screenshots below.

What am I missing? Is there something else that needs setting? In the tutorial that's all he did.

Thanks

Attachments:
match.jpg (17.4 KB)

Winter is coming!
User Avatar
Member
7708 posts
Joined: July 2005
Offline
Here's a test I did in Houdini 13.0.606 that seems to work for me. I recall now that there was a bug in earlier 13.0 builds so if this file doesn't work for you, try getting the latest H13 daily build.
Edited by - Nov. 26, 2014 07:58:30

Attachments:
ctrlNull.hip (49.6 KB)

User Avatar
Member
169 posts
Joined: April 2014
Offline
edward
Here's a test I did in Houdini 13.0.606 that seems to work for me. I recall now that there was a bug in earlier 13.0 builds so if this file doesn't work for you, try getting the lastest H13 daily build.

Tried your file. Doesn't work - even in 606. Could this be a video card issue?

Thanks
Winter is coming!
User Avatar
Member
7708 posts
Joined: July 2005
Offline
Are you selecting it at the /obj level in the Scene Viewer? I wouldn't expect this to be a video card issue. So if you select either the circles or the box in at the /obj level, you don't see both object becoming yellow?

Another thing to try is to rename your houdini13.0 directory to reset your preferences. Make sure you quit Houdini first.
User Avatar
Member
169 posts
Joined: April 2014
Offline
edward
Are you selecting it at the /obj level in the Scene Viewer? I wouldn't expect this to be a video card issue. So if you select either the circles or the box in at the /obj level, you don't see both object becoming yellow?

Another thing to try is to rename your houdini13.0 directory to reset your preferences. Make sure you quit Houdini first.

I do it at the obj level. I have the asset locked and select the null, but the DA doesn't get selected. By “selected” I mean doesn't highlight in yellow in the network viewer as would any other node.

If I go inside it, the null inside is highlighted yellow.

I have exited and deleted my houdini folder, but it still doesn't work. See attached screenshot of the file you've sent with null selected but my DA is not selected in the network viewer.

Thanks

Attachments:
match1.jpg (9.9 KB)

Winter is coming!
User Avatar
Member
7708 posts
Joined: July 2005
Offline
Weird, yeah, I don't know then. Check out the .gif I attached. Maybe it really is video card related. I'm on Windows 7, nVidia 340.52 driver, using the GL 3.3 viewport.

Attachments:
ctrlNull.gif (48.2 KB)

User Avatar
Member
169 posts
Joined: April 2014
Offline
edward
Weird, yeah, I don't know then. Check out the .gif I attached. Maybe it really is video card related. I'm on Windows 7, nVidia 340.52 driver, using the GL 3.3 viewport.

I definitely don't get that. But I have Radeon hd5770. It does say that this is not fully supported.

I'd buy a new card (Nvidia) that's approved but it's a lot of dough and I wonder if I won't get it and still have the same problems… :cry:

BTW - Thanks for all the help - now and other times….. and a Happy Thanksgiving.

PS: any idea how to load a PYTHON script into the Select Script onto a null so when its selected it can then select the digital asset. Thanks
Winter is coming!
User Avatar
Member
169 posts
Joined: April 2014
Offline
I loaded a python script that selects the DA from the Select Script parameter but as soon as I lock and match properties the selection doesn't work.

hou.node('/obj/subnet1').setSelected(True,clear_all_selected=True)
Winter is coming!
  • Quick Links