LFShade
@lfshade
New Member
Joined: Feb 14, 2024
Topics: 4 / Replies: 172
Reply
RE: Help with error in this script….

I see a few typographical errors that would certainly prevent the script from working properly. In your i = 1 to groundgeom.count loop, you are tryin…

20 years ago
Forum
Reply
RE: Counting lines in a string(stream)?

You could try filterString with the newline character (” “) and get the resulting array’s .count. Seems like it should work. RH

20 years ago
Forum
Reply
RE: Picking a face on a non selected object?

Getting the ray you need is actually quite simple: mapScreenToWorldRay mouse.pos If it’s a mesh object, an intersectRayEx will work fine. If it’s a…

20 years ago
Forum
Reply
RE: macros.load for loading via network?

Rather than calling macros.load in the local script, use fileIn. RH

20 years ago
Forum
Reply
RE: Search a script who use Viewport Drawing Methods

A note about encryption – I used to do it to hide code that I didn’t consider “ready for the world.” That is, while the code may have been functional…

20 years ago
Forum
Reply
RE: Tricky problem, saving data in poly and mesh objects

Try $.convertSelection #Vertex #Edge requireAll:true. The requireAll parameter tells it to only select edges that share the verts in the original sel…

20 years ago
Forum
Reply
RE: Tricky problem, saving data in poly and mesh objects

Well since you answered all my PM questions, I guess I should clue you in to my “ingenious idea” What I was thinking of was using vertex flags while …

20 years ago
Forum
Reply
RE: Index question

findItem <array> <value> will return the index of the first item in <array> which matches <value>. RH

20 years ago
Forum
Reply
RE: Post Your POLY Idea – Get Your POLY Script

Erka2 – Ask and ye shall receive. I have finally taken the time and initiative to (hastily) add edgering capability to LSD. Simply hold down the shi…

20 years ago
Forum
Reply
RE: Events for rollouts?

Heh! I never noticed it until I saw the full-size pic, but your eyes are closed behind those glasses, aren’t they Bobo? It sure looks that way, anyw…

20 years ago
Forum
Reply
RE: Check for non-uniformscaled objects?

What would you like it to do? If you just want it to select objects with non-uniform scaling, then this one-liner should work: select (for o in $obj…

20 years ago
Forum
Reply
RE: What is the purpose of point4 ctrls in max?

my guess would be for color: R, G, B, alpha. I haven’t had a reason to use them yet, though. RH

20 years ago
Forum
Reply
RE: How to get the middle position of edges

If I understand the original question correctly, Andreas would like to find the center of each edge individually, not collectively. RH

20 years ago
Forum
Reply
RE: How to get the middle position of edges

You’ll have to do it pretty much like you suggest: loop through the edges, get the end verts and average them. It should actually be fairly quick to…

20 years ago
Forum
Reply
RE: floater, spinner change with live update in the viewport and undo management ?

Bobo – since you mentioned theHold, I thought I’d pipe up with a little question. In some testing I did (a long while ago now) to see if I could impr…

20 years ago
Forum
Page 2 / 12