ArtOfSoulburn
@artofsoulburn
New Member
Joined: Feb 14, 2024
Topics: 70 / Replies: 257
Reply
RE: getEdgeFace not working

Bobo: I can see it in the Max 9 help file, right after SetSelection. Yup, there it is. I am officially blind I guess Neil

17 years ago
Forum
Reply
RE: getEdgeFace not working

Looks like we got a bug goin’ on. Bobo: Try using the .Select method instead – it appears to work as expected. Cool. 2 notes: the max9 h…

17 years ago
Forum
Reply
RE: getEdgeFace not working

Ah, ok. So the real issue is that <index>GetEdgeFace should either be replaced by $.modifiers[1].GetEdgeFace or EditPolyMod.GetEdgeFace $.m…

17 years ago
Forum
Reply
RE: getEdgeFace not working

One final question, since this is the last bit of code I need to finish my script. Any idea why this code doesn’t work (max9, SP1). It produces a re…

17 years ago
Forum
Reply
RE: getEdgeFace not working

Ah ok, I see what I was doing. The help file said… <index>GetEdgeFace <index>edgeID <index>side node:<node> So I assumed tha…

17 years ago
Forum
Reply
RE: getEdgeFace not working

BTW, just for my personal reference, why does this work: EditPolyMod.GetNumEdges $.modifiers[1] and this doesn’t… EditPolyMod.getEdgeFace 2 1 $.mod…

17 years ago
Forum
Reply
RE: getEdgeFace not working

Awesome Bobo. Even just one or two lines of example code is all you need to instantly communicate to the viewer how to do something. Can’t wait to che…

17 years ago
Forum
Reply
RE: getEdgeFace not working

I understand your point, but I feel my original point still stands. I feel that documenting things in this way leads to a lot of confusion (And Bobo, …

17 years ago
Forum
Reply
RE: getEdgeFace not working

Awesome! And if you can add something about using $.modifiers[1] instead of using Edit_Poly or EditPolyMod, that would be really useful to the average…

17 years ago
Forum
Reply
RE: getEdgeFace not working

I’ll try it in max9 when I get home. And I’ll add code to my script so if you run the script in max8, it will only work on EditablePoly, wheras it wil…

17 years ago
Forum
Reply
RE: getEdgeFace not working

Bobo: Unless it is too late for that… Ok, max11 then. Neil

17 years ago
Forum
Reply
RE: getEdgeFace not working

D’oh! Are you using max9 perhaps? Because in max8 I still get an “Unknown property” error when I try and access the face normal. Neil

17 years ago
Forum
Reply
RE: getEdgeFace not working

magicm: It’s either missing in the docs or I’m looking in the wrong places. However, this works: $.modifiers[1].getFaceNormal 1 Here’s how to get a…

17 years ago
Forum
Reply
RE: getEdgeFace not working

Ah, thanks, that seems far more direct. I wonder why they even bothered putting that other method in the help file. magicm: Since a lot of the…

17 years ago
Forum
Topic
Forum
Replies: 26
Views: 60
Page 15 / 22