Home Questions Is there a way to get target location from input of Target Table

Is there a way to get target location from input of Target Table

DWQA QuestionsCategory: Custom Task DevelopmentIs there a way to get target location from input of Target Table
Michael Huang asked 6 years ago
Right now, I am creating force channel to bring the cursor to the specific target. Instead of hard coding it. Is there a way to get the data from the Target table
Duncan McLean Staff replied 6 years ago

Hi Michael,

The easiest way to get the target locations is to either:

1. If you are displaying one of the targets, get the target VCode and extract indexes 3, 4 – the global X,Y position of the target.

or

2. Look under the mask of the Show Target block and see how we extract the information we need from the target table block.

Cheers!
Duncan