Programmatically create the puppet pin
Hi all
I would like to ask whether it is possible create programmatically puppet pins...
I tried to copy the structure of water courses ("ADBE FreePin3", "ADBE FreePin3 Mesh", 'ADBE FreePin3 PosPin Position',...) pins created manually with
corresponding values, but when I create, broadcast this way they are disabled (AEGP_DynStreamFlag_DISABLED - and greyed in the user interface).
I assume that the Summit "index ADBE FreePin3 PosPin Vtx" is just an index in the table stored internally in the form of arbitrary data so that the mesh and the PIN must be created somehow before you set these values.
I found this thread where they try to do the same thing using scripts (also unsuccessfully)Create of corner puppet on a mesh existing via script
I have some ideas on how this could be done using the SDK, but all involve them diving into the dark waters...
-call the method EffectSuite::AEGP_EffectCallGeneric with mouse fake click events (PF_Cmd_EVENT) or some directly if the effect of FreePin supports PF_Cmd_COMPLETELY_GENERAL orders
-use 'FreePin Suite' - which is not a part of the public SDK but can be acquired using AquireSuite... - but as it is not public, I guess it works with a memory that's not so sure touch even if I managed to get/create file header appropriate for this suite
Perhaps there is a simple and elegant to create those pins that I completely forgot, then I'd be really grateful for any suggestions
Thank you very much!
Martin
Here, I just find a workaround...
Step 1: save an animation preset with a puppet effect applied (with desired number of pine trees - but it does not matter where you place the pins)
step 2: apply this preset to a layer (using AEGP_ExecuteScript ("app.project.item (index) .layer (index) .applyPreset (presetName) ;")) - which will add the puppet with pins effect
step 3: change the flow of existing pine vertex offset values by using stream suite
step 4: reset (Pines which will reload the State internal - will jump to the right place)
step 5: change position of vertex streams using the suite of flow
So all you need is a set of files .ffx with a different number of pins puppet used - because they cannot be added programmatically - but it is possible to modify existing ones...
Thanks a lot for your support!
See you soon,.
Martin
Tags: After Effects
Similar Questions
-
get the selection instead of the puppet pin tool marquee tool
I imported a png file in the new composition and wanted to distort the image with the puppet tool, but instead of the puppet pin tool that I always get the marquee tool
tried to keep Alt, Shift, Ctrl, did not help
puppet pin tool works fine on the other compositions. It's the first time I encounter such a problem with the puppet tool. What is going on?
AE CS6 on win7
First question, what size is this file? I don't see any dimension.
Second question, it is necessary to have layers in this picture? Looks like you apply puppet pin on the entire fly.
Third question, have you tried to reduce the size of the file in Photoshop to about the size of your computer and then saving it as a png 24-bit or single-layer PSD or tiff with an alpha channel?
It is difficult to know because there is no detail about right PSD, but it could be wrong, too much color space, or have another problem that I don't see.
-
method toComp on the puppet pin position property returns values ghosts
To try to fake this girl character, I had a strange behavior came. I was able to work around it fairly easily, but it happened to me that there is something I don't understand. My level of experience with expressions is relatively low, but I have some experience with Javascript for the principles are clear.
What is annoying me, is that my procedure works fine in a simple scene created entirely in AE. However when I import a .psd file (using composition - keep the sizes of layer), the same approach becomes useless. I feel I'm missing something on the sizes of layer with respect to the compositions or something, or come across a bug.
OK, this is my first post and it is a bit involved. I was always able to find answers by searching online or in the documentation. Here goes.
I'm trying to implement a character using puppet pin, I'll link to NULL values as part of a more complex setup on the road. My general approach is to implement the ankles first and see how it moves manually before creating nulls and connect the pins to the positions of NULL values. So far, so simple. To get my NULL values to the exact position of my ankles, I pickwhip the position even in the position of the PIN, see what are the coords, then delete and put in the coords manually to null. Once NULL and the pins are aligned, I just link the pins to the NULL values of an expression in the property of spindles 'position '.
This all works very well in my simple scene consisting of a solid layer with applied puppet pins and NULL values. Null values align with the pins perfectly, and I don't have to convert the coordinates of PIN for model space or whatever it is. The coords pins seem to be in the computer space already. Then I can link the pins to my NULL values and all is well.
However, in my complex scene that is generated from an any .psd, the PIN coords do not match the model space. They are very weak and seem to live up to the layer of that the puppet effect has been applied. If the null ends up far to the top left of the model.
No problem. We just run toComp on the position of the axis, and we should get the model space pin coords. But I did not. I get something off path.
Why does not the positions of pins match to the model space automatically my comp psd-based, as they did with the simple model?
It is even possible to successfully run the toComp in the following way
toComp (thisComp.layer("R_Arm") .deform ("Puppet Pin 1") .position.effect("Puppet").arap.mesh ("Mesh 1"));
or is the return of the
thisComp.layer("R_Arm") .deform ("Puppet Pin 1").effect("Puppet").arap.mesh ("Mesh 1") .position;
not the right to be an argument of toComp data type?
The coordinated pins just layer based coordinate as another or are there other factors involved?
I would like to be able to set up the pins where I would like them and bind them with corresponding NULL values exactly the coordinates so that the work is not jumping when I their link.
More generally, is there any attribute of a psd file that can affect the coordinate system of a model generated when importing. The file in question contained all the regular layers, plus a group of 3 (which came as a demo the full size of the main computer, as expected), no effect of layer or anything like that of other fish.
Someone more experienced with the expressions and coordinated spaces in AE have an idea of what I'm missing?
MacBook Pro 2011 beginning 15 "i7 2.2Ghz
16 GB of RAM
AMD Radeon 6750 1 GB
10.9.2 OSX
12.2.1.5 AE
I think it would be something like this:
L = thisComp.layer ("blue solid 1");
L.toComp (L.effect("Puppet").arap.mesh ("Mesh 1").deform("Puppet_Pin_1").position)
Dan
-
Logon to an account on the Win8 Pro system. In the PC settings. Your account, try to create a PIN. You will be asked your password, and when I enter the password, the tracking error. "The remote procedure call failed."
In the application event log, we see:
The failing application name: CredentialUIBroker.exe, version: 6.2.9200.16384, time stamp: 0x5010a22d
The failed module name: nvwgf2umx.dll, version: 9.18.13.1070, time stamp: 0x50b976f6
Exception code: 0xc000041d
Offset: 0 x 0000000000135122
ID of the process failed: 0 x 1160
Start time of application vulnerabilities: 0x01cddfd4b4a988ef
The failing application path: C:\Windows\System32\CredentialUIBroker.exe
Path of the failing module: C:\Windows\System32\nvwgf2umx.dll
Report ID: fdf0d095-4bc7-11e2-be7a-e0cb4e8a55c5
Faulting full name of the package:
ID of the failed package-parent application:
I did a search of exhaust gases and am not finding that anything related.
Action taken:
ran sfc/scannow and no reported problems.
Need to stop the application to quit.
I found the problem for the updated NVidia driver. Once I disabled the display driver USB 3.0 that acts as a method to connect to a computer USB 3.0 (also tactile) monitor, the driver installed correctly and does not interfere with any of the Windows applications.
Also, try to remove all the accounts on your system that are not user accounts that some applications will add them without apparent reason. Applications still work correctly. It's just less sure there to access your system. -
Selection of keyframe of the puppet pin
I am animating a biciclist and it is the movements of legs, which will be repeated then.I wonder if theres a way to copy and paste the keyframes.
Thank you!!
All you have to do to reveal the keyframes is press the letter 'u' on the keyboard when the timeline or in the window of the model is selected.
-
Hello.
I'm hosting a long-necked bird with the puppet tool and that neck I want to fix a head which is a separate layer.
To do this, I have pickwhip head Position property of the layer to one of the neck of the puppet pin Position property. I made sure that a layer anchor head is in the same position as the puppet pin position.
However, when I do this, the head layer jump left some 200 pixels.
How to change the expression so that this layer head remains in the same situation?
Adding a printscreen for viewing. Layer of head point of anchorage and puppet pin positions are where the leaders meet
This will never work. The effect coordinates are relative to the layer, not the computer. As a minor, you can use the .tocomp (layer 9 space transform convertthe coordinated, otherwise you have to dial before your stuff.
Mylenium
-
Impossible to get puppet pin move with layer
I've separated the Illustrator images for a character, I applied the puppet pins in one of the layers and tried to turn it. Puppet pins remain stationary, they do not move with the layer. It's frustrating, because all the instructional videos I've seen, says ' just turn and move the mesh ', but it does not work. Even if you move the pins, the image gets cut and twisted which is only within the mesh.
Any advice? It is with Adobe CC last on a mac.
You have activated the continuous rasterization. Turn the power off.
Mylenium
-
Vector graphics, pixelation and puppet pins
See the pictures below, look at the feet!
Whenever I use the continuously rasterized option I still have problems. Maybe it's my workflow, but I you will often find that the layers appear to jump around, be broken almost as digital break on a TV or get cracks and lines at random. My problem at the moment is random lines.
I have three compositions, a main and two pre comps. The first precomp contains 1 vector layer with rasterized switch game. The model of pre holding this model was then the rasterized spend together as a switch fx as Im using tools on the first duIK precomped layer. This layer/second precomp has a puppet PIN if it makes a difference to anyone. In this second precomp, I can see weird lines on my form, which are identical to the form, almost as if the 1st precomp is showing through for some reason any as an outline transparent 1pt?
I can move the shape, and this strange contour remains in the same place but slices through my form that I pass, so in theory I can move my form across the composition and I have no problem... but it does not really solve the problem. My biggest final comp containing two comps above also has the same problem as the 2nd computer... but it's structure, I need so I had to test it.
Currently my diapers are all 2d, but I can make them 3d later and meet more jumpy rasterising weird questions... When I change the rasterized or fx switches lines will go, but I need the rasterized option (although now I can not even tell if it's effective, but I also need the fx which holds my original puppet corner for duIK right tools)
What I am doing wrong? Help, please!
Photo 1 and 2, bot moved to the visible contours on feet, photo 3 has been moved far enough away from the original position of precomps shows so no lines. These come out on a record.
Really, you cannot use the function of rasterize continuously with the puppet tool at the same time. This is explained in the puppet tool page in help. (And, if I remember correctly, it can suggest workaround).
In anyway, if you do a precomp which includes the work and use the puppet pin on the precomp WITHOUT using the continuously rasterize button above, it should work fine. So, if you need it is larger, make more great before apply you the pins of the puppet.
-
Hello. I learn how to use pins of puppets, I run into a problem.
Sometimes I put my pins, goto another point on the timeline and then press "Reset" to bring back the pins to the original location. However, sometimes I will cancel it (since I didn't like the time when I reset to), but it does is erase the entire animation that I put in place with my braces and the layer of puppet pin called in the comp window all gray of the tower. I incorrectly use the Reset button? Thank you!
the solution I found is in the puppet Pin tool settings in the Tools window
If you change the settings extension or triangles you will receive your PIN
(be sure to first click on your mesh in the timeline).
change to something else (add a point or something) and change it back.
It happened to me and cannot find the solution online
But what I've noticed, it's when you reset - change you expansion and triangles to their default
and then, when you click Cancel, it changes what you had previously.
I did add another number (for example, instead of 50 to 51)
and voila! the pins are back. then I changed it to what it was.
If you want to reset, you must reset your points and not your tool
by right-clicking on the post and the "Reset".
-
Can I programmatically change the default property to create for all elements of the front panel?
I need to make the logout button, when click on, takes care of all the default values of my fron Panel.
There is no way to programmatically call the functionality of an editor 'Use default' or 'Load Default'. To do it yourself, you will need to write your default values for each control explicitly in the diagram, when the user press the logout button.
-
Programmatically create an appointment: missing variable in the container of result
Hello world
For my purpose of tests, I need to programmatically create a sequence. In this sequence, I need to insert steps from Rendezvous.
Everything works very well when they are created, but when I run the sequence / stages created this error always appear for the appointment stage:
- Unknown variable 'TimeoutOccured '; Error in the item "Result.TimeoutOccured".
According to using TS, this variable must be created when I set up stage of the operation to date. Drag and drop step of inserting TS palette works very well, and the variable is created when you select the operation "appointment". But when you do the same thing through programming, the variable is not created.
Here are the steps performed to create the Appointment stage:
- I have create a new step by using the Engine.NewStep method
- I put the name of the step using Step.Name
- I put the properties of an appointment using a statement (Parameters.BranchesRendezVous.RDVStep is the variable holding the reference of step):
- Parameters.BranchesRendezVous.RDVStep.AsStep.Operation = 1, //A value that specifies the operation of the step to perform. Valid values are 0 = crΘer, 1 = Rendezvous and 2 = Get Status
- Parameters.BranchesRendezVous.RDVStep.AsStep.NameOrRefExpr = Parameters.BranchesRendezVous.RefName, //Contains the expression name Rendezvous for operation of creation and expression name Rendezvous or reference for all Rendezvous operations
- Parameters.BranchesRendezVous.RDVStep.AsStep.TimeoutEnabled = False, //The Timeout allowed for the operation of Rendezvous
- Parameters.BranchesRendezVous.RDVStep.AsStep.ErrorOnTimeout = True, //The Timeout causes Run-Time Error for the Rendezvous operation
- Parameters.BranchesRendezVous.RDVStep.AsStep.RendezvousCountExpr = Parameters.NbBranches, //The expression number of Threads by appointment for the create operation
- Parameters.BranchesRendezVous.RDVStep.AsStep.Lifetime = 3, //A value that specifies the lifetime setting to use for the create operation. Valid values are 0 = same as sequence, 1 = even as a thread, 2 = use reference object, and 3 = same as execution
- 4. then I insert the step in my current sequence by using the Sequence.InsertStep method
Everything works fine, the appointment stage is perfectly created and all the properties are set finely. However, the TimeouOccured variable is missing in the container Step.Result (help says TS that this furniture exists when the step is configured as a date (see operation = 1)).
I'm doing something wrong somewhere? Why did this variable missing?
You probably need to create the property programmatically using NewSubProperty().
-Doug
-
How to programmatically create an instance of the target
Is there a way to create an instance of the target programmatically. Basically, I have a goal which, in the addition of the target manually, create and instantiate a subtarget including metrics gives the availability. Is there a way in which I can programmatically create an instance of the target.
I felt the portions of automatic detection of the chapter helped me to meet my needs. Instances of targets could be created as part of the discovery process and thus made available during the process of guided discovery.
-
Programmatically create a free label on the front
To make the appearance of my nicer VI, I add a few free labels for a tab on the front panel control.
Then edit the free text in the tab control and by placing a free text on the block schema works very well with the attached VI. (Note: put the two in the same folder)
However if I am trying to add a label free control tab with Labview, the following code generates error 1060 "LabVIEW: object cannot contain (clean) specified object.»
So now I'm wondering what I need to to to add text to the front with the help of scripts of VI.
Hope you can help.
@Yamaeda
On your 2nd thought: I do not think I need to add the label to the table decorations or is it possible, given that the setting is "read only".
@tst
You got the indirect answer. First of all, I created the example below to check if I could create a color of the tab box
2nd I started browsing trough style options to see if I could find something that would allow me to bring another form of decoration. And by chance I found the style of "Label (System)" (ID = 21961). So the following code generates a nice label on the tab and solved my problem.
-
Creating the folder and by assigning the role access list, approach programmatic
Hi all
I have a requirement to create the folder and assigning RAL in the folder created by the UCM (11.1.1.8) program
I found RIDC API to use for creating folders, can I use the same for the assignment of RAL, pointers?
Thank you
You get errors?
This blog can be useful: adding a file in folders of the WebCenter RIDC content frame. Niels Krijger
Jonathan
-
IDCS5 - how to create the IAssignedStory programmatically?
Hi all
Here's my problem:
I need get the yet unassigned stories (not even for the unassigned InCopy content), export them and assign them to the unassigned InCopy content...
I tried to export using ISnnipetExport and create the link via the LinkManager, but they do not automatically assign it to do anything
What I need, is something like the export InCopy menu in ID, but without user interface.
Any help would be appreciated.
Thank you
Gustavo
It has been a while since I worked with export & assignments and I do not have the practical documentation, but you should be able to export a story using ISnippetExport::ExportInCopyInterchange and bind it with IStoryUtils::CreateLink (you'll want to pass kInCopyImportProviderBoss as a supplier of import). To assign stories, look in IAssignmentMgr on kSessionBoss; IAssignmentMgr::CreateAssignmentCmd, specifically.
Maybe you are looking for
-
Firefox does not recreate or modify prefs.js
After you delete prefs.js file Firefox does not create a new. Firefox does not save my settings so I tried all the method described in the following articles: https://support.Mozilla.org/en-us/KB/how-to-fix-preferences-wont-save https://support.Mozil
-
iPhone screen 5 - replaced battery, black. Video card fried?
My husband iPhone 5 was not load so I replaced taxation port, which didn't work so I replaced the battery. It seems to have worked because when it is plugged in, the computer recognizes that it and he did the sound perception-, but the screen was com
-
Update of Firefox 3.6 to 9.1 I should first uninstall 3.6?
Update of Firefox 3.6 to 9.1 I should first uninstall 3.6?I want a facility clean 9.1, but want to keep all my settings, cookies, passwords, dictionary, etc. Running a Windows 7 computer.
-
Satellite A200 - BIOS update and fan activity
Hello.. I have the Satellite A200-1AH (PSAE6E). I have installed the version of the BIOS 2.10 update and electric fans started working out loud. I want to install v1.30 BIOS (the best for me) but I can't find it anywhere. Can you help me please? I no
-
Problem of backup phone laptop LENOVO S850
Hello team, I use Lenovo S850 combined. I want to backup all the data from my cell phone. I want to use the OTG cable for the mobile phone backup, but OTG cable is not tenable for model S850. Please let me know is there any update of the OTG cable co