( fn collectVertElements node = ( getelement = polyop.getelementsusingface elements = #() faces = #{1..node.numfaces} whi…
( fn collectVertElements node = if iskindof node PolyMeshObject or iskindof node Editable_Poly do ( getelement = polyop.getelementsusingface…
substituteString <source_string> <from_string> <to_string> Returns a new string with all occurrences of <from_string>…
Thank you, Denis for these great examples! Can you show an example of C++ code, let’s say with xor as well and a simple key inside c++ file, and how y…
Thank you, Vojta! I accidentally wrote this way here to simplify the idea. What I did – I defined the struct global, and then I call from outside wit…
I tried to use this in a file ms and run: ( struct myStruct ( fn myFn =(print “my function in a struct”) ) …
Thank you, Mambo4! Very useful information for me!
So short, and so NICE! Thank you, Denis! This is really useful!
Denis, for my situation, I need all members from inside last closed top group, that’s why print (getClRootGroupHead g2) is giving $Dummy:g5 and it’s …
in my case, I need only objects, not grouphead, but if it’s needed then just exclude and (not isgrouphead s)
delete objects ( fn getClRootGroupHead node = if node != undefined do ( with undo on ( if isgroupmember node then ( if isOpenGroupHea…
delete objects ( fn getClRootGroupHead node = if node != undefined do ( with undo on ( if isgroupmember node then ( if isOpen…
Thank you, Denis! By the way, how to call correctly, to be understandable by all max users, Open Group Red Boxes?