(API) (VBA) Get user nodes without mesh nodes

(API) (VBA) Get user nodes without mesh nodes

ORLLT
Enthusiast Enthusiast
859 Views
3 Replies
Message 1 of 4

(API) (VBA) Get user nodes without mesh nodes

ORLLT
Enthusiast
Enthusiast

Hello everyone,

I am trying to select all nodes created by the users. For this I use the getUserNodes methods :

 

 

    Dim colNoeuds As RobotNodeCollection
    Set colNoeuds = robApp.Project.Structure.Nodes.GetUserNodes

 

 

However, all the nodes created by panel meshing process get included, which is not what I want !

These nodes are not considered as calculation nodes by Robot, as they are not selected when I use GetCalcNodes. And all these mesh nodes have their .IsCalc property to false. At least all this is coherent, but why are they not considered calculation nodes in the first place ? is this a bug ?

And most importantly, how can I select simply all user nodes excluding mesh nodes, without having to loop through all nodes to check if they belong to a panel or stuff like this (which is feasible, but I'd prefer to avoid adding unnecessary complexity and execution time) ?

Best regards

0 Likes
860 Views
3 Replies
Replies (3)
Message 2 of 4

Romanich
Mentor
Mentor

Hi @ORLLT ,

 

This was one of the reason for me to start digging into external parameters for example to assign the name to user nodes.

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


Message 3 of 4

ORLLT
Enthusiast
Enthusiast

Hi @Romanich ,

thank you for your reply. So it means it is a known problem ?

Concerning external parameters, could you elaborate a little bit more ? To be able to assign an external parameter (say, a specific name) to user defined nodes, one must be able to determine which node are user-defined and which are calculation nodes, right ? so the same problem still exists, at least once (after the user nodes have a distinctive name, it can be used).

Best regards

0 Likes
Message 4 of 4

Romanich
Mentor
Mentor

Hi @ORLLT ,

 

I would recommend selecting user nodes before creating the FE mesh

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


0 Likes