chang Posted December 31, 2003 Share Posted December 31, 2003 I tried to use vx point attribute as a template-parameter in CopySOP, and I failed. I think it's not possible. No way for using point attribute as a parameter for CopySOP ? (attachment is a sample hip) copySopQ.zip Quote Link to comment Share on other sites More sharing options...
edward Posted December 31, 2003 Share Posted December 31, 2003 Instead of $VX (which I think has to come from the left input), do something like this: point(opinput(".",1),"v",$PT,0) Quote Link to comment Share on other sites More sharing options...
chang Posted December 31, 2003 Author Share Posted December 31, 2003 Wow, thanx edward. It works ! And as the vx comes from right input, expression had to be modified like : point("../popnet1",$PT,"v",0) Thanks again & happy new year ! Quote Link to comment Share on other sites More sharing options...
edward Posted December 31, 2003 Share Posted December 31, 2003 Shouldn't opinput(".",1) give you the same thing as "../popnet" without actually hardcoding the sop name? Quote Link to comment Share on other sites More sharing options...
chang Posted January 1, 2004 Author Share Posted January 1, 2004 I understand what you mean. But it's strange 'opinput' doesn't work for me. If attached-hip works on your computer, it's got to be a problem of my cpu or... intel / win2k / 6.0.286 opinput_test.zip Quote Link to comment Share on other sites More sharing options...
edward Posted January 1, 2004 Share Posted January 1, 2004 Oops, sorry. That expression should have read: point("../"+opinput(".",1),"v",$PT,0) The alternative when working in 6.1 is: point(opinputpath(".",1),"v",$PT,0) Note that in your example hip file, the last argument in the point expression should be a 0 instead of a 1 to properly test it out. Quote Link to comment Share on other sites More sharing options...
chang Posted January 1, 2004 Author Share Posted January 1, 2004 Yeah, you fixed everything.. including the last argument '0'. Thanks edward. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.