try2script
@try2script
New Member
Joined: Feb 14, 2024
Topics: 111 / Replies: 440
Reply
RE: select one vertex of each mesh elements

( fn collectVertElements node = ( getelement = polyop.getelementsusingface elements = #() faces = #{1..node.numfaces} whi…

10 years ago
Forum
Reply
RE: select one vertex of each mesh elements

( fn collectVertElements node = if iskindof node PolyMeshObject or iskindof node Editable_Poly do ( getelement = polyop.getelementsusingface…

10 years ago
Forum
Topic
Forum
Replies: 0
Views: 63
Reply
RE: String Methods

substituteString <source_string> <from_string> <to_string> Returns a new string with all occurrences of <from_string&gt…

10 years ago
Forum
Reply
RE: Homemade Cryptography

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…

11 years ago
Forum
Reply
RE: Call (local) function from external file

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…

11 years ago
Forum
Reply
RE: Call (local) function from external file

I tried to use this in a file ms and run: ( struct myStruct ( fn myFn =(print “my function in a struct”) ) …

11 years ago
Forum
Reply
RE: Call (local) function from external file

Thank you, Mambo4! Very useful information for me!

11 years ago
Forum
Topic
Forum
Replies: 5
Views: 43
Reply
RE: All group members

So short, and so NICE! Thank you, Denis! This is really useful!

11 years ago
Forum
Reply
RE: All group members

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 …

11 years ago
Forum
Reply
RE: All group members

in my case, I need only objects, not grouphead, but if it’s needed then just exclude and (not isgrouphead s)

11 years ago
Forum
Reply
RE: All group members

delete objects ( fn getClRootGroupHead node = if node != undefined do ( with undo on ( if isgroupmember node then ( if isOpenGroupHea…

11 years ago
Forum
Reply
RE: All group members

delete objects ( fn getClRootGroupHead node = if node != undefined do ( with undo on ( if isgroupmember node then ( if isOpen…

11 years ago
Forum
Reply
RE: All group members

Thank you, Denis! By the way, how to call correctly, to be understandable by all max users, Open Group Red Boxes?

11 years ago
Forum
Page 20 / 37