tangert Posted February 22, 2006 Share Posted February 22, 2006 I'm new to using MaxScript, but what I'm looking to do is select an object by an X,Y,Z coordinate. Any easy way to do that? Thanks. Tom. Link to comment Share on other sites More sharing options...
quizzy Posted February 23, 2006 Share Posted February 23, 2006 please tell us a little more on why you want to do this, or what you're trying to make with MAxScript?? More roads lead to Rome... Link to comment Share on other sites More sharing options...
tangert Posted February 23, 2006 Author Share Posted February 23, 2006 I figured out how to do what I was looking for... p = point position:[x,y,z] for o in geometry where distance o p == 0 do selectmore o Now for the reason...I'm importing an Inventor assembly into VIZ 4. My assembly is made up lots of instances of a small number of unique parts. In Inventor I may have 20 instances of PartA...they will all be named uniquely PartA:1 - PartA:20. When they get imported into VIZ 4 all 20 parts get named PartA and I can't uniquley reference them by name...and I need to be able to change materials on select parts... Oh, the other thing to mention here is that I'm generating the MaxScript on the fly from an Inventor add-in and feeding it into a VIZ render farm. Tom. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now