aaandres
@aaandres
New Member
Joined: Feb 14, 2024
Topics: 52 / Replies: 726
Reply
RE: Saving my Choice Number from Dropdownlist to external file

You have to pass the value to your function. So: Create a local rollout variable and, not needed but better, include your function inside your rollo…

8 years ago
Forum
Reply
RE: Convert Line to SplineShape (IShapeObject to ISplineShape)

That’s how I do it in pure C#: ISplineShape newSpline1 — Let’s says you already have the SplineShape ‘newSpline1’ –…

8 years ago
Forum
Reply
RE: weird rounding errors

Another way, maybe clearer: bit.hexAsInt “0x990951BA” = -1727442502 bit.hexAsInt “0x990951BAL” = 2567524794L

8 years ago
Forum
Reply
RE: Custom Attributes – How to make dynamic Rollouts persistent?

Really curious!! Your post #1: ConSeannery: … The problem is that the dynamically generated SubRollouts disappear when I deselect and then re…

8 years ago
Forum
Reply
RE: Custom Attributes – How to make dynamic Rollouts persistent?

Have you tried these lines where I’ve told you? It works for me. But, in any case and as I told you, it won’t be saved with your scene, the same with …

8 years ago
Forum
Reply
RE: Custom Attributes – How to make dynamic Rollouts persistent?

Another quick view… Add these lines in the ‘on SteppedInteractable_RO open do’ (line 240 aprox) for s in StateRollouts do ( …

8 years ago
Forum
Reply
RE: Custom Attributes – How to make dynamic Rollouts persistent?

I really have no time to see your code. In a first look, what i’ll do is: Line 121: define a new parameter to store the rollout state createStateRoll…

8 years ago
Forum
Reply
RE: Custom Attributes – How to make dynamic Rollouts persistent?

Without any code i’ts difficult to help you. Surely you could solve it with a local variable in your rollout and checking it in your ‘open rollout han…

8 years ago
Forum
Reply
RE: dotnet ftp access issues – fixed!

It’s “NLST” (without the “I”) and it works fine… but I really can’t understand why your code works. My test in pure C# doesn’t. I’ll try it again slo…

8 years ago
Forum
Reply
RE: dotnet ftp access issues – fixed!

As far as I know, ‘LIST’ is not a WebRequest Method. That’s possibly why you get a time out. WebRequestMethods.Ftp has a ListDirectory and a ListDirec…

8 years ago
Forum
Reply
RE: Convert unwrap edges to mesh

I don’t know if it has any relation with this thread, but there’s a function <IBitArray> FnGetSelectedEdges { get; } in the IIUnwrapMod2 inter…

8 years ago
Forum
Reply
RE: algorithmic brain teaser

Klvnk: impressive stuff aaandres Thanks Klvnk. You know, I’m right know developping an FTP reader and I’m saturated with so many recursive funct…

8 years ago
Forum
Reply
RE: algorithmic brain teaser

New function to allow input corner array to have the edge vertex in any order: fn findTriangles2 inputArray orderedVerts outputTrianglesArray: #(…

8 years ago
Forum
Reply
RE: algorithmic brain teaser

Here’s an optimized one: (doing more eliminations by loop and avoiding sorting) fn findTriangles2 inputArray orderedVerts outputTrianglesArray: #…

8 years ago
Forum
Reply
RE: algorithmic brain teaser

Not optimized, not very clean, but works: ( fn findTriangles inputArray orderedVerts outputTrianglesArray: #()= ( local vertsT…

8 years ago
Forum
Page 17 / 52