Get Temp Node IDs From Last Operation

Jeffersondhv
Jeffersondhv Altair Community Member
edited October 2020 in Community Q&A

Hello guys,

 

I have some points in my model that will be used to create connectors. In order to handle them in a proper manner, I need to transform them into nodes and them get the node IDs to create a node set.

 

To create the nodes from the points I'm using this function: *nodecreateatpointmark 1

However this is one of the undocumented functions, thus I don't know if it has other options to use, because using as I showed does not return me the node IDs.

I also tried to use hm_latestentityid but this one gives me only one node at a time and has a limitation to retrieve only the last 99 nodes and I might need more than that in most of the cases.

 

Does anybody know a solution for this?

 

Thanks in advance,

Jefferson Vieira

Tagged:

Answers