Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: (c++ SDK) problem with _is_collection

what happens if you implement as a local_applyable_class as per the example in \maxsdk\howto\maxscript estdlx\dlxClass.h && \dlxClass.cpp ?

9 years ago
Forum
Reply
RE: get_PolyForValue error (3dsmax SDK)

you’ll find the source in. …\maxsdk\samples\maxscript\mxsagni\common_funcs.cpp there maybe other stuff the function needs in there too it can be a rig…

9 years ago
Forum
Reply
RE: get_PolyForValue error (3dsmax SDK)

You mean the mnmath.lib in this case? nope it has nothing to do with anything in the sdk libraries. you need to include the actual c++ code for the …

9 years ago
Forum
Reply
RE: get_PolyForValue error (3dsmax SDK)

just “including” the header does nothing you need to add the source file to your project too. That why it’s a linker error.

9 years ago
Forum
Reply
RE: get_PolyForValue error (3dsmax SDK)

get_polyForValue is a function from mxsagni project and not part of the SDK.

9 years ago
Forum
Reply
RE: Script to find "V" faces/Edges

what about this case surrounding geometry supports both cases, it’s an artistic decision on the direction of the edge. vusta I was talking to the …

9 years ago
Forum
Reply
RE: Script to find "V" faces/Edges

the trouble for you, though in your example the solution seams obvious, is that there can be cases where there is no obvious/correct solution and the…

9 years ago
Forum
Reply
RE: Spring Controller Update (Invalidate) ?

look at the source code in jiggle.h , jiggle.cpp and jigglefunctions.cpp to see whats going on

9 years ago
Forum
Reply
RE: Randomize Segmentation (brain twister)

just create 10 segments within the random range then scale them all to fit

9 years ago
Forum
Reply
RE: Convert DotNet objects to MaxScript

what happens when you try mesh mesh:a in the top code ?

10 years ago
Forum
Reply
RE: Convert DotNet objects to MaxScript

why don’t you assign the mesh to the node in c# and return that to mxs ? in the sdk it would be TriObject* tobj = CreateNewTriObject(); if(!…

10 years ago
Forum
Reply
RE: Initializing a WStr from a MCHAR*

It’s probably cleaned up in the CloseChunk() call so you don’t need to release any memory in all the examples it copied somewhere immediately after it…

10 years ago
Forum
Reply
RE: Initializing a WStr from a MCHAR*

it is copied into the WStr object until a null character is reached. as for ownership it really depends on how buf was created. if … MCHAR* buf = new…

10 years ago
Forum
Reply
10 years ago
Forum
Reply
RE: SDK: changeable-type scene object?

pthelp.cpp in the helpers project ? you can junk the save & load code though and much of the display code is a mess. I did a slightly cleaned up …

10 years ago
Forum
Page 37 / 85