I work with the Tx Ui controls since 11.1TR3. and VS 2013
I just added a new register card.
Right click on that new register card and load or select elements.
In the .net framework-component tab - search for the "tecnomatix.engineering.ui.dll
and that it.
Allright, I think this was a misunderstanding between the english and german version. In english a regsitry card is called a "tab". I managed to load the Ui.dll, but that is giving me this missing Lib error.
I guess this is the 64 bit VS 32 bit problem as Gilles described.
Update: I have installed PS V12.1 64 bit. Still getting the same error, missing AxNFCONTROLSLib, because its still not in the 64 bit installation folder.
I''m working with visual studio C# express 2010. Do you have any suggestions how to solve this problem? Would visual studio 2013 make a difference?
here an example for a robot.
I hope this is what you are looking for!
TxRobot robot = new TxRobot();
TxTransformation robLocationRelToWF = new TxTransformation();
TxTransformation robLocationAbsLocation = new TxTransformation();
robLocationRelToWF = robot.LocationRelativeToWorkingFrame;
robLocationAbsLocation = robot.AbsoluteLocation;
if you want to get the x, y, z .... values of the location, use something like this:
var robLocationRelToWF_X = robot.LocationRelativeToWorkingFrame.Translation.X;
Thanks a lot Patrick!
I managed to use some of the functions of the UI toolbox. There is a TxObjEditBoxCtrl field in it, this way I can select my pick/place/via locations. Now, I need to get the selected object into a class that is using ``Locatable'' functions. Then I can use your solution to get the x,y,z out.
UPDATE: I'm getting the correct coordinates now! I used the ObjEditBoxCtrl.Object field of the UI toolbox and casted it to a ITxLocatableObject.