So I'm making custom pipe supports for the company I work for and the problem I'm having is that I got the support made and it test fine, until I add it to a catalog. What is happing I can import the support, in order to make changes in properties manger I have to copy the support for it to work else it removes the model. Is there a way to fix this?
here the code
Solved! Go to Solution.
Solved by quan_hm. Go to Solution.
Your code have an issue:
s.setPoint((0.0,0.0,0.0), (0.0,0.0,0.0))
The direction should not be set to 0,0,0. It should be set in direction of the pipe. So it should be
s.setPoint((0.0,0.0,0.0), (1.0,0.0,0.0))
if the pipe is in X direction comapre to original direction of the support.
And the script name must be the same as the function name so "PBS142.py"
Great, you're welcome. Maybe it's time to mark it as answer :))
Can't find what you're looking for? Ask the community or share your knowledge.