You may want to bear in mind that this is not an official Autodesk forum, so those of us who decide to contribute do expend the time we could use for other things trying to help. In that sense, what you want is to shorten the time we have to expend to understand and solve a given problem.
Being said that, it is imperative that you contribute as much as you can to your own cause.
That could include:
- The best possible description of the problem
- The used Max version
- The code that has problems
- The complete procedure to reproduce the problem
- If there are files involved, the file/s in question (might not be your case)
You can’t share the code or a file?
Take the time to create one that serves to your purposes.
@threedian asked you to show the problematic code and your answer was:
The code that doesn’t work is centerpivot and $.pos=[0,0,0]
@Serejah and @denisT gave you a clue of what may be happening and your answer was:
No. $.pos was just an example, I’m putting an object in a variable and then I do that.
Based on your last post, it seems that $.pos is not the problem, as you previously stated. So the question remains open, what is the problematic code and procedure?
Is there a way we can reproduce this behavior without having to expend half an hour trying to recreate what we can deduct from the bare given description?