How to change bonCapture regn by VEX?

   925   2   0
User Avatar
Member
1 posts
Joined: 3月 2017
Offline
I want to change the boneCapture regn Data by vex, but it seems like a float Data. I can't import a string data to replace it.

I tried
@boneCapture_regn = "bone_1";
@boneCapture = "bone_1";
@boneCapture.x = "bone_1";

but it didn't work.

Attachments:
Snipaste_2023-03-29_14-10-06.png (44.5 KB)
Snipaste_2023-03-29_14-10-44.png (56.9 KB)

User Avatar
Member
8539 posts
Joined: 7月 2007
Online
use Capture Attribute Unpack SOP to get array attributes, modify in VEX and Capture Attribute Pack SOP to pack back into index/pair capture attrib
Edited by tamte - 2023年3月30日 17:22:26
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
8539 posts
Joined: 7月 2007
Online
kongnoattack
I can't import a string data to replace it.
if renaming is all you want to do then you can just use Attribute String Edit SOP
https://www.sidefx.com/forum/topic/88322/#post-381445 [www.sidefx.com]
https://www.sidefx.com/forum/topic/88322/#post-381630 [www.sidefx.com]
Edited by tamte - 2023年3月30日 17:24:56
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links