Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCG - Collect all geometry nodes

1 REPLY 1
Reply
Message 1 of 2
malikarn
327 Views, 1 Reply

MCG - Collect all geometry nodes

Hello.
I actually build a mcg and i need to retrieve geometry nodes like i would do with "$geometry as array" in maxscript.

Below, i isolate the problematic part of my graph in a veeeeery simple subgraph just to try out :

 

mcg.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

As you can see, this is a very simple "filter" use case, but it makes 3dsmax crash. 

What's wrong with "scenenode has mesh" ? I tried workarounds using array.generation tools but anytime i need to check whether there is geometry in a collection, max freezes.

I also tried to use "$geometry as array" in a scriptvalue node, but i have no mean to evaluate a scriptvalue to array 😞
****, this is a sooo simple problem.... 😞
Any clues / workaround ?
ty

1 REPLY 1
Message 2 of 2
malikarn
in reply to: malikarn

Ok i got it.
I have to remove the owner from the "allscenenode" array.
ty

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report