hello Team,
I am creating decision point on conveyor with a code. when the conveyor is flat, there is no issue the decision point is placed on the conveyor. however, when the conveyor is inclined (height at start is different than height at end of conveyor), the decision point is not placed on conveyor.
could you tell me how to place decision point on inclined conveyor?
myNode = createinstance(maintree().find("project/userlibrary/DecantLineLibrary/DP_Rotation"), currentConv);
myNode.name = objName;
setloc(myNode,0,0,0);
function_s(myNode,"finalizeSpatialChanges");