自答一波,在国外网站看到类似的问题其中一条回复如下:
I had looked into scripting Puppet pins awhile back and found that it's not really possible. I wanted to create pins in locations of a series of 2D track points and have the track data move each assigned pin.
I spent the last couple of hours trying again via your method, and while you can add properties in the pin group, I think they are just empty property shells. If you try adding a pin in the normal fashion you'll see that each new pin gets created on top of the previous in the property hierarchy, and is named "Puppet Pin incrementedValue". Adding via script creates a property below and with a generic "Pin incrementedValue" name. Nothing actually appears in the viewer representing that "pin" either. I've found no way of activating said pin to where it is viewable in the viewer and editable in the timeline. I believe this may be a false positive when adding these "Pin" properties.
I did scrub the property list to see what is in there and got this.
Legend: IndexNumber Name MatchName
(1) Puppet ADBE FreePin3
(1) On Transparent ADBE FreePin3 On Transparent
(2) arap ADBE FreePin3 ARAP Group //HIDDEN
(1) Auto-traced Shapes ADBE FreePin3 Outlines
(2) Mesh ADBE FreePin3 Mesh Group //HIDDEN
(1) Mesh 1 ADBE FreePin3 Mesh Atom
(1) Mesh ADBE FreePin3 Mesh //HIDDEN
(2) Triangles ADBE FreePin3 Mesh Tri Count
(3) Expansion ADBE FreePin3 Mesh Expansion
(4) Deform ADBE FreePin3 PosPins
(1) Puppet Pin 1 ADBE FreePin3 PosPin Atom
(1) Vertex Offset ADBE FreePin3 PosPin Vtx Offset //HIDDEN
(2) Vertex Index ADBE FreePin3 PosPin Vtx Index //HIDDEN
(3) Position ADBE FreePin3 PosPin Position
(5) Overlap ADBE FreePin3 HghtPins //HIDDEN
(6) Stiffness ADBE FreePin3 StarchPins //HIDDEN
Maybe Todd or Jeff might have more info on this, but I'm pretty sure Puppet Pins are not scriptable yet.
大致意思是脚本还不能调用创建图钉,只能创建空壳图钉,它的值为空。
不知道是否正确,还请各位大佬解答。
I had looked into scripting Puppet pins awhile back and found that it's not really possible. I wanted to create pins in locations of a series of 2D track points and have the track data move each assigned pin.
I spent the last couple of hours trying again via your method, and while you can add properties in the pin group, I think they are just empty property shells. If you try adding a pin in the normal fashion you'll see that each new pin gets created on top of the previous in the property hierarchy, and is named "Puppet Pin incrementedValue". Adding via script creates a property below and with a generic "Pin incrementedValue" name. Nothing actually appears in the viewer representing that "pin" either. I've found no way of activating said pin to where it is viewable in the viewer and editable in the timeline. I believe this may be a false positive when adding these "Pin" properties.
I did scrub the property list to see what is in there and got this.
Legend: IndexNumber Name MatchName
(1) Puppet ADBE FreePin3
(1) On Transparent ADBE FreePin3 On Transparent
(2) arap ADBE FreePin3 ARAP Group //HIDDEN
(1) Auto-traced Shapes ADBE FreePin3 Outlines
(2) Mesh ADBE FreePin3 Mesh Group //HIDDEN
(1) Mesh 1 ADBE FreePin3 Mesh Atom
(1) Mesh ADBE FreePin3 Mesh //HIDDEN
(2) Triangles ADBE FreePin3 Mesh Tri Count
(3) Expansion ADBE FreePin3 Mesh Expansion
(4) Deform ADBE FreePin3 PosPins
(1) Puppet Pin 1 ADBE FreePin3 PosPin Atom
(1) Vertex Offset ADBE FreePin3 PosPin Vtx Offset //HIDDEN
(2) Vertex Index ADBE FreePin3 PosPin Vtx Index //HIDDEN
(3) Position ADBE FreePin3 PosPin Position
(5) Overlap ADBE FreePin3 HghtPins //HIDDEN
(6) Stiffness ADBE FreePin3 StarchPins //HIDDEN
Maybe Todd or Jeff might have more info on this, but I'm pretty sure Puppet Pins are not scriptable yet.
大致意思是脚本还不能调用创建图钉,只能创建空壳图钉,它的值为空。
不知道是否正确,还请各位大佬解答。