aaandres
@aaandres
New Member
Joined: Feb 14, 2024
Topics: 52 / Replies: 726
Reply
RE: MSX Editor Access

MerlinEl: –go to end of struct –todo It seems you go on with you idea of dinamyc structs… nice! To find the end of the struct, the only way wil…

6 years ago
Forum
Reply
RE: SDK. Refine Segment – update shape

OK. Thanks a lot. I’ll implement it and, I suppose, cache the value after every calculation in a new object field.

6 years ago
Forum
Reply
RE: SDK. Refine Segment – update shape

Just one more question: when you say a HASH, are you talking of a real HASH (a number that indentifies an object’ state) or do you simply make a compa…

6 years ago
Forum
Reply
RE: SDK. Refine Segment – update shape

Great idea, as always. Thanks!.. But you make me work

6 years ago
Forum
Reply
RE: SDK. Refine Segment – update shape

The problem is that my code does a lot of recalculations when the spline changes. If user deletes a knot, Topology changes and does the calculation. O…

6 years ago
Forum
Reply
RE: SDK. Refine Segment – update shape

Then I take this to a new question: is there a way to avoid double call to topology_changed and geometry_changed if both handlers are set?

6 years ago
Forum
Reply
RE: SDK. Refine Segment – update shape

OK, I missed “InvalidateGeomCache()”.

6 years ago
Forum
Topic
Forum
Replies: 10
Views: 46
Reply
RE: Send data from C# to Maxscript (Property/variable data)

David Goodman: aaandres: You must get the instance you are updating from the sensor app or, directly, feed the one you create with Max with y…

6 years ago
Forum
Reply
RE: Send data from C# to Maxscript (Property/variable data)

Yes, this is what I imagined… Computers can do many things but not magic (at least to date). On the ‘on TestOut2Max open do’ event you create an obje…

6 years ago
Forum
Reply
RE: Send data from C# to Maxscript (Property/variable data)

Thanks Sergey!! I’m getting mad with this. David Goodman: … I’m trying to set the property in the sensor app at runtime in a loop (for floats …

6 years ago
Forum
Reply
RE: Send data from C# to Maxscript (Property/variable data)

This is not right. If you call a method of your class that returns a double (or an integer, or a string…) you’ll get in Max a double (or an integer, o…

6 years ago
Forum
Reply
RE: Send data from C# to Maxscript (Property/variable data)

Sorry but I can’t understand your problem… because I can’t see any problem.

6 years ago
Forum
Reply
RE: Send data from C# to Maxscript (Property/variable data)

You don’t have to do anything. Conversion is automatic from the main value types as floats, doubles or integers. From strings too, and from arrays of …

6 years ago
Forum
Reply
RE: Send data from C# to Maxscript (Property/variable data)

It’s the expected behavior. System.Single (float) is a Value Type, thus it defaults to its default value 0.0. It can never be ‘null’ (undefined). Syst…

6 years ago
Forum
Page 4 / 52