08-25-2017 03:32 AM
How do i get the custom motion parameters via API, like velocity, acceleration, overlap, etc.
I've checked the Txrobot object, but didn't found anything related.
thanks in advance
08-25-2017 05:09 AM
08-25-2017 10:32 AM
Maybe this was a missunderstanding.
In the end, i want to get a list of all user created Parameters for a robot.
for example, i set up a new profildata for a new velocity parameter via the Robot Setup.
These new parameters supposed to be saved somehow.
I know about the SetParameter, but in that case i would need to know the name (String) of the parameter
up front.
the attachment is for an Dürr Ecotalk, but it should be similar to any other Controller
08-25-2017 10:32 PM
08-28-2017 03:37 AM
Hi tphuy,
its definitly stored in the machine data files. These parameters are (SYSTEM) and can not be modified by the user.
All parameters which are created within the study are not stored there.
What do you mean by "component instance attributes".
Can i access them by the TxRobot?
TxObjectList selectedList = TxApplication.ActiveSelection.GetItems();
//TxViewersManager man = TxApplication.ViewersManager;
if (selectedList.Count == 1)
{
TxRobot robot = selectedList[0] as TxRobot;
ArrayList attributes = robot.Attributes;
}
when i try it i don't get these parameters
Watch Replays of Previous Topics