Solution
Yes, there is. The following example demonstrates how to retrieve the names of these actions.
- Open a project by using an invoke node with a path created by the Build Path VI, the Current VI Path constant, and the name of your project.
- Use a Project property node to open a reference to the Targets in the project.
- Use the Index Array VI to access the application you'd like to find the build action of. In this example, it was the first Target in the list.
- Use another property node to open a reference to Build Specs.
- Use another property node to open a reference to the Build Specification's Owned Items[]. Again, in this example, the needed item was the first in the output array.
- Last, use an Invoke Node method Get Tag to acquire the value of the requested tag.
- To get the TagName of the item you want to get the value of, use an Invoke Node with the method Get Tag Names and look through the output array for the corresponding tag. In this example, we're looking for the Pre-Build Action VI name, so the Tag is Bld_preActionVIID.
- Use the Variant to Data VI to convert the output to be used for a ProjectItem property node, and then choose VIReference as the property.
- Lastly, use a VI Property node to retrieve the Name of the VI.