Mambo4
@mambo4
New Member
Joined: Feb 14, 2024
Topics: 83 / Replies: 271
Reply
RE: [SDK] [c#] Iterating on a DLL using Visual Studio ('unload'/'reload' Assemblies)

glad you found it useful. I have also bumped into some difficulties loading a dll from VS when it uses json.net as a resource with my tool. I am unsur…

11 years ago
Forum
Reply
RE: [SDK] [c#] Iterating on a DLL using Visual Studio ('unload'/'reload' Assemblies)

got the static class working, with and without args. thanks for your help, lo!

11 years ago
Forum
Reply
RE: [SDK] [c#] Iterating on a DLL using Visual Studio ('unload'/'reload' Assemblies)

public virtual Object CreateInstance( string typeName, bool ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo cult…

11 years ago
Forum
Reply
RE: [SDK] [c#] Iterating on a DLL using Visual Studio ('unload'/'reload' Assemblies)

Stack Overflow to the rescue. Looks like System.Assembly.CreateInstance cannot actually create an instance AND pass and argument to the constructor, …

11 years ago
Forum
Reply
RE: [SDK] [c#] Iterating on a DLL using Visual Studio ('unload'/'reload' Assemblies)

1.) Create instance with parameters. is Harder than I thought, at least if I must avoid the use of dotNetObject when initiating. My C# test class: u…

11 years ago
Forum
Reply
RE: [SDK] [c#] Iterating on a DLL using Visual Studio ('unload'/'reload' Assemblies)

I’m working on #1 right now. from the Assembly.CreateInstance Method documentation,It appears I should be able to pass a System.Object[] containg an…

11 years ago
Forum
Reply
RE: [SDK] [c#] Iterating on a DLL using Visual Studio ('unload'/'reload' Assemblies)

I tested and rolled it into a simple MXS tool for easy DLL reloading in Max: [UPDATED] added ability to instantiate a Class with parmaters. I moved…

11 years ago
Forum
Reply
RE: [SDK] [c#] Iterating on a DLL using Visual Studio ('unload'/'reload' Assemblies)

Thanks you for your response. It certainly is a nice trick. I was adapting the apporoach in post #12 of this thread That approach’s use of SetShadow…

11 years ago
Forum
Reply
RE: constrain pos to a spherical radius

sc.addobject “pos” p[1] So instead of a third object to hold a hacked script, you are using a position_list adding the position script d.pos.control…

11 years ago
Forum
Reply
RE: Rollout from Struct – Access buttons/fields

To access roll-out controls within a struct, it is not sufficient to simply spawn the roll-out: you need a variable name assigned to the roll-out, so …

11 years ago
Forum
Reply
RE: viewImage() – Doesn't Function Via Script

from the thread you linked to: .viewImage() seems to only work when medit is open -and- the map I’m calling it on is the currently active medit slot…

11 years ago
Forum
Reply
RE: Pivot transfer between objects

a very good discussion of aligning pivots is in this thread

11 years ago
Forum
Reply
RE: Pivot transfer between objects

a very good discussion of aligning pivots is in this thread

11 years ago
Forum
Reply
RE: script request ( Colour correct RGB values)

If you are talking about Gama correction, This can probably be accomplished via preferences. Click the Gamma and LUT tab in Customize \ Preferences…

11 years ago
Forum
Page 12 / 24