munkybutt
@munkybutt
New Member
Joined: Feb 14, 2024
Topics: 6 / Replies: 50
Reply
RE: How to get the object from within a custom attributes rollout

Custom attributes can be instanced so there is no direct reference to the node from the CA. I have gotten around this in the past by storing a weak r…

4 years ago
Forum
Reply
RE: [maxscript] KDTree. Can we make it faster?

Surely the difference between distributing a maxscript file and a python module is only file size? You can even write a mxs script to install pip + nu…

4 years ago
Forum
Reply
RE: [maxscript] KDTree. Can we make it faster?

Just to jump in – if your max version is 2018+ you can use the numpy/scipy ckdtree which is super fast: It is easier if you are 2021+ as you can ins…

4 years ago
Forum
Reply
RE: [SOLVED] Accessing Root Object from Custom Attribute Modifier

Just in case you were wondering how to do this anyways – If you wanted to access a specific node on a modifier and thus it’s baseobject you can save a…

4 years ago
Forum
Reply
RE: From MAX 2016 to MAX 2020 through MAX 2018 (TOOLS DEVELOPER'S PATH)

We have been using 2018 since 2017 with no major performance issues. The UI is clunky as the Qt transition has only just begun with 2018, but you can …

5 years ago
Forum
Reply
RE: Python evoking Maxscript command failed to return customized values

Use the pymxs.runtime module to execute maxscript as python: from pymxs import runtime as mxRt mxRt.QuitMax(Quiet=True, ExitCode=retVal)

5 years ago
Forum
Reply
RE: getClassInstances Autodesk_Map and Parameters_Source

I will take a look tomorrow when I can test in max. I have used bitmaps quite recently but my memory is shite these days so I cannot remember properly…

5 years ago
Forum
Reply
RE: getClassInstances Autodesk_Map and Parameters_Source

Sorry, I linked the wrong object. The error tells you the class type it is expecting, a Bitmap , so create one and assign it: bMap = BitMap FileName…

5 years ago
Forum
Reply
RE: Copying object with custom attributes brakes CA functionality

What is the reason for wanting to use the unique flag? Custom attributes are local unless you give them an attribID in their definition: The docs p…

5 years ago
Forum
Reply
RE: Want to script: a control object whose Pivot changes dynamically during manipulation based on rotation

There is a CAT controller with an animated pivot point. I used it a few years ago to animate vehicle rigs being flipped. I can’t remember the name and…

5 years ago
Forum
Reply
RE: MSX variable in Python script

To access maxscript in python you need to import pymxs and use the runtime module. For python to assign a variable to the runtime module, the variabl…

5 years ago
Forum
Reply
RE: SDK – PolyObject modify verts not undoable

Ignore me, I found the correct way straight after replying to you! static bool applyOffsetToVerticesEPoly(INode* inNode, Point3 inOffset) { static b…

5 years ago
Forum
Reply
RE: SDK – PolyObject modify verts not undoable

Hey Denis, Thanks for the reply. I have found a bit of type to try your suggestion but I cannot quite figure out how the EPoly interface works. It ca…

5 years ago
Forum
Reply
RE: SDK – PolyObject modify verts not undoable

This is what I thought, I just wanted to make sure before I implemented undo logic myself.

5 years ago
Forum
Page 1 / 4