gazybara
@gazybara
New Member
Joined: Feb 14, 2024
Topics: 36 / Replies: 998
Reply
RE: How to pick a group object?

He asked here first and on scriptspot he have different “area” number. this is the good weekend discussion

12 years ago
Forum
Reply
RE: How to pick a group object?

Maybe after we finish getGeometryGroupMembers function:) I’m kidding. You start the challenge. Me and Kostadin are tried tho solve the riddle and we …

12 years ago
Forum
Reply
RE: How to pick a group object?

You need to take care for your son, go, I will stay to see Denis mystery fn. But maybe

12 years ago
Forum
Reply
RE: How to pick a group object?

Sorry bud I did not know? I saw that you active on these threat. If you ask that kind of questions this “5 pages torture” will never end. Denis, I tri…

12 years ago
Forum
Reply
RE: How to pick a group object?

Kostadin where are you now? Help me bud, this is not easy

12 years ago
Forum
Reply
RE: How to pick a group object?

My mxs editor is hot. Even worse I freeze max 50 times. Only Task Manager helps me now

12 years ago
Forum
Reply
RE: How to pick a group object?

Me? You are melting my brain with your tricky fn’s. isGroupHead and isGroupMember. Or I wrong again.

12 years ago
Forum
Reply
RE: How to pick a group object?

First try fn getRootGroupHead node = if isgroupMember node do ( while node != undefined and (not isgrouphead node and not isKindOf node Dummy) do no…

12 years ago
Forum
Reply
RE: How to pick a group object?

Second 1st condition “not isgrouphed node”is killing me. Are we talk about rootGroup or not?

12 years ago
Forum
Reply
RE: How to pick a group object?

no need for print but that’s it. One line code fn getRootGroupHead obj = (while obj.parent != undefined and (isGroupHead obj.parent) do obj = obj.par…

12 years ago
Forum
Reply
RE: How to pick a group object?

Always mystery with Denis. whether the recursive function bad solution or one of many?

12 years ago
Forum
Reply
RE: How to pick a group object?

miauu: Denis have one line solution, I have 100 lines solution – ugly, but I hope my solution to works properly no matter of how big the code is. …

12 years ago
Forum
Reply
RE: How to pick a group object?

I know how to find all parents but are you try to find root group in Denis example (“Group003”). He mentioned one line of code for that:)

12 years ago
Forum
Reply
RE: How to pick a group object?

This freeze max, i not know why fn getGrandParentGroup obj = ( groupsArr = #() while (obj.parent != undefined) do (if isGroupHead (grp=obj.pa…

12 years ago
Forum
Reply
RE: How to pick a group object?

Ok you talking about “pickObject” node. Now I get it. Next is getRootGroupHead I supose that I need to check if group is opened, right?

12 years ago
Forum
Page 38 / 69